You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PHPStan reports that an class constant is not being used when the const visibility is private and called using $this. It's does not report it when the visibility of the const is protected or public.
Bug report
PHPStan reports that an class constant is not being used when the const visibility is
private
and called using$this
. It's does not report it when the visibility of the const isprotected
orpublic
.Code snippet that reproduces the problem
https://phpstan.org/r/0714e467-bb1f-48a1-8c29-25b30cc47666
Expected output
No reporting. It currently returns:
Did PHPStan help you today? Did it make you happy in any way?
Yup, PHPStan is awesome! Keep up to good work! :)
The text was updated successfully, but these errors were encountered: