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 a2b3513 commit c13ea17Copy full SHA for c13ea17
flymake-phpstan.el
@@ -34,6 +34,7 @@
34
;; https://www.gnu.org/software/emacs/manual/html_node/flymake/An-annotated-example-backend.html
35
36
;;; Code:
37
+(require 'php-project)
38
(require 'flymake)
39
(require 'phpstan)
40
(eval-when-compile
@@ -94,7 +95,7 @@
94
95
(let ((source (current-buffer)))
96
(save-restriction
97
(widen)
- (setq flymake-phpstan--proc (flymake-phpstan-make-process (php-project-root) command-args report-fn source))
98
+ (setq flymake-phpstan--proc (flymake-phpstan-make-process (php-project-get-root-dir) command-args report-fn source))
99
(process-send-region flymake-phpstan--proc (point-min) (point-max))
100
(process-send-eof flymake-phpstan--proc)))))
101
0 commit comments