Skip to content

Commit 4d53e60

Browse files
committed
Rename root-directory local variable
1 parent 3748533 commit 4d53e60

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

phpstan.el

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ NIL
166166
167167
If neither `phpstan-replace-path-prefix' nor executable docker is set,
168168
it 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)

0 commit comments

Comments
 (0)