From 2fe05919ad2ea835bf0230d4ee50603d097e09dc Mon Sep 17 00:00:00 2001 From: Matt Glaman Date: Wed, 16 Jun 2021 15:14:51 -0500 Subject: [PATCH] Issue #3219157: Support Windows file paths --- rector.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/rector.php b/rector.php index f23db143..ca5a5811 100644 --- a/rector.php +++ b/rector.php @@ -15,10 +15,10 @@ $drupalFinder->locateRoot(__DIR__); $drupalRoot = $drupalFinder->getDrupalRoot(); $parameters->set(Option::AUTOLOAD_PATHS, [ - $drupalRoot . '/core', - $drupalRoot . '/modules', - $drupalRoot . '/profiles', - $drupalRoot . '/themes' + \realpath($drupalRoot . '/core'), + \realpath($drupalRoot . '/modules'), + \realpath($drupalRoot . '/profiles'), + \realpath($drupalRoot . '/themes') ]); $parameters->set(Option::SKIP, ['*/upgrade_status/tests/modules/*']);