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 2414947 commit 9753e59Copy full SHA for 9753e59
phpstan.el
@@ -202,10 +202,11 @@ NIL
202
203
(defun phpstan-enabled ()
204
"Return non-NIL if PHPStan configured or Composer detected."
205
- (or (phpstan-get-config-file)
206
- (phpstan-get-autoload-file)
207
- (and phpstan-enable-on-no-config-file
208
- (php-project-get-root-dir))))
+ (and (not (file-remote-p default-directory)) ;; Not support remote filesystem
+ (or (phpstan-get-config-file)
+ (phpstan-get-autoload-file)
+ (and phpstan-enable-on-no-config-file
209
+ (php-project-get-root-dir)))))
210
211
(defun phpstan-get-config-file ()
212
"Return path to phpstan configure file or `NIL'."
0 commit comments