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
After several attempts and even hacking my way through elisp to alter order of the next-checker chain (which did not work anyways) I've came to try placing phpcs as next checker to phpstan instead of php.
(flycheck-add-next-checker 'phpstan 'php-phpcs)
It works. Anyways the bug is real and should be solved, I just don't know how :(
That's not a bug, that is flycheck working as designed. It will always take the first checker in the "next checkers" list of the currently active checker, and only take the next if the first is unavailable.
I'm not sure if this is an issue with flycheck or the phpstan-flycheck
the other php flychecks don't run.
That pretends it to the list of next checkers for php.
but even if I change it to append it still doesn't work. It will run all the other checkers but not get to phpspec.
If I modify
flycheck.el
and manually add phpstan tonext-checkers
ofphp
andphp-cs
.Then it works. It seems like flycheck doesn't honor the next-checkers list and they know it.
The text was updated successfully, but these errors were encountered: