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!

@github-actions
Copy link
Contributor

This pull request has been automatically locked because it has been closed for 150 days. Please open a new PR if you want to continue the work.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 30, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect behavior of AddReturnTypeDeclarationBasedOnParentClassMethodRector

3 participants