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 1151b8d commit e04bc35Copy full SHA for e04bc35
flycheck-phpstan.el
@@ -46,7 +46,7 @@
46
47
(defun flycheck-phpstan--enabled-and-set-variable ()
48
"Return path to phpstan configure file, and set buffer execute in side effect."
49
- (let ((enabled (not (null (or phpstan-working-dir (phpstan-get-config-file))))))
+ (let ((enabled (and (phpstan-get-working-dir) (phpstan-get-config-file))))
50
(prog1 enabled
51
(when (and phpstan-flycheck-auto-set-executable
52
(not (and (boundp 'flycheck-phpstan-executable)
0 commit comments