diff --git a/docs/rector_rules_overview.md b/docs/rector_rules_overview.md
index 217e15606e8..e12b147a6b7 100644
--- a/docs/rector_rules_overview.md
+++ b/docs/rector_rules_overview.md
@@ -1,4 +1,4 @@
-# 518 Rules Overview
+# 517 Rules Overview
@@ -6,7 +6,7 @@
- [Arguments](#arguments) (4)
-- [Autodiscovery](#autodiscovery) (4)
+- [Autodiscovery](#autodiscovery) (3)
- [CodeQuality](#codequality) (71)
@@ -326,53 +326,6 @@ return static function (ContainerConfigurator $containerConfigurator): void {
-### MoveValueObjectsToValueObjectDirectoryRector
-
-Move value object to ValueObject namespace/directory
-
-:wrench: **configure it!**
-
-- class: [`Rector\Autodiscovery\Rector\Class_\MoveValueObjectsToValueObjectDirectoryRector`](../rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php)
-
-```php
-use Rector\Autodiscovery\Rector\Class_\MoveValueObjectsToValueObjectDirectoryRector;
-use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator;
-
-return static function (ContainerConfigurator $containerConfigurator): void {
- $services = $containerConfigurator->services();
-
- $services->set(MoveValueObjectsToValueObjectDirectoryRector::class)
- ->configure([
- MoveValueObjectsToValueObjectDirectoryRector::TYPES => ['ValueObjectInterfaceClassName'],
- MoveValueObjectsToValueObjectDirectoryRector::SUFFIXES => ['Search'],
- MoveValueObjectsToValueObjectDirectoryRector::ENABLE_VALUE_OBJECT_GUESSING => true,
- ]);
-};
-```
-
-↓
-
-```diff
--// app/Exception/Name.php
-+// app/ValueObject/Name.php
- class Name
- {
- private $name;
-
- public function __construct(string $name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
- }
-```
-
-
-
## CodeQuality
### AbsolutizeRequireAndIncludePathRector
diff --git a/rules/Autodiscovery/Analyzer/ValueObjectClassAnalyzer.php b/rules/Autodiscovery/Analyzer/ValueObjectClassAnalyzer.php
deleted file mode 100644
index 6741dfe4e9f..00000000000
--- a/rules/Autodiscovery/Analyzer/ValueObjectClassAnalyzer.php
+++ /dev/null
@@ -1,111 +0,0 @@
-
- */
- private $valueObjectStatusByClassName = [];
- /**
- * @readonly
- * @var \Rector\NodeTypeResolver\NodeTypeResolver
- */
- private $nodeTypeResolver;
- /**
- * @readonly
- * @var \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory
- */
- private $phpDocInfoFactory;
- /**
- * @readonly
- * @var \Rector\Core\PhpParser\AstResolver
- */
- private $astResolver;
- /**
- * @readonly
- * @var \Rector\Core\NodeAnalyzer\ClassAnalyzer
- */
- private $classAnalyzer;
- /**
- * @readonly
- * @var \Rector\NodeNameResolver\NodeNameResolver
- */
- private $nodeNameResolver;
- public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver)
- {
- $this->nodeTypeResolver = $nodeTypeResolver;
- $this->phpDocInfoFactory = $phpDocInfoFactory;
- $this->astResolver = $astResolver;
- $this->classAnalyzer = $classAnalyzer;
- $this->nodeNameResolver = $nodeNameResolver;
- }
- public function isValueObjectClass(\PhpParser\Node\Stmt\Class_ $class) : bool
- {
- if ($this->classAnalyzer->isAnonymousClass($class)) {
- return \false;
- }
- /** @var string $className */
- $className = (string) $this->nodeNameResolver->getName($class);
- if (isset($this->valueObjectStatusByClassName[$className])) {
- return $this->valueObjectStatusByClassName[$className];
- }
- $constructClassMethod = $class->getMethod(\Rector\Core\ValueObject\MethodName::CONSTRUCT);
- if (!$constructClassMethod instanceof \PhpParser\Node\Stmt\ClassMethod) {
- return $this->hasExlusivelySerializeProperties($class, $className);
- }
- // resolve constructor types
- foreach ($constructClassMethod->params as $param) {
- $paramType = $this->nodeTypeResolver->getType($param);
- if (!$paramType instanceof \PHPStan\Type\ObjectType) {
- continue;
- }
- // awesome!
- // is it services or value object?
- $paramTypeClass = $this->astResolver->resolveClassFromName($paramType->getClassName());
- if (!$paramTypeClass instanceof \PhpParser\Node\Stmt\Class_) {
- // not sure :/
- continue;
- }
- if (!$this->isValueObjectClass($paramTypeClass)) {
- return \false;
- }
- }
- // if we didn't prove it's not a value object so far → fallback to true
- $this->valueObjectStatusByClassName[$className] = \true;
- return \true;
- }
- private function hasExlusivelySerializeProperties(\PhpParser\Node\Stmt\Class_ $class, string $className) : bool
- {
- // A. has all properties with serialize?
- if ($this->hasAllPropertiesWithSerialize($class)) {
- $this->valueObjectStatusByClassName[$className] = \true;
- return \true;
- }
- // probably not a value object
- $this->valueObjectStatusByClassName[$className] = \false;
- return \false;
- }
- private function hasAllPropertiesWithSerialize(\PhpParser\Node\Stmt\Class_ $class) : bool
- {
- foreach ($class->getProperties() as $property) {
- $phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($property);
- if ($phpDocInfo->hasByAnnotationClass('JMS\\Serializer\\Annotation\\Type')) {
- continue;
- }
- return \false;
- }
- return \true;
- }
-}
diff --git a/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php b/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php
deleted file mode 100644
index ac58dc4b781..00000000000
--- a/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php
+++ /dev/null
@@ -1,195 +0,0 @@
-[]
- */
- private const COMMON_SERVICE_SUFFIXES = ['Repository', 'Command', 'Mapper', 'Controller', 'Presenter', 'Factory', 'Test', 'TestCase', 'Service'];
- /**
- * @var bool
- */
- private $enableValueObjectGuessing = \true;
- /**
- * @var string[]
- */
- private $types = [];
- /**
- * @var string[]
- */
- private $suffixes = [];
- /**
- * @readonly
- * @var \Rector\FileSystemRector\ValueObjectFactory\AddedFileWithNodesFactory
- */
- private $addedFileWithNodesFactory;
- /**
- * @readonly
- * @var \Rector\Autodiscovery\Analyzer\ValueObjectClassAnalyzer
- */
- private $valueObjectClassAnalyzer;
- public function __construct(\Rector\FileSystemRector\ValueObjectFactory\AddedFileWithNodesFactory $addedFileWithNodesFactory, \Rector\Autodiscovery\Analyzer\ValueObjectClassAnalyzer $valueObjectClassAnalyzer)
- {
- $this->addedFileWithNodesFactory = $addedFileWithNodesFactory;
- $this->valueObjectClassAnalyzer = $valueObjectClassAnalyzer;
- }
- public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition
- {
- return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Move value object to ValueObject namespace/directory', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample(<<<'CODE_SAMPLE'
-// app/Exception/Name.php
-class Name
-{
- private $name;
-
- public function __construct(string $name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-CODE_SAMPLE
-, <<<'CODE_SAMPLE'
-// app/ValueObject/Name.php
-class Name
-{
- private $name;
-
- public function __construct(string $name)
- {
- $this->name = $name;
- }
-
- public function getName()
- {
- return $this->name;
- }
-}
-CODE_SAMPLE
-, [self::TYPES => ['ValueObjectInterfaceClassName'], self::SUFFIXES => ['Search'], self::ENABLE_VALUE_OBJECT_GUESSING => \true])]);
- }
- /**
- * @return array>
- */
- public function getNodeTypes() : array
- {
- return [\PhpParser\Node\Stmt\Class_::class];
- }
- /**
- * @param Class_ $node
- */
- public function refactor(\PhpParser\Node $node) : ?\PhpParser\Node
- {
- if (!$this->isValueObjectMatch($node)) {
- return null;
- }
- $smartFileInfo = $this->file->getSmartFileInfo();
- $addedFileWithNodes = $this->addedFileWithNodesFactory->createWithDesiredGroup($smartFileInfo, $this->file, 'ValueObject');
- if (!$addedFileWithNodes instanceof \Rector\FileSystemRector\ValueObject\AddedFileWithNodes) {
- return null;
- }
- $this->removedAndAddedFilesCollector->removeFile($smartFileInfo);
- $this->removedAndAddedFilesCollector->addAddedFile($addedFileWithNodes);
- return null;
- }
- /**
- * @param mixed[] $configuration
- */
- public function configure(array $configuration) : void
- {
- $types = $configuration[self::TYPES] ?? [];
- \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($types);
- \RectorPrefix20220218\Webmozart\Assert\Assert::allString($types);
- $this->types = $types;
- $suffixes = $configuration[self::SUFFIXES] ?? [];
- \RectorPrefix20220218\Webmozart\Assert\Assert::isArray($suffixes);
- \RectorPrefix20220218\Webmozart\Assert\Assert::allString($suffixes);
- $this->suffixes = $suffixes;
- $enableValueObjectGuessing = $configuration[self::ENABLE_VALUE_OBJECT_GUESSING] ?? \false;
- \RectorPrefix20220218\Webmozart\Assert\Assert::boolean($enableValueObjectGuessing);
- $this->enableValueObjectGuessing = $enableValueObjectGuessing;
- }
- private function isValueObjectMatch(\PhpParser\Node\Stmt\Class_ $class) : bool
- {
- if ($this->isSuffixMatch($class)) {
- return \true;
- }
- $className = $this->getName($class);
- if ($className === null) {
- return \false;
- }
- $classObjectType = new \PHPStan\Type\ObjectType($className);
- foreach ($this->types as $type) {
- $desiredObjectType = new \PHPStan\Type\ObjectType($type);
- if ($desiredObjectType->isSuperTypeOf($classObjectType)->yes()) {
- return \true;
- }
- }
- if ($this->isKnownServiceType($className)) {
- return \false;
- }
- if (!$this->enableValueObjectGuessing) {
- return \false;
- }
- return $this->valueObjectClassAnalyzer->isValueObjectClass($class);
- }
- private function isSuffixMatch(\PhpParser\Node\Stmt\Class_ $class) : bool
- {
- $className = $this->getName($class);
- if (!\is_string($className)) {
- return \false;
- }
- foreach ($this->suffixes as $suffix) {
- if (\substr_compare($className, $suffix, -\strlen($suffix)) === 0) {
- return \true;
- }
- }
- return \false;
- }
- private function isKnownServiceType(string $className) : bool
- {
- foreach (self::COMMON_SERVICE_SUFFIXES as $commonServiceSuffix) {
- if (\substr_compare($className, $commonServiceSuffix, -\strlen($commonServiceSuffix)) === 0) {
- return \true;
- }
- }
- return \false;
- }
-}
diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php
index ae2929bb3a4..18e518f38d6 100644
--- a/src/Application/VersionResolver.php
+++ b/src/Application/VersionResolver.php
@@ -16,11 +16,11 @@ final class VersionResolver
/**
* @var string
*/
- public const PACKAGE_VERSION = 'cab829909370c582441afaf59225d48eb9a86be1';
+ public const PACKAGE_VERSION = '1ed8242e4462ace3beabc12632d1f8f4638bd7c3';
/**
* @var string
*/
- public const RELEASE_DATE = '2022-02-18 01:49:31';
+ public const RELEASE_DATE = '2022-02-18 01:00:33';
public static function resolvePackageVersion() : string
{
$process = new \RectorPrefix20220218\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__);
diff --git a/vendor/autoload.php b/vendor/autoload.php
index 91b0c102ba4..b0aeb094ad7 100644
--- a/vendor/autoload.php
+++ b/vendor/autoload.php
@@ -4,4 +4,4 @@
require_once __DIR__ . '/composer/autoload_real.php';
-return ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6::getLoader();
+return ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec::getLoader();
diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php
index 687c1d84600..9e21d9ae865 100644
--- a/vendor/composer/autoload_classmap.php
+++ b/vendor/composer/autoload_classmap.php
@@ -1372,13 +1372,11 @@ return array(
'Rector\\Arguments\\ValueObject\\ReplaceArgumentDefaultValue' => $baseDir . '/rules/Arguments/ValueObject/ReplaceArgumentDefaultValue.php',
'Rector\\Arguments\\ValueObject\\ReplaceFuncCallArgumentDefaultValue' => $baseDir . '/rules/Arguments/ValueObject/ReplaceFuncCallArgumentDefaultValue.php',
'Rector\\Arguments\\ValueObject\\SwapFuncCallArguments' => $baseDir . '/rules/Arguments/ValueObject/SwapFuncCallArguments.php',
- 'Rector\\Autodiscovery\\Analyzer\\ValueObjectClassAnalyzer' => $baseDir . '/rules/Autodiscovery/Analyzer/ValueObjectClassAnalyzer.php',
'Rector\\Autodiscovery\\Configuration\\CategoryNamespaceProvider' => $baseDir . '/rules/Autodiscovery/Configuration/CategoryNamespaceProvider.php',
'Rector\\Autodiscovery\\FileLocation\\ExpectedFileLocationResolver' => $baseDir . '/rules/Autodiscovery/FileLocation/ExpectedFileLocationResolver.php',
'Rector\\Autodiscovery\\NodeAnalyzer\\NetteComponentFactoryInterfaceAnalyzer' => $baseDir . '/rules/Autodiscovery/NodeAnalyzer/NetteComponentFactoryInterfaceAnalyzer.php',
'Rector\\Autodiscovery\\Rector\\Class_\\MoveEntitiesToEntityDirectoryRector' => $baseDir . '/rules/Autodiscovery/Rector/Class_/MoveEntitiesToEntityDirectoryRector.php',
'Rector\\Autodiscovery\\Rector\\Class_\\MoveServicesBySuffixToDirectoryRector' => $baseDir . '/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php',
- 'Rector\\Autodiscovery\\Rector\\Class_\\MoveValueObjectsToValueObjectDirectoryRector' => $baseDir . '/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php',
'Rector\\Autodiscovery\\Rector\\Interface_\\MoveInterfacesToContractNamespaceDirectoryRector' => $baseDir . '/rules/Autodiscovery/Rector/Interface_/MoveInterfacesToContractNamespaceDirectoryRector.php',
'Rector\\BetterPhpDocParser\\Annotation\\AnnotationNaming' => $baseDir . '/packages/BetterPhpDocParser/Annotation/AnnotationNaming.php',
'Rector\\BetterPhpDocParser\\Attributes\\AttributeMirrorer' => $baseDir . '/packages/BetterPhpDocParser/Attributes/AttributeMirrorer.php',
diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php
index d4c273081fd..4a24af05505 100644
--- a/vendor/composer/autoload_real.php
+++ b/vendor/composer/autoload_real.php
@@ -2,7 +2,7 @@
// autoload_real.php @generated by Composer
-class ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6
+class ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec
{
private static $loader;
@@ -22,15 +22,15 @@ class ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6
return self::$loader;
}
- spl_autoload_register(array('ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6', 'loadClassLoader'), true, true);
+ spl_autoload_register(array('ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec', 'loadClassLoader'), true, true);
self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__)));
- spl_autoload_unregister(array('ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6', 'loadClassLoader'));
+ spl_autoload_unregister(array('ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec', '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\ComposerStaticInit0df88c7745440821c3aae20346ab83d6::getInitializer($loader));
+ call_user_func(\Composer\Autoload\ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec::getInitializer($loader));
} else {
$classMap = require __DIR__ . '/autoload_classmap.php';
if ($classMap) {
@@ -42,12 +42,12 @@ class ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6
$loader->register(true);
if ($useStaticLoader) {
- $includeFiles = Composer\Autoload\ComposerStaticInit0df88c7745440821c3aae20346ab83d6::$files;
+ $includeFiles = Composer\Autoload\ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec::$files;
} else {
$includeFiles = require __DIR__ . '/autoload_files.php';
}
foreach ($includeFiles as $fileIdentifier => $file) {
- composerRequire0df88c7745440821c3aae20346ab83d6($fileIdentifier, $file);
+ composerRequire6803c5aa61198f26a2560abb9252e1ec($fileIdentifier, $file);
}
return $loader;
@@ -59,7 +59,7 @@ class ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6
* @param string $file
* @return void
*/
-function composerRequire0df88c7745440821c3aae20346ab83d6($fileIdentifier, $file)
+function composerRequire6803c5aa61198f26a2560abb9252e1ec($fileIdentifier, $file)
{
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
$GLOBALS['__composer_autoload_files'][$fileIdentifier] = true;
diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php
index e37ec2b51e6..9d25181912a 100644
--- a/vendor/composer/autoload_static.php
+++ b/vendor/composer/autoload_static.php
@@ -4,7 +4,7 @@
namespace Composer\Autoload;
-class ComposerStaticInit0df88c7745440821c3aae20346ab83d6
+class ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec
{
public static $files = array (
'0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php',
@@ -1761,13 +1761,11 @@ class ComposerStaticInit0df88c7745440821c3aae20346ab83d6
'Rector\\Arguments\\ValueObject\\ReplaceArgumentDefaultValue' => __DIR__ . '/../..' . '/rules/Arguments/ValueObject/ReplaceArgumentDefaultValue.php',
'Rector\\Arguments\\ValueObject\\ReplaceFuncCallArgumentDefaultValue' => __DIR__ . '/../..' . '/rules/Arguments/ValueObject/ReplaceFuncCallArgumentDefaultValue.php',
'Rector\\Arguments\\ValueObject\\SwapFuncCallArguments' => __DIR__ . '/../..' . '/rules/Arguments/ValueObject/SwapFuncCallArguments.php',
- 'Rector\\Autodiscovery\\Analyzer\\ValueObjectClassAnalyzer' => __DIR__ . '/../..' . '/rules/Autodiscovery/Analyzer/ValueObjectClassAnalyzer.php',
'Rector\\Autodiscovery\\Configuration\\CategoryNamespaceProvider' => __DIR__ . '/../..' . '/rules/Autodiscovery/Configuration/CategoryNamespaceProvider.php',
'Rector\\Autodiscovery\\FileLocation\\ExpectedFileLocationResolver' => __DIR__ . '/../..' . '/rules/Autodiscovery/FileLocation/ExpectedFileLocationResolver.php',
'Rector\\Autodiscovery\\NodeAnalyzer\\NetteComponentFactoryInterfaceAnalyzer' => __DIR__ . '/../..' . '/rules/Autodiscovery/NodeAnalyzer/NetteComponentFactoryInterfaceAnalyzer.php',
'Rector\\Autodiscovery\\Rector\\Class_\\MoveEntitiesToEntityDirectoryRector' => __DIR__ . '/../..' . '/rules/Autodiscovery/Rector/Class_/MoveEntitiesToEntityDirectoryRector.php',
'Rector\\Autodiscovery\\Rector\\Class_\\MoveServicesBySuffixToDirectoryRector' => __DIR__ . '/../..' . '/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php',
- 'Rector\\Autodiscovery\\Rector\\Class_\\MoveValueObjectsToValueObjectDirectoryRector' => __DIR__ . '/../..' . '/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php',
'Rector\\Autodiscovery\\Rector\\Interface_\\MoveInterfacesToContractNamespaceDirectoryRector' => __DIR__ . '/../..' . '/rules/Autodiscovery/Rector/Interface_/MoveInterfacesToContractNamespaceDirectoryRector.php',
'Rector\\BetterPhpDocParser\\Annotation\\AnnotationNaming' => __DIR__ . '/../..' . '/packages/BetterPhpDocParser/Annotation/AnnotationNaming.php',
'Rector\\BetterPhpDocParser\\Attributes\\AttributeMirrorer' => __DIR__ . '/../..' . '/packages/BetterPhpDocParser/Attributes/AttributeMirrorer.php',
@@ -3873,9 +3871,9 @@ class ComposerStaticInit0df88c7745440821c3aae20346ab83d6
public static function getInitializer(ClassLoader $loader)
{
return \Closure::bind(function () use ($loader) {
- $loader->prefixLengthsPsr4 = ComposerStaticInit0df88c7745440821c3aae20346ab83d6::$prefixLengthsPsr4;
- $loader->prefixDirsPsr4 = ComposerStaticInit0df88c7745440821c3aae20346ab83d6::$prefixDirsPsr4;
- $loader->classMap = ComposerStaticInit0df88c7745440821c3aae20346ab83d6::$classMap;
+ $loader->prefixLengthsPsr4 = ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec::$prefixLengthsPsr4;
+ $loader->prefixDirsPsr4 = ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec::$prefixDirsPsr4;
+ $loader->classMap = ComposerStaticInit6803c5aa61198f26a2560abb9252e1ec::$classMap;
}, null, ClassLoader::class);
}
diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php
index bdc0f627450..7ee999cb9ef 100644
--- a/vendor/scoper-autoload.php
+++ b/vendor/scoper-autoload.php
@@ -9,8 +9,8 @@ $loader = require_once __DIR__.'/autoload.php';
if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) {
spl_autoload_call('RectorPrefix20220218\AutoloadIncluder');
}
-if (!class_exists('ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6', false) && !interface_exists('ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6', false) && !trait_exists('ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6', false)) {
- spl_autoload_call('RectorPrefix20220218\ComposerAutoloaderInit0df88c7745440821c3aae20346ab83d6');
+if (!class_exists('ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec', false) && !interface_exists('ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec', false) && !trait_exists('ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec', false)) {
+ spl_autoload_call('RectorPrefix20220218\ComposerAutoloaderInit6803c5aa61198f26a2560abb9252e1ec');
}
if (!class_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !interface_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false) && !trait_exists('Helmich\TypoScriptParser\Parser\AST\Statement', false)) {
spl_autoload_call('RectorPrefix20220218\Helmich\TypoScriptParser\Parser\AST\Statement');
@@ -59,9 +59,9 @@ if (!function_exists('print_node')) {
return \RectorPrefix20220218\print_node(...func_get_args());
}
}
-if (!function_exists('composerRequire0df88c7745440821c3aae20346ab83d6')) {
- function composerRequire0df88c7745440821c3aae20346ab83d6() {
- return \RectorPrefix20220218\composerRequire0df88c7745440821c3aae20346ab83d6(...func_get_args());
+if (!function_exists('composerRequire6803c5aa61198f26a2560abb9252e1ec')) {
+ function composerRequire6803c5aa61198f26a2560abb9252e1ec() {
+ return \RectorPrefix20220218\composerRequire6803c5aa61198f26a2560abb9252e1ec(...func_get_args());
}
}
if (!function_exists('scanPath')) {