Skip to content

Commit 2fe0591

Browse files
committed
Issue #3219157: Support Windows file paths
1 parent 480a920 commit 2fe0591

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

rector.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@
1515
$drupalFinder->locateRoot(__DIR__);
1616
$drupalRoot = $drupalFinder->getDrupalRoot();
1717
$parameters->set(Option::AUTOLOAD_PATHS, [
18-
$drupalRoot . '/core',
19-
$drupalRoot . '/modules',
20-
$drupalRoot . '/profiles',
21-
$drupalRoot . '/themes'
18+
\realpath($drupalRoot . '/core'),
19+
\realpath($drupalRoot . '/modules'),
20+
\realpath($drupalRoot . '/profiles'),
21+
\realpath($drupalRoot . '/themes')
2222
]);
2323

2424
$parameters->set(Option::SKIP, ['*/upgrade_status/tests/modules/*']);

0 commit comments

Comments
 (0)