Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

specify Safe\createFromMutable return changing type for php8.2 #406

Merged

Conversation

helyakin
Copy link
Contributor

When migrating to PHP8.2 I have the following issue with Safe\createFromMutable

Capture d’écran 2022-12-28 à 15 07 43

Adding #[\ReturnTypeWillChange] fixes it.

I don't know if it's the best solution, but it's my proposition.

Feel free to tell me what should be done if this not the appropriate solution

@helyakin
Copy link
Contributor Author

helyakin commented Jan 27, 2023

I've opened this PR one month ago, would it be possible to have a review ?
That would be very nice of you =)

@akondas
Copy link

akondas commented Feb 18, 2023

Can we merge and release this?

@Kharhamel
Copy link
Collaborator

Sorry I stopped checking on the project for a will. Before I deploy this,, I need to fix a bunch of things, mostly related to all the functions that needs to be deprecated. I will have some holidays this week, hope I can get this project back in shape.

@Kharhamel
Copy link
Collaborator

this is deployed in v2.5.0

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants