Skip to content

Fix PHP 8.4 deprecations#47

Merged
wapmorgan merged 4 commits intowapmorgan:masterfrom
cedric-anne:fix/php-8.4
Feb 16, 2025
Merged

Fix PHP 8.4 deprecations#47
wapmorgan merged 4 commits intowapmorgan:masterfrom
cedric-anne:fix/php-8.4

Conversation

@cedric-anne
Copy link
Contributor

Implicitly nullable parameter declarations are deprecated in PHP 8.4. The proposed change is safe and is not considered by PHP as a signature change, see https://php.watch/versions/8.4/implicitly-marking-parameter-type-nullable-deprecated

Unfortunately, this syntax is compatible only with PHP >= 7.1. I propose to raise the minimal PHP requirement to 7.1.

@cedric-anne
Copy link
Contributor Author

Ping @wapmorgan

PHP 8.4 is coming soon :)

@sonarqubecloud
Copy link

sonarqubecloud bot commented Sep 4, 2024

@wapmorgan wapmorgan merged commit 1965fdb into wapmorgan:master Feb 16, 2025
@cedric-anne cedric-anne deleted the fix/php-8.4 branch February 17, 2025 08:42
@wapmorgan
Copy link
Owner

I need to revert upgrade to 7.1

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