mirror of
https://github.com/rectorphp/rector.git
synced 2024-06-02 09:20:52 +00:00
Updated Rector to commit 8354587b777450cb9f2e3bd48cf750d81b78cf05
8354587b77
[Core] Remove deprecated ContainerConfigurator warning since RectorConfig available since 0.12 (#3217)
This commit is contained in:
parent
86550a9ea2
commit
d98c9e5750
2
vendor/autoload.php
vendored
2
vendor/autoload.php
vendored
|
@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
|
|||
|
||||
require_once __DIR__ . '/composer/autoload_real.php';
|
||||
|
||||
return ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a::getLoader();
|
||||
return ComposerAutoloaderInitb16068eb7ffa3fc7f529a4df6ecd477a::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 ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a
|
||||
class ComposerAutoloaderInitb16068eb7ffa3fc7f529a4df6ecd477a
|
||||
{
|
||||
private static $loader;
|
||||
|
||||
|
@ -22,19 +22,19 @@ class ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a
|
|||
return self::$loader;
|
||||
}
|
||||
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a', 'loadClassLoader'), true, true);
|
||||
spl_autoload_register(array('ComposerAutoloaderInitb16068eb7ffa3fc7f529a4df6ecd477a', 'loadClassLoader'), true, true);
|
||||
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a', 'loadClassLoader'));
|
||||
spl_autoload_unregister(array('ComposerAutoloaderInitb16068eb7ffa3fc7f529a4df6ecd477a', 'loadClassLoader'));
|
||||
|
||||
require __DIR__ . '/autoload_static.php';
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a::getInitializer($loader));
|
||||
call_user_func(\Composer\Autoload\ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a::getInitializer($loader));
|
||||
|
||||
$loader->setClassMapAuthoritative(true);
|
||||
$loader->register(true);
|
||||
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a::$files;
|
||||
$includeFiles = \Composer\Autoload\ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a::$files;
|
||||
foreach ($includeFiles as $fileIdentifier => $file) {
|
||||
composerRequireb362f4eb82a6548e25fb1d561fd82f8a($fileIdentifier, $file);
|
||||
composerRequireb16068eb7ffa3fc7f529a4df6ecd477a($fileIdentifier, $file);
|
||||
}
|
||||
|
||||
return $loader;
|
||||
|
@ -46,7 +46,7 @@ class ComposerAutoloaderInitb362f4eb82a6548e25fb1d561fd82f8a
|
|||
* @param string $file
|
||||
* @return void
|
||||
*/
|
||||
function composerRequireb362f4eb82a6548e25fb1d561fd82f8a($fileIdentifier, $file)
|
||||
function composerRequireb16068eb7ffa3fc7f529a4df6ecd477a($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 ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a
|
||||
class ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a
|
||||
{
|
||||
public static $files = array (
|
||||
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
|
||||
|
@ -3055,9 +3055,9 @@ class ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a
|
|||
public static function getInitializer(ClassLoader $loader)
|
||||
{
|
||||
return \Closure::bind(function () use ($loader) {
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb362f4eb82a6548e25fb1d561fd82f8a::$classMap;
|
||||
$loader->prefixLengthsPsr4 = ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a::$prefixLengthsPsr4;
|
||||
$loader->prefixDirsPsr4 = ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a::$prefixDirsPsr4;
|
||||
$loader->classMap = ComposerStaticInitb16068eb7ffa3fc7f529a4df6ecd477a::$classMap;
|
||||
|
||||
}, null, ClassLoader::class);
|
||||
}
|
||||
|
|
8
vendor/composer/installed.json
vendored
8
vendor/composer/installed.json
vendored
|
@ -2122,12 +2122,12 @@
|
|||
"source": {
|
||||
"type": "git",
|
||||
"url": "https:\/\/github.com\/rectorphp\/rector-symfony.git",
|
||||
"reference": "8242133d713b915aa951ce384ab6631edd11480c"
|
||||
"reference": "eb02b35e95c820b9535a6dbbe2c2a83d81bbd4c9"
|
||||
},
|
||||
"dist": {
|
||||
"type": "zip",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/8242133d713b915aa951ce384ab6631edd11480c",
|
||||
"reference": "8242133d713b915aa951ce384ab6631edd11480c",
|
||||
"url": "https:\/\/api.github.com\/repos\/rectorphp\/rector-symfony\/zipball\/eb02b35e95c820b9535a6dbbe2c2a83d81bbd4c9",
|
||||
"reference": "eb02b35e95c820b9535a6dbbe2c2a83d81bbd4c9",
|
||||
"shasum": ""
|
||||
},
|
||||
"require": {
|
||||
|
@ -2157,7 +2157,7 @@
|
|||
"symplify\/rule-doc-generator": "^11.1",
|
||||
"symplify\/vendor-patches": "^11.1"
|
||||
},
|
||||
"time": "2022-12-12T17:18:59+00:00",
|
||||
"time": "2022-12-18T16:21:16+00:00",
|
||||
"default-branch": true,
|
||||
"type": "rector-extension",
|
||||
"extra": {
|
||||
|
|
2
vendor/composer/installed.php
vendored
2
vendor/composer/installed.php
vendored
File diff suppressed because one or more lines are too long
|
@ -9,7 +9,7 @@ namespace Rector\RectorInstaller;
|
|||
*/
|
||||
final class GeneratedConfig
|
||||
{
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 0a8e8d9'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main b1ca6d7'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e309ec2'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 8242133'));
|
||||
public const EXTENSIONS = array('rector/rector-doctrine' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-doctrine', 'relative_install_path' => '../../rector-doctrine', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 0a8e8d9'), 'rector/rector-downgrade-php' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-downgrade-php', 'relative_install_path' => '../../rector-downgrade-php', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main b1ca6d7'), 'rector/rector-php-parser' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-php-parser', 'relative_install_path' => '../../rector-php-parser', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main 9ea5f62'), 'rector/rector-phpunit' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-phpunit', 'relative_install_path' => '../../rector-phpunit', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main e309ec2'), 'rector/rector-symfony' => array('install_path' => '/home/runner/work/rector-src/rector-src/vendor/rector/rector-symfony', 'relative_install_path' => '../../rector-symfony', 'extra' => array('includes' => array(0 => 'config/config.php')), 'version' => 'dev-main eb02b35'));
|
||||
private function __construct()
|
||||
{
|
||||
}
|
||||
|
|
|
@ -124,7 +124,7 @@ CODE_SAMPLE
|
|||
return null;
|
||||
}
|
||||
// is there return without nesting?
|
||||
if ($this->nodeComparator->areNodesEqual($parentNode, $classMethod)) {
|
||||
if ($parentNode === $classMethod) {
|
||||
$hasReturn = \true;
|
||||
}
|
||||
$this->setReturnTo0InsteadOfNull($node);
|
||||
|
|
Loading…
Reference in New Issue
Block a user