mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-17 13:28:18 +01:00
Updated Rector to commit 4005683997ceadfff65d19328e4eb2d0b5b3bbae
4005683997
[Scoper] Include src/core_namespace_aliases.php on last after project autoload (#5420)
This commit is contained in:
parent
615009f789
commit
c888002735
@ -105,6 +105,7 @@ $autoloadIncluder->loadIfExistsAndNotLoadedYet(__DIR__ . '/../vendor/scoper-auto
|
||||
$autoloadIncluder->autoloadProjectAutoloaderFile();
|
||||
$autoloadIncluder->autoloadRectorInstalledAsGlobalDependency();
|
||||
$autoloadIncluder->autoloadFromCommandLine();
|
||||
$autoloadIncluder->loadIfExistsAndNotLoadedYet(__DIR__ . '/../src/core_namespace_aliases.php');
|
||||
$rectorConfigsResolver = new RectorConfigsResolver();
|
||||
try {
|
||||
$bootstrapConfigs = $rectorConfigsResolver->provide();
|
||||
|
@ -19,12 +19,12 @@ final class VersionResolver
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'fa1a96b7eaa5f178c5701c94999a9aa130cf6255';
|
||||
public const PACKAGE_VERSION = '4005683997ceadfff65d19328e4eb2d0b5b3bbae';
|
||||
/**
|
||||
* @api
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2024-01-02 12:51:27';
|
||||
public const RELEASE_DATE = '2024-01-02 13:34:35';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -175,6 +175,9 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractLa
|
||||
if (\file_exists(__DIR__ . '/../../../vendor/scoper-autoload.php')) {
|
||||
require_once __DIR__ . '/../../../vendor/scoper-autoload.php';
|
||||
}
|
||||
if (\file_exists(__DIR__ . '/../../core_namespace_aliases.php')) {
|
||||
require_once __DIR__ . '/../../core_namespace_aliases.php';
|
||||
}
|
||||
}
|
||||
private function doTestFileMatchesExpectedContent(string $originalFilePath, string $expectedFileContents, string $fixtureFilePath) : void
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user