PhpMetrics icon indicating copy to clipboard operation
PhpMetrics copied to clipboard

Deprecated messages on PHP 8.1

Open sturniolo-polito opened this issue 8 months ago • 0 comments

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 

sturniolo-polito avatar Jun 19 '24 09:06 sturniolo-polito