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

[CodeQuality] Deprecate NarrowUnionTypeDocRector as focused on docblocks, and moving to type declarations #3848

Merged
merged 1 commit into from
May 14, 2023

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented May 14, 2023

In Rector 0.15 we've added safe type declarations in property, param and return types. This required splitting many rules to smaller strict ones.

I've just noticed we've forgot to handle the union types as well, this PR is fixing it 👍


Follow up to #3846

See https://getrector.com/blog/new-in-rector-015-complete-safe-and-known-type-declarations

@TomasVotruba TomasVotruba merged commit 6568360 into main May 14, 2023
@TomasVotruba TomasVotruba deleted the tv-narrow-doc-types branch May 14, 2023 15:53
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.

1 participant