Skip to content

Conversation

@samsonasik
Copy link
Member

If parent class already readonly, child (current class analyzed) must be readonly too, ref https://3v4l.org/D9N7A

Fixes rectorphp/rector#7665

@samsonasik
Copy link
Member Author

Fixed 🎉 /cc @kevariable

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba it is ready for review.

@kevariable
Copy link

Thank you for the great work @samsonasik

@TomasVotruba
Copy link
Member

Thanks 👍

@TomasVotruba TomasVotruba merged commit be3bdd0 into main Dec 14, 2022
@TomasVotruba TomasVotruba deleted the handle-readonly-parent-already-readonly branch December 14, 2022 19:38
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.

Child non-readonly class doesnt refactor it into readonly when the parent was readonly class

4 participants