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

make method names non-falsy-string #3108

Merged
merged 1 commit into from
May 31, 2024

Conversation

schlndh
Copy link
Contributor

@schlndh schlndh commented May 31, 2024

Currently it's string (https://phpstan.org/r/377d039c-f54b-45c0-afa5-a8d0721c3f5a). I'm not aware of any way of creating methods with falsy names.

It's covered by reflection golden test (it doesn't currently work for properties due to a bug - #3109), so I think a separate test is unnecessary.

@ondrejmirtes ondrejmirtes merged commit 012a77c into phpstan:1.11.x May 31, 2024
440 of 446 checks passed
@ondrejmirtes
Copy link
Member

Thank you!

@schlndh schlndh deleted the fix-nonEmptyMethodNames branch May 31, 2024 13:34
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