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

[deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead #6434

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Nov 14, 2024

This rule fills mixed type based on docblock and missing exact type. which is not very smart nor based on real data.
We've also moved away from docblock based "truth", as it can easily break code.

Instead, use typeDeclaratoins set exact and known types 👍

@TomasVotruba TomasVotruba changed the title tv debug info [deprecatoin] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead Nov 14, 2024
@TomasVotruba TomasVotruba changed the title [deprecatoin] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead [deprecation] Deprecate MixedTypeRector, to avoid mixed type filled blindly, use type declaration set instead Nov 14, 2024
@TomasVotruba TomasVotruba merged commit 373747c into main Nov 14, 2024
36 checks passed
@TomasVotruba TomasVotruba deleted the tv-debug-info branch November 14, 2024 17: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
Development

Successfully merging this pull request may close these issues.

1 participant