You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When i run --report-violations with PHP 8.2.7, I get Uncaught TypeError.
Here is the full exception I have :
HTML report generated in "/ExtractColloque/" directoryPHP Fatal error: Uncaught TypeError: array_map():
Argument #2 ($array) must be of type array, Hal\Violation\ViolationsHandler given in
/vendor/phpmetrics/phpmetrics/src/Hal/Report/Violations/Xml/Reporter.php:64
Stack trace:
#0 /vendor/phpmetrics/phpmetrics/src/Hal/Report/Violations/Xml/Reporter.php(64): array_map()
#1 /vendor/phpmetrics/phpmetrics/src/Hal/Application/ReporterHandler.php(32): Hal\Report\Violations\Xml\Reporter->generate()
#2 [internal function]: Hal\Application\ReporterHandler::Hal\Application\{closure}()
#3 /vendor/phpmetrics/phpmetrics/src/Hal/Application/ReporterHandler.php(31): array_map()
#4 /vendor/phpmetrics/phpmetrics/src/Hal/Application/PhpMetrics.php(33): Hal\Application\ReporterHandler->report()
#5 /vendor/phpmetrics/phpmetrics/bin/phpmetrics(36): Hal\Application\PhpMetrics->run()
#6 {main}
thrown in /vendor/phpmetrics/phpmetrics/src/Hal/Report/Violations/Xml/Reporter.php on line 64
Thanks for your help
The text was updated successfully, but these errors were encountered:
Bug report
phpmetrics v3.0.0rc3.
PHP 8.2.7
Hi,
When i run
--report-violations
with PHP 8.2.7, I getUncaught TypeError
.Here is the full exception I have :
Thanks for your help
The text was updated successfully, but these errors were encountered: