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
When there are multiple/duplicate subclass definitions which are conditionally defined, it appears that analysis of class definitions after the initial one gets confused about allowed visibility access. Probably clearest to just look at the code snippet. This was not a problem in previous versions of PHPStan.
Bug report
When there are multiple/duplicate subclass definitions which are conditionally defined, it appears that analysis of class definitions after the initial one gets confused about allowed visibility access. Probably clearest to just look at the code snippet. This was not a problem in previous versions of PHPStan.
Code snippet that reproduces the problem
https://phpstan.org/r/433658a8-90bf-4e5e-b3da-a1203f729946
Expected output
No error
Did PHPStan help you today? Did it make you happy in any way?
The text was updated successfully, but these errors were encountered: