Skip to content

Fix PHP 8.4 implicit nullable parameter deprecations - #20

Open
samipuro wants to merge 1 commit into
optimaize:masterfrom
samipuro:fix/php84-implicit-nullable
Open

samipuro wants to merge 1 commit into
optimaize:masterfrom
samipuro:fix/php84-implicit-nullable

Conversation

@samipuro

Copy link
Copy Markdown

PHP 8.4 deprecates typed parameters that default to null without a nullable type. This adds the explicit ? to the six affected parameters in FaultInfo, ServiceException, RestHttpClient and ServiceFactory.

Nullable types need PHP 7.1, so composer.json now requires >=7.1.0 instead of >=5.3.0. PHP 7.0 and older have been end-of-life for years.

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.

1 participant