You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
…MatTheCat)
This PR was merged into the 7.0 branch.
Discussion
----------
[Validator] Simplify `NoSuspiciousCharactersValidator`
| Q | A
| ------------- | ---
| Branch? | 7.0
| Bug fix? | no
| New feature? | no
| Deprecations? | no
| Issues | N/A
| License | MIT
php/php-src#10647 has been fixed in PHP 8.1.17. Now that Symfony requires PHP ≥ 8.2, we can avoid calling `Spoofchecker::isSuspicious` for every check by leveraging its `$errorCode` parameter.
Commits
-------
c24e3e7 [Validator] Simplify `NoSuspiciousCharactersValidator`
This PR was merged into the 7.1 branch.
Discussion
----------
[Validator] fix compatibility with PHP < 8.2.4
| Q | A
| ------------- | ---
| Branch? | 7.1
| Bug fix? | yes
| New feature? | no
| Deprecations? | no
| Issues |
| License | MIT
The fix for php/php-src#10647 (on which #54062) relies on was first released with PHP 8.2.4.
Commits
-------
2d713ea fix compatibility with PHP < 8.2.4
Description
The following code:
Resulted in this output:
But I expected this output instead:
PHP Version
all
Operating System
No response
The text was updated successfully, but these errors were encountered: