We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 3653f2a + 5bf29d4 commit d4271b2Copy full SHA for d4271b2
phpstan.el
@@ -218,6 +218,7 @@ it returns the value of `SOURCE' as it is."
218
(defun phpstan-get-executable ()
219
"Return PHPStan excutable file and arguments."
220
(cond
221
+ ((file-exists-p phpstan-executable) (list phpstan-executable))
222
((eq 'docker phpstan-executable)
223
(list "run" "--rm" "-v"
224
(concat (expand-file-name (php-project-get-root-dir)) ":/app")
0 commit comments