-
Notifications
You must be signed in to change notification settings - Fork 21
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
Can't use phpstan-yii2 if there are helper functions in config #12
Comments
Thanks for issue, this should be easy to fix, maybe @marmichalski have some time :D |
Hey @akondas I just tried to use |
Have you try to add it to composer.json to autoload files?:
|
Guys, for me, even the core Yii class itself is unable to load. Any idea?
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is my
phpstan.neon
.I use functions defined in
%rootDir%/../../../common/helpers.php
in my config file, howeverphpstan-yii2
's services seem to be executed before that file is included and it fails with a message that no such function exists.The text was updated successfully, but these errors were encountered: