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

Enum case reusing const value reporting false positive #9402

Closed
janedbal opened this issue Jun 7, 2023 · 4 comments
Closed

Enum case reusing const value reporting false positive #9402

janedbal opened this issue Jun 7, 2023 · 4 comments

Comments

@janedbal
Copy link
Contributor

janedbal commented Jun 7, 2023

Bug report

See snippet, it should produce no error.

Code snippet that reproduces the problem

https://phpstan.org/r/469de149-db17-4fd7-94c4-f790ff03ced4

Expected output

No error

@janedbal
Copy link
Contributor Author

janedbal commented Jun 7, 2023

This poped up while doing 1.10.15 to 1.10.16 upgrade.

@ondrejmirtes
Copy link
Member

Fixed: phpstan/phpstan-src@04af510

@janedbal
Copy link
Contributor Author

janedbal commented Jun 7, 2023

Thanks!

@github-actions
Copy link

github-actions bot commented Jul 9, 2023

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 Jul 9, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants