PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

Beautiful and understandable static analysis tool for PHP

Results 40 PhpMetrics issues
Sort by recently updated
recently updated
newest added

# Feature request **Problem:** I tried to run phpmetrcis with `--config` option: ``` php ./vendor/bin/phpmetrics --config=phpmetrics.yaml ``` And command finished without any error and not generated report. The problem was...

According to roadmap #386, phpstan will be included in v2. I think we can add phpstan by fixing violations level by level. Here is a list of phpstan violations. ###...

enhancement

Fixes https://github.com/phpmetrics/PhpMetrics/issues/441

default template seems to lack a favicon

![image](https://user-images.githubusercontent.com/69105/158980104-adb5f48e-c814-4226-b906-7560975c4b6f.png) the long number overflows the text making it impossible to see Using version PHPMetrics v2.7.4

Just code review on the reporters. I planned to add XML as new output format but it's a bit more complicated than expected. The bag of metrics is containing too...

# Bug report PhpMetrics v2.7.4 ...PHP Fatal error: Uncaught Error: Xdebug has detected a possible infinite loop, and aborted your script with a stack depth of '3000' frames in /third_party/nikic/php-parser/lib/PhpParser/Node/Expr/BinaryOp.php:28...

Cannot reproduce
waiting for feedback

# Bug report ``` php ./vendor/bin/phpmetrics --config=.phpmetrics.json Executing system analyzes... Executing composer analyzes, requesting https://packagist.org... Fatal error: Uncaught UnexpectedValueException: RecursiveDirectoryIterator::__construct(./docker/volumes/data-test): Failed to open directory: Permission denied in /var/www/vendor/phpmetrics/phpmetrics/src/Hal/Component/File/Finder.php:88 Stack trace:...

bug

# Bug report Version 2.7.3. installer: https://github.com/phpmetrics/PhpMetrics/releases/download/v2.7.3/phpmetrics.deb Ubuntu 18.04, 20.04 `sudo apt install ./phpmetrics.deb` produces following error: ``` Some packages could not be installed. This may mean that you have...

# Bug report **PhpMetrics v2.7.4** Running `phpmetrics` with the `--git` option will not work inside separated git worktree directories. It will discover the git directory from a .git file as...