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

[DeadCode] Clean up TypeHasher on Union Type #5792

Merged
merged 2 commits into from Apr 3, 2024
Merged

Conversation

samsonasik
Copy link
Member

Ref #5684

For clean up TypeHasher on Union type, and specific on dead param, keep mark SomeClass|SomeInterface as not dead param as before with Union vs FullyQualified check.

@@ -23,7 +23,7 @@ namespace Rector\Tests\CodeQuality\Rector\Class_\CompleteDynamicPropertiesRector
class MultipleTypes
{
/**
* @var int|string|bool
* @var bool|int|string
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this is sorted docblock by phpstan, previous clone and map cause overlapped types and not stable definition.

@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it to have faster feedback to test ;)

@samsonasik samsonasik merged commit 52aa64f into main Apr 3, 2024
41 checks passed
@samsonasik samsonasik deleted the clean-up-type-hasher branch April 3, 2024 06:19
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