-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
Support $foo::BAR where foo is declared as a string or a class-string #44
Comments
spaze
added a commit
that referenced
this issue
May 30, 2022
spaze
added a commit
that referenced
this issue
May 30, 2022
Closing this now, eventually it seems that it's not a big deal in real world code, including mine. Can reopen if needed. |
spaze
pushed a commit
that referenced
this issue
Apr 25, 2023
Fixes #44 (partly, not the general `class-string` case)
spaze
added a commit
that referenced
this issue
Apr 25, 2023
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
These should be supported
phpstan-disallowed-calls/tests/src/invalid/constantUsages.php
Lines 8 to 14 in 0c425fe
But currently they aren't:
phpstan-disallowed-calls/tests/ClassConstantInvalidUsagesTest.php
Lines 29 to 36 in 0c425fe
This is a follow-up to #42, which was fixed by #43 to just not crash.
The text was updated successfully, but these errors were encountered: