Updated Rector to commit be4fba42de

be4fba42de added generics to  (#304)
This commit is contained in:
Tomas Votruba 2021-06-30 11:36:37 +00:00
parent c3f5f655ef
commit ae344ba87f
32 changed files with 117 additions and 31 deletions

View File

@ -10,6 +10,9 @@ use PhpParser\Node\UnionType;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\ValueObject\TypeKind;
/**
* @template T of Type
*/
interface TypeMapperInterface
{
/**
@ -17,10 +20,12 @@ interface TypeMapperInterface
*/
public function getNodeClass() : string;
/**
* @param T $type
* @param TypeKind::*|null $kind
*/
public function mapToPHPStanPhpDocTypeNode(\PHPStan\Type\Type $type, ?string $kind = null) : \PHPStan\PhpDocParser\Ast\Type\TypeNode;
/**
* @param T $type
* @param TypeKind::*|null $kind
*
* @return Name|NullableType|UnionType|null

View File

@ -27,6 +27,8 @@ use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeCommonTypeNarrower;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @see \Rector\Tests\PHPStanStaticTypeMapper\TypeMapper\ArrayTypeMapperTest
*
* @implements TypeMapperInterface<ArrayType>
*/
final class ArrayTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{

View File

@ -13,6 +13,9 @@ use PHPStan\Type\Type;
use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<BooleanType>
*/
final class BooleanTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -15,6 +15,9 @@ use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use Rector\PHPStanStaticTypeMapper\ValueObject\TypeKind;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<CallableType>
*/
final class CallableTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -15,6 +15,9 @@ use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<ClassStringType>
*/
final class ClassStringTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -4,6 +4,7 @@ declare (strict_types=1);
namespace Rector\PHPStanStaticTypeMapper\TypeMapper;
use PhpParser\Node;
use PhpParser\Node\Name;
use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\ClosureType;
@ -12,19 +13,17 @@ use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<ClosureType>
*/
final class ClosureTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**
* @var \Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper
*/
private $phpStanStaticTypeMapper;
/**
* @var \Rector\PHPStanStaticTypeMapper\TypeMapper\CallableTypeMapper
*/
private $callableTypeMapper;
public function __construct(\Rector\PHPStanStaticTypeMapper\TypeMapper\CallableTypeMapper $callableTypeMapper)
public function __construct()
{
$this->callableTypeMapper = $callableTypeMapper;
}
/**
* @return class-string<Type>
@ -47,7 +46,10 @@ final class ClosureTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contrac
*/
public function mapToPhpParserNode(\PHPStan\Type\Type $type, ?string $kind = null) : ?\PhpParser\Node
{
return $this->callableTypeMapper->mapToPhpParserNode($type, $kind);
if ($kind === 'property') {
return null;
}
return new \PhpParser\Node\Name('callable');
}
/**
* @required

View File

@ -12,6 +12,9 @@ use PHPStan\Type\Type;
use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<FloatType>
*/
final class FloatTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -11,6 +11,9 @@ use PHPStan\Type\Accessory\HasOffsetType;
use PHPStan\Type\Type;
use Rector\Core\Exception\ShouldNotHappenException;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<HasOffsetType>
*/
final class HasOffsetTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -12,6 +12,9 @@ use PHPStan\Type\Type;
use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<IntegerType>
*/
final class IntegerTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -11,6 +11,9 @@ use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareIntersectionTypeNode
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<IntersectionType>
*/
final class IntersectionTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -15,6 +15,9 @@ use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<IterableType>
*/
final class IterableTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -9,6 +9,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\MixedType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<MixedType>
*/
final class MixedTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -10,6 +10,9 @@ use PHPStan\Type\NeverType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\ValueObject\TypeKind;
/**
* @implements TypeMapperInterface<NeverType>
*/
final class NeverTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -11,6 +11,9 @@ use PHPStan\Type\Accessory\NonEmptyArrayType;
use PHPStan\Type\Type;
use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<NonEmptyArrayType>
*/
final class NonEmptyArrayTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -11,6 +11,9 @@ use PHPStan\Type\NullType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\ValueObject\TypeKind;
/**
* @implements TypeMapperInterface<NullType>
*/
final class NullTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -21,6 +21,9 @@ use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType;
use Rector\StaticTypeMapper\ValueObject\Type\SelfObjectType;
use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<ObjectType>
*/
final class ObjectTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -16,6 +16,9 @@ use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<ObjectWithoutClassType>
*/
final class ObjectWithoutClassTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -10,6 +10,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\StaticTypeMapper\ValueObject\Type\ParentStaticType;
/**
* @implements TypeMapperInterface<ParentStaticType>
*/
final class ParentStaticTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -9,6 +9,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\ResourceType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<ResourceType>
*/
final class ResourceTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -10,6 +10,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\StaticTypeMapper\ValueObject\Type\SelfObjectType;
/**
* @implements TypeMapperInterface<SelfObjectType>
*/
final class SelfObjectTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -15,6 +15,8 @@ use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @see \Rector\Tests\NodeTypeResolver\StaticTypeMapper\StaticTypeMapperTest
*
* @implements TypeMapperInterface<StaticType>
*/
final class StaticTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{

View File

@ -10,6 +10,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\StrictMixedType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<StrictMixedType>
*/
final class StrictMixedTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -12,6 +12,9 @@ use PHPStan\Type\Type;
use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<StringType>
*/
final class StringTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -10,6 +10,9 @@ use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\ThisType;
use PHPStan\Type\Type;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<ThisType>
*/
final class ThisTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -4,20 +4,26 @@ declare (strict_types=1);
namespace Rector\PHPStanStaticTypeMapper\TypeMapper;
use PhpParser\Node;
use PhpParser\Node\Name;
use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode;
use PHPStan\PhpDocParser\Ast\Type\TypeNode;
use PHPStan\Type\Type;
use PHPStan\Type\TypeWithClassName;
use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
/**
* @implements TypeMapperInterface<TypeWithClassName>
*/
final class TypeWithClassNameTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**
* @var \Rector\PHPStanStaticTypeMapper\TypeMapper\StringTypeMapper
* @var \Rector\Core\Php\PhpVersionProvider
*/
private $stringTypeMapper;
public function __construct(\Rector\PHPStanStaticTypeMapper\TypeMapper\StringTypeMapper $stringTypeMapper)
private $phpVersionProvider;
public function __construct(\Rector\Core\Php\PhpVersionProvider $phpVersionProvider)
{
$this->stringTypeMapper = $stringTypeMapper;
$this->phpVersionProvider = $phpVersionProvider;
}
/**
* @return class-string<Type>
@ -38,6 +44,9 @@ final class TypeWithClassNameTypeMapper implements \Rector\PHPStanStaticTypeMapp
*/
public function mapToPhpParserNode(\PHPStan\Type\Type $type, ?string $kind = null) : ?\PhpParser\Node
{
return $this->stringTypeMapper->mapToPhpParserNode($type, $kind);
if (!$this->phpVersionProvider->isAtLeastPhpVersion(\Rector\Core\ValueObject\PhpVersionFeature::SCALAR_TYPES)) {
return null;
}
return new \PhpParser\Node\Name('string');
}
}

View File

@ -32,6 +32,9 @@ use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeAnalyzer;
use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeCommonTypeNarrower;
use Rector\PHPStanStaticTypeMapper\ValueObject\UnionTypeAnalysis;
use RectorPrefix20210630\Symfony\Contracts\Service\Attribute\Required;
/**
* @implements TypeMapperInterface<UnionType>
*/
final class UnionTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -13,6 +13,9 @@ use Rector\Core\Php\PhpVersionProvider;
use Rector\Core\ValueObject\PhpVersionFeature;
use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface;
use Rector\PHPStanStaticTypeMapper\ValueObject\TypeKind;
/**
* @implements TypeMapperInterface<VoidType>
*/
final class VoidTypeMapper implements \Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface
{
/**

View File

@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
public const PACKAGE_VERSION = '326a8d23e984ad00d01cfde130607f6cc27e5580';
public const PACKAGE_VERSION = 'be4fba42de29b25c6a79f0aa344a7f7dab2b18a7';
/**
* @var string
*/
public const RELEASE_DATE = '2021-06-30 13:16:08';
public const RELEASE_DATE = '2021-06-30 13:23:30';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20210630\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);

2
vendor/autoload.php vendored
View File

@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
return ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514::getLoader();
return ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829::getLoader();

View File

@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
class ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514
class ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829
{
private static $loader;
@ -22,15 +22,15 @@ class ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514
return self::$loader;
}
spl_autoload_register(array('ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514', 'loadClassLoader'), true, true);
spl_autoload_register(array('ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
spl_autoload_unregister(array('ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514', 'loadClassLoader'));
spl_autoload_unregister(array('ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829', 'loadClassLoader'));
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
if ($useStaticLoader) {
require __DIR__ . '/autoload_static.php';
call_user_func(\Composer\Autoload\ComposerStaticInit26357658ba8d3f31c3b01a48429b3514::getInitializer($loader));
call_user_func(\Composer\Autoload\ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@ -42,19 +42,19 @@ class ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514
$loader->register(true);
if ($useStaticLoader) {
$includeFiles = Composer\Autoload\ComposerStaticInit26357658ba8d3f31c3b01a48429b3514::$files;
$includeFiles = Composer\Autoload\ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
composerRequire26357658ba8d3f31c3b01a48429b3514($fileIdentifier, $file);
composerRequire79897bdce6c71d5742e3dcf5e1cc9829($fileIdentifier, $file);
}
return $loader;
}
}
function composerRequire26357658ba8d3f31c3b01a48429b3514($fileIdentifier, $file)
function composerRequire79897bdce6c71d5742e3dcf5e1cc9829($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
require $file;

View File

@ -4,7 +4,7 @@
namespace Composer\Autoload;
class ComposerStaticInit26357658ba8d3f31c3b01a48429b3514
class ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829
{
public static $files = array (
'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php',
@ -3840,9 +3840,9 @@ class ComposerStaticInit26357658ba8d3f31c3b01a48429b3514
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
$loader->prefixLengthsPsr4 = ComposerStaticInit26357658ba8d3f31c3b01a48429b3514::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit26357658ba8d3f31c3b01a48429b3514::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit26357658ba8d3f31c3b01a48429b3514::$classMap;
$loader->prefixLengthsPsr4 = ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829::$prefixLengthsPsr4;
$loader->prefixDirsPsr4 = ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829::$prefixDirsPsr4;
$loader->classMap = ComposerStaticInit79897bdce6c71d5742e3dcf5e1cc9829::$classMap;
}, null, ClassLoader::class);
}

View File

@ -21,8 +21,8 @@ if (!class_exists('SomeTestCase', false) && !interface_exists('SomeTestCase', fa
if (!class_exists('CheckoutEntityFactory', false) && !interface_exists('CheckoutEntityFactory', false) && !trait_exists('CheckoutEntityFactory', false)) {
spl_autoload_call('RectorPrefix20210630\CheckoutEntityFactory');
}
if (!class_exists('ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514', false) && !interface_exists('ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514', false) && !trait_exists('ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514', false)) {
spl_autoload_call('RectorPrefix20210630\ComposerAutoloaderInit26357658ba8d3f31c3b01a48429b3514');
if (!class_exists('ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829', false) && !interface_exists('ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829', false) && !trait_exists('ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829', false)) {
spl_autoload_call('RectorPrefix20210630\ComposerAutoloaderInit79897bdce6c71d5742e3dcf5e1cc9829');
}
if (!class_exists('Doctrine\Inflector\Inflector', false) && !interface_exists('Doctrine\Inflector\Inflector', false) && !trait_exists('Doctrine\Inflector\Inflector', false)) {
spl_autoload_call('RectorPrefix20210630\Doctrine\Inflector\Inflector');
@ -3320,9 +3320,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20210630\print_node(...func_get_args());
}
}
if (!function_exists('composerRequire26357658ba8d3f31c3b01a48429b3514')) {
function composerRequire26357658ba8d3f31c3b01a48429b3514() {
return \RectorPrefix20210630\composerRequire26357658ba8d3f31c3b01a48429b3514(...func_get_args());
if (!function_exists('composerRequire79897bdce6c71d5742e3dcf5e1cc9829')) {
function composerRequire79897bdce6c71d5742e3dcf5e1cc9829() {
return \RectorPrefix20210630\composerRequire79897bdce6c71d5742e3dcf5e1cc9829(...func_get_args());
}
}
if (!function_exists('parseArgs')) {