PhpMetrics
PhpMetrics copied to clipboard
Deprecated messages on PHP 8.1
I'm currently using PhpMetrics 2.8.2 (as a dependency of edgedesign/phpqa 1.26.2).
When I launch PHPQA, I get these 'deprecated' messages:
PHP Deprecated: abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in /var/www/html/vendor/phpmetrics/phpmetrics/src/Hal/Violation/Package/StableAbstractionsPrinciple.php on line 24
PHP Deprecated: abs(): Passing null to parameter #1 ($num) of type int|float is deprecated in /var/www/html/vendor/phpmetrics/phpmetrics/src/Hal/Violation/Package/StableAbstractionsPrinciple.php on line 24
PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /var/www/html/vendor/phpmetrics/phpmetrics/templates/html_report/composer.php on line 58
PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /var/www/html/vendor/phpmetrics/phpmetrics/templates/html_report/composer.php on line 63
PHP Deprecated: number_format(): Passing null to parameter #1 ($num) of type float is deprecated in /var/www/html/vendor/phpmetrics/phpmetrics/templates/html_report/composer.php on line 68