File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change 108108 (const :tag " No --xdebug option" nil ))
109109 :group 'phpstan )
110110
111+ (defcustom phpstan-generate-baseline-options '(" --generate-baseline" " --allow-empty-baseline" )
112+ " Command line options for generating PHPStan baseline."
113+ :type '(repeat string)
114+ :safe #'listp
115+ :group 'phpstan )
116+
111117(defcustom phpstan-baseline-file " phpstan-baseline.neon"
112118 " File name of PHPStan baseline file."
113119 :type 'string
@@ -355,7 +361,7 @@ it returns the value of `SOURCE' as it is."
355361 (php-project-get-root-dir)
356362 default-directory)))
357363 (compile (mapconcat #'shell-quote-argument
358- (phpstan-get-command-args :include-executable t :options '( " -- generate-baseline" ) ) " " ))))
364+ (phpstan-get-command-args :include-executable t :options phpstan- generate-baseline-options ) " " ))))
359365
360366;;;### autoload
361367(defun phpstan-find-baseline-file ()
You can’t perform that action at this time.
0 commit comments