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

Objects name from ReflectionClass can not be never empty string #7056

Closed
janbarasek opened this issue Apr 18, 2022 · 3 comments · Fixed by phpstan/phpstan-src#1599
Closed

Comments

@janbarasek
Copy link

Bug report

Property name, variable name, class name and method name from ReflectionClass can not be never empty string.

Code snippet that reproduces the problem

https://phpstan.org/r/29bd8c80-3c72-4b63-b563-d18b420fca9d

Expected output

Property name can be empty string.

@ondrejmirtes
Copy link
Member

Please send a similar update like this one here :) Thanks. phpstan/phpstan-src#1224

@staabm
Copy link
Contributor

staabm commented Apr 19, 2022

I guess the same is true for ReflectionMethod ->getName() and if I am right, might be fixed in a similar way

@github-actions
Copy link

github-actions bot commented Sep 7, 2022

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Sep 7, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants