-
Notifications
You must be signed in to change notification settings - Fork 51
Add PHP8.4 support, drop support of EOL PHP versions #38
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
base: master
Are you sure you want to change the base?
Conversation
@PNardman @stanley-cheung How's changing like this, and tagging 2.0.0 by the release? |
Plus one would love this! |
Nice I need this as well 💪🏽 |
@stanley-cheung would you be able to take a look at this PR? |
Everyone is still waiting for this. 🙏 |
I noticed the README says a request should be sent to https://github.com/grpc/grpc |
From PHP8.4, a parameter that has
null
as a default value has to be typed as a nullable type: https://www.php.net/manual/en/migration84.deprecated.phpIn the code base, the factory methods of
Status
class have to be fixed to comply with this syntax. On the other hand, as pointed out in #37, nullable type is not available in 7.0 (https://www.php.net/manual/en/migration71.new-features.php), which is supported in this library.Since the versions 7.0 - 8.0 have reached the EOL (https://www.php.net/supported-versions.php) as of now, I would like to propose dropping support of these versions, and adding support of 8.4. In order not to break users who are using this library in these EOL versions, I think the major version should be lifted.
I also found the library
google/auth
is not used in any place in the code base. It should be added by library users if necessary, rather than by this library.