File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 166166
167167If neither `phpstan-replace-path-prefix' nor executable docker is set,
168168it returns the value of `SOURCE' as it is."
169- (let ((working -directory (expand-file-name (php-project-get-root-dir)))
169+ (let ((root -directory (expand-file-name (php-project-get-root-dir)))
170170 (prefix
171171 (cond
172172 ((not (null phpstan-replace-path-prefix)) phpstan-replace-path-prefix)
@@ -175,7 +175,7 @@ it returns the value of `SOURCE' as it is."
175175 (string= " docker" (car phpstan-executable))) " /app" ))))
176176 (if prefix
177177 (expand-file-name
178- (replace-regexp-in-string (concat " \\ `" (regexp-quote working -directory))
178+ (replace-regexp-in-string (concat " \\ `" (regexp-quote root -directory))
179179 " "
180180 source-original t t )
181181 prefix)
You can’t perform that action at this time.
0 commit comments