Skip to content

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

Merged
sy-records merged 2 commits into
php:masterfrom
theodorejb:fix-release-common-phpstan
Nov 16, 2026
Merged

sy-records merged 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
@sy-records
sy-records merged commit ace610e into php:master Nov 16, 2026
4 checks passed
@theodorejb
theodorejb deleted the fix-release-common-phpstan branch November 16, 2026 02:54
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.

3 participants