Updated Rector to commit 4f54239565b838f5fcfb8bc4a3fef6e883080dc7

4f54239565 [DX] Move isWindows() method from AbstractRectorTestCase to AbstractLazyTestCase (#6715)
This commit is contained in:
Tomas Votruba 2025-02-03 09:28:06 +00:00
parent 9e2cd16162
commit afc11ae8dd
3 changed files with 6 additions and 6 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = 'fe3b78a458546d92abbb12feb217ec1d9f9a0454';
public const PACKAGE_VERSION = '4f54239565b838f5fcfb8bc4a3fef6e883080dc7';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2025-02-03 10:44:55';
public const RELEASE_DATE = '2025-02-03 10:25:38';
/**
* @var int
*/

View File

@ -38,4 +38,8 @@ abstract class AbstractLazyTestCase extends TestCase
self::$rectorConfig->boot();
return self::$rectorConfig;
}
protected function isWindows() : bool
{
return \strncasecmp(\PHP_OS, 'WIN', 3) === 0;
}
}

View File

@ -102,10 +102,6 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractLa
{
return FixtureFileFinder::yieldDirectory($directory, $suffix);
}
protected function isWindows() : bool
{
return \strncasecmp(\PHP_OS, 'WIN', 3) === 0;
}
protected function doTestFile(string $fixtureFilePath) : void
{
// prepare input file contents and expected file output contents