Skip to content

Commit 09102b0

Browse files
authored
Merge pull request #11 from emacs-php/fix/issue-10
Fixed problem for use vendor phpstan
2 parents 97f6435 + 169d903 commit 09102b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

phpstan.el

+2-1
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,8 @@ it returns the value of `SOURCE' as it is."
224224
"phpstan/phpstan"))
225225
((and (consp phpstan-executable)
226226
(eq 'root (car phpstan-executable)))
227-
(expand-file-name (cdr phpstan-executable) (php-project-get-root-dir)))
227+
(list
228+
(expand-file-name (cdr phpstan-executable) (php-project-get-root-dir))))
228229
((and (stringp phpstan-executable) (file-exists-p phpstan-executable))
229230
(list phpstan-executable))
230231
((and phpstan-flycheck-auto-set-executable

0 commit comments

Comments
 (0)