Skip to content
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

Fix PHP 8.4 explicit nullable compatibility #300

Merged
merged 1 commit into from
Oct 11, 2024

Conversation

cracksalad
Copy link
Contributor

The upcoming release of PHP 8.4 will deprecate the use of implicit nullable types (string $str = null) and requires the explicit nullable type instead (?string $str = null). This PR modifies all occurences of the implicit nullable type such that this project should be compatible with PHP 8.4 at least in that regard. The modifications do not change any logic, just adding syntactic sugar, which will be required starting with 8.4.

@oscarotero oscarotero merged commit f5b0221 into php-gettext:master Oct 11, 2024
7 checks passed
@oscarotero
Copy link
Member

Thank you!

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