Skip to content

Conversation

samsonasik
Copy link
Member

While wait for PHPStan patch to be merged:

this patch to ensure __destruct() is not add void, list of magic method add return type and not allowed return type is here https://3v4l.org/7t7jA

Fixes rectorphp/rector#9144

samsonasik added 2 commits May 5, 2025 19:09
…ent on AddReturnTypeDeclarationBasedOnParentClassMethodRector
@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @jderusse

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit c6df7f5 into main May 5, 2025
45 checks passed
@samsonasik samsonasik deleted the skip-destruct branch May 5, 2025 12:13
@jderusse
Copy link

jderusse commented May 5, 2025

thank you!

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.

Incorrect behavior of AddReturnTypeDeclarationBasedOnParentClassMethodRector
2 participants