mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-19 14:27:14 +01:00
Updated Rector to commit 931c1472c6676e224979d3910552a3025c4903e9
bcc6764002
add preload for split package931c1472c6
cs
This commit is contained in:
parent
68e1f45251
commit
0e7a81986d
@ -56,8 +56,13 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe
|
|||||||
// speed up
|
// speed up
|
||||||
@\ini_set('memory_limit', '-1');
|
@\ini_set('memory_limit', '-1');
|
||||||
// include local files
|
// include local files
|
||||||
if (\file_exists(__DIR__ . '/../../../preload.php') && \file_exists(__DIR__ . '/../../../vendor')) {
|
if (\file_exists(__DIR__ . '/../../../preload.php')) {
|
||||||
require_once __DIR__ . '/../../../preload.php';
|
if (\file_exists(__DIR__ . '/../../../vendor')) {
|
||||||
|
require_once __DIR__ . '/../../../preload.php';
|
||||||
|
// test case in rector split package
|
||||||
|
} elseif (\file_exists(__DIR__ . '/../../../../../../vendor')) {
|
||||||
|
require_once __DIR__ . '/../../../preload-split-package.php';
|
||||||
|
}
|
||||||
}
|
}
|
||||||
if (\file_exists(__DIR__ . '/../../../vendor/scoper-autoload.php')) {
|
if (\file_exists(__DIR__ . '/../../../vendor/scoper-autoload.php')) {
|
||||||
require_once __DIR__ . '/../../../vendor/scoper-autoload.php';
|
require_once __DIR__ . '/../../../vendor/scoper-autoload.php';
|
||||||
|
@ -17,12 +17,12 @@ final class VersionResolver
|
|||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const PACKAGE_VERSION = '4d01db5c10372f2a0a7cf63ec51fa7e2913ee2a3';
|
public const PACKAGE_VERSION = '931c1472c6676e224979d3910552a3025c4903e9';
|
||||||
/**
|
/**
|
||||||
* @api
|
* @api
|
||||||
* @var string
|
* @var string
|
||||||
*/
|
*/
|
||||||
public const RELEASE_DATE = '2022-07-03 23:04:12';
|
public const RELEASE_DATE = '2022-07-03 23:43:35';
|
||||||
/**
|
/**
|
||||||
* @var int
|
* @var int
|
||||||
*/
|
*/
|
||||||
|
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
@ -9,4 +9,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||||||
|
|
||||||
require_once __DIR__ . '/composer/autoload_real.php';
|
require_once __DIR__ . '/composer/autoload_real.php';
|
||||||
|
|
||||||
return ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290::getLoader();
|
return ComposerAutoloaderInit3803371bed5fdf60a5292645873abf9a::getLoader();
|
||||||
|
14
vendor/composer/autoload_real.php
vendored
14
vendor/composer/autoload_real.php
vendored
@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
// autoload_real.php @generated by Composer
|
// autoload_real.php @generated by Composer
|
||||||
|
|
||||||
class ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290
|
class ComposerAutoloaderInit3803371bed5fdf60a5292645873abf9a
|
||||||
{
|
{
|
||||||
private static $loader;
|
private static $loader;
|
||||||
|
|
||||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290
|
|||||||
return self::$loader;
|
return self::$loader;
|
||||||
}
|
}
|
||||||
|
|
||||||
spl_autoload_register(array('ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290', 'loadClassLoader'), true, true);
|
spl_autoload_register(array('ComposerAutoloaderInit3803371bed5fdf60a5292645873abf9a', 'loadClassLoader'), true, true);
|
||||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||||
spl_autoload_unregister(array('ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290', 'loadClassLoader'));
|
spl_autoload_unregister(array('ComposerAutoloaderInit3803371bed5fdf60a5292645873abf9a', 'loadClassLoader'));
|
||||||
|
|
||||||
require __DIR__ . '/autoload_static.php';
|
require __DIR__ . '/autoload_static.php';
|
||||||
call_user_func(\Composer\Autoload\ComposerStaticInit27d1d0557c4920dea3fb90548b352290::getInitializer($loader));
|
call_user_func(\Composer\Autoload\ComposerStaticInit3803371bed5fdf60a5292645873abf9a::getInitializer($loader));
|
||||||
|
|
||||||
$loader->setClassMapAuthoritative(true);
|
$loader->setClassMapAuthoritative(true);
|
||||||
$loader->register(true);
|
$loader->register(true);
|
||||||
|
|
||||||
$includeFiles = \Composer\Autoload\ComposerStaticInit27d1d0557c4920dea3fb90548b352290::$files;
|
$includeFiles = \Composer\Autoload\ComposerStaticInit3803371bed5fdf60a5292645873abf9a::$files;
|
||||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||||
composerRequire27d1d0557c4920dea3fb90548b352290($fileIdentifier, $file);
|
composerRequire3803371bed5fdf60a5292645873abf9a($fileIdentifier, $file);
|
||||||
}
|
}
|
||||||
|
|
||||||
return $loader;
|
return $loader;
|
||||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit27d1d0557c4920dea3fb90548b352290
|
|||||||
* @param string $file
|
* @param string $file
|
||||||
* @return void
|
* @return void
|
||||||
*/
|
*/
|
||||||
function composerRequire27d1d0557c4920dea3fb90548b352290($fileIdentifier, $file)
|
function composerRequire3803371bed5fdf60a5292645873abf9a($fileIdentifier, $file)
|
||||||
{
|
{
|
||||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||||
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
|
||||||
|
8
vendor/composer/autoload_static.php
vendored
8
vendor/composer/autoload_static.php
vendored
@ -4,7 +4,7 @@
|
|||||||
|
|
||||||
namespace Composer\Autoload;
|
namespace Composer\Autoload;
|
||||||
|
|
||||||
class ComposerStaticInit27d1d0557c4920dea3fb90548b352290
|
class ComposerStaticInit3803371bed5fdf60a5292645873abf9a
|
||||||
{
|
{
|
||||||
public static $files = array (
|
public static $files = array (
|
||||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||||
@ -3410,9 +3410,9 @@ class ComposerStaticInit27d1d0557c4920dea3fb90548b352290
|
|||||||
public static function getInitializer(ClassLoader $loader)
|
public static function getInitializer(ClassLoader $loader)
|
||||||
{
|
{
|
||||||
return \Closure::bind(function () use ($loader) {
|
return \Closure::bind(function () use ($loader) {
|
||||||
$loader->prefixLengthsPsr4 = ComposerStaticInit27d1d0557c4920dea3fb90548b352290::$prefixLengthsPsr4;
|
$loader->prefixLengthsPsr4 = ComposerStaticInit3803371bed5fdf60a5292645873abf9a::$prefixLengthsPsr4;
|
||||||
$loader->prefixDirsPsr4 = ComposerStaticInit27d1d0557c4920dea3fb90548b352290::$prefixDirsPsr4;
|
$loader->prefixDirsPsr4 = ComposerStaticInit3803371bed5fdf60a5292645873abf9a::$prefixDirsPsr4;
|
||||||
$loader->classMap = ComposerStaticInit27d1d0557c4920dea3fb90548b352290::$classMap;
|
$loader->classMap = ComposerStaticInit3803371bed5fdf60a5292645873abf9a::$classMap;
|
||||||
|
|
||||||
}, null, ClassLoader::class);
|
}, null, ClassLoader::class);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user