Constant not found - how to resolve? #10739
Unanswered
laurinkeithdavis
asked this question in
Support
Replies: 1 comment 1 reply
-
Put the file in bootstrapFile instead of scanFiles. Documentation: https://phpstan.org/user-guide/discovering-symbols#global-constants (click on "Show obsolete instructions for older PHPStan versions", it might not be obsolete in your case even on the latest PHPStan version). |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I apologize, but I think I read every GitHub issue and documentation reference on this issue, but I can't seem figure out how to handle constants assigned as such:
Beta Was this translation helpful? Give feedback.
All reactions