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

[NodeTypeResolver] Using builtin ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() #5870

Merged
merged 1 commit into from
May 12, 2024

Conversation

samsonasik
Copy link
Member

No description provided.

@samsonasik samsonasik changed the title [NodeTypeResolver] Using built int ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() [NodeTypeResolver] Using builtin ->isArray()->yes() on ArrayTypeAnalyzer::isArrayType() May 12, 2024
@samsonasik
Copy link
Member Author

All checks have passed 🎉 @TomasVotruba I am merging it ;)

@samsonasik samsonasik merged commit e2a184c into main May 12, 2024
42 checks passed
@samsonasik samsonasik deleted the use-is-array-yes branch May 12, 2024 15:52
@staabm
Copy link
Contributor

staabm commented May 12, 2024

Nice

use Rector\NodeTypeResolver\NodeTypeResolver;
use Rector\Reflection\ReflectionResolver;

final readonly class ArrayTypeAnalyzer
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe this whole class may now be deprecated?

Copy link
Member Author

Choose a reason for hiding this comment

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

I think we can keep it for now in case of regression, then we can add some logic here instead

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.

2 participants