Updated Rector to commit 676bb071a3e6a8a959526b84ce34ca75d4a61b3b

676bb071a3 [ci] Remove outside any set, as not much valueable (#5998)
This commit is contained in:
Tomas Votruba 2024-06-21 13:41:27 +00:00
parent a68d1d9fc9
commit e8a9a2ec6b
7 changed files with 15 additions and 18 deletions

View File

@ -19,12 +19,12 @@ final class VersionResolver
* @api
* @var string
*/
public const PACKAGE_VERSION = '69c35a5e9751c0c57ef0de4e48e52162b9e43929';
public const PACKAGE_VERSION = '676bb071a3e6a8a959526b84ce34ca75d4a61b3b';
/**
* @api
* @var string
*/
public const RELEASE_DATE = '2024-06-21 13:30:07';
public const RELEASE_DATE = '2024-06-21 15:38:36';
/**
* @var int
*/

View File

@ -12,6 +12,7 @@ use Rector\DeadCode\Rector\BooleanAnd\RemoveAndTrueRector;
use Rector\DeadCode\Rector\Cast\RecastingRemovalRector;
use Rector\DeadCode\Rector\ClassConst\RemoveUnusedPrivateClassConstantRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveEmptyClassMethodRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveNullTagValueNodeRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedConstructorParamRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodParameterRector;
use Rector\DeadCode\Rector\ClassMethod\RemoveUnusedPrivateMethodRector;
@ -69,6 +70,7 @@ final class DeadCodeLevel
*/
public const RULES = [
// easy picks
RemoveNullTagValueNodeRector::class,
RemoveUnusedForeachKeyRector::class,
RemoveDuplicatedArrayKeyRector::class,
RecastingRemovalRector::class,

View File

@ -179,7 +179,6 @@ use Rector\StaticTypeMapper\PhpParser\NullableTypeNodeMapper;
use Rector\StaticTypeMapper\PhpParser\StringNodeMapper;
use Rector\StaticTypeMapper\PhpParser\UnionTypeNodeMapper;
use Rector\StaticTypeMapper\StaticTypeMapper;
use Rector\Utils\Command\OutsideAnySetCommand;
use RectorPrefix202406\Symfony\Component\Console\Application;
use RectorPrefix202406\Symfony\Component\Console\Command\Command;
use RectorPrefix202406\Symfony\Component\Console\Style\SymfonyStyle;
@ -270,10 +269,6 @@ final class LazyContainerFactory
$rectorConfig->singleton(CustomRuleCommand::class);
$rectorConfig->singleton(DetectNodeCommand::class);
$rectorConfig->when(ListRulesCommand::class)->needs('$rectors')->giveTagged(RectorInterface::class);
// dev
if (\class_exists(OutsideAnySetCommand::class)) {
$rectorConfig->singleton(OutsideAnySetCommand::class);
}
$rectorConfig->singleton(FileProcessor::class);
$rectorConfig->singleton(PostFileProcessor::class);
// phpdoc-parser

2
vendor/autoload.php vendored
View File

@ -22,4 +22,4 @@ if (PHP_VERSION_ID < 50600) {
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104::getLoader();
return ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104
class ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15
{
private static $loader;
@ -22,17 +22,17 @@ class ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(__DIR__));
spl_autoload_unregister(array('ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15', 'loadClassLoader'));
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit3df07ecb58f33efb3471bc5e85728104::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15::getInitializer($loader));
$loader->setClassMapAuthoritative(true);
$loader->register(true);
$filesToLoad = \Composer\Autoload\ComposerStaticInit3df07ecb58f33efb3471bc5e85728104::$files;
$filesToLoad = \Composer\Autoload\ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15::$files;
$requireFile = \Closure::bind(static function ($fileIdentifier, $file) {
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit3df07ecb58f33efb3471bc5e85728104
class ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15
{
public static $files = array (
'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php',
@ -2740,9 +2740,9 @@ class ComposerStaticInit3df07ecb58f33efb3471bc5e85728104
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit3df07ecb58f33efb3471bc5e85728104::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit3df07ecb58f33efb3471bc5e85728104::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit3df07ecb58f33efb3471bc5e85728104::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInitf648ab75ee2d7b2c2cd586e971786e15::$classMap;
}, null, ClassLoader::class);
}

View File

@ -30,7 +30,7 @@ if (!function_exists('humbug_phpscoper_expose_class')) {
}
}
humbug_phpscoper_expose_class('AutoloadIncluder', 'RectorPrefix202406\AutoloadIncluder');
humbug_phpscoper_expose_class('ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104', 'RectorPrefix202406\ComposerAutoloaderInit3df07ecb58f33efb3471bc5e85728104');
humbug_phpscoper_expose_class('ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15', 'RectorPrefix202406\ComposerAutoloaderInitf648ab75ee2d7b2c2cd586e971786e15');
humbug_phpscoper_expose_class('Product', 'RectorPrefix202406\Product');
// Function aliases. For more information see: