File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -322,6 +322,19 @@ it returns the value of `SOURCE' as it is."
322
322
(compile (mapconcat #'shell-quote-argument
323
323
(phpstan-get-command-args :include-executable t :args (list file)) " " )))
324
324
325
+ ;;;### autoload
326
+ (defun phpstan-analyze-project ()
327
+ " Analyze a PHP project using PHPStan."
328
+ (interactive )
329
+ (compile (mapconcat #'shell-quote-argument (phpstan-get-command-args :include-executable t ) " " )))
330
+
331
+ ;;;### autoload
332
+ (defun phpstan-generate-baseline ()
333
+ " Generate PHPStan baseline file."
334
+ (interactive )
335
+ (compile (mapconcat #'shell-quote-argument
336
+ (phpstan-get-command-args :include-executable t :options '(" --generate-baseline" )) " " )))
337
+
325
338
;;;### autoload
326
339
(defun phpstan-pro ()
327
340
" Analyze current PHP project using PHPStan Pro."
You can’t perform that action at this time.
0 commit comments