-
-
Notifications
You must be signed in to change notification settings - Fork 36
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
Update ASCII.php for PHP 8.4 compatibility #105
Conversation
Quality Gate passedIssues Measures |
Thx for the fix. 👍 |
FWIW: This is a breaking change to the API. Explicitly passing |
I would agree with @TimWolla that changing to false is not the correct solution as it'll break those passing null. It just needed to be marked as nullable with a question mark
|
Hi @phildawson-gravity. This package is supposed to support PHP 7.0+. |
@gilbertoalbino I hadn't appreciated that, I understand keeping support for the legacy 7.4, but 7.0 came out almost nine years ago and ended support five years ago. Anyone passing null will just need to adapt to |
@phildawson-gravity that anyone you mention does happen to just be Laravel until now, but they have done that. |
Fixes #
php 8.4 : Implicitly marking parameter $replace_single_chars_only as nullable is deprecated, the explicit nullable type must be used instead
Proposed Changes
Change NULL for FALSE and update the PHPDocs.