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

Add phpstan native cond types for getName() for nodes that always return a string #5413

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

TomasVotruba
Copy link
Member

@TomasVotruba TomasVotruba commented Jan 1, 2024

This allows us to drop custom name extension, that handled the same known-string return value improvements :party:

E.g. ClassMethod name is always known and is string

@TomasVotruba TomasVotruba merged commit cbf244f into main Jan 1, 2024
12 of 41 checks passed
@TomasVotruba TomasVotruba deleted the tv-get-name-phpstan-return-cond branch January 1, 2024 15:01
TomasVotruba added a commit to rectorphp/phpstan-rules that referenced this pull request Jan 1, 2024
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