Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecated messages on PHP 8.1 #506

Open
sturniolo-polito opened this issue Jun 19, 2024 · 0 comments
Open

Deprecated messages on PHP 8.1 #506

sturniolo-polito opened this issue Jun 19, 2024 · 0 comments

Comments

@sturniolo-polito
Copy link

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 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant