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 ed9f204 commit e32ef8eCopy full SHA for e32ef8e
phpstan.el
@@ -181,8 +181,7 @@ NIL
181
(expand-file-name (cdr phpstan-config-file) (php-project-get-root-dir))
182
phpstan-config-file)
183
(let ((working-directory (phpstan-get-working-dir)))
184
- (if working-directory
185
- nil
+ (when working-directory
186
(cl-loop for name in '("phpstan.neon" "phpstan.neon.dist")
187
for dir = (locate-dominating-file working-directory name)
188
if dir
0 commit comments