mirror of
https://github.com/rectorphp/rector.git
synced 2025-03-13 20:12:07 +01:00
Updated Rector to commit 4f54239565b838f5fcfb8bc4a3fef6e883080dc7
4f54239565
[DX] Move isWindows() method from AbstractRectorTestCase to AbstractLazyTestCase (#6715)
This commit is contained in:
parent
9e2cd16162
commit
afc11ae8dd
@ -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
|
||||
*/
|
||||
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user