Skip to content

Escape can take a null parameter php8.1 #297

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

Merged
merged 1 commit into from
Sep 23, 2022
Merged

Conversation

visavi
Copy link
Contributor

@visavi visavi commented Sep 9, 2022

PHP 8.1 htmlspecialchars no longer accepts a null parameter
php8.1 Deprecated: htmlspecialchars(): Passing null to parameter #1 ($string) of type string is deprecated
This fix allows you not to worry about the types of variables being passed
The behavior is now the same as in php8.0

PHP 8.1 htmlspecialchars no longer accepts a null parameter
`php8.1 Deprecated: htmlspecialchars(): Passing null to parameter thephpleague#1 ($string) of type string is deprecated`
This fix allows you not to worry about the types of variables being passed
The behavior is now the same as in php8.0
@ragboyjr ragboyjr merged commit 94122ed into thephpleague:v3 Sep 23, 2022
@ragboyjr
Copy link
Contributor

good deal! thanks for the mr.

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