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 8da92fb commit 5e4bb9cCopy full SHA for 5e4bb9c
phpstan.el
@@ -516,6 +516,7 @@ it returns the value of `SOURCE' as it is."
516
"--xdebug"))
517
(list phpstan--use-xdebug-option))
518
(phpstan-use-xdebug-option (list "--xdebug")))
519
+ options
520
(when editor
521
(let ((original-file (plist-get editor :original-file)))
522
(cond
@@ -526,8 +527,7 @@ it returns the value of `SOURCE' as it is."
526
527
"--instead-of" original-file
528
"--" original-file))
529
((list "--" (funcall (plist-get editor :inplace)))))))
- options
530
- (and args (cons "--" args)))))
+ (if editor args (cons "--" args)))))
531
532
(defun phpstan-update-ignorebale-errors-from-json-buffer (errors)
533
"Update `phpstan--ignorable-errors' variable by ERRORS."
0 commit comments