-
Notifications
You must be signed in to change notification settings - Fork 4
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
"Cannot resolve latte template for action" when setView
is used with bleeding edge enabled
#402
Comments
Interesting... what about phpstan-latte before commit 050697c? e.g. version 0.13.1? In mentioned commit I've added support for bleeding edge for internal implementations (but I don't know if it is somehow connected with your problem). I know there will be some other issues, I'm interesting only to this template resolving now. Can you check it? |
Tried 0.13.1 and unfortunately the result is the same (see the first and last errors, ignore the others):
|
OK, it is good news :) I didn't screw it in that commit :D We have to go deeper. |
OK I think I found the issue :) https://phpstan.org/blog/preprocessing-ast-for-custom-rules Have to rewrite it. |
Solved by #405 |
efabrica-team/phpstan-latte#402 was fixed and released
- efabrica/phpstan-latte updated from 0.13.2 to 0.14.0 minor See changes: efabrica-team/phpstan-latte@0.13.2...0.14.0 Release notes: https://github.com/efabrica-team/phpstan-latte/releases/tag/0.14.0 + Unignore errors because efabrica-team/phpstan-latte#402 was fixed and released + Ignore new ones because of efabrica-team/phpstan-latte#415
I have simple actions using
setView
that looks like this (one is actually exactly like that and there's another one very similar):When analyzing it on level 9 with
bleedingEdge.neon
config included, I get "Cannot resolve latte template for action add":To repeat, this only happens when bleeding edge config is used.
The text was updated successfully, but these errors were encountered: