We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fa077b commit 6840f6cCopy full SHA for 6840f6c
phpstan.el
@@ -91,9 +91,8 @@
91
(expand-file-name (cdr executable) (php-project-get-root-dir))))
92
(if (file-exists-p executable)
93
executable
94
- (if (executable-find "phpstan")
95
- "phpstan"
96
- (error "PHPStan executable not found")))))
+ (or (executable-find "phpstan")
+ (error "PHPStan executable not found")))))
97
98
;;;###autoload
99
(when (featurep 'flycheck)
0 commit comments