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 8928206 commit 2200791Copy full SHA for 2200791
phpstan.el
@@ -284,13 +284,15 @@ it returns the value of `SOURCE' as it is."
284
"Return --memory-limit value."
285
phpstan-memory-limit)
286
287
+;;;###autoload
288
(defun phpstan-analyze-this-file ()
289
"Analyze current buffer-file using PHPStan."
290
(interactive)
291
(let ((file (expand-file-name (or buffer-file-name
292
(read-file-name "Choose a PHP script: ")))))
293
(compile (mapconcat #'shell-quote-argument (append (phpstan-get-command-args t) (list file)) " "))))
294
295
296
(defun phpstan-analyze-file (file)
297
"Analyze a PHP script FILE using PHPStan."
298
(interactive (list (expand-file-name (read-file-name "Choose a PHP script: "))))
0 commit comments