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

#9293 - incompatible return type php 8.1 #9301

Merged
merged 4 commits into from Feb 11, 2022

Conversation

oleg1540
Copy link
Contributor

Fix missing function's return type declaration (incompatible return type php 8.1)

@oleg1540
Copy link
Contributor Author

@elharo hi, re-run checks, please

@caugner
Copy link

caugner commented Jan 14, 2022

Fixes #9293.

@oleg1540
Copy link
Contributor Author

Added return types compatible with php 7 for all methods. For return types void and mixed added #[\ReturnTypeWillChange] and TODO.

@acozzette Now the tests should pass successfully )

@haberman
Copy link
Member

haberman commented Feb 3, 2022

I think this is obsoleted by #9370?

@oleg1540
Copy link
Contributor Author

oleg1540 commented Feb 3, 2022

I think this is obsoleted by #9370?

Yes, 9370 resolve the same problem. Diff with 9370 - some todo's related to updating php version.

@acozzette acozzette merged commit fe87de3 into protocolbuffers:master Feb 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

6 participants