Skip to content

Fix PHPStan errors in PHP 8.0-8.5 release page common.php - #2060

Open
theodorejb wants to merge 2 commits into
php:masterfrom
theodorejb:fix-release-common-phpstan
Open

theodorejb wants to merge 2 commits into
php:masterfrom
theodorejb:fix-release-common-phpstan

Conversation

@theodorejb

Copy link
Copy Markdown
Contributor

Add parameter types to message() and handle filter_var() returning false instead of passing it to htmlspecialchars(), then remove the corresponding baseline entries.

I already applied this fix to the PHP 8.6 common.php on Sergey's branch.

Add parameter types to message() and handle filter_var() returning false instead of passing it to htmlspecialchars(), then remove the corresponding baseline entries.

I already applied this fix to the PHP 8.6 common.php on Sergey's branch.
Apply the same fixes as for 8.4 and 8.5: add parameter types to message() and handle filter_var() returning false, then remove the corresponding baseline entries.
@theodorejb theodorejb changed the title Fix PHPStan errors in PHP 8.4 and 8.5 release page common.php Fix PHPStan errors in PHP 8.0-8.5 release page common.php Nov 15, 2026
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

Successfully merging this pull request may close these issues.

2 participants