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

Fix PHP 8.1 deprecation message #986

Merged

Conversation

pieterocp
Copy link
Contributor

@pieterocp pieterocp commented Oct 7, 2022

Php 8.1 deprecation when rendering html reports.

PHP Deprecated:  str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in /srv/vendor/phpmd/phpmd/src/main/php/PHPMD/Renderer/HTMLRenderer.php on line 490

Type: Bugfix
Issue: N/A
Breaking change: No

…unction

Php 8.1 deprecation message when rendering html reports:
```
PHP Deprecated:  str_replace(): Passing null to parameter phpmd#2 ($replace) of type array|string is deprecated in /srv/vendor/phpmd/phpmd/src/main/php/PHPMD/Renderer/HTMLRenderer.php on line 490
```
@kylekatarnls kylekatarnls merged commit 6f18c5d into phpmd:master Oct 8, 2022
@ravage84 ravage84 added this to the 2.x (unspecific) milestone May 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants