-
Notifications
You must be signed in to change notification settings - Fork 15
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
"Flycheck cannot use this syntax checker for this buffer." #8
Comments
Using |
I've stumbled on the same issue several times. Haven't taken time to really look into it, but adding project specific configuration like below have often helped ((nil . ((php-project-root . git)
(phpstan-executable . "/home/mikael/bin/phpstan")
(phpstan-working-dir . (root . "."))
(phpstan-config-file . (root . "./phpstan.neon"))
(phpstan-level . 7)))) |
just noticed that adding/removing the specific line below makes a difference (phpstan-config-file . (root . "./phpstan.neon")) |
Ah. I've only tried out the package (and phpstan) on a project without a
config file - might be why it's not working
…On Thu, 17 May 2018, 20:14 Mikael Kermorgant, ***@***.***> wrote:
just noticed that the specific line below makes a difference
(phpstan-config-file . (root . "./phpstan.neon"))
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#8 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AMwKu4g9L4bdEbJtt_8YMp8y-YqIu5aVks5tzcwzgaJpZM4Tyr8v>
.
|
What is the significance of phpstan.neon? Is that an automatically generated file? |
It's phpstan's configuration file |
Spent some time with the same error, in my case I was trying to use a leading |
Relevant lines in my init.el:
The buffer that appears when I open PHP file:
PHPStan Project Version - installed using project's composer.
PHPStan - PHP Static Analysis Tool dev-master@de7fd7d
The text was updated successfully, but these errors were encountered: