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

Remove deprecated ParamTypeDeclarationRector, that treated docs as strict types to keep type declaration set reliable #3111

Merged
merged 2 commits into from
Nov 27, 2022

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Nov 27, 2022

The ParamTypeDeclarationRector is deprecated for a couple of months.
It caused many errors, as it moved any docblock to strict type declaration. This turned this rule to stream of fatal errors.

Instead, this rule was split into many smaller type resolvers, that are working with existing strict type declarations and are much more reliable 👍 Use those instead, e.g. via SetList::TYPE_DECLARATION set.

@TomasVotruba TomasVotruba force-pushed the tv-add-array-docs branch 5 times, most recently from 29c6308 to e812764 Compare November 27, 2022 23:13
…rict types to keep type declaration set reliable
@TomasVotruba TomasVotruba force-pushed the tv-add-array-docs branch 2 times, most recently from 9fead1a to cd998db Compare November 27, 2022 23:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant