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

[TypeDeclaration] Remove ParamTypeFromStrictTypedPropertyRector as seems similar feature with AddParamTypeFromPropertyTypeRector #5293

Merged
merged 1 commit into from
Nov 28, 2023

Conversation

samsonasik
Copy link
Member

@samsonasik samsonasik commented Nov 28, 2023

Both rules: ParamTypeFromStrictTypedPropertyRector and AddParamTypeFromPropertyTypeRector share similar feature so one should be removed.

ParamTypeFromStrictTypedPropertyRector: https://getrector.com/demo/d316c71d-6f95-4454-a1bc-7171a9244b2e
AddParamTypeFromPropertyTypeRector: https://getrector.com/demo/f2361cb4-1bf8-40ba-81a9-9e813bebe8e0

Fixes rectorphp/rector#8328

…ems similar feature with AddParamTypeFromPropertyTypeRector
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I think it is ready.

@TomasVotruba
Copy link
Member

Thank you 🙏

@TomasVotruba TomasVotruba merged commit 118fbde into main Nov 28, 2023
41 checks passed
@TomasVotruba TomasVotruba deleted the remove-param-from-strict branch November 28, 2023 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants