sebastianbergmann / phploc

A tool for quickly measuring the size of a PHP project.
BSD 3-Clause "New" or "Revised" License
2.34k stars 167 forks source link

Undefined index: ccn in /usr/share/php/SebastianBergmann/PHPLOC/Analyser.php on line 507 #187

Closed ZielinskiLukasz closed 5 years ago

ZielinskiLukasz commented 5 years ago

I'm using phploc 3.0.0.

Here's the whole trace:

PHP Stack trace:
PHP   1. {main}() /usr/bin/phploc:0
PHP   2. SebastianBergmann\PHPLOC\CLI\Application->run() /usr/bin/phploc:31
PHP   3. SebastianBergmann\PHPLOC\CLI\Application->doRun() /usr/share/php/Symfony/Component/Console/Application.php:120
PHP   4. SebastianBergmann\PHPLOC\CLI\Application->doRun() /usr/share/php/SebastianBergmann/PHPLOC/CLI/Application.php:98
PHP   5. SebastianBergmann\PHPLOC\CLI\Application->doRunCommand() /usr/share/php/Symfony/Component/Console/Application.php:189
PHP   6. SebastianBergmann\PHPLOC\CLI\Command->run() /usr/share/php/Symfony/Component/Console/Application.php:841
PHP   7. SebastianBergmann\PHPLOC\CLI\Command->execute() /usr/share/php/Symfony/Component/Console/Command/Command.php:256
PHP   8. SebastianBergmann\PHPLOC\CLI\Command->executeSingle() /usr/share/php/SebastianBergmann/PHPLOC/CLI/Command.php:109
PHP   9. SebastianBergmann\PHPLOC\CLI\Command->count() /usr/share/php/SebastianBergmann/PHPLOC/CLI/Command.php:128
PHP  10. SebastianBergmann\PHPLOC\Analyser->countFiles() /usr/share/php/SebastianBergmann/PHPLOC/CLI/Command.php:236
PHP  11. SebastianBergmann\PHPLOC\Analyser->countFile() /usr/share/php/SebastianBergmann/PHPLOC/Analyser.php:161
sebastianbergmann commented 5 years ago

PHPLOC 3.0.0 is outdated. Please only open issues against current versions.