File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -368,7 +368,7 @@ it returns the value of `SOURCE' as it is."
368
368
((executable-find " phpstan" ) (list (executable-find " phpstan" )))
369
369
(t (error " PHPStan executable not found " )))))))
370
370
371
- (cl-defun phpstan-get-command-args (&key include-executable use-pro args format )
371
+ (cl-defun phpstan-get-command-args (&key include-executable use-pro args format options )
372
372
" Return command line argument for PHPStan."
373
373
(let ((executable-and-args (phpstan-get-executable-and-args))
374
374
(path (phpstan-normalize-path (phpstan-get-config-file)))
@@ -393,8 +393,8 @@ it returns the value of `SOURCE' as it is."
393
393
" --xdebug" ))
394
394
(list phpstan--use-xdebug-option))
395
395
(phpstan-use-xdebug-option (list " --xdebug" )))
396
- ( list " -- " )
397
- args)))
396
+ options
397
+ ( and args ( cons " -- " args)) )))
398
398
399
399
(provide 'phpstan )
400
400
; ;; phpstan.el ends here
You can’t perform that action at this time.
0 commit comments