Skip to content

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

@cedric-anne
Copy link
Contributor Author

This new syntax is compatible only with PHP >= 7.1. Would you accept a PR to drop the compatibility with these outdated PHP versions? What PHP versions should be kept?

@cedric-anne
Copy link
Contributor Author

Ping @vearutop .

The deprecation warning on PHP 8.4 is preventing us to active our CI checks on this incoming PHP version. We could still apply manually a patch, but we would prefer to help to fix it in your lib directly.

@xcvbn23
Copy link

xcvbn23 commented Dec 22, 2024

Any news here @vearutop, I just ran into the same issue.

@vearutop vearutop merged commit 1f3a77a into swaggest:master Dec 22, 2024
@xcvbn23
Copy link

xcvbn23 commented Dec 24, 2024

Thanks @vearutop appreciate it 💪

@cedric-anne cedric-anne deleted the fix/php-8.4 branch December 25, 2024 09:16
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.

3 participants