PhpMetrics
PhpMetrics copied to clipboard
Beautiful and understandable static analysis tool for PHP
# Feature request Currently the vendor binary returns nothing, which makes it hard to integrate in any CI without the CI understanding PMD files. I suggest to make `Hal\Application\Application::run` return...
# Bug report Fatal Error ``` $ phpmetrics.phar ./ ... 14% ...PHP Warning: Undefined array key 314 in phar:///opt/php-tools/phpmetrics.phar/vendor/nikic/php-parser/lib/PhpParser/Lexer.php on line 293 PHP Fatal error: Uncaught TypeError: PhpParser\Lexer::getNextToken(): Return value...
# Bug report ## Version 2.7.4 The `README.md` file includes this configuration file example of linking to a JUnit report: ```JSON "junit": { "file": "/tmp/junit.xml" } ``` However, the code...
After running the report and looking for outdated libraries, I see it's not optimal yet ### when minor part not mentioned, perhaps it should not complain about it aws/aws-sdk-php required...
# Feature request Right now the tool show the total of the class of cyclomatic complexity but maybe there are some methods that require more than the other.
# Package Documentation First of all, thanks for all effort in this awesome package. Can please anyone provides simple & updated documentation for this package, I can't understand many of...
the table of class violations is a great piece of information. you can see a lot of information in there .  for a dev not used to code metrics...
Hello, in the moment i test PhpMetrics. I use PhpStorm with the PhpMetrics - Plugin. I will write my own config file for PhpMetrics. For example i have a '...
I noticed that the formula for maintainability index takes into consideration code comments. We frequently try to keep comments to a minimum and use self-explanatory code and php7 types whenever...
sorry for opening so much small DX issues, but I feel like having separate issues makes it easier to work on them. hopefully you agree with me in this regard?...