mirror of
https://github.com/rectorphp/rector.git
synced 2025-01-18 14:03:41 +01:00
Updated Rector to commit 87b3dad3416ae5cfebac33238536ddf96eaeae75
87b3dad341
[Scoped] Register src/functions functions list to scoper config (#2536)
This commit is contained in:
parent
0eee0934e4
commit
570ffb84f2
@ -16,11 +16,11 @@ final class VersionResolver
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const PACKAGE_VERSION = 'e22941a7f799b4e8f220428b37aec347769801b2';
|
||||
public const PACKAGE_VERSION = '87b3dad3416ae5cfebac33238536ddf96eaeae75';
|
||||
/**
|
||||
* @var string
|
||||
*/
|
||||
public const RELEASE_DATE = '2022-06-19 22:01:37';
|
||||
public const RELEASE_DATE = '2022-06-20 09:01:47';
|
||||
/**
|
||||
* @var int
|
||||
*/
|
||||
|
@ -18,7 +18,7 @@ if (!\function_exists('dump_with_depth')) {
|
||||
if (!\function_exists('dn')) {
|
||||
function dn(Node $node, int $depth = 2) : void
|
||||
{
|
||||
dump_node($node, $depth);
|
||||
\RectorPrefix202206\dump_node($node, $depth);
|
||||
}
|
||||
}
|
||||
if (!\function_exists('dump_node')) {
|
||||
|
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';
|
||||
|
||||
return ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67::getLoader();
|
||||
return ComposerAutoloaderInitcdc20be1f54675c31edf338e1381b60d::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
|
||||
|
||||
class ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67
|
||||
class ComposerAutoloaderInitcdc20be1f54675c31edf338e1381b60d
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
@ -22,19 +22,19 @@ class ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67
|
||||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitcdc20be1f54675c31edf338e1381b60d', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitcdc20be1f54675c31edf338e1381b60d', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInit6c4baa37235a692cc07f870714963c67::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitcdc20be1f54675c31edf338e1381b60d::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInit6c4baa37235a692cc07f870714963c67::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitcdc20be1f54675c31edf338e1381b60d::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequire6c4baa37235a692cc07f870714963c67($fileIdentifier, $file);
|
||||
composerRequirecdc20be1f54675c31edf338e1381b60d($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
@ -46,7 +46,7 @@ class ComposerAutoloaderInit6c4baa37235a692cc07f870714963c67
|
||||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequire6c4baa37235a692cc07f870714963c67($fileIdentifier, $file)
|
||||
function composerRequirecdc20be1f54675c31edf338e1381b60d($fileIdentifier, $file)
|
||||
{
|
||||
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
||||
$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;
|
||||
|
||||
class ComposerStaticInit6c4baa37235a692cc07f870714963c67
|
||||
class ComposerStaticInitcdc20be1f54675c31edf338e1381b60d
|
||||
{
|
||||
public static $files = array (
|
||||
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
|
||||
@ -3397,9 +3397,9 @@ class ComposerStaticInit6c4baa37235a692cc07f870714963c67
|
||||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInit6c4baa37235a692cc07f870714963c67::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInit6c4baa37235a692cc07f870714963c67::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInit6c4baa37235a692cc07f870714963c67::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitcdc20be1f54675c31edf338e1381b60d::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitcdc20be1f54675c31edf338e1381b60d::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitcdc20be1f54675c31edf338e1381b60d::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
20
vendor/scoper-autoload.php
vendored
20
vendor/scoper-autoload.php
vendored
@ -15,6 +15,26 @@ if (!class_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !interface
|
||||
|
||||
// Exposed functions. For more information see:
|
||||
// https://github.com/humbug/php-scoper/blob/master/docs/configuration.md#exposing-functions
|
||||
if (!function_exists('dump_with_depth')) {
|
||||
function dump_with_depth() {
|
||||
return \RectorPrefix202206\dump_with_depth(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('dn')) {
|
||||
function dn() {
|
||||
return \RectorPrefix202206\dn(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('dump_node')) {
|
||||
function dump_node() {
|
||||
return \RectorPrefix202206\dump_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('print_node')) {
|
||||
function print_node() {
|
||||
return \RectorPrefix202206\print_node(...func_get_args());
|
||||
}
|
||||
}
|
||||
if (!function_exists('trigger_deprecation')) {
|
||||
function trigger_deprecation() {
|
||||
return \RectorPrefix202206\trigger_deprecation(...func_get_args());
|
||||
|
Loading…
x
Reference in New Issue
Block a user