Skip to content

Commit

Permalink
Merge pull request #11 from emacs-php/fix/issue-10
Browse files Browse the repository at this point in the history
Fixed problem for use vendor phpstan
  • Loading branch information
zonuexe authored Jul 21, 2018
2 parents 97f6435 + 169d903 commit 09102b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion phpstan.el
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,8 @@ it returns the value of `SOURCE' as it is."
"phpstan/phpstan"))
((and (consp phpstan-executable)
(eq 'root (car phpstan-executable)))
(expand-file-name (cdr phpstan-executable) (php-project-get-root-dir)))
(list
(expand-file-name (cdr phpstan-executable) (php-project-get-root-dir))))
((and (stringp phpstan-executable) (file-exists-p phpstan-executable))
(list phpstan-executable))
((and phpstan-flycheck-auto-set-executable
Expand Down

0 comments on commit 09102b0

Please sign in to comment.