diff --git a/bin/generate-changelog.php b/bin/generate-changelog.php index 06430448899..c664ea25f09 100644 --- a/bin/generate-changelog.php +++ b/bin/generate-changelog.php @@ -1,17 +1,17 @@ php bin/generate-changelog.php >> * GITHUB_TOKEN=ghp_... php bin/generate-changelog.php 07736c1 cb74bb6 >> CHANGELOG_dumped.md */ -final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +final class GenerateChangelogCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { /** * @var string @@ -48,9 +48,9 @@ final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Compo private const HASH = 'hash'; protected function configure() : void { - $this->setName(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); - $this->addArgument(self::OPTION_FROM_COMMIT, \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::REQUIRED); - $this->addArgument(self::OPTION_TO_COMMIT, \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::REQUIRED); + $this->setName(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(self::class)); + $this->addArgument(self::OPTION_FROM_COMMIT, \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::REQUIRED); + $this->addArgument(self::OPTION_TO_COMMIT, \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::REQUIRED); } /** * @param \Symfony\Component\Console\Input\InputInterface $input @@ -68,14 +68,14 @@ final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Compo $i = 0; foreach ($commits as $commit) { $searchPullRequestsUri = \sprintf('https://api.github.com/search/issues?q=repo:' . self::DEVELOPMENT_REPOSITORY_NAME . '+%s', $commit[self::HASH]); - $searchPullRequestsResponse = \RectorPrefix20211129\Httpful\Request::get($searchPullRequestsUri)->sendsAndExpectsType('application/json')->basicAuth('tomasvotruba', \getenv('GITHUB_TOKEN'))->send(); + $searchPullRequestsResponse = \RectorPrefix20211130\Httpful\Request::get($searchPullRequestsUri)->sendsAndExpectsType('application/json')->basicAuth('tomasvotruba', \getenv('GITHUB_TOKEN'))->send(); if ($searchPullRequestsResponse->code !== 200) { $output->writeln(\var_export($searchPullRequestsResponse->body, \true)); throw new \InvalidArgumentException((string) $searchPullRequestsResponse->code); } $searchPullRequestsResponse = $searchPullRequestsResponse->body; $searchIssuesUri = \sprintf('https://api.github.com/search/issues?q=repo:' . self::DEPLOY_REPOSITORY_NAME . '+%s', $commit[self::HASH]); - $searchIssuesResponse = \RectorPrefix20211129\Httpful\Request::get($searchIssuesUri)->sendsAndExpectsType('application/json')->basicAuth('tomasvotruba', \getenv('GITHUB_TOKEN'))->send(); + $searchIssuesResponse = \RectorPrefix20211130\Httpful\Request::get($searchIssuesUri)->sendsAndExpectsType('application/json')->basicAuth('tomasvotruba', \getenv('GITHUB_TOKEN'))->send(); if ($searchIssuesResponse->code !== 200) { $output->writeln(\var_export($searchIssuesResponse->body, \true)); throw new \InvalidArgumentException((string) $searchIssuesResponse->code); @@ -94,7 +94,7 @@ final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Compo } } // clean commit from duplicating issue number - $commitMatch = \RectorPrefix20211129\Nette\Utils\Strings::match($commit['message'], '#(.*?)( \\(\\#\\d+\\))?$#ms'); + $commitMatch = \RectorPrefix20211130\Nette\Utils\Strings::match($commit['message'], '#(.*?)( \\(\\#\\d+\\))?$#ms'); $commit = $commitMatch[1] ?? $commit['message']; $changelogLine = \sprintf('* %s (%s)%s%s', $commit, $parenthesis, $issuesToReference !== [] ? ', ' . \implode(', ', $issuesToReference) : '', $this->createThanks($thanks)); $output->writeln($changelogLine); @@ -124,7 +124,7 @@ final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Compo */ private function exec(array $commandParts) : string { - $process = new \RectorPrefix20211129\Symfony\Component\Process\Process($commandParts); + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process($commandParts); $process->run(); return $process->getOutput(); } @@ -148,8 +148,8 @@ final class GenerateChangelogCommand extends \RectorPrefix20211129\Symfony\Compo * GITHUB_TOKEN=ghp_... php bin/generate-changelog.php 07736c1 cb74bb6 >> CHANGELOG_dumped.md */ \class_alias('GenerateChangelogCommand', 'GenerateChangelogCommand', \false); -$generateChangelogCommand = new \RectorPrefix20211129\GenerateChangelogCommand(); -$application = new \RectorPrefix20211129\Symfony\Component\Console\Application(); +$generateChangelogCommand = new \RectorPrefix20211130\GenerateChangelogCommand(); +$application = new \RectorPrefix20211130\Symfony\Component\Console\Application(); $application->add($generateChangelogCommand); -$application->setDefaultCommand(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\get_class($generateChangelogCommand)), \true); +$application->setDefaultCommand(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\get_class($generateChangelogCommand)), \true); $application->run(); diff --git a/bin/rector b/bin/rector index ee80ac3bd96..ebe99f3acc5 100755 --- a/bin/rector +++ b/bin/rector @@ -1,5 +1,5 @@ #!/usr/bin/env php includeDependencyOrRepositoryVendorAutoloadIfExists(); if (\file_exists(__DIR__ . '/../preload.php') && \is_dir(__DIR__ . '/../vendor')) { require_once __DIR__ . '/../preload.php'; @@ -38,18 +38,18 @@ try { $container = $rectorContainerFactory->createFromBootstrapConfigs($bootstrapConfigs); } catch (\Throwable $throwable) { // for json output - $argvInput = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput(); + $argvInput = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput(); $outputFormat = $argvInput->getParameterOption('--' . \Rector\Core\Configuration\Option::OUTPUT_FORMAT); // report fatal error in json format if ($outputFormat === \Rector\ChangesReporting\Output\JsonOutputFormatter::NAME) { - echo \RectorPrefix20211129\Nette\Utils\Json::encode(['fatal_errors' => [$throwable->getMessage()]]); + echo \RectorPrefix20211130\Nette\Utils\Json::encode(['fatal_errors' => [$throwable->getMessage()]]); } else { // report fatal errors in console format - $symfonyStyleFactory = new \Rector\Core\Console\Style\SymfonyStyleFactory(new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller()); + $symfonyStyleFactory = new \Rector\Core\Console\Style\SymfonyStyleFactory(new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller()); $symfonyStyle = $symfonyStyleFactory->create(); $symfonyStyle->error($throwable->getMessage()); } - exit(\RectorPrefix20211129\Symfony\Component\Console\Command\Command::FAILURE); + exit(\RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE); } /** @var ConsoleApplication $application */ $application = $container->get(\Rector\Core\Console\ConsoleApplication::class); @@ -103,4 +103,4 @@ final class AutoloadIncluder require_once $filePath; } } -\class_alias('RectorPrefix20211129\\AutoloadIncluder', 'AutoloadIncluder', \false); +\class_alias('RectorPrefix20211130\\AutoloadIncluder', 'AutoloadIncluder', \false); diff --git a/config/config.php b/config/config.php index 530ed2d8a15..4ef4fa827fa 100644 --- a/config/config.php +++ b/config/config.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); @@ -20,5 +20,5 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat __DIR__ . '/../packages/NodeTypeResolver/Reflection/BetterReflection/SourceLocatorProvider/DynamicSourceLocatorProvider.php', ]); // parallel - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger::class); }; diff --git a/config/services-rules.php b/config/services-rules.php index 498172f6be4..656525587b0 100644 --- a/config/services-rules.php +++ b/config/services-rules.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\Core\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/Exception', __DIR__ . '/../src/DependencyInjection/CompilerPass', __DIR__ . '/../src/DependencyInjection/Loader', __DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/Bootstrap', __DIR__ . '/../src/Enum', __DIR__ . '/../src/PhpParser/Node/CustomNode', __DIR__ . '/../src/PhpParser/ValueObject', __DIR__ . '/../src/functions', __DIR__ . '/../src/constants.php', __DIR__ . '/../src/PhpParser/NodeVisitor/CreatedByRuleNodeVisitor.php']); - $services->alias(\RectorPrefix20211129\Symfony\Component\Console\Application::class, \Rector\Core\Console\ConsoleApplication::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard::class); - $services->set(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser::class); + $services->alias(\RectorPrefix20211130\Symfony\Component\Console\Application::class, \Rector\Core\Console\ConsoleApplication::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard::class); + $services->set(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser::class); $services->set(\PhpParser\ParserFactory::class); $services->set(\PhpParser\BuilderFactory::class); $services->set(\PhpParser\NodeVisitor\CloningVisitor::class); $services->set(\PhpParser\NodeFinder::class); - $services->set(\PHPStan\Parser\Parser::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createPHPStanParser']); - $services->set(\PhpParser\Lexer::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createEmulativeLexer']); + $services->set(\PHPStan\Parser\Parser::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createPHPStanParser']); + $services->set(\PhpParser\Lexer::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createEmulativeLexer']); // symplify/package-builder - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Strings\StringFormatConverter::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Json\JsonFileSystem::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->arg('$container', \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service('service_container')); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Strings\StringFormatConverter::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Json\JsonFileSystem::class); $services->set(\PhpParser\NodeVisitor\NodeConnectingVisitor::class); - $services->set(\RectorPrefix20211129\Doctrine\Inflector\Rules\English\InflectorFactory::class); - $services->set(\RectorPrefix20211129\Doctrine\Inflector\Inflector::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Doctrine\Inflector\Rules\English\InflectorFactory::class), 'build']); - $services->set(\RectorPrefix20211129\Composer\Semver\VersionParser::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker::class); + $services->set(\RectorPrefix20211130\Doctrine\Inflector\Rules\English\InflectorFactory::class); + $services->set(\RectorPrefix20211130\Doctrine\Inflector\Inflector::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Doctrine\Inflector\Rules\English\InflectorFactory::class), 'build']); + $services->set(\RectorPrefix20211130\Composer\Semver\VersionParser::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker::class); // phpdoc parser $services->set(\PHPStan\PhpDocParser\Lexer\Lexer::class); $services->alias(\PHPStan\PhpDocParser\Parser\PhpDocParser::class, \Rector\BetterPhpDocParser\PhpDocParser\BetterPhpDocParser::class); // cache - $services->set(\PHPStan\Dependency\DependencyResolver::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDependencyResolver']); - $services->set(\PHPStan\File\FileHelper::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createFileHelper']); - $services->set(\Rector\Caching\Cache::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\Caching\CacheFactory::class), 'create']); + $services->set(\PHPStan\Dependency\DependencyResolver::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDependencyResolver']); + $services->set(\PHPStan\File\FileHelper::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createFileHelper']); + $services->set(\Rector\Caching\Cache::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\Caching\CacheFactory::class), 'create']); // type resolving $services->set(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocator\IntermediateSourceLocator::class); $services->alias(\PHPStan\PhpDocParser\Parser\TypeParser::class, \Rector\BetterPhpDocParser\PhpDocParser\BetterTypeParser::class); // PHPStan services - $services->set(\PHPStan\Reflection\ReflectionProvider::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createReflectionProvider']); - $services->set(\PHPStan\Analyser\NodeScopeResolver::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createNodeScopeResolver']); - $services->set(\PHPStan\Analyser\ScopeFactory::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createScopeFactory']); - $services->set(\PHPStan\PhpDoc\TypeNodeResolver::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createTypeNodeResolver']); - $services->set(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDynamicSourceLocatorProvider']); - $services->set(\RectorPrefix20211129\Ergebnis\Json\Printer\Printer::class); - $services->alias(\RectorPrefix20211129\Ergebnis\Json\Printer\PrinterInterface::class, \RectorPrefix20211129\Ergebnis\Json\Printer\Printer::class); - $services->set(\RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfig::class); + $services->set(\PHPStan\Reflection\ReflectionProvider::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createReflectionProvider']); + $services->set(\PHPStan\Analyser\NodeScopeResolver::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createNodeScopeResolver']); + $services->set(\PHPStan\Analyser\ScopeFactory::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createScopeFactory']); + $services->set(\PHPStan\PhpDoc\TypeNodeResolver::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createTypeNodeResolver']); + $services->set(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\Rector\NodeTypeResolver\DependencyInjection\PHPStanServicesFactory::class), 'createDynamicSourceLocatorProvider']); + $services->set(\RectorPrefix20211130\Ergebnis\Json\Printer\Printer::class); + $services->alias(\RectorPrefix20211130\Ergebnis\Json\Printer\PrinterInterface::class, \RectorPrefix20211130\Ergebnis\Json\Printer\Printer::class); + $services->set(\RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfig::class); }; diff --git a/config/set/action-injection-to-constructor-injection.php b/config/set/action-injection-to-constructor-injection.php index 449bb5e50af..6a3973a5863 100644 --- a/config/set/action-injection-to-constructor-injection.php +++ b/config/set/action-injection-to-constructor-injection.php @@ -1,7 +1,7 @@ set(\Rector\DowngradePhp80\Rector\FuncCall\DowngradeStrContainsRector::class); $services->set(\Rector\DowngradePhp80\Rector\Expression\DowngradeMatchToSwitchRector::class); $services->set(\Rector\DowngradePhp80\Rector\ClassConstFetch\DowngradeClassOnObjectToGetClassRector::class); + $services->set(\Rector\DowngradePhp80\Rector\New_\DowngradeArbitraryExpressionsSupportRector::class); $services->set(\Rector\DowngradePhp80\Rector\NullsafeMethodCall\DowngradeNullsafeToTernaryOperatorRector::class); $services->set(\Rector\DowngradePhp80\Rector\ClassMethod\DowngradeTrailingCommasInParamUseRector::class); $services->set(\Rector\DowngradePhp80\Rector\FuncCall\DowngradeStrStartsWithRector::class); diff --git a/config/set/downgrade-php81.php b/config/set/downgrade-php81.php index 46f7ea893af..6364247894f 100644 --- a/config/set/downgrade-php81.php +++ b/config/set/downgrade-php81.php @@ -1,7 +1,7 @@ simpleCallableNodeTraverser = $simpleCallableNodeTraverser; } diff --git a/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php b/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php index 1edf3ff055b..457ae4b793d 100644 --- a/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php +++ b/packages/BetterPhpDocParser/Contract/BasePhpDocNodeVisitorInterface.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\Contract; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\Contract\PhpDocNodeVisitorInterface; -interface BasePhpDocNodeVisitorInterface extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\Contract\PhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\Contract\PhpDocNodeVisitorInterface; +interface BasePhpDocNodeVisitorInterface extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\Contract\PhpDocNodeVisitorInterface { } diff --git a/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php b/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php index 708d331e060..2d04ef71102 100644 --- a/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php +++ b/packages/BetterPhpDocParser/PhpDocInfo/PhpDocInfo.php @@ -27,7 +27,7 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\ChangesReporting\Collector\RectorChangeCollector; use Rector\Core\Configuration\CurrentNodeProvider; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; /** * @template TNode as \PHPStan\PhpDocParser\Ast\Node * @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfo\PhpDocInfoTest @@ -287,20 +287,20 @@ final class PhpDocInfo */ public function removeByType(string $typeToRemove) : void { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($this->phpDocNode, '', function (\PHPStan\PhpDocParser\Ast\Node $node) use($typeToRemove) : ?int { if ($node instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode && \is_a($node->value, $typeToRemove, \true)) { if ($typeToRemove === \PHPStan\PhpDocParser\Ast\PhpDoc\VarTagValueNode::class && $node->name !== '@var') { return null; } $this->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } if (!\is_a($node, $typeToRemove, \true)) { return null; } $this->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); } /** @@ -411,7 +411,7 @@ final class PhpDocInfo return \true; } // has a single node with missing start_end - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $changedPhpDocNodeVisitor = new \Rector\BetterPhpDocParser\PhpDocNodeVisitor\ChangedPhpDocNodeVisitor(); $phpDocNodeTraverser->addPhpDocNodeVisitor($changedPhpDocNodeVisitor); $phpDocNodeTraverser->traverse($this->phpDocNode); diff --git a/packages/BetterPhpDocParser/PhpDocInfo/TokenIteratorFactory.php b/packages/BetterPhpDocParser/PhpDocInfo/TokenIteratorFactory.php index 59cc729979e..c8ddff28274 100644 --- a/packages/BetterPhpDocParser/PhpDocInfo/TokenIteratorFactory.php +++ b/packages/BetterPhpDocParser/PhpDocInfo/TokenIteratorFactory.php @@ -6,7 +6,7 @@ namespace Rector\BetterPhpDocParser\PhpDocInfo; use PHPStan\PhpDocParser\Lexer\Lexer; use PHPStan\PhpDocParser\Parser\TokenIterator; use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class TokenIteratorFactory { /** @@ -21,7 +21,7 @@ final class TokenIteratorFactory * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\PHPStan\PhpDocParser\Lexer\Lexer $lexer, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\PHPStan\PhpDocParser\Lexer\Lexer $lexer, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) { $this->lexer = $lexer; $this->privatesAccessor = $privatesAccessor; diff --git a/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocClassRenamer.php b/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocClassRenamer.php index 0336c502fe5..1bea6f7ecb5 100644 --- a/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocClassRenamer.php +++ b/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocClassRenamer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\PhpDocManipulator; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; @@ -81,7 +81,7 @@ final class PhpDocClassRenamer $doctrineAnnotationTagValueNode->changeSilentValue($newClass); continue; } - $newContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($className, '#\\b' . \preg_quote($oldClass, '#') . '\\b#', $newClass); + $newContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($className, '#\\b' . \preg_quote($oldClass, '#') . '\\b#', $newClass); if ($newContent === $className) { continue; } diff --git a/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocTagRemover.php b/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocTagRemover.php index 0cb36645265..aaca9a1b6db 100644 --- a/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocTagRemover.php +++ b/packages/BetterPhpDocParser/PhpDocManipulator/PhpDocTagRemover.php @@ -7,7 +7,7 @@ use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class PhpDocTagRemover { public function removeByName(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo, string $name) : void @@ -33,17 +33,17 @@ final class PhpDocTagRemover public function removeTagValueFromNode(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo, \PHPStan\PhpDocParser\Ast\Node $desiredNode) : void { $phpDocNode = $phpDocInfo->getPhpDocNode(); - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocNode, '', function ($node) use($desiredNode, $phpDocInfo) : ?int { if ($node instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode && $node->value === $desiredNode) { $phpDocInfo->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } if ($node !== $desiredNode) { return null; } $phpDocInfo->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); } private function areAnnotationNamesEqual(string $firstAnnotationName, string $secondAnnotationName) : bool diff --git a/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php b/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php index 092ef4df796..008d798bb5b 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php +++ b/packages/BetterPhpDocParser/PhpDocNodeFinder/PhpDocNodeByTypeFinder.php @@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeFinder; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; /** * @template TNode as \PHPStan\PhpDocParser\Ast\Node */ @@ -17,7 +17,7 @@ final class PhpDocNodeByTypeFinder */ public function findByType(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode $phpDocNode, string $desiredType) : array { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $foundNodes = []; $phpDocNodeTraverser->traverseWithCallable($phpDocNode, '', function ($node) use(&$foundNodes, $desiredType) { if (!\is_a($node, $desiredType, \true)) { diff --git a/packages/BetterPhpDocParser/PhpDocNodeMapper.php b/packages/BetterPhpDocParser/PhpDocNodeMapper.php index a08a95681fb..1462ab38ec5 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeMapper.php +++ b/packages/BetterPhpDocParser/PhpDocNodeMapper.php @@ -7,9 +7,9 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider; use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocNodeMapperTest */ @@ -34,7 +34,7 @@ final class PhpDocNodeMapper /** * @param BasePhpDocNodeVisitorInterface[] $phpDocNodeVisitors */ - public function __construct(\Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider $currentTokenIteratorProvider, \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor $parentConnectingPhpDocNodeVisitor, \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor $cloningPhpDocNodeVisitor, array $phpDocNodeVisitors) + public function __construct(\Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider $currentTokenIteratorProvider, \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\ParentConnectingPhpDocNodeVisitor $parentConnectingPhpDocNodeVisitor, \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CloningPhpDocNodeVisitor $cloningPhpDocNodeVisitor, array $phpDocNodeVisitors) { $this->currentTokenIteratorProvider = $currentTokenIteratorProvider; $this->parentConnectingPhpDocNodeVisitor = $parentConnectingPhpDocNodeVisitor; @@ -44,13 +44,13 @@ final class PhpDocNodeMapper public function transform(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocNode $phpDocNode, \Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator $betterTokenIterator) : void { $this->currentTokenIteratorProvider->setBetterTokenIterator($betterTokenIterator); - $parentPhpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $parentPhpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $parentPhpDocNodeTraverser->addPhpDocNodeVisitor($this->parentConnectingPhpDocNodeVisitor); $parentPhpDocNodeTraverser->traverse($phpDocNode); - $cloningPhpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $cloningPhpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $cloningPhpDocNodeTraverser->addPhpDocNodeVisitor($this->cloningPhpDocNodeVisitor); $cloningPhpDocNodeTraverser->traverse($phpDocNode); - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); foreach ($this->phpDocNodeVisitors as $phpDocNodeVisitor) { $phpDocNodeTraverser->addPhpDocNodeVisitor($phpDocNodeVisitor); } diff --git a/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php b/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php index 3b14ffcf015..48f0ba1fd31 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php +++ b/packages/BetterPhpDocParser/PhpDocNodeTraverser/ChangedPhpDocNodeTraverserFactory.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\PhpDocNodeTraverser; use Rector\BetterPhpDocParser\PhpDocNodeVisitor\ChangedPhpDocNodeVisitor; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class ChangedPhpDocNodeTraverserFactory { /** @@ -15,9 +15,9 @@ final class ChangedPhpDocNodeTraverserFactory { $this->changedPhpDocNodeVisitor = $changedPhpDocNodeVisitor; } - public function create() : \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser { - $changedPhpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $changedPhpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $changedPhpDocNodeTraverser->addPhpDocNodeVisitor($this->changedPhpDocNodeVisitor); return $changedPhpDocNodeTraverser; } diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php index 8aa88c308c6..6004d2ac6b7 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ArrayTypePhpDocNodeVisitor.php @@ -8,8 +8,8 @@ use PHPStan\PhpDocParser\Ast\Type\ArrayTypeNode; use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ArrayTypePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ArrayTypePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php index 79157fbe98d..17408ad332b 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/CallableTypePhpDocNodeVisitor.php @@ -8,8 +8,8 @@ use PHPStan\PhpDocParser\Ast\Type\CallableTypeNode; use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class CallableTypePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class CallableTypePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php index 47a8e789039..007786f6f5c 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ChangedPhpDocNodeVisitor.php @@ -5,8 +5,8 @@ namespace Rector\BetterPhpDocParser\PhpDocNodeVisitor; use PHPStan\PhpDocParser\Ast\Node; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ChangedPhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ChangedPhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var bool diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php index 685eb03001b..aeb0aa84f83 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/IntersectionTypeNodePhpDocNodeVisitor.php @@ -8,8 +8,8 @@ use PHPStan\PhpDocParser\Ast\Type\IntersectionTypeNode; use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareIntersectionTypeNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class IntersectionTypeNodePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class IntersectionTypeNodePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php index a4098ce040c..fae1ca5e346 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/ParamPhpDocNodeVisitor.php @@ -8,8 +8,8 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode; use Rector\BetterPhpDocParser\Attributes\AttributeMirrorer; use Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface; use Rector\BetterPhpDocParser\ValueObject\PhpDoc\VariadicAwareParamTagValueNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ParamPhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ParamPhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\Attributes\AttributeMirrorer diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php index 3638db50570..fa72a159ccb 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/TemplatePhpDocNodeVisitor.php @@ -14,8 +14,8 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDoc\SpacingAwareTemplateTagValueNod use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class TemplatePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class TemplatePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider diff --git a/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php b/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php index b4fdab4b94c..c1cb8a3aebe 100644 --- a/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php +++ b/packages/BetterPhpDocParser/PhpDocNodeVisitor/UnionTypeNodePhpDocNodeVisitor.php @@ -13,8 +13,8 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\BetterPhpDocParser\ValueObject\Type\BracketsAwareUnionTypeNode; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class UnionTypeNodePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class UnionTypeNodePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor implements \Rector\BetterPhpDocParser\Contract\BasePhpDocNodeVisitorInterface { /** * @var \Rector\BetterPhpDocParser\DataProvider\CurrentTokenIteratorProvider diff --git a/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php b/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php index 3eebec6e1e2..7112d3f787f 100644 --- a/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php +++ b/packages/BetterPhpDocParser/PhpDocParser/BetterPhpDocParser.php @@ -18,7 +18,7 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocParser\TagValueNodeReprint\TagValueNodeReprintTest */ @@ -41,7 +41,7 @@ final class BetterPhpDocParser extends \PHPStan\PhpDocParser\Parser\PhpDocParser $this->tokenIteratorFactory = $tokenIteratorFactory; $this->doctrineAnnotationDecorator = $doctrineAnnotationDecorator; parent::__construct($typeParser, $constExprParser); - $this->privatesCaller = new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + $this->privatesCaller = new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller(); } /** * @param \PHPStan\PhpDocParser\Parser\TokenIterator $tokenIterator diff --git a/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php b/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php index c323823f647..7729bd4ed17 100644 --- a/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php +++ b/packages/BetterPhpDocParser/PhpDocParser/DoctrineAnnotationDecorator.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\PhpDocParser; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode; @@ -225,7 +225,7 @@ final class DoctrineAnnotationDecorator } private function resolveFqnAnnotationSpacelessPhpDocTagNode(\PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTextNode $phpDocTextNode) : ?\Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($phpDocTextNode->text, self::LONG_ANNOTATION_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($phpDocTextNode->text, self::LONG_ANNOTATION_REGEX); $fullyQualifiedAnnotationClass = $match['class_name'] ?? null; if ($fullyQualifiedAnnotationClass === null) { return null; diff --git a/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php b/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php index 1dc99af8f3b..37c78287cf7 100644 --- a/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php +++ b/packages/BetterPhpDocParser/PhpDocParser/StaticDoctrineAnnotationParser/PlainValueParser.php @@ -17,7 +17,7 @@ use Rector\BetterPhpDocParser\ValueObject\Parser\BetterTokenIterator; use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\Core\Configuration\CurrentNodeProvider; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; final class PlainValueParser { /** diff --git a/packages/BetterPhpDocParser/Printer/DocBlockInliner.php b/packages/BetterPhpDocParser/Printer/DocBlockInliner.php index e4d4f6a98c2..178b3e9a5b3 100644 --- a/packages/BetterPhpDocParser/Printer/DocBlockInliner.php +++ b/packages/BetterPhpDocParser/Printer/DocBlockInliner.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\Printer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; final class DocBlockInliner { /** @@ -18,7 +18,7 @@ final class DocBlockInliner private const NEWLINE_MIDDLE_DOC_REGEX = "#\n \\* #"; public function inline(string $docContent) : string { - $docContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($docContent, self::NEWLINE_MIDDLE_DOC_REGEX, ' '); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($docContent, self::NEWLINE_CLOSING_DOC_REGEX, ' */'); + $docContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($docContent, self::NEWLINE_MIDDLE_DOC_REGEX, ' '); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($docContent, self::NEWLINE_CLOSING_DOC_REGEX, ' */'); } } diff --git a/packages/BetterPhpDocParser/Printer/PhpDocInfoPrinter.php b/packages/BetterPhpDocParser/Printer/PhpDocInfoPrinter.php index e739e50522b..90c20213a69 100644 --- a/packages/BetterPhpDocParser/Printer/PhpDocInfoPrinter.php +++ b/packages/BetterPhpDocParser/Printer/PhpDocInfoPrinter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\Printer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt\InlineHTML; use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocChildNode; @@ -22,7 +22,7 @@ use Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey; use Rector\BetterPhpDocParser\ValueObject\StartAndEnd; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Util\StringUtils; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; /** * @see \Rector\Tests\BetterPhpDocParser\PhpDocInfo\PhpDocInfoPrinter\PhpDocInfoPrinterTest */ @@ -141,7 +141,7 @@ final class PhpDocInfoPrinter $this->currentTokenPosition = 0; $phpDocString = $this->printPhpDocNode($phpDocNode); // hotfix of extra space with callable () - return \RectorPrefix20211129\Nette\Utils\Strings::replace($phpDocString, self::CALLABLE_REGEX, 'callable('); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($phpDocString, self::CALLABLE_REGEX, 'callable('); } public function getCurrentPhpDocInfo() : \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo { @@ -190,7 +190,7 @@ final class PhpDocInfoPrinter if ($phpDocChildNode->value instanceof \Rector\BetterPhpDocParser\PhpDoc\DoctrineAnnotationTagValueNode && $shouldReprintChildNode) { $printedNode = (string) $phpDocChildNode; // remove extra space between tags - $printedNode = \RectorPrefix20211129\Nette\Utils\Strings::replace($printedNode, self::TAG_AND_SPACE_REGEX, '$1('); + $printedNode = \RectorPrefix20211130\Nette\Utils\Strings::replace($printedNode, self::TAG_AND_SPACE_REGEX, '$1('); return self::NEWLINE_WITH_ASTERISK . ($printedNode === '' ? '' : ' ' . $printedNode); } } diff --git a/packages/BetterPhpDocParser/ValueObject/Parser/BetterTokenIterator.php b/packages/BetterPhpDocParser/ValueObject/Parser/BetterTokenIterator.php index ac03242e2b9..18d611a994c 100644 --- a/packages/BetterPhpDocParser/ValueObject/Parser/BetterTokenIterator.php +++ b/packages/BetterPhpDocParser/ValueObject/Parser/BetterTokenIterator.php @@ -5,7 +5,7 @@ namespace Rector\BetterPhpDocParser\ValueObject\Parser; use PHPStan\PhpDocParser\Parser\TokenIterator; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class BetterTokenIterator extends \PHPStan\PhpDocParser\Parser\TokenIterator { /** @@ -25,7 +25,7 @@ final class BetterTokenIterator extends \PHPStan\PhpDocParser\Parser\TokenIterat */ public function __construct(array $tokens, int $index = 0) { - $this->privatesAccessor = new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); + $this->privatesAccessor = new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); if ($tokens === []) { $this->privatesAccessor->setPrivateProperty($this, self::TOKENS, []); $this->privatesAccessor->setPrivateProperty($this, self::INDEX, 0); diff --git a/packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php b/packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php index c34608b125e..fc89521f133 100644 --- a/packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php +++ b/packages/BetterPhpDocParser/ValueObject/PhpDoc/DoctrineAnnotation/AbstractValuesAwareNode.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\NodeAttributes; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagValueNode; @@ -168,7 +168,7 @@ abstract class AbstractValuesAwareNode implements \PHPStan\PhpDocParser\Ast\PhpD if (!\is_string($value)) { return $value; } - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($value, self::UNQUOTED_VALUE_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($value, self::UNQUOTED_VALUE_REGEX); if ($matches === null) { return $value; } diff --git a/packages/BetterPhpDocParser/ValueObject/PhpDocAttributeKey.php b/packages/BetterPhpDocParser/ValueObject/PhpDocAttributeKey.php index 96bd9731891..bc5309adb79 100644 --- a/packages/BetterPhpDocParser/ValueObject/PhpDocAttributeKey.php +++ b/packages/BetterPhpDocParser/ValueObject/PhpDocAttributeKey.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\BetterPhpDocParser\ValueObject; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey as NativePhpDocAttributeKey; final class PhpDocAttributeKey { /** @@ -18,7 +18,7 @@ final class PhpDocAttributeKey /** * @var string */ - public const PARENT = \RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::PARENT; + public const PARENT = \RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::PARENT; /** * @var string */ @@ -26,5 +26,5 @@ final class PhpDocAttributeKey /** * @var string */ - public const ORIG_NODE = \RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE; + public const ORIG_NODE = \RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE; } diff --git a/packages/Caching/CacheFactory.php b/packages/Caching/CacheFactory.php index 8e94a54ecb8..ae232407754 100644 --- a/packages/Caching/CacheFactory.php +++ b/packages/Caching/CacheFactory.php @@ -6,8 +6,8 @@ namespace Rector\Caching; use Rector\Caching\ValueObject\Storage\FileCacheStorage; use Rector\Caching\ValueObject\Storage\MemoryCacheStorage; use Rector\Core\Configuration\Option; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class CacheFactory { /** @@ -18,7 +18,7 @@ final class CacheFactory * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->parameterProvider = $parameterProvider; $this->smartFileSystem = $smartFileSystem; diff --git a/packages/Caching/Config/FileHashComputer.php b/packages/Caching/Config/FileHashComputer.php index 46417ba976e..9b53ba9a875 100644 --- a/packages/Caching/Config/FileHashComputer.php +++ b/packages/Caching/Config/FileHashComputer.php @@ -4,12 +4,12 @@ declare (strict_types=1); namespace Rector\Caching\Config; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symfony\Component\Config\FileLocator; -use RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderInterface; -use RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolver; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\GlobFileLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20211130\Symfony\Component\Config\FileLocator; +use RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderInterface; +use RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolver; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\GlobFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * Inspired by https://github.com/symplify/easy-coding-standard/blob/e598ab54686e416788f28fcfe007fd08e0f371d9/packages/changed-files-detector/src/FileHashComputer.php */ @@ -18,7 +18,7 @@ final class FileHashComputer public function compute(string $filePath) : string { $this->ensureIsPhp($filePath); - $containerBuilder = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder(); + $containerBuilder = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder(); $fileLoader = $this->createFileLoader($filePath, $containerBuilder); $fileLoader->load($filePath); $parameterBag = $containerBuilder->getParameterBag(); @@ -36,11 +36,11 @@ final class FileHashComputer $filePath )); } - private function createFileLoader(string $filePath, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderInterface + private function createFileLoader(string $filePath, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderInterface { - $fileLocator = new \RectorPrefix20211129\Symfony\Component\Config\FileLocator([$filePath]); - $fileLoaders = [new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\GlobFileLoader($containerBuilder, $fileLocator), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader($containerBuilder, $fileLocator)]; - $loaderResolver = new \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolver($fileLoaders); + $fileLocator = new \RectorPrefix20211130\Symfony\Component\Config\FileLocator([$filePath]); + $fileLoaders = [new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\GlobFileLoader($containerBuilder, $fileLocator), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader($containerBuilder, $fileLocator)]; + $loaderResolver = new \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolver($fileLoaders); $loader = $loaderResolver->resolve($filePath); if ($loader === \false) { throw new \Rector\Core\Exception\ShouldNotHappenException(); diff --git a/packages/Caching/Detector/ChangedFilesDetector.php b/packages/Caching/Detector/ChangedFilesDetector.php index 20612c509b9..60f012fafac 100644 --- a/packages/Caching/Detector/ChangedFilesDetector.php +++ b/packages/Caching/Detector/ChangedFilesDetector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Caching\Detector; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Caching\Cache; use Rector\Caching\Config\FileHashComputer; use Rector\Caching\Enum\CacheKey; @@ -93,7 +93,7 @@ final class ChangedFilesDetector } private function storeConfigurationDataHash(string $filePath, string $configurationHash) : void { - $key = \Rector\Caching\Enum\CacheKey::CONFIGURATION_HASH_KEY . '_' . \RectorPrefix20211129\Nette\Utils\Strings::webalize($filePath); + $key = \Rector\Caching\Enum\CacheKey::CONFIGURATION_HASH_KEY . '_' . \RectorPrefix20211130\Nette\Utils\Strings::webalize($filePath); $this->invalidateCacheIfConfigurationChanged($key, $configurationHash); $this->cache->save($key, \Rector\Caching\Enum\CacheKey::CONFIGURATION_HASH_KEY, $configurationHash); } diff --git a/packages/Caching/FileSystem/DependencyResolver.php b/packages/Caching/FileSystem/DependencyResolver.php index 101f849e41b..434c8c2b878 100644 --- a/packages/Caching/FileSystem/DependencyResolver.php +++ b/packages/Caching/FileSystem/DependencyResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PHPStan\Analyser\MutatingScope; use PHPStan\Analyser\NodeScopeResolver; use PHPStan\Dependency\DependencyResolver as PHPStanDependencyResolver; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class DependencyResolver { /** @@ -22,7 +22,7 @@ final class DependencyResolver * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Dependency\DependencyResolver $phpStanDependencyResolver, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Dependency\DependencyResolver $phpStanDependencyResolver, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) { $this->nodeScopeResolver = $nodeScopeResolver; $this->phpStanDependencyResolver = $phpStanDependencyResolver; diff --git a/packages/Caching/ValueObject/Storage/FileCacheStorage.php b/packages/Caching/ValueObject/Storage/FileCacheStorage.php index d2f59c6429f..3eedbeb8127 100644 --- a/packages/Caching/ValueObject/Storage/FileCacheStorage.php +++ b/packages/Caching/ValueObject/Storage/FileCacheStorage.php @@ -4,13 +4,13 @@ declare (strict_types=1); namespace Rector\Caching\ValueObject\Storage; use FilesystemIterator; -use RectorPrefix20211129\Nette\Utils\FileSystem; -use RectorPrefix20211129\Nette\Utils\Random; +use RectorPrefix20211130\Nette\Utils\FileSystem; +use RectorPrefix20211130\Nette\Utils\Random; use Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface; use Rector\Caching\ValueObject\CacheFilePaths; use Rector\Caching\ValueObject\CacheItem; use Rector\Core\Exception\Cache\CachingException; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * Inspired by https://github.com/phpstan/phpstan-src/blob/1e7ceae933f07e5a250b61ed94799e6c2ea8daa2/src/Cache/FileCacheStorage.php * @see \Rector\Tests\Caching\ValueObject\Storage\FileCacheStorageTest @@ -25,7 +25,7 @@ final class FileCacheStorage implements \Rector\Caching\Contract\ValueObject\Sto * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(string $directory, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(string $directory, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->directory = $directory; $this->smartFileSystem = $smartFileSystem; @@ -62,7 +62,7 @@ final class FileCacheStorage implements \Rector\Caching\Contract\ValueObject\Sto $this->smartFileSystem->mkdir($cacheFilePaths->getFirstDirectory()); $this->smartFileSystem->mkdir($cacheFilePaths->getSecondDirectory()); $path = $cacheFilePaths->getFilePath(); - $tmpPath = \sprintf('%s/%s.tmp', $this->directory, \RectorPrefix20211129\Nette\Utils\Random::generate()); + $tmpPath = \sprintf('%s/%s.tmp', $this->directory, \RectorPrefix20211130\Nette\Utils\Random::generate()); $errorBefore = \error_get_last(); $exported = @\var_export(new \Rector\Caching\ValueObject\CacheItem($variableKey, $data), \true); $errorAfter = \error_get_last(); @@ -70,7 +70,7 @@ final class FileCacheStorage implements \Rector\Caching\Contract\ValueObject\Sto throw new \Rector\Core\Exception\Cache\CachingException(\sprintf('Error occurred while saving item %s (%s) to cache: %s', $key, $variableKey, $errorAfter['message'])); } // for performance reasons we don't use SmartFileSystem - \RectorPrefix20211129\Nette\Utils\FileSystem::write($tmpPath, \sprintf(".*?)\\r?\\n#m'; - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($docComment, $pattern); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($docComment, $pattern); return $matches['content'] ?? null; } } diff --git a/packages/ChangesReporting/Output/ConsoleOutputFormatter.php b/packages/ChangesReporting/Output/ConsoleOutputFormatter.php index 12a1def81ed..19f0db9260f 100644 --- a/packages/ChangesReporting/Output/ConsoleOutputFormatter.php +++ b/packages/ChangesReporting/Output/ConsoleOutputFormatter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\ChangesReporting\Output; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\ChangesReporting\Annotation\RectorsChangelogResolver; use Rector\ChangesReporting\Contract\Output\OutputFormatterInterface; use Rector\Core\Contract\Console\OutputStyleInterface; @@ -118,8 +118,8 @@ final class ConsoleOutputFormatter implements \Rector\ChangesReporting\Contract\ private function normalizePathsToRelativeWithLine(string $errorMessage) : string { $regex = '#' . \preg_quote(\getcwd(), '#') . '/#'; - $errorMessage = \RectorPrefix20211129\Nette\Utils\Strings::replace($errorMessage, $regex, ''); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($errorMessage, self::ON_LINE_REGEX, ':'); + $errorMessage = \RectorPrefix20211130\Nette\Utils\Strings::replace($errorMessage, $regex, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($errorMessage, self::ON_LINE_REGEX, ':'); } private function reportRemovedNodes(\Rector\Core\ValueObject\ProcessResult $processResult) : void { @@ -145,7 +145,7 @@ final class ConsoleOutputFormatter implements \Rector\ChangesReporting\Contract\ $rectorsChangelogs = $this->rectorsChangelogResolver->resolveIncludingMissing($fileDiff->getRectorClasses()); $rectorsChangelogsLines = []; foreach ($rectorsChangelogs as $rectorClass => $changelog) { - $rectorShortClass = (string) \RectorPrefix20211129\Nette\Utils\Strings::after($rectorClass, '\\', -1); + $rectorShortClass = (string) \RectorPrefix20211130\Nette\Utils\Strings::after($rectorClass, '\\', -1); $rectorsChangelogsLines[] = $changelog === null ? $rectorShortClass : $rectorShortClass . ' (' . $changelog . ')'; } return $rectorsChangelogsLines; diff --git a/packages/ChangesReporting/Output/JsonOutputFormatter.php b/packages/ChangesReporting/Output/JsonOutputFormatter.php index e03dc062283..f4174194b59 100644 --- a/packages/ChangesReporting/Output/JsonOutputFormatter.php +++ b/packages/ChangesReporting/Output/JsonOutputFormatter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\ChangesReporting\Output; -use RectorPrefix20211129\Nette\Utils\Json; +use RectorPrefix20211130\Nette\Utils\Json; use Rector\ChangesReporting\Annotation\RectorsChangelogResolver; use Rector\ChangesReporting\Contract\Output\OutputFormatterInterface; use Rector\Core\ValueObject\Configuration; @@ -48,7 +48,7 @@ final class JsonOutputFormatter implements \Rector\ChangesReporting\Contract\Out if ($errorsData !== []) { $errorsArray['errors'] = $errorsData; } - $json = \RectorPrefix20211129\Nette\Utils\Json::encode($errorsArray, \RectorPrefix20211129\Nette\Utils\Json::PRETTY); + $json = \RectorPrefix20211130\Nette\Utils\Json::encode($errorsArray, \RectorPrefix20211130\Nette\Utils\Json::PRETTY); echo $json . \PHP_EOL; } /** diff --git a/packages/ChangesReporting/ValueObject/RectorWithLineChange.php b/packages/ChangesReporting/ValueObject/RectorWithLineChange.php index 386ae6b0cba..fac7316e47f 100644 --- a/packages/ChangesReporting/ValueObject/RectorWithLineChange.php +++ b/packages/ChangesReporting/ValueObject/RectorWithLineChange.php @@ -4,8 +4,8 @@ declare (strict_types=1); namespace Rector\ChangesReporting\ValueObject; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface; -final class RectorWithLineChange implements \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface; +final class RectorWithLineChange implements \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var string @@ -48,7 +48,7 @@ final class RectorWithLineChange implements \RectorPrefix20211129\Symplify\EasyP /** * @param array $json */ - public static function decode($json) : \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode($json) : \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { return new self($json[self::KEY_RECTOR_CLASS], $json[self::KEY_LINE]); } diff --git a/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php b/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php index 9a573cba0ff..0782d0c7563 100644 --- a/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php +++ b/packages/ChangesReporting/ValueObjectFactory/FileDiffFactory.php @@ -6,7 +6,7 @@ namespace Rector\ChangesReporting\ValueObjectFactory; use Rector\Core\Differ\DefaultDiffer; use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Reporting\FileDiff; -use RectorPrefix20211129\Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer; +use RectorPrefix20211130\Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer; final class FileDiffFactory { /** @@ -17,7 +17,7 @@ final class FileDiffFactory * @var \Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer */ private $consoleDiffer; - public function __construct(\Rector\Core\Differ\DefaultDiffer $defaultDiffer, \RectorPrefix20211129\Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer $consoleDiffer) + public function __construct(\Rector\Core\Differ\DefaultDiffer $defaultDiffer, \RectorPrefix20211130\Symplify\ConsoleColorDiff\Console\Output\ConsoleDiffer $consoleDiffer) { $this->defaultDiffer = $defaultDiffer; $this->consoleDiffer = $consoleDiffer; diff --git a/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php b/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php index 792daba2c34..2b32fb58821 100644 --- a/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php +++ b/packages/FamilyTree/Reflection/FamilyRelationsAnalyzer.php @@ -27,7 +27,7 @@ use Rector\FamilyTree\ValueObject\PropertyType; use Rector\NodeNameResolver\NodeNameResolver; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class FamilyRelationsAnalyzer { /** @@ -54,7 +54,7 @@ final class FamilyRelationsAnalyzer * @var \Rector\Core\PhpParser\AstResolver */ private $astResolver; - public function __construct(\PHPStan\Reflection\ReflectionProvider $reflectionProvider, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\PhpParser\AstResolver $astResolver) + public function __construct(\PHPStan\Reflection\ReflectionProvider $reflectionProvider, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\Core\PhpParser\AstResolver $astResolver) { $this->reflectionProvider = $reflectionProvider; $this->privatesAccessor = $privatesAccessor; diff --git a/packages/FileFormatter/EditorConfig/EditorConfigParser.php b/packages/FileFormatter/EditorConfig/EditorConfigParser.php index eaa436227bd..447a2400794 100644 --- a/packages/FileFormatter/EditorConfig/EditorConfigParser.php +++ b/packages/FileFormatter/EditorConfig/EditorConfigParser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\FileFormatter\EditorConfig; -use RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfig; +use RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfig; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; use Rector\FileFormatter\ValueObject\EditorConfigOption; @@ -17,7 +17,7 @@ final class EditorConfigParser * @var \Idiosyncratic\EditorConfig\EditorConfig */ private $editorConfig; - public function __construct(\RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfig $editorConfig) + public function __construct(\RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfig $editorConfig) { $this->editorConfig = $editorConfig; } diff --git a/packages/FileFormatter/FileFormatter.php b/packages/FileFormatter/FileFormatter.php index a7d05cab7a2..8cea772d828 100644 --- a/packages/FileFormatter/FileFormatter.php +++ b/packages/FileFormatter/FileFormatter.php @@ -13,7 +13,7 @@ use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; use Rector\FileFormatter\ValueObject\Indent; use Rector\FileFormatter\ValueObject\NewLine; use Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class FileFormatter { /** @@ -31,7 +31,7 @@ final class FileFormatter /** * @param FileFormatterInterface[] $fileFormatters */ - public function __construct(\Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, array $fileFormatters = []) + public function __construct(\Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, array $fileFormatters = []) { $this->editorConfigParser = $editorConfigParser; $this->parameterProvider = $parameterProvider; diff --git a/packages/FileFormatter/Formatter/JsonFileFormatter.php b/packages/FileFormatter/Formatter/JsonFileFormatter.php index b160c6c9211..fd4c0a33b0a 100644 --- a/packages/FileFormatter/Formatter/JsonFileFormatter.php +++ b/packages/FileFormatter/Formatter/JsonFileFormatter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\FileFormatter\Formatter; -use RectorPrefix20211129\Ergebnis\Json\Printer\PrinterInterface; +use RectorPrefix20211130\Ergebnis\Json\Printer\PrinterInterface; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface; use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; @@ -18,7 +18,7 @@ final class JsonFileFormatter implements \Rector\FileFormatter\Contract\Formatte * @var \Ergebnis\Json\Printer\PrinterInterface */ private $jsonPrinter; - public function __construct(\RectorPrefix20211129\Ergebnis\Json\Printer\PrinterInterface $jsonPrinter) + public function __construct(\RectorPrefix20211130\Ergebnis\Json\Printer\PrinterInterface $jsonPrinter) { $this->jsonPrinter = $jsonPrinter; } diff --git a/packages/FileFormatter/Formatter/XmlFileFormatter.php b/packages/FileFormatter/Formatter/XmlFileFormatter.php index 94cd6db2d19..e005b6739af 100644 --- a/packages/FileFormatter/Formatter/XmlFileFormatter.php +++ b/packages/FileFormatter/Formatter/XmlFileFormatter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\FileFormatter\Formatter; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\Util\StringUtils; use Rector\Core\ValueObject\Application\File; use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface; @@ -90,7 +90,7 @@ final class XmlFileFormatter implements \Rector\FileFormatter\Contract\Formatter */ private function getXmlParts(string $xml) : array { - $withNewLines = \RectorPrefix20211129\Nette\Utils\Strings::replace(\trim($xml), self::XML_PARTS_REGEX, "\$1\n\$2\$3"); + $withNewLines = \RectorPrefix20211130\Nette\Utils\Strings::replace(\trim($xml), self::XML_PARTS_REGEX, "\$1\n\$2\$3"); return \explode("\n", $withNewLines); } private function getOutputForPart(string $part, \Rector\FileFormatter\ValueObject\EditorConfigConfiguration $editorConfigConfiguration) : string diff --git a/packages/FileFormatter/Formatter/YamlFileFormatter.php b/packages/FileFormatter/Formatter/YamlFileFormatter.php index f6d2974d11a..0ee1b5f08e4 100644 --- a/packages/FileFormatter/Formatter/YamlFileFormatter.php +++ b/packages/FileFormatter/Formatter/YamlFileFormatter.php @@ -8,7 +8,7 @@ use Rector\FileFormatter\Contract\Formatter\FileFormatterInterface; use Rector\FileFormatter\ValueObject\EditorConfigConfiguration; use Rector\FileFormatter\ValueObject\Indent; use Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder; -use RectorPrefix20211129\Symfony\Component\Yaml\Yaml; +use RectorPrefix20211130\Symfony\Component\Yaml\Yaml; /** * @see \Rector\Tests\FileFormatter\Formatter\YamlFileFormatter\YamlFileFormatterTest */ @@ -28,8 +28,8 @@ final class YamlFileFormatter implements \Rector\FileFormatter\Contract\Formatte */ public function format($file, $editorConfigConfiguration) : void { - $yaml = \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::parse($file->getFileContent(), \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); - $newFileContent = \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::dump($yaml, 99, $editorConfigConfiguration->getIndentSize()); + $yaml = \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::parse($file->getFileContent(), \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); + $newFileContent = \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::dump($yaml, 99, $editorConfigConfiguration->getIndentSize()); $file->changeFileContent($newFileContent); } public function createDefaultEditorConfigConfigurationBuilder() : \Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder diff --git a/packages/FileFormatter/ValueObject/Indent.php b/packages/FileFormatter/ValueObject/Indent.php index 8948c0d0615..766b66d98c8 100644 --- a/packages/FileFormatter/ValueObject/Indent.php +++ b/packages/FileFormatter/ValueObject/Indent.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\FileFormatter\ValueObject; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\FileFormatter\Exception\InvalidIndentSizeException; use Rector\FileFormatter\Exception\InvalidIndentStringException; use Rector\FileFormatter\Exception\InvalidIndentStyleException; @@ -57,7 +57,7 @@ final class Indent */ public static function fromString($content) : self { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::VALID_INDENT_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::VALID_INDENT_REGEX); if ($match === null) { throw \Rector\FileFormatter\Exception\InvalidIndentStringException::fromString($content); } @@ -94,7 +94,7 @@ final class Indent */ public static function fromContent($content) : self { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::PARSE_INDENT_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::PARSE_INDENT_REGEX); if (isset($match['indent'])) { return self::fromString($match['indent']); } diff --git a/packages/FileFormatter/ValueObject/NewLine.php b/packages/FileFormatter/ValueObject/NewLine.php index e36c933b88c..6c159a38ebd 100644 --- a/packages/FileFormatter/ValueObject/NewLine.php +++ b/packages/FileFormatter/ValueObject/NewLine.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\FileFormatter\ValueObject; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use const PHP_EOL; use Rector\FileFormatter\Exception\InvalidNewLineStringException; use Stringable; @@ -55,7 +55,7 @@ final class NewLine */ public static function fromSingleCharacter($content) : self { - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::VALID_NEWLINE_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::VALID_NEWLINE_REGEX); if ($matches === null) { throw \Rector\FileFormatter\Exception\InvalidNewLineStringException::fromString($content); } @@ -66,7 +66,7 @@ final class NewLine */ public static function fromContent($content) : self { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::NEWLINE_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::NEWLINE_REGEX); if (isset($match['newLine'])) { return self::fromSingleCharacter($match['newLine']); } diff --git a/packages/NodeNameResolver/NodeNameResolver/ClassConstFetchNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ClassConstFetchNameResolver.php index c4e24dfe0de..99d805902a9 100644 --- a/packages/NodeNameResolver/NodeNameResolver/ClassConstFetchNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/ClassConstFetchNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Expr\ClassConstFetch; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php index 2ddc96f6538..c86ecd1e754 100644 --- a/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/ClassConstNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Stmt\ClassConst; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php index 5ddfd3eabfd..251048a377a 100644 --- a/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/ClassNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Stmt\ClassLike; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php index 4378c072897..eceee171627 100644 --- a/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/ParamNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Param; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php index c5acca19928..4b860a1277a 100644 --- a/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/PropertyNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Stmt\Property; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php b/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php index 96dac6eb3bc..3d1000821a1 100644 --- a/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php +++ b/packages/NodeNameResolver/NodeNameResolver/UseNameResolver.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Stmt\Use_; use Rector\NodeNameResolver\Contract\NodeNameResolverInterface; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeNameResolverInterface */ diff --git a/packages/NodeNameResolver/Regex/RegexPatternDetector.php b/packages/NodeNameResolver/Regex/RegexPatternDetector.php index 280fa6db920..0235cdffa9b 100644 --- a/packages/NodeNameResolver/Regex/RegexPatternDetector.php +++ b/packages/NodeNameResolver/Regex/RegexPatternDetector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\NodeNameResolver\Regex; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; final class RegexPatternDetector { /** @@ -14,7 +14,7 @@ final class RegexPatternDetector private const POSSIBLE_DELIMITERS = ['#', '~', '/']; public function isRegexPattern(string $name) : bool { - if (\RectorPrefix20211129\Nette\Utils\Strings::length($name) <= 2) { + if (\RectorPrefix20211130\Nette\Utils\Strings::length($name) <= 2) { return \false; } $firstChar = $name[0]; diff --git a/packages/NodeTypeResolver/DependencyInjection/PHPStanServicesFactory.php b/packages/NodeTypeResolver/DependencyInjection/PHPStanServicesFactory.php index db7423b9b89..86552165fc3 100644 --- a/packages/NodeTypeResolver/DependencyInjection/PHPStanServicesFactory.php +++ b/packages/NodeTypeResolver/DependencyInjection/PHPStanServicesFactory.php @@ -18,7 +18,7 @@ use Rector\Core\Configuration\Option; use Rector\Core\Exception\ShouldNotHappenException; use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider; use ReflectionClass; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Factory so Symfony app can use services from PHPStan container * @see packages/NodeTypeResolver/config/config.yaml:17 @@ -29,7 +29,7 @@ final class PHPStanServicesFactory * @var \PHPStan\DependencyInjection\Container */ private $container; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $containerFactory = new \PHPStan\DependencyInjection\ContainerFactory(\getcwd()); $additionalConfigFiles = []; diff --git a/packages/NodeTypeResolver/NodeTypeResolver/ClassMethodOrClassConstTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/ClassMethodOrClassConstTypeResolver.php index a0ffae9b16c..b8f04c65e81 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/ClassMethodOrClassConstTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/ClassMethodOrClassConstTypeResolver.php @@ -13,7 +13,7 @@ use PHPStan\Type\Type; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeTypeResolverInterface */ diff --git a/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php index 106f9f15e68..dc2dc4687d6 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/ParamTypeResolver.php @@ -21,8 +21,8 @@ use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; /** * @see \Rector\Tests\NodeTypeResolver\PerNodeTypeResolver\ParamTypeResolver\ParamTypeResolverTest * @@ -54,7 +54,7 @@ final class ParamTypeResolver implements \Rector\NodeTypeResolver\Contract\NodeT * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/packages/NodeTypeResolver/NodeTypeResolver/PropertyFetchTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/PropertyFetchTypeResolver.php index 2148b0a6b44..cbf3b3d3ba0 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/PropertyFetchTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/PropertyFetchTypeResolver.php @@ -16,7 +16,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @see \Rector\Tests\NodeTypeResolver\PerNodeTypeResolver\PropertyFetchTypeResolver\PropertyFetchTypeResolverTest * diff --git a/packages/NodeTypeResolver/NodeTypeResolver/PropertyTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/PropertyTypeResolver.php index 6ea099b30b8..db4873b99df 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/PropertyTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/PropertyTypeResolver.php @@ -11,7 +11,7 @@ use PHPStan\Type\Type; use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @see \Rector\Tests\NodeTypeResolver\PerNodeTypeResolver\PropertyTypeResolver\PropertyTypeResolverTest * diff --git a/packages/NodeTypeResolver/NodeTypeResolver/ReturnTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/ReturnTypeResolver.php index dc85ce8d14c..5788f75a936 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/ReturnTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/ReturnTypeResolver.php @@ -9,7 +9,7 @@ use PHPStan\Type\Type; use PHPStan\Type\VoidType; use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeTypeResolverInterface */ diff --git a/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php b/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php index 9aea8e05ee2..d69fa322a8b 100644 --- a/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php +++ b/packages/NodeTypeResolver/NodeTypeResolver/StaticCallMethodCallTypeResolver.php @@ -16,7 +16,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Contract\NodeTypeResolverInterface; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements NodeTypeResolverInterface */ diff --git a/packages/NodeTypeResolver/PHPStan/Scope/NodeVisitor/RemoveDeepChainMethodCallNodeVisitor.php b/packages/NodeTypeResolver/PHPStan/Scope/NodeVisitor/RemoveDeepChainMethodCallNodeVisitor.php index a27222d06fd..ba1b0e32b0b 100644 --- a/packages/NodeTypeResolver/PHPStan/Scope/NodeVisitor/RemoveDeepChainMethodCallNodeVisitor.php +++ b/packages/NodeTypeResolver/PHPStan/Scope/NodeVisitor/RemoveDeepChainMethodCallNodeVisitor.php @@ -11,7 +11,7 @@ use PhpParser\NodeTraverser; use PhpParser\NodeVisitorAbstract; use Rector\Core\Configuration\Option; use Rector\Core\PhpParser\Node\BetterNodeFinder; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * Skips performance trap in PHPStan: https://github.com/phpstan/phpstan/issues/254 */ @@ -29,7 +29,7 @@ final class RemoveDeepChainMethodCallNodeVisitor extends \PhpParser\NodeVisitorA * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->betterNodeFinder = $betterNodeFinder; $this->nestedChainMethodCallLimit = (int) $parameterProvider->provideParameter(\Rector\Core\Configuration\Option::NESTED_CHAIN_METHOD_CALL_LIMIT); diff --git a/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php b/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php index f6b148bbb7a..93d9156f6e3 100644 --- a/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php +++ b/packages/NodeTypeResolver/PHPStan/Scope/PHPStanNodeScopeResolver.php @@ -25,7 +25,7 @@ use Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator; use Rector\Core\Util\StringUtils; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\RemoveDeepChainMethodCallNodeVisitor; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; use Symplify\SmartFileSystem\SmartFileInfo; /** * @inspired by https://github.com/silverstripe/silverstripe-upgrader/blob/532182b23e854d02e0b27e68ebc394f436de0682/src/UpgradeRule/PHP/Visitor/PHPStanScopeVisitor.php @@ -82,7 +82,7 @@ final class PHPStanNodeScopeResolver * @var \Rector\NodeTypeResolver\PHPStan\Scope\TraitScopeFaker */ private $traitScopeFaker; - public function __construct(\Rector\Caching\Detector\ChangedFilesDetector $changedFilesDetector, \Rector\Caching\FileSystem\DependencyResolver $dependencyResolver, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\RemoveDeepChainMethodCallNodeVisitor $removeDeepChainMethodCallNodeVisitor, \Rector\NodeTypeResolver\PHPStan\Scope\ScopeFactory $scopeFactory, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator $renamedClassesSourceLocator, \Rector\Core\StaticReflection\SourceLocator\ParentAttributeSourceLocator $parentAttributeSourceLocator, \Rector\NodeTypeResolver\PHPStan\Scope\TraitScopeFaker $traitScopeFaker) + public function __construct(\Rector\Caching\Detector\ChangedFilesDetector $changedFilesDetector, \Rector\Caching\FileSystem\DependencyResolver $dependencyResolver, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeTypeResolver\PHPStan\Scope\NodeVisitor\RemoveDeepChainMethodCallNodeVisitor $removeDeepChainMethodCallNodeVisitor, \Rector\NodeTypeResolver\PHPStan\Scope\ScopeFactory $scopeFactory, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Core\StaticReflection\SourceLocator\RenamedClassesSourceLocator $renamedClassesSourceLocator, \Rector\Core\StaticReflection\SourceLocator\ParentAttributeSourceLocator $parentAttributeSourceLocator, \Rector\NodeTypeResolver\PHPStan\Scope\TraitScopeFaker $traitScopeFaker) { $this->changedFilesDetector = $changedFilesDetector; $this->dependencyResolver = $dependencyResolver; diff --git a/packages/NodeTypeResolver/PHPStan/Scope/TraitScopeFaker.php b/packages/NodeTypeResolver/PHPStan/Scope/TraitScopeFaker.php index bb62a621a4a..28eca473baa 100644 --- a/packages/NodeTypeResolver/PHPStan/Scope/TraitScopeFaker.php +++ b/packages/NodeTypeResolver/PHPStan/Scope/TraitScopeFaker.php @@ -7,7 +7,7 @@ use PHPStan\Analyser\MutatingScope; use PHPStan\Analyser\ScopeContext; use PHPStan\Reflection\ReflectionProvider; use Rector\Core\Stubs\DummyTraitClass; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class TraitScopeFaker { /** @@ -18,7 +18,7 @@ final class TraitScopeFaker * @var \PHPStan\Reflection\ReflectionProvider */ private $reflectionProvider; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) { $this->privatesAccessor = $privatesAccessor; $this->reflectionProvider = $reflectionProvider; diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php index 96f447f377f..e74d38106cc 100644 --- a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php +++ b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/ImportingPhpDocNodeTraverserFactory.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\NodeTypeResolver\PhpDoc\PhpDocNodeTraverser; use Rector\NodeTypeResolver\PhpDocNodeVisitor\NameImportingPhpDocNodeVisitor; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class ImportingPhpDocNodeTraverserFactory { /** @@ -15,9 +15,9 @@ final class ImportingPhpDocNodeTraverserFactory { $this->nameImportingPhpDocNodeVisitor = $nameImportingPhpDocNodeVisitor; } - public function create() : \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->nameImportingPhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php index 03230bf6f3d..753e414755e 100644 --- a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php +++ b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/RenamingPhpDocNodeVisitorFactory.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\NodeTypeResolver\PhpDoc\PhpDocNodeTraverser; use Rector\NodeTypeResolver\PhpDocNodeVisitor\ClassRenamePhpDocNodeVisitor; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class RenamingPhpDocNodeVisitorFactory { /** @@ -15,9 +15,9 @@ final class RenamingPhpDocNodeVisitorFactory { $this->classRenamePhpDocNodeVisitor = $classRenamePhpDocNodeVisitor; } - public function create() : \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->classRenamePhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php index cb9053d7229..6c5e85fed40 100644 --- a/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php +++ b/packages/NodeTypeResolver/PhpDoc/PhpDocNodeTraverser/UnderscorePhpDocNodeTraverserFactory.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\NodeTypeResolver\PhpDoc\PhpDocNodeTraverser; use Rector\NodeTypeResolver\PhpDocNodeVisitor\UnderscoreRenamePhpDocNodeVisitor; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class UnderscorePhpDocNodeTraverserFactory { /** @@ -15,9 +15,9 @@ final class UnderscorePhpDocNodeTraverserFactory { $this->underscoreRenamePhpDocNodeVisitor = $underscoreRenamePhpDocNodeVisitor; } - public function create() : \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser + public function create() : \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->addPhpDocNodeVisitor($this->underscoreRenamePhpDocNodeVisitor); return $phpDocNodeTraverser; } diff --git a/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php b/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php index 168317d0712..5af54fab21a 100644 --- a/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php +++ b/packages/NodeTypeResolver/PhpDocNodeVisitor/ClassRenamePhpDocNodeVisitor.php @@ -14,8 +14,8 @@ use Rector\NodeTypeResolver\ValueObject\OldToNewType; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class ClassRenamePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class ClassRenamePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var OldToNewType[] diff --git a/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php b/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php index 67fca5ecd1d..41ddbb79c32 100644 --- a/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php +++ b/packages/NodeTypeResolver/PhpDocNodeVisitor/NameImportingPhpDocNodeVisitor.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\NodeTypeResolver\PhpDocNodeVisitor; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node as PhpParserNode; use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\PhpDoc\TemplateTagValueNode; @@ -20,10 +20,10 @@ use Rector\Core\ValueObject\Application\File; use Rector\PostRector\Collector\UseNodesToAddCollector; use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var PhpParserNode|null @@ -53,7 +53,7 @@ final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20211129\Symplif * @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker */ private $classLikeExistenceChecker; - public function __construct(\Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) + public function __construct(\Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->staticTypeMapper = $staticTypeMapper; $this->parameterProvider = $parameterProvider; @@ -141,7 +141,7 @@ final class NameImportingPhpDocNodeVisitor extends \RectorPrefix20211129\Symplif if (!$this->classLikeExistenceChecker->doesClassLikeInsensitiveExists($className)) { return \false; } - $firstPath = \RectorPrefix20211129\Nette\Utils\Strings::before($identifierTypeNode->name, '\\' . $newNode->name); + $firstPath = \RectorPrefix20211130\Nette\Utils\Strings::before($identifierTypeNode->name, '\\' . $newNode->name); if ($firstPath === null) { return \true; } diff --git a/packages/NodeTypeResolver/PhpDocNodeVisitor/UnderscoreRenamePhpDocNodeVisitor.php b/packages/NodeTypeResolver/PhpDocNodeVisitor/UnderscoreRenamePhpDocNodeVisitor.php index 0f070807070..bf07fd4e2d4 100644 --- a/packages/NodeTypeResolver/PhpDocNodeVisitor/UnderscoreRenamePhpDocNodeVisitor.php +++ b/packages/NodeTypeResolver/PhpDocNodeVisitor/UnderscoreRenamePhpDocNodeVisitor.php @@ -3,15 +3,15 @@ declare (strict_types=1); namespace Rector\NodeTypeResolver\PhpDocNodeVisitor; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\PhpDocParser\Ast\Node; use PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode; use PHPStan\Type\ObjectType; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Renaming\ValueObject\PseudoNamespaceToNamespace; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; -final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor; +final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\AbstractPhpDocNodeVisitor { /** * @var \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace|null @@ -52,7 +52,7 @@ final class UnderscoreRenamePhpDocNodeVisitor extends \RectorPrefix20211129\Symp return null; } // change underscore to \\ - $slashedName = '\\' . \RectorPrefix20211129\Nette\Utils\Strings::replace($staticType->getClassName(), '#_#', '\\'); + $slashedName = '\\' . \RectorPrefix20211130\Nette\Utils\Strings::replace($staticType->getClassName(), '#_#', '\\'); return new \PHPStan\PhpDocParser\Ast\Type\IdentifierTypeNode($slashedName); } public function setPseudoNamespaceToNamespace(\Rector\Renaming\ValueObject\PseudoNamespaceToNamespace $pseudoNamespaceToNamespace) : void diff --git a/packages/PHPStanStaticTypeMapper/Enum/TypeKind.php b/packages/PHPStanStaticTypeMapper/Enum/TypeKind.php index f7b30e14dc5..b3ef586fcd9 100644 --- a/packages/PHPStanStaticTypeMapper/Enum/TypeKind.php +++ b/packages/PHPStanStaticTypeMapper/Enum/TypeKind.php @@ -3,14 +3,14 @@ declare (strict_types=1); namespace Rector\PHPStanStaticTypeMapper\Enum; -use RectorPrefix20211129\MyCLabs\Enum\Enum; +use RectorPrefix20211130\MyCLabs\Enum\Enum; /** * @method static TypeKind PROPERTY() * @method static TypeKind RETURN() * @method static TypeKind PARAM() * @method static TypeKind ANY() */ -final class TypeKind extends \RectorPrefix20211129\MyCLabs\Enum\Enum +final class TypeKind extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @var string diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php index eafe6f246e9..7ba2090db17 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ArrayTypeMapper.php @@ -28,7 +28,7 @@ use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeCommonTypeNarrower; use Rector\TypeDeclaration\NodeTypeAnalyzer\DetailedTypeAnalyzer; use Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @see \Rector\Tests\PHPStanStaticTypeMapper\TypeMapper\ArrayTypeMapperTest * diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/CallableTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/CallableTypeMapper.php index 3c317f3720e..c46cf3f1732 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/CallableTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/CallableTypeMapper.php @@ -14,7 +14,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php index 58540cb00a5..b9ee45901bb 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ClassStringTypeMapper.php @@ -15,7 +15,7 @@ use PHPStan\Type\Type; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php index 57322a01004..21336166694 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ClosureTypeMapper.php @@ -13,7 +13,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareCallableTypeNode; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php index d8e06505128..2486b69f1c0 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/IntersectionTypeMapper.php @@ -15,7 +15,7 @@ use Rector\Core\ValueObject\PhpVersionFeature; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php index 94ac71c33f6..5c45d53fe7c 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/IterableTypeMapper.php @@ -15,7 +15,7 @@ use Rector\BetterPhpDocParser\ValueObject\Type\SpacingAwareArrayTypeNode; use Rector\PHPStanStaticTypeMapper\Contract\TypeMapperInterface; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PHPStanStaticTypeMapper\PHPStanStaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php index 3cc06cb1a7f..ddc04ee10a4 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/ObjectTypeMapper.php @@ -21,7 +21,7 @@ use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedGenericObjectType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\SelfObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php b/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php index 58217963efc..ab4cbb59dc1 100644 --- a/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php +++ b/packages/PHPStanStaticTypeMapper/TypeMapper/UnionTypeMapper.php @@ -35,7 +35,7 @@ use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\BoolUnionTypeAnalyzer; use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeAnalyzer; use Rector\PHPStanStaticTypeMapper\TypeAnalyzer\UnionTypeCommonTypeNarrower; use Rector\PHPStanStaticTypeMapper\ValueObject\UnionTypeAnalysis; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements TypeMapperInterface */ diff --git a/packages/Parallel/Application/ParallelFileProcessor.php b/packages/Parallel/Application/ParallelFileProcessor.php index be6f8d94150..007c4d7d01a 100644 --- a/packages/Parallel/Application/ParallelFileProcessor.php +++ b/packages/Parallel/Application/ParallelFileProcessor.php @@ -4,12 +4,12 @@ declare (strict_types=1); namespace Rector\Parallel\Application; use Closure; -use RectorPrefix20211129\Clue\React\NDJson\Decoder; -use RectorPrefix20211129\Clue\React\NDJson\Encoder; -use RectorPrefix20211129\Nette\Utils\Random; -use RectorPrefix20211129\React\EventLoop\StreamSelectLoop; -use RectorPrefix20211129\React\Socket\ConnectionInterface; -use RectorPrefix20211129\React\Socket\TcpServer; +use RectorPrefix20211130\Clue\React\NDJson\Decoder; +use RectorPrefix20211130\Clue\React\NDJson\Encoder; +use RectorPrefix20211130\Nette\Utils\Random; +use RectorPrefix20211130\React\EventLoop\StreamSelectLoop; +use RectorPrefix20211130\React\Socket\ConnectionInterface; +use RectorPrefix20211130\React\Socket\TcpServer; use Rector\Core\Configuration\Option; use Rector\Core\Console\Command\ProcessCommand; use Rector\Core\Console\Command\WorkerCommand; @@ -17,16 +17,16 @@ use Rector\Core\ValueObject\Error\SystemError; use Rector\Core\ValueObject\Reporting\FileDiff; use Rector\Parallel\Command\WorkerCommandLineFactory; use Rector\Parallel\ValueObject\Bridge; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\Content; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent; -use RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ParallelProcess; -use RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ProcessPool; -use RectorPrefix20211129\Symplify\EasyParallel\ValueObject\Schedule; -use RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\Content; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent; +use RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ParallelProcess; +use RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ProcessPool; +use RectorPrefix20211130\Symplify\EasyParallel\ValueObject\Schedule; +use RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming; use Throwable; /** * Inspired from @see @@ -62,23 +62,23 @@ final class ParallelFileProcessor * @param Closure(int): void|null $postFileCallback Used for progress bar jump * @return mixed[] */ - public function check(\RectorPrefix20211129\Symplify\EasyParallel\ValueObject\Schedule $schedule, string $mainScript, \Closure $postFileCallback, ?string $projectConfigFile, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : array + public function check(\RectorPrefix20211130\Symplify\EasyParallel\ValueObject\Schedule $schedule, string $mainScript, \Closure $postFileCallback, ?string $projectConfigFile, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : array { $jobs = \array_reverse($schedule->getJobs()); - $streamSelectLoop = new \RectorPrefix20211129\React\EventLoop\StreamSelectLoop(); + $streamSelectLoop = new \RectorPrefix20211130\React\EventLoop\StreamSelectLoop(); // basic properties setup $numberOfProcesses = $schedule->getNumberOfProcesses(); // initial counters $fileDiffs = []; $systemErrors = []; - $tcpServer = new \RectorPrefix20211129\React\Socket\TcpServer('127.0.0.1:0', $streamSelectLoop); - $this->processPool = new \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ProcessPool($tcpServer); - $tcpServer->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::CONNECTION, function (\RectorPrefix20211129\React\Socket\ConnectionInterface $connection) use(&$jobs) : void { - $inDecoder = new \RectorPrefix20211129\Clue\React\NDJson\Decoder($connection, \true, 512, 0, 4 * 1024 * 1024); - $outEncoder = new \RectorPrefix20211129\Clue\React\NDJson\Encoder($connection); - $inDecoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $data) use(&$jobs, $inDecoder, $outEncoder) : void { - $action = $data[\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; - if ($action !== \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::HELLO) { + $tcpServer = new \RectorPrefix20211130\React\Socket\TcpServer('127.0.0.1:0', $streamSelectLoop); + $this->processPool = new \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ProcessPool($tcpServer); + $tcpServer->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::CONNECTION, function (\RectorPrefix20211130\React\Socket\ConnectionInterface $connection) use(&$jobs) : void { + $inDecoder = new \RectorPrefix20211130\Clue\React\NDJson\Decoder($connection, \true, 512, 0, 4 * 1024 * 1024); + $outEncoder = new \RectorPrefix20211130\Clue\React\NDJson\Encoder($connection); + $inDecoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $data) use(&$jobs, $inDecoder, $outEncoder) : void { + $action = $data[\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; + if ($action !== \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::HELLO) { return; } $processIdentifier = $data[\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER]; @@ -89,7 +89,7 @@ final class ParallelFileProcessor return; } $job = \array_pop($jobs); - $parallelProcess->request([\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20211129\Symplify\EasyParallel\Enum\Content::FILES => $job]); + $parallelProcess->request([\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20211130\Symplify\EasyParallel\Enum\Content::FILES => $job]); }); }); /** @var string $serverAddress */ @@ -109,9 +109,9 @@ final class ParallelFileProcessor if ($jobs === []) { break; } - $processIdentifier = \RectorPrefix20211129\Nette\Utils\Random::generate(); - $workerCommandLine = $this->workerCommandLineFactory->create($mainScript, \RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class), \RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\WorkerCommand::class), $projectConfigFile, $input, $processIdentifier, $serverPort); - $parallelProcess = new \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ParallelProcess($workerCommandLine, $streamSelectLoop, self::TIMEOUT_IN_SECONDS); + $processIdentifier = \RectorPrefix20211130\Nette\Utils\Random::generate(); + $workerCommandLine = $this->workerCommandLineFactory->create($mainScript, \RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class), \RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\WorkerCommand::class), $projectConfigFile, $input, $processIdentifier, $serverPort); + $parallelProcess = new \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ParallelProcess($workerCommandLine, $streamSelectLoop, self::TIMEOUT_IN_SECONDS); $parallelProcess->start( // 1. callable on data function (array $json) use($parallelProcess, &$systemErrors, &$fileDiffs, &$jobs, $postFileCallback, &$systemErrorsCount, &$reachedInternalErrorsCountLimit, $processIdentifier) : void { @@ -137,14 +137,14 @@ final class ParallelFileProcessor return; } $job = \array_pop($jobs); - $parallelProcess->request([\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20211129\Symplify\EasyParallel\Enum\Content::FILES => $job]); + $parallelProcess->request([\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::MAIN, \RectorPrefix20211130\Symplify\EasyParallel\Enum\Content::FILES => $job]); }, // 2. callable on error $handleErrorCallable, // 3. callable on exit function ($exitCode, string $stdErr) use(&$systemErrors, $processIdentifier) : void { $this->processPool->tryQuitProcess($processIdentifier); - if ($exitCode === \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS) { + if ($exitCode === \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS) { return; } if ($exitCode === null) { diff --git a/packages/Parallel/Command/WorkerCommandLineFactory.php b/packages/Parallel/Command/WorkerCommandLineFactory.php index c1929fd252c..ba2a9f97594 100644 --- a/packages/Parallel/Command/WorkerCommandLineFactory.php +++ b/packages/Parallel/Command/WorkerCommandLineFactory.php @@ -6,7 +6,7 @@ namespace Rector\Parallel\Command; use Rector\ChangesReporting\Output\JsonOutputFormatter; use Rector\Core\Configuration\Option; use Rector\Core\Console\Command\ProcessCommand; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; /** * @see \Rector\Tests\Parallel\Command\WorkerCommandLineFactoryTest */ @@ -24,7 +24,7 @@ final class WorkerCommandLineFactory { $this->processCommand = $processCommand; } - public function create(string $mainScript, string $originalCommandName, string $workerCommandName, ?string $projectConfigFile, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string + public function create(string $mainScript, string $originalCommandName, string $workerCommandName, ?string $projectConfigFile, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string { $commandArguments = \array_slice($_SERVER['argv'], 1); $args = \array_merge([\PHP_BINARY, $mainScript], $commandArguments); @@ -79,7 +79,7 @@ final class WorkerCommandLineFactory * @param string[] $checkCommandOptionNames * @return string[] */ - private function createProcessCommandOptions(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, array $checkCommandOptionNames) : array + private function createProcessCommandOptions(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, array $checkCommandOptionNames) : array { $processCommandOptions = []; foreach ($checkCommandOptionNames as $checkCommandOptionName) { @@ -103,7 +103,7 @@ final class WorkerCommandLineFactory } return $processCommandOptions; } - private function shouldSkipOption(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool + private function shouldSkipOption(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool { if (!$input->hasOption($optionName)) { return \true; diff --git a/packages/Parallel/WorkerRunner.php b/packages/Parallel/WorkerRunner.php index 3ca5021e706..48ce4ea74c5 100644 --- a/packages/Parallel/WorkerRunner.php +++ b/packages/Parallel/WorkerRunner.php @@ -3,17 +3,17 @@ declare (strict_types=1); namespace Rector\Parallel; -use RectorPrefix20211129\Clue\React\NDJson\Decoder; -use RectorPrefix20211129\Clue\React\NDJson\Encoder; +use RectorPrefix20211130\Clue\React\NDJson\Decoder; +use RectorPrefix20211130\Clue\React\NDJson\Encoder; use Rector\Core\Application\FileProcessor; use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Configuration; use Rector\Core\ValueObject\Error\SystemError; use Rector\Parallel\ValueObject\Bridge; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent; -use RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent; +use RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger; use Symplify\SmartFileSystem\SmartFileInfo; use Throwable; final class WorkerRunner @@ -30,24 +30,24 @@ final class WorkerRunner * @var \Symplify\PackageBuilder\Yaml\ParametersMerger */ private $parametersMerger; - public function __construct(\Rector\Core\Application\FileProcessor $fileProcessor, \RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger) + public function __construct(\Rector\Core\Application\FileProcessor $fileProcessor, \RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger $parametersMerger) { $this->fileProcessor = $fileProcessor; $this->parametersMerger = $parametersMerger; } - public function run(\RectorPrefix20211129\Clue\React\NDJson\Encoder $encoder, \RectorPrefix20211129\Clue\React\NDJson\Decoder $decoder, \Rector\Core\ValueObject\Configuration $configuration) : void + public function run(\RectorPrefix20211130\Clue\React\NDJson\Encoder $encoder, \RectorPrefix20211130\Clue\React\NDJson\Decoder $decoder, \Rector\Core\ValueObject\Configuration $configuration) : void { // 1. handle system error $handleErrorCallback = static function (\Throwable $throwable) use($encoder) : void { $systemErrors = new \Rector\Core\ValueObject\Error\SystemError($throwable->getLine(), $throwable->getMessage(), $throwable->getFile()); - $encoder->write([\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::RESULT, self::RESULT => [\Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS => [$systemErrors], \Rector\Parallel\ValueObject\Bridge::FILES_COUNT => 0, \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS_COUNT => 1]]); + $encoder->write([\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::RESULT, self::RESULT => [\Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS => [$systemErrors], \Rector\Parallel\ValueObject\Bridge::FILES_COUNT => 0, \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS_COUNT => 1]]); $encoder->end(); }; - $encoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); + $encoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); // 2. collect diffs + errors from file processor - $decoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) use($encoder, $configuration) : void { - $action = $json[\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; - if ($action !== \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::MAIN) { + $decoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) use($encoder, $configuration) : void { + $action = $json[\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION]; + if ($action !== \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::MAIN) { return; } $systemErrorsCount = 0; @@ -71,8 +71,8 @@ final class WorkerRunner /** * this invokes all listeners listening $decoder->on(...) @see \Symplify\EasyParallel\Enum\ReactEvent::DATA */ - $encoder->write([\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::RESULT, self::RESULT => [\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS => $errorAndFileDiffs[\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS] ?? [], \Rector\Parallel\ValueObject\Bridge::FILES_COUNT => \count($filePaths), \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS => $systemErrors, \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS_COUNT => $systemErrorsCount]]); + $encoder->write([\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::RESULT, self::RESULT => [\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS => $errorAndFileDiffs[\Rector\Parallel\ValueObject\Bridge::FILE_DIFFS] ?? [], \Rector\Parallel\ValueObject\Bridge::FILES_COUNT => \count($filePaths), \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS => $systemErrors, \Rector\Parallel\ValueObject\Bridge::SYSTEM_ERRORS_COUNT => $systemErrorsCount]]); }); - $decoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); + $decoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::ERROR, $handleErrorCallback); } } diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php index 0d44edb33e6..a85f6fdb3f7 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/ArrayAnnotationToAttributeMapper.php @@ -6,7 +6,7 @@ namespace Rector\PhpAttribute\AnnotationToAttributeMapper; use PhpParser\Node\Expr; use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements AnnotationToAttributeMapperInterface */ diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php index ddc97ddd907..cf842882140 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/CurlyListNodeAnnotationToAttributeMapper.php @@ -7,7 +7,7 @@ use PhpParser\Node\Expr; use Rector\BetterPhpDocParser\ValueObject\PhpDoc\DoctrineAnnotation\CurlyListNode; use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements AnnotationToAttributeMapperInterface */ diff --git a/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php b/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php index f71be7be6c6..b353001aec9 100644 --- a/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php +++ b/packages/PhpAttribute/AnnotationToAttributeMapper/DoctrineAnnotationAnnotationToAttributeMapper.php @@ -13,7 +13,7 @@ use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\Contract\AnnotationToAttributeMapperInterface; use Rector\PhpAttribute\Exception\InvalidNestedAttributeException; use Rector\PhpAttribute\NodeFactory\NamedArgsFactory; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements AnnotationToAttributeMapperInterface */ diff --git a/packages/PhpAttribute/Printer/PhpAttributeGroupFactory.php b/packages/PhpAttribute/Printer/PhpAttributeGroupFactory.php index 936bd87f39a..9e39142ef5d 100644 --- a/packages/PhpAttribute/Printer/PhpAttributeGroupFactory.php +++ b/packages/PhpAttribute/Printer/PhpAttributeGroupFactory.php @@ -15,7 +15,7 @@ use Rector\PhpAttribute\AnnotationToAttributeMapper; use Rector\PhpAttribute\NodeAnalyzer\NamedArgumentsResolver; use Rector\PhpAttribute\NodeFactory\AttributeNameFactory; use Rector\PhpAttribute\NodeFactory\NamedArgsFactory; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\PhpAttribute\Printer\PhpAttributeGroupFactoryTest */ @@ -90,7 +90,7 @@ final class PhpAttributeGroupFactory */ private function completeNamedArguments(array $args, array $argumentNames) : void { - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($args, \PhpParser\Node\Arg::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($args, \PhpParser\Node\Arg::class); foreach ($args as $key => $arg) { $argumentName = $argumentNames[$key] ?? null; if ($argumentName === null) { diff --git a/packages/PostRector/Application/PostFileProcessor.php b/packages/PostRector/Application/PostFileProcessor.php index 83bfdb42fb4..9205fa96292 100644 --- a/packages/PostRector/Application/PostFileProcessor.php +++ b/packages/PostRector/Application/PostFileProcessor.php @@ -10,8 +10,8 @@ use Rector\Core\Logging\CurrentRectorProvider; use Rector\Core\Provider\CurrentFileProvider; use Rector\Core\ValueObject\Application\File; use Rector\PostRector\Contract\Rector\PostRectorInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\Skipper\Skipper\Skipper; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\Skipper\Skipper\Skipper; final class PostFileProcessor { /** @@ -37,7 +37,7 @@ final class PostFileProcessor /** * @param PostRectorInterface[] $postRectors */ - public function __construct(\RectorPrefix20211129\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $postRectors) + public function __construct(\RectorPrefix20211130\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $postRectors) { $this->skipper = $skipper; $this->currentFileProvider = $currentFileProvider; diff --git a/packages/PostRector/Rector/NameImportingPostRector.php b/packages/PostRector/Rector/NameImportingPostRector.php index b477844e4b3..6b94f2f6e8c 100644 --- a/packages/PostRector/Rector/NameImportingPostRector.php +++ b/packages/PostRector/Rector/NameImportingPostRector.php @@ -15,7 +15,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Core\Provider\CurrentFileProvider; use Rector\Core\ValueObject\Application\File; use Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockNameImporter; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; final class NameImportingPostRector extends \Rector\PostRector\Rector\AbstractPostRector @@ -52,7 +52,7 @@ final class NameImportingPostRector extends \Rector\PostRector\Rector\AbstractPo * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\Node\NameImporter $nameImporter, \Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockNameImporter $docBlockNameImporter, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\CodingStyle\Node\NameImporter $nameImporter, \Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockNameImporter $docBlockNameImporter, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->parameterProvider = $parameterProvider; $this->nameImporter = $nameImporter; diff --git a/packages/StaticTypeMapper/Mapper/ScalarStringToTypeMapper.php b/packages/StaticTypeMapper/Mapper/ScalarStringToTypeMapper.php index dc9d6e6dfb2..ced89156c42 100644 --- a/packages/StaticTypeMapper/Mapper/ScalarStringToTypeMapper.php +++ b/packages/StaticTypeMapper/Mapper/ScalarStringToTypeMapper.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\StaticTypeMapper\Mapper; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\Type\ArrayType; use PHPStan\Type\BooleanType; use PHPStan\Type\CallableType; @@ -27,7 +27,7 @@ final class ScalarStringToTypeMapper private const SCALAR_NAME_BY_TYPE = [\PHPStan\Type\StringType::class => ['string'], \PHPStan\Type\FloatType::class => ['float', 'real', 'double'], \PHPStan\Type\IntegerType::class => ['int', 'integer'], \PHPStan\Type\BooleanType::class => ['bool', 'boolean'], \PHPStan\Type\NullType::class => ['null'], \PHPStan\Type\VoidType::class => ['void'], \PHPStan\Type\ResourceType::class => ['resource'], \PHPStan\Type\CallableType::class => ['callback', 'callable'], \PHPStan\Type\ObjectWithoutClassType::class => ['object'], \PHPStan\Type\NeverType::class => ['never']]; public function mapScalarStringToType(string $scalarName) : \PHPStan\Type\Type { - $loweredScalarName = \RectorPrefix20211129\Nette\Utils\Strings::lower($scalarName); + $loweredScalarName = \RectorPrefix20211130\Nette\Utils\Strings::lower($scalarName); if ($loweredScalarName === 'false') { return new \PHPStan\Type\Constant\ConstantBooleanType(\false); } diff --git a/packages/StaticTypeMapper/Naming/NameScopeFactory.php b/packages/StaticTypeMapper/Naming/NameScopeFactory.php index 7f154ca0e04..b8f2270c0e7 100644 --- a/packages/StaticTypeMapper/Naming/NameScopeFactory.php +++ b/packages/StaticTypeMapper/Naming/NameScopeFactory.php @@ -16,7 +16,7 @@ use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @see https://github.com/phpstan/phpstan-src/blob/8376548f76e2c845ae047e3010e873015b796818/src/Analyser/NameScope.php#L32 */ diff --git a/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php b/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php index 34f9b779a03..d956c2ffd57 100644 --- a/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php +++ b/packages/StaticTypeMapper/PhpDocParser/IntersectionTypeMapper.php @@ -11,7 +11,7 @@ use PHPStan\Type\IntersectionType; use PHPStan\Type\Type; use Rector\StaticTypeMapper\Contract\PhpDocParser\PhpDocTypeMapperInterface; use Rector\StaticTypeMapper\PhpDoc\PhpDocTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpDocTypeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php b/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php index e7222d38f34..59ec9c9fd8d 100644 --- a/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php +++ b/packages/StaticTypeMapper/PhpDocParser/UnionTypeMapper.php @@ -11,7 +11,7 @@ use PHPStan\Type\Type; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\StaticTypeMapper\Contract\PhpDocParser\PhpDocTypeMapperInterface; use Rector\StaticTypeMapper\PhpDoc\PhpDocTypeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpDocTypeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php index 5604e840527..d7b255db138 100644 --- a/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php +++ b/packages/StaticTypeMapper/PhpParser/IntersectionTypeNodeMapper.php @@ -8,7 +8,7 @@ use PHPStan\Type\IntersectionType; use PHPStan\Type\Type; use Rector\StaticTypeMapper\Contract\PhpParser\PhpParserNodeMapperInterface; use Rector\StaticTypeMapper\Mapper\PhpParserNodeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php index c5fa4b8e3b4..47b99673f7f 100644 --- a/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php +++ b/packages/StaticTypeMapper/PhpParser/NullableTypeNodeMapper.php @@ -10,7 +10,7 @@ use PHPStan\Type\Type; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\StaticTypeMapper\Contract\PhpParser\PhpParserNodeMapperInterface; use Rector\StaticTypeMapper\Mapper\PhpParserNodeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php b/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php index e3802822a8b..ac2d74bb2b2 100644 --- a/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php +++ b/packages/StaticTypeMapper/PhpParser/UnionTypeNodeMapper.php @@ -9,7 +9,7 @@ use PHPStan\Type\Type; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\StaticTypeMapper\Contract\PhpParser\PhpParserNodeMapperInterface; use Rector\StaticTypeMapper\Mapper\PhpParserNodeMapper; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * @implements PhpParserNodeMapperInterface */ diff --git a/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php b/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php index ec3afad75ef..6bd358e703d 100644 --- a/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php +++ b/packages/StaticTypeMapper/ValueObject/Type/FullyQualifiedObjectType.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\StaticTypeMapper\ValueObject\Type; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Name; use PhpParser\Node\Stmt\Use_; use PhpParser\Node\Stmt\UseUse; @@ -28,7 +28,7 @@ final class FullyQualifiedObjectType extends \PHPStan\Type\ObjectType if (\strpos($className, '\\') === \false) { return $className; } - return (string) \RectorPrefix20211129\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20211130\Nette\Utils\Strings::after($className, '\\', -1); } public function getShortNameNode() : \PhpParser\Node\Name { diff --git a/packages/Testing/PHPUnit/AbstractRectorTestCase.php b/packages/Testing/PHPUnit/AbstractRectorTestCase.php index 1de82f4a31b..fc405b5a570 100644 --- a/packages/Testing/PHPUnit/AbstractRectorTestCase.php +++ b/packages/Testing/PHPUnit/AbstractRectorTestCase.php @@ -6,7 +6,7 @@ namespace Rector\Testing\PHPUnit; use Iterator; use PHPStan\Analyser\NodeScopeResolver; use PHPUnit\Framework\ExpectationFailedException; -use RectorPrefix20211129\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface; use Rector\Core\Application\ApplicationFileProcessor; use Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector; use Rector\Core\Autoloading\AdditionalAutoloader; @@ -18,10 +18,10 @@ use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\Dy use Rector\Testing\Contract\RectorTestInterface; use Rector\Testing\PHPUnit\Behavior\MovingFilesTrait; use Rector\Testing\PHPUnit\Behavior\MultipleFilesChangedTrait; -use RectorPrefix20211129\Symplify\EasyTesting\DataProvider\StaticFixtureFinder; -use RectorPrefix20211129\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater; -use RectorPrefix20211129\Symplify\EasyTesting\StaticFixtureSplitter; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\EasyTesting\DataProvider\StaticFixtureFinder; +use RectorPrefix20211130\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater; +use RectorPrefix20211130\Symplify\EasyTesting\StaticFixtureSplitter; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\SmartFileSystem\SmartFileInfo; abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTestCase implements \Rector\Testing\Contract\RectorTestInterface { @@ -65,7 +65,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe $configFile = $this->provideConfigFilePath(); $this->bootFromConfigFiles([$configFile]); $this->applicationFileProcessor = $this->getService(\Rector\Core\Application\ApplicationFileProcessor::class); - $this->parameterProvider = $this->getService(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider::class); + $this->parameterProvider = $this->getService(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider::class); $this->dynamicSourceLocatorProvider = $this->getService(\Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider::class); $this->removedAndAddedFilesCollector = $this->getService(\Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector::class); $this->removedAndAddedFilesCollector->reset(); @@ -89,7 +89,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe */ protected function yieldFilesFromDirectory($directory, $suffix = '*.php.inc') : \Iterator { - return \RectorPrefix20211129\Symplify\EasyTesting\DataProvider\StaticFixtureFinder::yieldDirectoryExclusively($directory, $suffix); + return \RectorPrefix20211130\Symplify\EasyTesting\DataProvider\StaticFixtureFinder::yieldDirectoryExclusively($directory, $suffix); } protected function isWindows() : bool { @@ -101,7 +101,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe */ protected function doTestFileInfo($fixtureFileInfo, $allowMatches = \true) : void { - $inputFileInfoAndExpectedFileInfo = \RectorPrefix20211129\Symplify\EasyTesting\StaticFixtureSplitter::splitFileInfoToLocalInputAndExpectedFileInfos($fixtureFileInfo); + $inputFileInfoAndExpectedFileInfo = \RectorPrefix20211130\Symplify\EasyTesting\StaticFixtureSplitter::splitFileInfoToLocalInputAndExpectedFileInfos($fixtureFileInfo); $inputFileInfo = $inputFileInfoAndExpectedFileInfo->getInputFileInfo(); $this->originalTempFileInfo = $inputFileInfo; $expectedFileInfo = $inputFileInfoAndExpectedFileInfo->getExpectedFileInfo(); @@ -126,7 +126,7 @@ abstract class AbstractRectorTestCase extends \Rector\Testing\PHPUnit\AbstractTe if (!$allowMatches) { throw $expectationFailedException; } - \RectorPrefix20211129\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater::updateFixtureContent($originalFileInfo, $changedContent, $fixtureFileInfo); + \RectorPrefix20211130\Symplify\EasyTesting\DataProvider\StaticFixtureUpdater::updateFixtureContent($originalFileInfo, $changedContent, $fixtureFileInfo); $contents = $expectedFileInfo->getContents(); // make sure we don't get a diff in which every line is different (because of differences in EOL) $contents = $this->normalizeNewlines($contents); diff --git a/packages/Testing/PHPUnit/AbstractTestCase.php b/packages/Testing/PHPUnit/AbstractTestCase.php index 0aef9cc8e72..af0d6319439 100644 --- a/packages/Testing/PHPUnit/AbstractTestCase.php +++ b/packages/Testing/PHPUnit/AbstractTestCase.php @@ -4,10 +4,10 @@ declare (strict_types=1); namespace Rector\Testing\PHPUnit; use PHPUnit\Framework\TestCase; -use RectorPrefix20211129\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Kernel\RectorKernel; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; abstract class AbstractTestCase extends \PHPUnit\Framework\TestCase { /** @@ -62,8 +62,8 @@ abstract class AbstractTestCase extends \PHPUnit\Framework\TestCase */ private function createConfigsHash(array $configFiles) : string { - \RectorPrefix20211129\Webmozart\Assert\Assert::allFile($configFiles); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($configFiles); + \RectorPrefix20211130\Webmozart\Assert\Assert::allFile($configFiles); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($configFiles); $configHash = ''; foreach ($configFiles as $configFile) { $configHash .= \md5_file($configFile); diff --git a/packages/Testing/PHPUnit/Behavior/MovingFilesTrait.php b/packages/Testing/PHPUnit/Behavior/MovingFilesTrait.php index 404e5b743ae..e16cdfbee90 100644 --- a/packages/Testing/PHPUnit/Behavior/MovingFilesTrait.php +++ b/packages/Testing/PHPUnit/Behavior/MovingFilesTrait.php @@ -7,7 +7,7 @@ use Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector; use Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter; use Rector\FileSystemRector\ValueObject\AddedFileWithContent; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @property-read RemovedAndAddedFilesCollector $removedAndAddedFilesCollector */ @@ -41,12 +41,12 @@ trait MovingFilesTrait */ protected function assertFilesWereAdded($expectedAddedFileWithContents) : void { - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($expectedAddedFileWithContents, \Rector\FileSystemRector\ValueObject\AddedFileWithContent::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($expectedAddedFileWithContents, \Rector\FileSystemRector\ValueObject\AddedFileWithContent::class); \sort($expectedAddedFileWithContents); $addedFilePathsWithContents = $this->resolveAddedFilePathsWithContents(); \sort($addedFilePathsWithContents); // there should be at least some added files - \RectorPrefix20211129\Webmozart\Assert\Assert::notEmpty($addedFilePathsWithContents); + \RectorPrefix20211130\Webmozart\Assert\Assert::notEmpty($addedFilePathsWithContents); foreach ($addedFilePathsWithContents as $key => $addedFilePathWithContent) { $expectedFilePathWithContent = $expectedAddedFileWithContents[$key]; /** diff --git a/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php b/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php index b742f325581..f6280b30c4e 100644 --- a/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php +++ b/packages/Testing/PHPUnit/Behavior/MultipleFilesChangedTrait.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Testing\PHPUnit\Behavior; -use RectorPrefix20211129\Nette\Utils\FileSystem; +use RectorPrefix20211130\Nette\Utils\FileSystem; use Rector\Core\Exception\ShouldNotHappenException; use Symplify\SmartFileSystem\SmartFileInfo; trait MultipleFilesChangedTrait @@ -28,12 +28,12 @@ trait MultipleFilesChangedTrait if ($trimmedExpectedContent !== '') { $fixtureContent .= $separator . $expectedContent; } - \RectorPrefix20211129\Nette\Utils\FileSystem::write($fixturePath, $fixtureContent); + \RectorPrefix20211130\Nette\Utils\FileSystem::write($fixturePath, $fixtureContent); $newFileInfo = new \Symplify\SmartFileSystem\SmartFileInfo($fixturePath); $this->doTestFileInfo($newFileInfo, $allowMatches); $this->checkAdditionalChanges($expectedFileChanges); if (\file_exists($fixturePath)) { - \RectorPrefix20211129\Nette\Utils\FileSystem::delete($fixturePath); + \RectorPrefix20211130\Nette\Utils\FileSystem::delete($fixturePath); } } /** @@ -52,7 +52,7 @@ trait MultipleFilesChangedTrait $input = isset($additionalFileChange[1]) ? \trim($additionalFileChange[1]) : null; if ($input) { $this->createFixtureDir($fullPath); - \RectorPrefix20211129\Nette\Utils\FileSystem::write($fullPath, $input); + \RectorPrefix20211130\Nette\Utils\FileSystem::write($fullPath, $input); } $expectedFileChanges[$fullPath] = isset($additionalFileChange[2]) ? \trim($additionalFileChange[2]) : ''; } @@ -77,7 +77,7 @@ trait MultipleFilesChangedTrait $realFileContent = $addedFile ? \trim($addedFile->getFileContent()) : null; $this->assertSame($expectedFileChange, $realFileContent); if (\file_exists($path)) { - \RectorPrefix20211129\Nette\Utils\FileSystem::delete($path); + \RectorPrefix20211130\Nette\Utils\FileSystem::delete($path); } } } diff --git a/packages/Testing/TestingParser/TestingParser.php b/packages/Testing/TestingParser/TestingParser.php index 85cf67aefeb..b0cdf98d868 100644 --- a/packages/Testing/TestingParser/TestingParser.php +++ b/packages/Testing/TestingParser/TestingParser.php @@ -8,7 +8,7 @@ use Rector\Core\Configuration\Option; use Rector\Core\PhpParser\Parser\RectorParser; use Rector\Core\ValueObject\Application\File; use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\SmartFileSystem\SmartFileInfo; /** * @api @@ -27,7 +27,7 @@ final class TestingParser * @var \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator */ private $nodeScopeAndMetadataDecorator; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator) { $this->parameterProvider = $parameterProvider; $this->rectorParser = $rectorParser; diff --git a/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php b/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php index 3ef9bb31067..26f2369f057 100644 --- a/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php +++ b/packages/VendorLocker/NodeVendorLocker/ClassMethodParamVendorLockResolver.php @@ -9,7 +9,7 @@ use PHPStan\Reflection\ClassReflection; use Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class ClassMethodParamVendorLockResolver { /** @@ -24,7 +24,7 @@ final class ClassMethodParamVendorLockResolver * @var \Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer */ private $familyRelationsAnalyzer; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer $familyRelationsAnalyzer) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\FamilyTree\Reflection\FamilyRelationsAnalyzer $familyRelationsAnalyzer) { $this->nodeNameResolver = $nodeNameResolver; $this->pathNormalizer = $pathNormalizer; diff --git a/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php b/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php index 34c5ec81c36..aea211109cb 100644 --- a/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php +++ b/packages/VendorLocker/ParentClassMethodTypeOverrideGuard.php @@ -12,7 +12,7 @@ use Rector\Core\PhpParser\AstResolver; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\TypeDeclaration\TypeInferer\ParamTypeInferer; -use RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class ParentClassMethodTypeOverrideGuard { /** @@ -31,7 +31,7 @@ final class ParentClassMethodTypeOverrideGuard * @var \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer */ private $paramTypeInferer; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer, \Rector\Core\PhpParser\AstResolver $astResolver, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer) { $this->nodeNameResolver = $nodeNameResolver; $this->pathNormalizer = $pathNormalizer; diff --git a/packages/VersionBonding/Application/MissedRectorDueVersionChecker.php b/packages/VersionBonding/Application/MissedRectorDueVersionChecker.php index f5747d45d60..72837c429dd 100644 --- a/packages/VersionBonding/Application/MissedRectorDueVersionChecker.php +++ b/packages/VersionBonding/Application/MissedRectorDueVersionChecker.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\VersionBonding\Application; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\Php\PhpVersion; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\Php\PhpVersionProvider; use Rector\VersionBonding\Contract\MinPhpVersionInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; final class MissedRectorDueVersionChecker { /** @@ -19,7 +19,7 @@ final class MissedRectorDueVersionChecker * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->phpVersionProvider = $phpVersionProvider; $this->symfonyStyle = $symfonyStyle; @@ -68,7 +68,7 @@ final class MissedRectorDueVersionChecker } foreach ($minPhpVersions as $minPhpVersion) { $phpVersion = new \PHPStan\Php\PhpVersion($minPhpVersion->provideMinPhpVersion()); - $shortRectorClass = \RectorPrefix20211129\Nette\Utils\Strings::after(\get_class($minPhpVersion), '\\', -1); + $shortRectorClass = \RectorPrefix20211130\Nette\Utils\Strings::after(\get_class($minPhpVersion), '\\', -1); $rectorMessage = \sprintf(' * [%s] %s', $phpVersion->getVersionString(), $shortRectorClass); $this->symfonyStyle->writeln($rectorMessage); } diff --git a/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php b/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php index 8575925b1c7..a2ac7157e53 100644 --- a/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php +++ b/rules/Arguments/Rector/ClassMethod/ArgumentAdderRector.php @@ -25,7 +25,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\ClassMethod\ArgumentAdderRector\ArgumentAdderRectorTest */ @@ -118,7 +118,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $addedArguments = $configuration[self::ADDED_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($addedArguments, \Rector\Arguments\ValueObject\ArgumentAdder::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($addedArguments, \Rector\Arguments\ValueObject\ArgumentAdder::class); $this->addedArguments = $addedArguments; } /** diff --git a/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php b/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php index 7806ad05971..0d78168e3ef 100644 --- a/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php +++ b/rules/Arguments/Rector/ClassMethod/ReplaceArgumentDefaultValueRector.php @@ -13,7 +13,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\ClassMethod\ReplaceArgumentDefaultValueRector\ReplaceArgumentDefaultValueRectorTest */ @@ -77,7 +77,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $replacedArguments = $configuration[self::REPLACED_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($replacedArguments, \Rector\Arguments\ValueObject\ReplaceArgumentDefaultValue::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($replacedArguments, \Rector\Arguments\ValueObject\ReplaceArgumentDefaultValue::class); $this->replacedArguments = $replacedArguments; } } diff --git a/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php b/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php index 217820bc678..30889bdaf96 100644 --- a/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php +++ b/rules/Arguments/Rector/FuncCall/FunctionArgumentDefaultValueReplacerRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://php.watch/versions/8.1/version_compare-operator-restrictions * @changelog https://github.com/rectorphp/rector/issues/6271 @@ -72,7 +72,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $replacedArguments = $configuration[self::REPLACED_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($replacedArguments, \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($replacedArguments, \Rector\Arguments\ValueObject\ReplaceFuncCallArgumentDefaultValue::class); $this->replacedArguments = $replacedArguments; } } diff --git a/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php b/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php index 1cb77b110b6..b3c297d18ef 100644 --- a/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php +++ b/rules/Arguments/Rector/FuncCall/SwapFuncCallArgumentsRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Arguments\Rector\FuncCall\SwapFuncCallArgumentsRector\SwapFuncCallArgumentsRectorTest */ @@ -89,7 +89,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $functionArgumentSwaps = $configuration[self::FUNCTION_ARGUMENT_SWAPS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($functionArgumentSwaps, \Rector\Arguments\ValueObject\SwapFuncCallArguments::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($functionArgumentSwaps, \Rector\Arguments\ValueObject\SwapFuncCallArguments::class); $this->functionArgumentSwaps = $functionArgumentSwaps; } /** diff --git a/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php b/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php index 9a1fcc2acfd..d551b36eaa7 100644 --- a/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php +++ b/rules/Autodiscovery/Rector/Class_/MoveServicesBySuffixToDirectoryRector.php @@ -15,7 +15,7 @@ use Rector\FileSystemRector\ValueObjectFactory\AddedFileWithNodesFactory; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * Inspiration @see https://github.com/rectorphp/rector/pull/1865/files#diff-0d18e660cdb626958662641b491623f8 * @@ -87,8 +87,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $groupNamesBySuffix = $configuration[self::GROUP_NAMES_BY_SUFFIX] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($groupNamesBySuffix); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($groupNamesBySuffix); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($groupNamesBySuffix); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($groupNamesBySuffix); $this->groupNamesBySuffix = $groupNamesBySuffix; } /** diff --git a/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php b/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php index 6787a64e31f..61909baba80 100644 --- a/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php +++ b/rules/Autodiscovery/Rector/Class_/MoveValueObjectsToValueObjectDirectoryRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Autodiscovery\Rector\Class_; -use RectorPrefix20211129\Controller; +use RectorPrefix20211130\Controller; use PhpParser\Node; use PhpParser\Node\Stmt\Class_; use PHPStan\Type\ObjectType; @@ -14,7 +14,7 @@ use Rector\FileSystemRector\ValueObject\AddedFileWithNodes; use Rector\FileSystemRector\ValueObjectFactory\AddedFileWithNodesFactory; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * Inspiration @see https://github.com/rectorphp/rector/pull/1865/files#diff-0d18e660cdb626958662641b491623f8 * @wip @@ -133,15 +133,15 @@ CODE_SAMPLE public function configure(array $configuration) : void { $types = $configuration[self::TYPES] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($types); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($types); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($types); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($types); $this->types = $types; $suffixes = $configuration[self::SUFFIXES] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($suffixes); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($suffixes); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($suffixes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($suffixes); $this->suffixes = $suffixes; $enableValueObjectGuessing = $configuration[self::ENABLE_VALUE_OBJECT_GUESSING] ?? \false; - \RectorPrefix20211129\Webmozart\Assert\Assert::boolean($enableValueObjectGuessing); + \RectorPrefix20211130\Webmozart\Assert\Assert::boolean($enableValueObjectGuessing); $this->enableValueObjectGuessing = $enableValueObjectGuessing; } private function isValueObjectMatch(\PhpParser\Node\Stmt\Class_ $class) : bool diff --git a/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php b/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php index 31b7c333d0f..3544239d915 100644 --- a/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php +++ b/rules/CodeQuality/NodeAnalyzer/ForeachAnalyzer.php @@ -14,7 +14,7 @@ use PhpParser\Node\Stmt\Foreach_; use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ForeachAnalyzer { /** @@ -37,7 +37,7 @@ final class ForeachAnalyzer * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\CodeQuality\NodeAnalyzer\ForAnalyzer $forAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\CodeQuality\NodeAnalyzer\ForAnalyzer $forAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->nodeComparator = $nodeComparator; $this->forAnalyzer = $forAnalyzer; diff --git a/rules/CodeQuality/NodeAnalyzer/LocalPropertyAnalyzer.php b/rules/CodeQuality/NodeAnalyzer/LocalPropertyAnalyzer.php index 35acd8e6152..72616b4e2c1 100644 --- a/rules/CodeQuality/NodeAnalyzer/LocalPropertyAnalyzer.php +++ b/rules/CodeQuality/NodeAnalyzer/LocalPropertyAnalyzer.php @@ -25,7 +25,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class LocalPropertyAnalyzer { /** @@ -64,7 +64,7 @@ final class LocalPropertyAnalyzer * @var \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory */ private $typeFactory; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\CodeQuality\TypeResolver\ArrayDimFetchTypeResolver $arrayDimFetchTypeResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\CodeQuality\TypeResolver\ArrayDimFetchTypeResolver $arrayDimFetchTypeResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->classAnalyzer = $classAnalyzer; diff --git a/rules/CodeQuality/NodeManipulator/ClassMethodParameterTypeManipulator.php b/rules/CodeQuality/NodeManipulator/ClassMethodParameterTypeManipulator.php index d5d0cb024a5..bd79646269c 100644 --- a/rules/CodeQuality/NodeManipulator/ClassMethodParameterTypeManipulator.php +++ b/rules/CodeQuality/NodeManipulator/ClassMethodParameterTypeManipulator.php @@ -25,7 +25,7 @@ use Rector\Core\NodeAnalyzer\ParamAnalyzer; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ClassMethodParameterTypeManipulator { /** @@ -52,7 +52,7 @@ final class ClassMethodParameterTypeManipulator * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\ParamAnalyzer $paramAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\NodeAnalyzer\ParamAnalyzer $paramAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->phpDocInfoFactory = $phpDocInfoFactory; $this->phpDocTypeChanger = $phpDocTypeChanger; diff --git a/rules/CodeQuality/Rector/Concat/JoinStringConcatRector.php b/rules/CodeQuality/Rector/Concat/JoinStringConcatRector.php index 3e866c14def..fe3d4db888f 100644 --- a/rules/CodeQuality/Rector/Concat/JoinStringConcatRector.php +++ b/rules/CodeQuality/Rector/Concat/JoinStringConcatRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\Concat; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Scalar\String_; @@ -105,7 +105,7 @@ CODE_SAMPLE return $node; } $resultString = new \PhpParser\Node\Scalar\String_($leftValue . $rightValue); - if (\RectorPrefix20211129\Nette\Utils\Strings::length($resultString->value) >= self::LINE_BREAK_POINT) { + if (\RectorPrefix20211130\Nette\Utils\Strings::length($resultString->value) >= self::LINE_BREAK_POINT) { $this->nodeReplacementIsRestricted = \true; return $node; } diff --git a/rules/CodeQuality/Rector/For_/ForToForeachRector.php b/rules/CodeQuality/Rector/For_/ForToForeachRector.php index 9edfc6b63e6..86683107902 100644 --- a/rules/CodeQuality/Rector/For_/ForToForeachRector.php +++ b/rules/CodeQuality/Rector/For_/ForToForeachRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\For_; -use RectorPrefix20211129\Doctrine\Inflector\Inflector; +use RectorPrefix20211130\Doctrine\Inflector\Inflector; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -60,7 +60,7 @@ final class ForToForeachRector extends \Rector\Core\Rector\AbstractRector * @var \Rector\CodeQuality\NodeAnalyzer\ForeachAnalyzer */ private $foreachAnalyzer; - public function __construct(\RectorPrefix20211129\Doctrine\Inflector\Inflector $inflector, \Rector\CodeQuality\NodeAnalyzer\ForAnalyzer $forAnalyzer, \Rector\CodeQuality\NodeFactory\ForeachFactory $foreachFactory, \Rector\CodeQuality\NodeAnalyzer\ForeachAnalyzer $foreachAnalyzer) + public function __construct(\RectorPrefix20211130\Doctrine\Inflector\Inflector $inflector, \Rector\CodeQuality\NodeAnalyzer\ForAnalyzer $forAnalyzer, \Rector\CodeQuality\NodeFactory\ForeachFactory $foreachFactory, \Rector\CodeQuality\NodeAnalyzer\ForeachAnalyzer $foreachAnalyzer) { $this->inflector = $inflector; $this->forAnalyzer = $forAnalyzer; diff --git a/rules/CodeQuality/Rector/FuncCall/AddPregQuoteDelimiterRector.php b/rules/CodeQuality/Rector/FuncCall/AddPregQuoteDelimiterRector.php index 4ed9434dc0a..f26956a2b16 100644 --- a/rules/CodeQuality/Rector/FuncCall/AddPregQuoteDelimiterRector.php +++ b/rules/CodeQuality/Rector/FuncCall/AddPregQuoteDelimiterRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\FuncCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\BinaryOp\Concat; @@ -76,11 +76,11 @@ CODE_SAMPLE if (!$leftMostConcatNode instanceof \PhpParser\Node\Scalar\String_) { return null; } - $possibleLeftDelimiter = \RectorPrefix20211129\Nette\Utils\Strings::substring($leftMostConcatNode->value, 0, 1); + $possibleLeftDelimiter = \RectorPrefix20211130\Nette\Utils\Strings::substring($leftMostConcatNode->value, 0, 1); if (!$rightMostConcatNode instanceof \PhpParser\Node\Scalar\String_) { return null; } - $possibleRightDelimiter = \RectorPrefix20211129\Nette\Utils\Strings::substring(\rtrim($rightMostConcatNode->value, self::ALL_MODIFIERS), -1, 1); + $possibleRightDelimiter = \RectorPrefix20211130\Nette\Utils\Strings::substring(\rtrim($rightMostConcatNode->value, self::ALL_MODIFIERS), -1, 1); if ($possibleLeftDelimiter === $possibleRightDelimiter) { return $possibleLeftDelimiter; } diff --git a/rules/CodeQuality/Rector/FuncCall/SimplifyRegexPatternRector.php b/rules/CodeQuality/Rector/FuncCall/SimplifyRegexPatternRector.php index 0ba43517402..ea42add4c95 100644 --- a/rules/CodeQuality/Rector/FuncCall/SimplifyRegexPatternRector.php +++ b/rules/CodeQuality/Rector/FuncCall/SimplifyRegexPatternRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\FuncCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\StaticCall; @@ -70,7 +70,7 @@ CODE_SAMPLE } foreach ($patterns as $pattern) { foreach (self::COMPLEX_PATTERN_TO_SIMPLE as $complexPattern => $simple) { - $pattern->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($pattern->value, '#' . \preg_quote($complexPattern, '#') . '#', $simple); + $pattern->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($pattern->value, '#' . \preg_quote($complexPattern, '#') . '#', $simple); } } return $node; diff --git a/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php b/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php index 9a194d5cee3..03b90dea5f6 100644 --- a/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php +++ b/rules/CodeQuality/Rector/If_/SimplifyIfElseToTernaryRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\If_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Assign; @@ -143,6 +143,6 @@ CODE_SAMPLE } private function isNodeTooLong(\PhpParser\Node\Expr\Assign $assign) : bool { - return \RectorPrefix20211129\Nette\Utils\Strings::length($this->print($assign)) > self::LINE_LENGTH_LIMIT; + return \RectorPrefix20211130\Nette\Utils\Strings::length($this->print($assign)) > self::LINE_LENGTH_LIMIT; } } diff --git a/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php b/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php index 5008a1b783c..93a43aa52c7 100644 --- a/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php +++ b/rules/CodeQuality/Rector/Include_/AbsolutizeRequireAndIncludePathRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodeQuality\Rector\Include_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\Include_; @@ -72,7 +72,7 @@ CODE_SAMPLE } // add preslash to string if (\strncmp($includeValue, './', \strlen('./')) === 0) { - $node->expr->value = \RectorPrefix20211129\Nette\Utils\Strings::substring($includeValue, 1); + $node->expr->value = \RectorPrefix20211130\Nette\Utils\Strings::substring($includeValue, 1); } else { $node->expr->value = '/' . $includeValue; } diff --git a/rules/CodingStyle/Application/UseImportsAdder.php b/rules/CodingStyle/Application/UseImportsAdder.php index b0779455ca5..df9e19f5cfd 100644 --- a/rules/CodingStyle/Application/UseImportsAdder.php +++ b/rules/CodingStyle/Application/UseImportsAdder.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Application; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\Declare_; use PhpParser\Node\Stmt\Namespace_; @@ -133,7 +133,7 @@ final class UseImportsAdder } private function isCurrentNamespace(string $namespaceName, \PHPStan\Type\ObjectType $objectType) : bool { - $afterCurrentNamespace = \RectorPrefix20211129\Nette\Utils\Strings::after($objectType->getClassName(), $namespaceName . '\\'); + $afterCurrentNamespace = \RectorPrefix20211130\Nette\Utils\Strings::after($objectType->getClassName(), $namespaceName . '\\'); if ($afterCurrentNamespace === null) { return \false; } diff --git a/rules/CodingStyle/ClassNameImport/ShortNameResolver.php b/rules/CodingStyle/ClassNameImport/ShortNameResolver.php index e830f1e3774..3cee9d2b85a 100644 --- a/rules/CodingStyle/ClassNameImport/ShortNameResolver.php +++ b/rules/CodingStyle/ClassNameImport/ShortNameResolver.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\ClassNameImport; -use RectorPrefix20211129\Nette\Utils\Reflection; +use RectorPrefix20211130\Nette\Utils\Reflection; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Name; @@ -22,9 +22,9 @@ use Rector\Core\ValueObject\Application\File; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use ReflectionClass; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; /** * @see \Rector\Tests\CodingStyle\ClassNameImport\ShortNameResolver\ShortNameResolverTest */ @@ -63,7 +63,7 @@ final class ShortNameResolver * @var \Rector\CodingStyle\NodeAnalyzer\UseImportNameMatcher */ private $useImportNameMatcher; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\CodingStyle\NodeAnalyzer\UseImportNameMatcher $useImportNameMatcher) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\CodingStyle\NodeAnalyzer\UseImportNameMatcher $useImportNameMatcher) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; @@ -159,7 +159,7 @@ final class ShortNameResolver if (!$phpDocInfo instanceof \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo) { return; } - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function ($node) use(&$shortNames) { if ($node instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode) { $shortName = \trim($node->name, '@'); @@ -203,7 +203,7 @@ final class ShortNameResolver foreach ($shortNames as $shortName) { $stmtsMatchedName = $this->useImportNameMatcher->matchNameWithStmts($shortName, $stmts); if ($reflectionClass instanceof \ReflectionClass) { - $fullyQualifiedName = \RectorPrefix20211129\Nette\Utils\Reflection::expandClassName($shortName, $reflectionClass); + $fullyQualifiedName = \RectorPrefix20211130\Nette\Utils\Reflection::expandClassName($shortName, $reflectionClass); } elseif (\is_string($stmtsMatchedName)) { $fullyQualifiedName = $stmtsMatchedName; } else { diff --git a/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php b/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php index c56f4ea4f0c..4e590f3a2df 100644 --- a/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php +++ b/rules/CodingStyle/ClassNameImport/UseImportsTraverser.php @@ -8,7 +8,7 @@ use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\GroupUse; use PhpParser\Node\Stmt\Use_; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class UseImportsTraverser { /** @@ -19,7 +19,7 @@ final class UseImportsTraverser * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/CodingStyle/Enum/PreferenceSelfThis.php b/rules/CodingStyle/Enum/PreferenceSelfThis.php index 27db267a4cf..22ed1572b4c 100644 --- a/rules/CodingStyle/Enum/PreferenceSelfThis.php +++ b/rules/CodingStyle/Enum/PreferenceSelfThis.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\CodingStyle\Enum; -use RectorPrefix20211129\MyCLabs\Enum\Enum; +use RectorPrefix20211130\MyCLabs\Enum\Enum; /** * @method static PreferenceSelfThis PREFER_THIS() * @method static PreferenceSelfThis PREFER_SELF() */ -final class PreferenceSelfThis extends \RectorPrefix20211129\MyCLabs\Enum\Enum +final class PreferenceSelfThis extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @api diff --git a/rules/CodingStyle/Naming/ClassNaming.php b/rules/CodingStyle/Naming/ClassNaming.php index d625d2ad65a..64e71de750d 100644 --- a/rules/CodingStyle/Naming/ClassNaming.php +++ b/rules/CodingStyle/Naming/ClassNaming.php @@ -3,13 +3,13 @@ declare (strict_types=1); namespace Rector\CodingStyle\Naming; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Identifier; use PhpParser\Node\Name; use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\Stmt\Function_; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; use Symplify\SmartFileSystem\SmartFileInfo; final class ClassNaming { @@ -41,7 +41,7 @@ final class ClassNaming $name = $name->toString(); } $name = \trim($name, '\\'); - $shortName = \RectorPrefix20211129\Nette\Utils\Strings::after($name, '\\', -1); + $shortName = \RectorPrefix20211130\Nette\Utils\Strings::after($name, '\\', -1); if (\is_string($shortName)) { return $shortName; } @@ -50,16 +50,16 @@ final class ClassNaming public function getNamespace(string $fullyQualifiedName) : ?string { $fullyQualifiedName = \trim($fullyQualifiedName, '\\'); - return \RectorPrefix20211129\Nette\Utils\Strings::before($fullyQualifiedName, '\\', -1); + return \RectorPrefix20211130\Nette\Utils\Strings::before($fullyQualifiedName, '\\', -1); } public function getNameFromFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : string { $basenameWithoutSuffix = $smartFileInfo->getBasenameWithoutSuffix(); // remove PHPUnit fixture file prefix if (\Rector\Testing\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { - $basenameWithoutSuffix = \RectorPrefix20211129\Nette\Utils\Strings::replace($basenameWithoutSuffix, self::INPUT_HASH_NAMING_REGEX, ''); + $basenameWithoutSuffix = \RectorPrefix20211130\Nette\Utils\Strings::replace($basenameWithoutSuffix, self::INPUT_HASH_NAMING_REGEX, ''); } - $stringy = new \RectorPrefix20211129\Stringy\Stringy($basenameWithoutSuffix); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($basenameWithoutSuffix); return (string) $stringy->upperCamelize(); } /** @@ -68,7 +68,7 @@ final class ClassNaming public function createMethodNameFromFunction(\PhpParser\Node\Stmt\Function_ $function) : string { $functionName = (string) $function->name; - $stringy = new \RectorPrefix20211129\Stringy\Stringy($functionName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($functionName); return (string) $stringy->camelize(); } public function replaceSuffix(string $content, string $oldSuffix, string $newSuffix) : string @@ -76,7 +76,7 @@ final class ClassNaming if (\substr_compare($content, $oldSuffix, -\strlen($oldSuffix)) !== 0) { return $content . $newSuffix; } - $contentWithoutOldSuffix = \RectorPrefix20211129\Nette\Utils\Strings::substring($content, 0, -\RectorPrefix20211129\Nette\Utils\Strings::length($oldSuffix)); + $contentWithoutOldSuffix = \RectorPrefix20211130\Nette\Utils\Strings::substring($content, 0, -\RectorPrefix20211130\Nette\Utils\Strings::length($oldSuffix)); return $contentWithoutOldSuffix . $newSuffix; } } diff --git a/rules/CodingStyle/Node/ConcatManipulator.php b/rules/CodingStyle/Node/ConcatManipulator.php index ca727b2c539..66cedaa780e 100644 --- a/rules/CodingStyle/Node/ConcatManipulator.php +++ b/rules/CodingStyle/Node/ConcatManipulator.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Concat; use Rector\Core\PhpParser\Comparing\NodeComparator; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ConcatManipulator { /** @@ -18,7 +18,7 @@ final class ConcatManipulator * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeComparator = $nodeComparator; diff --git a/rules/CodingStyle/Node/NameImporter.php b/rules/CodingStyle/Node/NameImporter.php index ea7a51c72ce..1fdc9766253 100644 --- a/rules/CodingStyle/Node/NameImporter.php +++ b/rules/CodingStyle/Node/NameImporter.php @@ -19,7 +19,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PostRector\Collector\UseNodesToAddCollector; use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class NameImporter { /** @@ -50,7 +50,7 @@ final class NameImporter * @var \PHPStan\Reflection\ReflectionProvider */ private $reflectionProvider; - public function __construct(\Rector\CodingStyle\ClassNameImport\AliasUsesResolver $aliasUsesResolver, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) + public function __construct(\Rector\CodingStyle\ClassNameImport\AliasUsesResolver $aliasUsesResolver, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\PostRector\Collector\UseNodesToAddCollector $useNodesToAddCollector, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) { $this->aliasUsesResolver = $aliasUsesResolver; $this->classNameImportSkipper = $classNameImportSkipper; diff --git a/rules/CodingStyle/NodeAnalyzer/UseImportNameMatcher.php b/rules/CodingStyle/NodeAnalyzer/UseImportNameMatcher.php index da2ef0380c4..e60c2701e3e 100644 --- a/rules/CodingStyle/NodeAnalyzer/UseImportNameMatcher.php +++ b/rules/CodingStyle/NodeAnalyzer/UseImportNameMatcher.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\NodeAnalyzer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\Use_; use PhpParser\Node\Stmt\UseUse; @@ -62,7 +62,7 @@ final class UseImportNameMatcher if ($useUse->alias === null) { return $useUse->name->toString(); } - $unaliasedShortClass = \RectorPrefix20211129\Nette\Utils\Strings::substring($tag, \RectorPrefix20211129\Nette\Utils\Strings::length($useUse->alias->toString())); + $unaliasedShortClass = \RectorPrefix20211130\Nette\Utils\Strings::substring($tag, \RectorPrefix20211130\Nette\Utils\Strings::length($useUse->alias->toString())); if (\strncmp($unaliasedShortClass, '\\', \strlen('\\')) === 0) { return $useUse->name . $unaliasedShortClass; } diff --git a/rules/CodingStyle/NodeFactory/JsonArrayFactory.php b/rules/CodingStyle/NodeFactory/JsonArrayFactory.php index 5b19c4f6c93..3d920c618db 100644 --- a/rules/CodingStyle/NodeFactory/JsonArrayFactory.php +++ b/rules/CodingStyle/NodeFactory/JsonArrayFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\NodeFactory; -use RectorPrefix20211129\Nette\Utils\Json; +use RectorPrefix20211130\Nette\Utils\Json; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -14,7 +14,7 @@ use PhpParser\Node\Scalar\String_; use Rector\CodingStyle\NodeAnalyzer\ImplodeAnalyzer; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\PhpParser\Node\NodeFactory; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class JsonArrayFactory { /** @@ -29,7 +29,7 @@ final class JsonArrayFactory * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\CodingStyle\NodeAnalyzer\ImplodeAnalyzer $implodeAnalyzer, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\CodingStyle\NodeAnalyzer\ImplodeAnalyzer $implodeAnalyzer, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->nodeFactory = $nodeFactory; $this->implodeAnalyzer = $implodeAnalyzer; @@ -37,7 +37,7 @@ final class JsonArrayFactory } public function createFromJsonString(string $stringValue) : \PhpParser\Node\Expr\Array_ { - $array = \RectorPrefix20211129\Nette\Utils\Json::decode($stringValue, \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + $array = \RectorPrefix20211130\Nette\Utils\Json::decode($stringValue, \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); return $this->nodeFactory->createArray($array); } /** diff --git a/rules/CodingStyle/Rector/Assign/ManualJsonStringToJsonEncodeArrayRector.php b/rules/CodingStyle/Rector/Assign/ManualJsonStringToJsonEncodeArrayRector.php index 453f2a6b045..cd96651a08a 100644 --- a/rules/CodingStyle/Rector/Assign/ManualJsonStringToJsonEncodeArrayRector.php +++ b/rules/CodingStyle/Rector/Assign/ManualJsonStringToJsonEncodeArrayRector.php @@ -3,9 +3,9 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\Assign; -use RectorPrefix20211129\Nette\Utils\Json; -use RectorPrefix20211129\Nette\Utils\JsonException; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Json; +use RectorPrefix20211130\Nette\Utils\JsonException; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Array_; @@ -153,8 +153,8 @@ CODE_SAMPLE return \false; } try { - return (bool) \RectorPrefix20211129\Nette\Utils\Json::decode($stringValue, \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); - } catch (\RectorPrefix20211129\Nette\Utils\JsonException $exception) { + return (bool) \RectorPrefix20211130\Nette\Utils\Json::decode($stringValue, \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); + } catch (\RectorPrefix20211130\Nette\Utils\JsonException $exception) { return \false; } } @@ -194,7 +194,7 @@ CODE_SAMPLE */ private function removeNodesAndCreateJsonEncodeFromStringValue(array $nodesToRemove, string $stringValue, array $placeholderNodes, \PhpParser\Node\Expr\Assign $assign) : ?\PhpParser\Node\Expr\Assign { - $stringValue = \RectorPrefix20211129\Nette\Utils\Strings::replace($stringValue, self::UNQUOTED_OBJECT_HASH_REGEX, '$1"$2"'); + $stringValue = \RectorPrefix20211130\Nette\Utils\Strings::replace($stringValue, self::UNQUOTED_OBJECT_HASH_REGEX, '$1"$2"'); if (!$this->isJsonString($stringValue)) { return null; } diff --git a/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php b/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php index 78fb0c8c08d..33e2507e524 100644 --- a/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php +++ b/rules/CodingStyle/Rector/Assign/PHPStormVarAnnotationRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\Assign; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Comment\Doc; use PhpParser\Node; use PhpParser\Node\Expr\Assign; @@ -124,11 +124,11 @@ CODE_SAMPLE // normalize content // starts with "/*", instead of "/**" if (\strncmp($docContent, '/* ', \strlen('/* ')) === 0) { - $docContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($docContent, self::SINGLE_ASTERISK_COMMENT_START_REGEX, '/** '); + $docContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($docContent, self::SINGLE_ASTERISK_COMMENT_START_REGEX, '/** '); } // $value is first, instead of type is first if (\Rector\Core\Util\StringUtils::isMatch($docContent, self::VAR_ANNOTATION_REGEX)) { - $docContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($docContent, self::VARIABLE_NAME_AND_TYPE_MATCH_REGEX, '$3$2$1'); + $docContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($docContent, self::VARIABLE_NAME_AND_TYPE_MATCH_REGEX, '$3$2$1'); } return new \PhpParser\Comment\Doc($docContent); } diff --git a/rules/CodingStyle/Rector/Catch_/CatchExceptionNameMatchingTypeRector.php b/rules/CodingStyle/Rector/Catch_/CatchExceptionNameMatchingTypeRector.php index 269ba016bf7..2ee89d771d3 100644 --- a/rules/CodingStyle/Rector/Catch_/CatchExceptionNameMatchingTypeRector.php +++ b/rules/CodingStyle/Rector/Catch_/CatchExceptionNameMatchingTypeRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\Catch_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\Variable; @@ -78,7 +78,7 @@ CODE_SAMPLE } $type = $node->types[0]; $typeShortName = $this->nodeNameResolver->getShortName($type); - $newVariableName = \RectorPrefix20211129\Nette\Utils\Strings::replace(\lcfirst($typeShortName), self::STARTS_WITH_ABBREVIATION_REGEX, function (array $matches) : string { + $newVariableName = \RectorPrefix20211130\Nette\Utils\Strings::replace(\lcfirst($typeShortName), self::STARTS_WITH_ABBREVIATION_REGEX, function (array $matches) : string { $output = ''; $output .= isset($matches[1]) ? \strtolower($matches[1]) : ''; $output .= $matches[2] ?? ''; diff --git a/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php b/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php index d729ae178ac..c66a423b89e 100644 --- a/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php +++ b/rules/CodingStyle/Rector/ClassMethod/OrderAttributesRector.php @@ -16,7 +16,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\CodingStyle\Rector\ClassMethod\OrderAttributesRector\OrderAttributesRectorTest */ @@ -82,8 +82,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $attributesOrder = $configuration[self::ATTRIBUTES_ORDER] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($attributesOrder); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($attributesOrder); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($attributesOrder); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($attributesOrder); $this->attributesOrderByName = \array_flip($attributesOrder); } private function resolveAttributeGroupPosition(\PhpParser\Node\AttributeGroup $attributeGroup) : int diff --git a/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php b/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php index 1916b1c194e..acbb381ba37 100644 --- a/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php +++ b/rules/CodingStyle/Rector/ClassMethod/RemoveDoubleUnderscoreInMethodNameRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\ClassMethod; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Expr\StaticCall; @@ -68,7 +68,7 @@ CODE_SAMPLE if (!\Rector\Core\Util\StringUtils::isMatch($methodName, self::DOUBLE_UNDERSCORE_START_REGEX)) { return null; } - $newName = \RectorPrefix20211129\Nette\Utils\Strings::substring($methodName, 2); + $newName = \RectorPrefix20211130\Nette\Utils\Strings::substring($methodName, 2); if (\is_numeric($newName[0])) { return null; } diff --git a/rules/CodingStyle/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector.php b/rules/CodingStyle/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector.php index 256b5601fba..19e73e3e821 100644 --- a/rules/CodingStyle/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector.php +++ b/rules/CodingStyle/Rector/ClassMethod/ReturnArrayClassMethodToYieldRector.php @@ -18,7 +18,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://medium.com/tech-tajawal/use-memory-gently-with-yield-in-php-7e62e2480b8d * @see https://3v4l.org/5PJid @@ -113,7 +113,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodsToYields = $configuration[self::METHODS_TO_YIELDS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodsToYields, \Rector\CodingStyle\ValueObject\ReturnArrayClassMethodToYield::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodsToYields, \Rector\CodingStyle\ValueObject\ReturnArrayClassMethodToYield::class); $this->methodsToYields = $methodsToYields; } private function collectReturnArrayNodesFromClassMethod(\PhpParser\Node\Stmt\ClassMethod $classMethod) : ?\PhpParser\Node\Expr\Array_ diff --git a/rules/CodingStyle/Rector/Encapsed/EncapsedStringsToSprintfRector.php b/rules/CodingStyle/Rector/Encapsed/EncapsedStringsToSprintfRector.php index 127d843fe20..50da250c6f1 100644 --- a/rules/CodingStyle/Rector/Encapsed/EncapsedStringsToSprintfRector.php +++ b/rules/CodingStyle/Rector/Encapsed/EncapsedStringsToSprintfRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\Encapsed; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use const PHP_EOL; use PhpParser\Node; use PhpParser\Node\Arg; @@ -91,7 +91,7 @@ CODE_SAMPLE $this->sprintfFormat .= '%s'; return; } - $this->sprintfFormat .= \RectorPrefix20211129\Nette\Utils\Strings::replace($stringValue, '#%#', '%%'); + $this->sprintfFormat .= \RectorPrefix20211130\Nette\Utils\Strings::replace($stringValue, '#%#', '%%'); } private function collectExpr(\PhpParser\Node\Expr $expr) : void { diff --git a/rules/CodingStyle/Rector/FuncCall/ConsistentPregDelimiterRector.php b/rules/CodingStyle/Rector/FuncCall/ConsistentPregDelimiterRector.php index 2b88b1c7b52..3be43765c51 100644 --- a/rules/CodingStyle/Rector/FuncCall/ConsistentPregDelimiterRector.php +++ b/rules/CodingStyle/Rector/FuncCall/ConsistentPregDelimiterRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\FuncCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\FuncCall; @@ -133,7 +133,7 @@ CODE_SAMPLE } /** @var String_ $string */ $string = $arg->value; - $string->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($string->value, self::INNER_REGEX, function (array $match) use(&$string) : string { + $string->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($string->value, self::INNER_REGEX, function (array $match) use(&$string) : string { $printedString = $this->betterStandardPrinter->print($string); if (\Rector\Core\Util\StringUtils::isMatch($printedString, self::DOUBLE_QUOTED_REGEX)) { $string->setAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::IS_REGULAR_PATTERN, \true); diff --git a/rules/CodingStyle/Rector/Include_/FollowRequireByDirRector.php b/rules/CodingStyle/Rector/Include_/FollowRequireByDirRector.php index ac59c7cdd57..ec3eb61fdb8 100644 --- a/rules/CodingStyle/Rector/Include_/FollowRequireByDirRector.php +++ b/rules/CodingStyle/Rector/Include_/FollowRequireByDirRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\Include_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\Include_; @@ -80,7 +80,7 @@ CODE_SAMPLE if (\strncmp($string->value, './', \strlen('./')) !== 0) { return; } - $string->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($string->value, '#^\\.\\/#', '/'); + $string->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($string->value, '#^\\.\\/#', '/'); } private function prependSlashIfMissing(\PhpParser\Node\Scalar\String_ $string) : void { diff --git a/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php b/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php index 8e4db548502..53d3539907b 100644 --- a/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php +++ b/rules/CodingStyle/Rector/MethodCall/PreferThisOrSelfMethodCallRector.php @@ -15,7 +15,7 @@ use Rector\Core\PhpParser\AstResolver; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\CodingStyle\Rector\MethodCall\PreferThisOrSelfMethodCallRector\PreferThisOrSelfMethodCallRectorTest */ @@ -90,7 +90,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typeToPreference = $configuration[self::TYPE_TO_PREFERENCE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($typeToPreference, \Rector\CodingStyle\Enum\PreferenceSelfThis::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($typeToPreference, \Rector\CodingStyle\Enum\PreferenceSelfThis::class); $this->typeToPreference = $typeToPreference; } /** diff --git a/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php b/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php index 73af0d91fce..6ab8d3f88fc 100644 --- a/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php +++ b/rules/CodingStyle/Rector/String_/UseClassKeywordForClassNameResolutionRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\CodingStyle\Rector\String_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Name\FullyQualified; @@ -69,7 +69,7 @@ CODE_SAMPLE public function getExistingClasses(\PhpParser\Node\Scalar\String_ $string) : array { /** @var mixed[] $matches */ - $matches = \RectorPrefix20211129\Nette\Utils\Strings::matchAll($string->value, self::CLASS_BEFORE_STATIC_ACCESS_REGEX, \PREG_PATTERN_ORDER); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::matchAll($string->value, self::CLASS_BEFORE_STATIC_ACCESS_REGEX, \PREG_PATTERN_ORDER); if (!isset($matches['class_name'])) { return []; } @@ -90,7 +90,7 @@ CODE_SAMPLE { $quotedClassNames = \array_map('preg_quote', $classNames); // @see https://regex101.com/r/8nGS0F/1 - $parts = \RectorPrefix20211129\Nette\Utils\Strings::split($string->value, '#(' . \implode('|', $quotedClassNames) . ')#'); + $parts = \RectorPrefix20211130\Nette\Utils\Strings::split($string->value, '#(' . \implode('|', $quotedClassNames) . ')#'); return \array_filter($parts, function (string $className) : bool { return $className !== ''; }); diff --git a/rules/CodingStyle/Reflection/VendorLocationDetector.php b/rules/CodingStyle/Reflection/VendorLocationDetector.php index 84ff1da24e7..5ef0c7175b9 100644 --- a/rules/CodingStyle/Reflection/VendorLocationDetector.php +++ b/rules/CodingStyle/Reflection/VendorLocationDetector.php @@ -4,14 +4,14 @@ declare (strict_types=1); namespace Rector\CodingStyle\Reflection; use PHPStan\Reflection\MethodReflection; -use RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer; +use RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer; final class VendorLocationDetector { /** * @var \Symplify\SmartFileSystem\Normalizer\PathNormalizer */ private $pathNormalizer; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer $pathNormalizer) { $this->pathNormalizer = $pathNormalizer; } diff --git a/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php b/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php index e90feeaf8cd..5b7a8224523 100644 --- a/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php +++ b/rules/Composer/Application/FileProcessor/ComposerFileProcessor.php @@ -8,8 +8,8 @@ use Rector\Core\Contract\Processor\FileProcessorInterface; use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Configuration; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ComposerJsonFactory; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ComposerJsonFactory; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter; use Symplify\SmartFileSystem\SmartFileInfo; final class ComposerFileProcessor implements \Rector\Core\Contract\Processor\FileProcessorInterface { @@ -28,7 +28,7 @@ final class ComposerFileProcessor implements \Rector\Core\Contract\Processor\Fil /** * @param ComposerRectorInterface[] $composerRectors */ - public function __construct(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter $composerJsonPrinter, array $composerRectors) + public function __construct(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\Printer\ComposerJsonPrinter $composerJsonPrinter, array $composerRectors) { $this->composerJsonFactory = $composerJsonFactory; $this->composerJsonPrinter = $composerJsonPrinter; diff --git a/rules/Composer/Guard/VersionGuard.php b/rules/Composer/Guard/VersionGuard.php index 7743536c7a7..cdb0da1ce62 100644 --- a/rules/Composer/Guard/VersionGuard.php +++ b/rules/Composer/Guard/VersionGuard.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Composer\Guard; -use RectorPrefix20211129\Composer\Semver\VersionParser; +use RectorPrefix20211130\Composer\Semver\VersionParser; use Rector\Composer\Contract\VersionAwareInterface; final class VersionGuard { @@ -11,7 +11,7 @@ final class VersionGuard * @var \Composer\Semver\VersionParser */ private $versionParser; - public function __construct(\RectorPrefix20211129\Composer\Semver\VersionParser $versionParser) + public function __construct(\RectorPrefix20211130\Composer\Semver\VersionParser $versionParser) { $this->versionParser = $versionParser; } diff --git a/rules/Composer/Rector/AddPackageToRequireComposerRector.php b/rules/Composer/Rector/AddPackageToRequireComposerRector.php index 0b78105e028..970d679f951 100644 --- a/rules/Composer/Rector/AddPackageToRequireComposerRector.php +++ b/rules/Composer/Rector/AddPackageToRequireComposerRector.php @@ -6,10 +6,10 @@ namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; use Rector\Composer\Guard\VersionGuard; use Rector\Composer\ValueObject\PackageAndVersion; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\AddPackageToRequireComposerRector\AddPackageToRequireComposerRectorTest */ @@ -31,7 +31,7 @@ final class AddPackageToRequireComposerRector implements \Rector\Composer\Contra { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packagesAndVersions as $packageAndVersion) { $composerJson->addRequiredPackage($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -58,7 +58,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $packagesAndVersions = $configuration[self::PACKAGES_AND_VERSIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($packagesAndVersions); $this->packagesAndVersions = $packagesAndVersions; } diff --git a/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php b/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php index 2062e7ad283..8665f355aca 100644 --- a/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php +++ b/rules/Composer/Rector/AddPackageToRequireDevComposerRector.php @@ -6,10 +6,10 @@ namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; use Rector\Composer\Guard\VersionGuard; use Rector\Composer\ValueObject\PackageAndVersion; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\AddPackageToRequireDevComposerRector\AddPackageToRequireDevComposerRectorTest */ @@ -31,7 +31,7 @@ final class AddPackageToRequireDevComposerRector implements \Rector\Composer\Con { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packageAndVersions as $packageAndVersion) { $composerJson->addRequiredDevPackage($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -58,7 +58,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $packagesAndVersions = $configuration[self::PACKAGES_AND_VERSIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($packagesAndVersions); $this->packageAndVersions = $packagesAndVersions; } diff --git a/rules/Composer/Rector/ChangePackageVersionComposerRector.php b/rules/Composer/Rector/ChangePackageVersionComposerRector.php index ec37e6e0fd5..2323d60b7a0 100644 --- a/rules/Composer/Rector/ChangePackageVersionComposerRector.php +++ b/rules/Composer/Rector/ChangePackageVersionComposerRector.php @@ -6,10 +6,10 @@ namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; use Rector\Composer\Guard\VersionGuard; use Rector\Composer\ValueObject\PackageAndVersion; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\ChangePackageVersionComposerRector\ChangePackageVersionComposerRectorTest */ @@ -31,7 +31,7 @@ final class ChangePackageVersionComposerRector implements \Rector\Composer\Contr { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packagesAndVersions as $packageAndVersion) { $composerJson->changePackageVersion($packageAndVersion->getPackageName(), $packageAndVersion->getVersion()); @@ -61,7 +61,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $packagesAndVersions = $configuration[self::PACKAGES_AND_VERSIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($packagesAndVersions, \Rector\Composer\ValueObject\PackageAndVersion::class); $this->versionGuard->validate($packagesAndVersions); $this->packagesAndVersions = $packagesAndVersions; } diff --git a/rules/Composer/Rector/RemovePackageComposerRector.php b/rules/Composer/Rector/RemovePackageComposerRector.php index 43fe639fec8..b1747c794df 100644 --- a/rules/Composer/Rector/RemovePackageComposerRector.php +++ b/rules/Composer/Rector/RemovePackageComposerRector.php @@ -4,10 +4,10 @@ declare (strict_types=1); namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\RemovePackageComposerRector\RemovePackageComposerRectorTest */ @@ -21,7 +21,7 @@ final class RemovePackageComposerRector implements \Rector\Composer\Contract\Rec * @var string[] */ private $packageNames = []; - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->packageNames as $packageName) { $composerJson->removePackage($packageName); @@ -48,8 +48,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $packagesNames = $configuration[self::PACKAGE_NAMES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($packagesNames); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($packagesNames); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($packagesNames); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($packagesNames); $this->packageNames = $packagesNames; } } diff --git a/rules/Composer/Rector/RenamePackageComposerRector.php b/rules/Composer/Rector/RenamePackageComposerRector.php index a4a11157d38..bab9156ead7 100644 --- a/rules/Composer/Rector/RenamePackageComposerRector.php +++ b/rules/Composer/Rector/RenamePackageComposerRector.php @@ -5,10 +5,10 @@ namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; use Rector\Composer\ValueObject\RenamePackage; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\RenamePackageComposerRector\RenamePackageComposerRectorTest */ @@ -22,7 +22,7 @@ final class RenamePackageComposerRector implements \Rector\Composer\Contract\Rec * @var RenamePackage[] */ private $renamePackages = []; - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->renamePackages as $renamePackage) { if ($composerJson->hasRequiredPackage($renamePackage->getOldPackageName())) { @@ -59,7 +59,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $renamePackages = $configuration[self::RENAME_PACKAGES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($renamePackages, \Rector\Composer\ValueObject\RenamePackage::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($renamePackages, \Rector\Composer\ValueObject\RenamePackage::class); $this->renamePackages = $renamePackages; } } diff --git a/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php b/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php index e2c634ff36c..efb78d4563e 100644 --- a/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php +++ b/rules/Composer/Rector/ReplacePackageAndVersionComposerRector.php @@ -6,10 +6,10 @@ namespace Rector\Composer\Rector; use Rector\Composer\Contract\Rector\ComposerRectorInterface; use Rector\Composer\Guard\VersionGuard; use Rector\Composer\ValueObject\ReplacePackageAndVersion; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Composer\Rector\ReplacePackageAndVersionComposerRector\ReplacePackageAndVersionComposerRectorTest */ @@ -31,7 +31,7 @@ final class ReplacePackageAndVersionComposerRector implements \Rector\Composer\C { $this->versionGuard = $versionGuard; } - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { foreach ($this->replacePackagesAndVersions as $replacePackageAndVersion) { $composerJson->replacePackage($replacePackageAndVersion->getOldPackageName(), $replacePackageAndVersion->getNewPackageName(), $replacePackageAndVersion->getVersion()); @@ -61,7 +61,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $replacePackagesAndVersions = $configuration[self::REPLACE_PACKAGES_AND_VERSIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($replacePackagesAndVersions, \Rector\Composer\ValueObject\ReplacePackageAndVersion::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($replacePackagesAndVersions, \Rector\Composer\ValueObject\ReplacePackageAndVersion::class); $this->versionGuard->validate($replacePackagesAndVersions); $this->replacePackagesAndVersions = $replacePackagesAndVersions; } diff --git a/rules/Composer/ValueObject/ReplacePackageAndVersion.php b/rules/Composer/ValueObject/ReplacePackageAndVersion.php index 63774bea234..6b097b44ddf 100644 --- a/rules/Composer/ValueObject/ReplacePackageAndVersion.php +++ b/rules/Composer/ValueObject/ReplacePackageAndVersion.php @@ -5,7 +5,7 @@ namespace Rector\Composer\ValueObject; use Rector\Composer\Contract\VersionAwareInterface; use Rector\Composer\Rector\ChangePackageVersionComposerRector; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; final class ReplacePackageAndVersion implements \Rector\Composer\Contract\VersionAwareInterface { /** @@ -23,7 +23,7 @@ final class ReplacePackageAndVersion implements \Rector\Composer\Contract\Versio public function __construct(string $oldPackageName, string $newPackageName, string $version) { $this->version = $version; - \RectorPrefix20211129\Webmozart\Assert\Assert::notSame($oldPackageName, $newPackageName, 'Old and new package have to be different. If you want to only change package version, use ' . \Rector\Composer\Rector\ChangePackageVersionComposerRector::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::notSame($oldPackageName, $newPackageName, 'Old and new package have to be different. If you want to only change package version, use ' . \Rector\Composer\Rector\ChangePackageVersionComposerRector::class); $this->oldPackageName = $oldPackageName; $this->newPackageName = $newPackageName; } diff --git a/rules/DeadCode/NodeCollector/ModifiedVariableNamesCollector.php b/rules/DeadCode/NodeCollector/ModifiedVariableNamesCollector.php index a9fd1ec50f7..53fe739d7c9 100644 --- a/rules/DeadCode/NodeCollector/ModifiedVariableNamesCollector.php +++ b/rules/DeadCode/NodeCollector/ModifiedVariableNamesCollector.php @@ -11,7 +11,7 @@ use PhpParser\Node\Expr\Variable; use PhpParser\Node\Stmt; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ModifiedVariableNamesCollector { /** @@ -22,7 +22,7 @@ final class ModifiedVariableNamesCollector * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/DeadCode/NodeFinder/NextVariableUsageNodeFinder.php b/rules/DeadCode/NodeFinder/NextVariableUsageNodeFinder.php index 3b18bc72141..08d80add3d9 100644 --- a/rules/DeadCode/NodeFinder/NextVariableUsageNodeFinder.php +++ b/rules/DeadCode/NodeFinder/NextVariableUsageNodeFinder.php @@ -12,7 +12,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeNestingScope\ParentScopeFinder; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class NextVariableUsageNodeFinder { /** @@ -35,7 +35,7 @@ final class NextVariableUsageNodeFinder * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeNestingScope\ParentScopeFinder $parentScopeFinder, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeNestingScope\ParentScopeFinder $parentScopeFinder, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->betterNodeFinder = $betterNodeFinder; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php b/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php index 19e1eb6cefa..c94ef8fc661 100644 --- a/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php +++ b/rules/DeadCode/NodeManipulator/VariadicFunctionLikeDetector.php @@ -8,7 +8,7 @@ use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\FunctionLike; use PhpParser\NodeTraverser; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariadicFunctionLikeDetector { /** @@ -23,7 +23,7 @@ final class VariadicFunctionLikeDetector * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/DeadCode/PhpDoc/TagRemover/ParamTagRemover.php b/rules/DeadCode/PhpDoc/TagRemover/ParamTagRemover.php index eb7b7752a8d..e522608235d 100644 --- a/rules/DeadCode/PhpDoc/TagRemover/ParamTagRemover.php +++ b/rules/DeadCode/PhpDoc/TagRemover/ParamTagRemover.php @@ -9,7 +9,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\ParamTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo; use Rector\DeadCode\PhpDoc\DeadParamTagValueNodeAnalyzer; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class ParamTagRemover { /** @@ -22,7 +22,7 @@ final class ParamTagRemover } public function removeParamTagsIfUseless(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo, \PhpParser\Node\FunctionLike $functionLike) : void { - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function (\PHPStan\PhpDocParser\Ast\Node $docNode) use($functionLike, $phpDocInfo) : ?int { if (!$docNode instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode) { return null; @@ -38,7 +38,7 @@ final class ParamTagRemover return null; } $phpDocInfo->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); } } diff --git a/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php b/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php index b2696125410..0265c8a59e6 100644 --- a/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php +++ b/rules/DeadCode/Rector/ClassLike/RemoveAnnotationRector.php @@ -15,7 +15,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\DeadCode\Rector\ClassLike\RemoveAnnotationRector\RemoveAnnotationRectorTest */ @@ -89,8 +89,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $annotationsToRemove = $configuration[self::ANNOTATIONS_TO_REMOVE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($annotationsToRemove); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($annotationsToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($annotationsToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($annotationsToRemove); $this->annotationsToRemove = $annotationsToRemove; } } diff --git a/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php b/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php index 99f86f43187..60f7b560cda 100644 --- a/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php +++ b/rules/DeadCode/Rector/Node/RemoveNonExistingVarAnnotationRector.php @@ -22,7 +22,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\VarTagValueNode; use Rector\Comments\CommentRemover; use Rector\Core\Rector\AbstractRector; use Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -48,7 +48,7 @@ final class RemoveNonExistingVarAnnotationRector extends \Rector\Core\Rector\Abs * @var \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer */ private $exprUsedInNodeAnalyzer; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Comments\CommentRemover $commentRemover, \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer $exprUsedInNodeAnalyzer) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Comments\CommentRemover $commentRemover, \Rector\DeadCode\NodeAnalyzer\ExprUsedInNodeAnalyzer $exprUsedInNodeAnalyzer) { $this->typeChecker = $typeChecker; $this->commentRemover = $commentRemover; diff --git a/rules/DeadCode/SideEffect/SideEffectNodeDetector.php b/rules/DeadCode/SideEffect/SideEffectNodeDetector.php index ae7745ae098..9090cc710a2 100644 --- a/rules/DeadCode/SideEffect/SideEffectNodeDetector.php +++ b/rules/DeadCode/SideEffect/SideEffectNodeDetector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\DeadCode\SideEffect; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ArrayDimFetch; @@ -95,7 +95,7 @@ final class SideEffectNodeDetector return \false; } $className = $new->class->toString(); - $namespace = \RectorPrefix20211129\Nette\Utils\Strings::before($className, '\\', 1); + $namespace = \RectorPrefix20211130\Nette\Utils\Strings::before($className, '\\', 1); return $namespace === 'PhpParser'; } private function isClassCallerThrowable(\PhpParser\Node\Expr\StaticCall $staticCall) : bool diff --git a/rules/DependencyInjection/Rector/ClassMethod/AddMethodParentCallRector.php b/rules/DependencyInjection/Rector/ClassMethod/AddMethodParentCallRector.php index 4a764ab46cf..cc8d4f7adcb 100644 --- a/rules/DependencyInjection/Rector/ClassMethod/AddMethodParentCallRector.php +++ b/rules/DependencyInjection/Rector/ClassMethod/AddMethodParentCallRector.php @@ -15,7 +15,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\MethodName; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\DependencyInjection\Rector\ClassMethod\AddMethodParentCallRector\AddMethodParentCallRectorTest */ @@ -92,8 +92,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodsByParentTypes = $configuration[self::METHODS_BY_PARENT_TYPES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($methodsByParentTypes)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($methodsByParentTypes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($methodsByParentTypes)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($methodsByParentTypes); /** @var array $methodsByParentTypes */ $this->methodByParentTypes = $methodsByParentTypes; } diff --git a/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php b/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php index 7a78122a1c0..3e41683244b 100644 --- a/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php +++ b/rules/DowngradePhp55/Rector/Isset_/DowngradeArbitraryExpressionArgsToEmptyAndIssetRector.php @@ -17,7 +17,7 @@ use PhpParser\Node\Expr\Variable; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/empty_isset_exprs * @@ -107,7 +107,7 @@ CODE_SAMPLE } $currentExpr->vars[] = $var; } - \RectorPrefix20211129\Webmozart\Assert\Assert::minCount($exprs, 1); + \RectorPrefix20211130\Webmozart\Assert\Assert::minCount($exprs, 1); return $this->joinWithBooleanAnd($exprs); } /** diff --git a/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php b/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php index 4c9d858d3cc..810bc4c298f 100644 --- a/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php +++ b/rules/DowngradePhp56/Rector/CallLike/DowngradeArgumentUnpackingRector.php @@ -21,7 +21,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\DowngradePhp56\NodeManipulator\ArgManipulator; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/argument_unpacking * @@ -144,7 +144,7 @@ CODE_SAMPLE { if ($this->argManipulator->canBeInlined($args)) { $unpackedArgs = $this->argManipulator->unpack($args); - \RectorPrefix20211129\Webmozart\Assert\Assert::minCount($unpackedArgs, 1); + \RectorPrefix20211130\Webmozart\Assert\Assert::minCount($unpackedArgs, 1); /** @var Array_ $array */ $array = $unpackedArgs[0]->value; $arrayItems = \array_filter($array->items); diff --git a/rules/DowngradePhp70/Rector/String_/DowngradeGeneratedScalarTypesRector.php b/rules/DowngradePhp70/Rector/String_/DowngradeGeneratedScalarTypesRector.php index e8b3f00fd70..4edebc38d98 100644 --- a/rules/DowngradePhp70/Rector/String_/DowngradeGeneratedScalarTypesRector.php +++ b/rules/DowngradePhp70/Rector/String_/DowngradeGeneratedScalarTypesRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\DowngradePhp70\Rector\String_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Error; use PhpParser\Node; use PhpParser\Node\Scalar\String_; diff --git a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php index 650eee0a736..810f36d0478 100644 --- a/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php +++ b/rules/DowngradePhp72/Rector/ClassMethod/DowngradeParameterTypeWideningRector.php @@ -19,7 +19,7 @@ use Rector\DowngradePhp72\PhpDoc\NativeParamToPhpDocDecorator; use Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://www.php.net/manual/en/migration72.new-features.php#migration72.new-features.param-type-widening * @see https://3v4l.org/fOgSE @@ -142,14 +142,14 @@ CODE_SAMPLE public function configure(array $configuration) : void { $safeTypes = $configuration[self::SAFE_TYPES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($safeTypes); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($safeTypes); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($safeTypes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($safeTypes); $this->safeTypes = $safeTypes; $safeTypesToMethods = $configuration[self::SAFE_TYPES_TO_METHODS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($safeTypesToMethods); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($safeTypesToMethods); foreach ($safeTypesToMethods as $key => $value) { - \RectorPrefix20211129\Webmozart\Assert\Assert::string($key); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($value); + \RectorPrefix20211130\Webmozart\Assert\Assert::string($key); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($value); } $this->safeTypesToMethods = $safeTypesToMethods; } diff --git a/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php b/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php index cebab1dd5db..4b1bb2e9665 100644 --- a/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php +++ b/rules/DowngradePhp72/Rector/FuncCall/DowngradePregUnmatchedAsNullConstantRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\DowngradePhp72\Rector\FuncCall; -use RectorPrefix20211129\Nette\NotImplementedException; +use RectorPrefix20211130\Nette\NotImplementedException; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -223,7 +223,7 @@ CODE_SAMPLE return $this->processInIf($parent, $funcCall, $replaceEmptystringToNull); } if (!$parent instanceof \PhpParser\Node) { - throw new \RectorPrefix20211129\Nette\NotImplementedException(); + throw new \RectorPrefix20211130\Nette\NotImplementedException(); } $if = $parent->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::PARENT_NODE); if ($parent instanceof \PhpParser\Node\Expr\BooleanNot) { diff --git a/rules/DowngradePhp74/Rector/ClassMethod/DowngradeCovariantReturnTypeRector.php b/rules/DowngradePhp74/Rector/ClassMethod/DowngradeCovariantReturnTypeRector.php index a410359e4ae..0b0554befe3 100644 --- a/rules/DowngradePhp74/Rector/ClassMethod/DowngradeCovariantReturnTypeRector.php +++ b/rules/DowngradePhp74/Rector/ClassMethod/DowngradeCovariantReturnTypeRector.php @@ -23,7 +23,7 @@ use Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\ValueObject\Type\ParentStaticType; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -49,7 +49,7 @@ final class DowngradeCovariantReturnTypeRector extends \Rector\Core\Rector\Abstr * @var \Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover */ private $returnTagRemover; - public function __construct(\Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller, \Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover $returnTagRemover) + public function __construct(\Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocTypeChanger $phpDocTypeChanger, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller, \Rector\DeadCode\PhpDoc\TagRemover\ReturnTagRemover $returnTagRemover) { $this->phpDocTypeChanger = $phpDocTypeChanger; $this->privatesCaller = $privatesCaller; diff --git a/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php b/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php index 28effe8dfac..aabbbd9c123 100644 --- a/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php +++ b/rules/DowngradePhp80/Rector/Class_/DowngradeAttributeToAnnotationRector.php @@ -19,7 +19,7 @@ use Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation; use Rector\PhpAttribute\Printer\DoctrineAnnotationFactory; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://php.watch/articles/php-attributes#syntax * @@ -109,7 +109,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $attributesToAnnotations = $configuration[self::ATTRIBUTE_TO_ANNOTATION] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($attributesToAnnotations, \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($attributesToAnnotations, \Rector\DowngradePhp80\ValueObject\DowngradeAttributeToAnnotation::class); $this->attributesToAnnotations = $attributesToAnnotations; } /** diff --git a/rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php b/rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php new file mode 100644 index 00000000000..6635a9ee74d --- /dev/null +++ b/rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php @@ -0,0 +1,130 @@ +currentFileProvider = $currentFileProvider; + $this->variableNaming = $variableNaming; + } + public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition + { + return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Replace arbitrary expressions used with new or instanceof.', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(<<<'CODE_SAMPLE' +function getObjectClassName() { + return stdClass::class; +} + +$object = new (getObjectClassName()); +CODE_SAMPLE +, <<<'CODE_SAMPLE' +function getObjectClassName() { + return stdClass::class; +} + +$className = getObjectClassName(); +$object = new $className(); +CODE_SAMPLE +)]); + } + /** + * @return array> + */ + public function getNodeTypes() : array + { + return [\PhpParser\Node\Expr\Instanceof_::class, \PhpParser\Node\Expr\New_::class]; + } + /** + * @param Instanceof_|New_ $node + */ + public function refactor(\PhpParser\Node $node) : ?\PhpParser\Node + { + if (!$node->class instanceof \PhpParser\Node\Expr) { + return null; + } + $isAllowed = $this->isAllowed($node->class); + $toSkip = $isAllowed && $this->isBetweenParentheses($node) !== \false; + if ($toSkip) { + return null; + } + // mandatory to remove parentheses + $node->setAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::ORIGINAL_NODE, null); + if ($isAllowed) { + return $node; + } + if ($this->isAssign($node->class)) { + /** @var Assign|AssignRef|AssignOp $assign */ + $assign = $node->class; + $variable = $assign->var; + } else { + $currentStmt = $node->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::CURRENT_STATEMENT); + $scope = $currentStmt->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::SCOPE); + $variable = new \PhpParser\Node\Expr\Variable($this->variableNaming->createCountedValueName('className', $scope)); + $assign = new \PhpParser\Node\Expr\Assign($variable, $node->class); + } + $this->nodesToAddCollector->addNodeBeforeNode($assign, $node); + $node->class = $variable; + return $node; + } + private function isAllowed(\PhpParser\Node\Expr $expr) : bool + { + return $expr instanceof \PhpParser\Node\Expr\Variable || $expr instanceof \PhpParser\Node\Expr\ArrayDimFetch || $expr instanceof \PhpParser\Node\Expr\PropertyFetch || $expr instanceof \PhpParser\Node\Expr\StaticPropertyFetch; + } + private function isAssign(\PhpParser\Node\Expr $expr) : bool + { + return $expr instanceof \PhpParser\Node\Expr\Assign || $expr instanceof \PhpParser\Node\Expr\AssignRef || $expr instanceof \PhpParser\Node\Expr\AssignOp; + } + private function isBetweenParentheses(\PhpParser\Node $node) : ?bool + { + $file = $this->currentFileProvider->getFile(); + if (!$file instanceof \Rector\Core\ValueObject\Application\File) { + return null; + } + $oldTokens = $file->getOldTokens(); + $previousTokenPos = $node->getStartTokenPos() - 1; + while ($previousTokenPos >= 0) { + $token = $oldTokens[$previousTokenPos] ?? null; + --$previousTokenPos; + if (!isset($token[0])) { + return $token === '('; + } + if (!\in_array($token[0], [\T_COMMENT, \T_WHITESPACE], \true)) { + return $token === '('; + } + } + return \false; + } +} diff --git a/rules/Generics/Rector/ClassMethod/GenericClassMethodParamRector.php b/rules/Generics/Rector/ClassMethod/GenericClassMethodParamRector.php index a83d672912d..8e3e4cc06b3 100644 --- a/rules/Generics/Rector/ClassMethod/GenericClassMethodParamRector.php +++ b/rules/Generics/Rector/ClassMethod/GenericClassMethodParamRector.php @@ -20,7 +20,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Privatization\NodeManipulator\VisibilityManipulator; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Generics\Rector\ClassMethod\GenericClassMethodParamRector\GenericClassMethodParamRectorTest */ @@ -117,7 +117,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $makeClassMethodGenerics = $configuration[self::GENERIC_CLASS_METHOD_PARAMS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($makeClassMethodGenerics, \Rector\Generics\ValueObject\GenericClassMethodParam::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($makeClassMethodGenerics, \Rector\Generics\ValueObject\GenericClassMethodParam::class); $this->genericClassMethodParams = $makeClassMethodGenerics; } private function refactorParam(\PhpParser\Node\Stmt\ClassMethod $classMethod, \Rector\Generics\ValueObject\GenericClassMethodParam $genericClassMethodParam) : void diff --git a/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php b/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php index f4ab26a06fa..8470ff78688 100644 --- a/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php +++ b/rules/Naming/ExpectedNameResolver/InflectorSingularResolver.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Naming\ExpectedNameResolver; -use RectorPrefix20211129\Doctrine\Inflector\Inflector; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Doctrine\Inflector\Inflector; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\Util\StringUtils; /** * @see \Rector\Core\Tests\Naming\ExpectedNameResolver\InflectorSingularResolverTest @@ -37,15 +37,15 @@ final class InflectorSingularResolver * @var \Doctrine\Inflector\Inflector */ private $inflector; - public function __construct(\RectorPrefix20211129\Doctrine\Inflector\Inflector $inflector) + public function __construct(\RectorPrefix20211130\Doctrine\Inflector\Inflector $inflector) { $this->inflector = $inflector; } public function resolve(string $currentName) : string { - $matchBy = \RectorPrefix20211129\Nette\Utils\Strings::match($currentName, self::BY_MIDDLE_REGEX); + $matchBy = \RectorPrefix20211130\Nette\Utils\Strings::match($currentName, self::BY_MIDDLE_REGEX); if ($matchBy !== null) { - return \RectorPrefix20211129\Nette\Utils\Strings::substring($currentName, 0, -\strlen($matchBy['by'])); + return \RectorPrefix20211130\Nette\Utils\Strings::substring($currentName, 0, -\strlen($matchBy['by'])); } $resolvedValue = $this->resolveSingularizeMap($currentName); if ($resolvedValue !== null) { @@ -78,11 +78,11 @@ final class InflectorSingularResolver return $singular; } if (\Rector\Core\Util\StringUtils::isMatch($currentName, '#' . \ucfirst($plural) . '#')) { - $resolvedValue = \RectorPrefix20211129\Nette\Utils\Strings::replace($currentName, '#' . \ucfirst($plural) . '#', \ucfirst($singular)); + $resolvedValue = \RectorPrefix20211130\Nette\Utils\Strings::replace($currentName, '#' . \ucfirst($plural) . '#', \ucfirst($singular)); return $this->singularizeCamelParts($resolvedValue); } if (\Rector\Core\Util\StringUtils::isMatch($currentName, '#' . $plural . '#')) { - $resolvedValue = \RectorPrefix20211129\Nette\Utils\Strings::replace($currentName, '#' . $plural . '#', $singular); + $resolvedValue = \RectorPrefix20211130\Nette\Utils\Strings::replace($currentName, '#' . $plural . '#', $singular); return $this->singularizeCamelParts($resolvedValue); } } @@ -90,7 +90,7 @@ final class InflectorSingularResolver } private function singularizeCamelParts(string $currentName) : string { - $camelCases = \RectorPrefix20211129\Nette\Utils\Strings::matchAll($currentName, self::CAMELCASE_REGEX); + $camelCases = \RectorPrefix20211130\Nette\Utils\Strings::matchAll($currentName, self::CAMELCASE_REGEX); $resolvedName = ''; foreach ($camelCases as $camelCase) { $value = $this->inflector->singularize($camelCase[self::CAMELCASE]); diff --git a/rules/Naming/Naming/PropertyNaming.php b/rules/Naming/Naming/PropertyNaming.php index 5d3a986c28e..00b8ee5b3f5 100644 --- a/rules/Naming/Naming/PropertyNaming.php +++ b/rules/Naming/Naming/PropertyNaming.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Naming\Naming; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\Reflection\ReflectionProvider; use PHPStan\Type\Generic\GenericObjectType; use PHPStan\Type\ObjectType; @@ -68,7 +68,7 @@ final class PropertyNaming } public function getExpectedNameFromMethodName(string $methodName) : ?\Rector\Naming\ValueObject\ExpectedName { - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($methodName, self::GET_PREFIX_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($methodName, self::GET_PREFIX_REGEX); if ($matches === null) { return null; } @@ -104,7 +104,7 @@ final class PropertyNaming $shortClassName = \strtolower($shortClassName); } // remove "_" - $shortClassName = \RectorPrefix20211129\Nette\Utils\Strings::replace($shortClassName, '#_#', ''); + $shortClassName = \RectorPrefix20211130\Nette\Utils\Strings::replace($shortClassName, '#_#', ''); $shortClassName = $this->normalizeUpperCase($shortClassName); // prolong too short generic names with one namespace up $originalName = $this->prolongIfTooShort($shortClassName, $className); @@ -133,7 +133,7 @@ final class PropertyNaming private function resolveShortClassName(string $className) : string { if (\strpos($className, '\\') !== \false) { - return (string) \RectorPrefix20211129\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20211130\Nette\Utils\Strings::after($className, '\\', -1); } return $className; } @@ -141,15 +141,15 @@ final class PropertyNaming { // is SomeInterface if (\substr_compare($shortClassName, self::INTERFACE, -\strlen(self::INTERFACE)) === 0) { - $shortClassName = \RectorPrefix20211129\Nette\Utils\Strings::substring($shortClassName, 0, -\strlen(self::INTERFACE)); + $shortClassName = \RectorPrefix20211130\Nette\Utils\Strings::substring($shortClassName, 0, -\strlen(self::INTERFACE)); } // is ISomeClass if ($this->isPrefixedInterface($shortClassName)) { - $shortClassName = \RectorPrefix20211129\Nette\Utils\Strings::substring($shortClassName, 1); + $shortClassName = \RectorPrefix20211130\Nette\Utils\Strings::substring($shortClassName, 1); } // is AbstractClass if (\strncmp($shortClassName, 'Abstract', \strlen('Abstract')) === 0) { - $shortClassName = \RectorPrefix20211129\Nette\Utils\Strings::substring($shortClassName, \strlen('Abstract')); + $shortClassName = \RectorPrefix20211130\Nette\Utils\Strings::substring($shortClassName, \strlen('Abstract')); } return $shortClassName; } @@ -168,8 +168,8 @@ final class PropertyNaming private function prolongIfTooShort(string $shortClassName, string $className) : string { if (\in_array($shortClassName, ['Factory', 'Repository'], \true)) { - $namespaceAbove = (string) \RectorPrefix20211129\Nette\Utils\Strings::after($className, '\\', -2); - $namespaceAbove = (string) \RectorPrefix20211129\Nette\Utils\Strings::before($namespaceAbove, '\\'); + $namespaceAbove = (string) \RectorPrefix20211130\Nette\Utils\Strings::after($className, '\\', -2); + $namespaceAbove = (string) \RectorPrefix20211130\Nette\Utils\Strings::before($namespaceAbove, '\\'); return \lcfirst($namespaceAbove) . $shortClassName; } return \lcfirst($shortClassName); @@ -189,12 +189,12 @@ final class PropertyNaming if (\strpos($fqn, '\\') === \false) { return $fqn; } - $lastNamePart = \RectorPrefix20211129\Nette\Utils\Strings::after($fqn, '\\', -1); + $lastNamePart = \RectorPrefix20211130\Nette\Utils\Strings::after($fqn, '\\', -1); if (!\is_string($lastNamePart)) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } if (\substr_compare($lastNamePart, self::INTERFACE, -\strlen(self::INTERFACE)) === 0) { - return \RectorPrefix20211129\Nette\Utils\Strings::substring($lastNamePart, 0, -\strlen(self::INTERFACE)); + return \RectorPrefix20211130\Nette\Utils\Strings::substring($lastNamePart, 0, -\strlen(self::INTERFACE)); } return $lastNamePart; } @@ -206,10 +206,10 @@ final class PropertyNaming } // starts with "I\W+"? if (\Rector\Core\Util\StringUtils::isMatch($shortName, self::I_PREFIX_REGEX)) { - return \RectorPrefix20211129\Nette\Utils\Strings::substring($shortName, 1); + return \RectorPrefix20211130\Nette\Utils\Strings::substring($shortName, 1); } if (\substr_compare($shortName, self::INTERFACE, -\strlen(self::INTERFACE)) === 0) { - return \RectorPrefix20211129\Nette\Utils\Strings::substring($shortName, -\strlen(self::INTERFACE)); + return \RectorPrefix20211130\Nette\Utils\Strings::substring($shortName, -\strlen(self::INTERFACE)); } return $shortName; } diff --git a/rules/Naming/Naming/VariableNaming.php b/rules/Naming/Naming/VariableNaming.php index 64ebd83e2e8..e1ab24004c5 100644 --- a/rules/Naming/Naming/VariableNaming.php +++ b/rules/Naming/Naming/VariableNaming.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Naming\Naming; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -26,7 +26,7 @@ use Rector\Core\Exception\NotImplementedYetException; use Rector\Core\PhpParser\Node\Value\ValueResolver; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; final class VariableNaming { /** @@ -58,7 +58,7 @@ final class VariableNaming $shortClassName = $this->nodeNameResolver->getShortName($type->getClassName()); $variableName = \lcfirst($shortClassName); } - $stringy = new \RectorPrefix20211129\Stringy\Stringy($variableName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($variableName); return (string) $stringy->camelize(); } public function resolveFromNodeWithScopeCountAndFallbackName(\PhpParser\Node\Expr $expr, ?\PHPStan\Analyser\Scope $scope, string $fallbackName) : string @@ -68,7 +68,7 @@ final class VariableNaming $name = $fallbackName; } if (\strpos($name, '\\') !== \false) { - $name = (string) \RectorPrefix20211129\Nette\Utils\Strings::after($name, '\\', -1); + $name = (string) \RectorPrefix20211130\Nette\Utils\Strings::after($name, '\\', -1); } $countedValueName = $this->createCountedValueName($name, $scope); return \lcfirst($countedValueName); @@ -137,7 +137,7 @@ final class VariableNaming if ($arrayDimFetch->dim instanceof \PhpParser\Node\Scalar) { $valueName = $this->nodeNameResolver->getName($arrayDimFetch->var); $dimName = $this->valueResolver->getValue($arrayDimFetch->dim); - $stringy = new \RectorPrefix20211129\Stringy\Stringy($dimName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($dimName); $dimName = (string) $stringy->upperCamelize(); return $valueName . $dimName; } diff --git a/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php b/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php index 6752324c818..8a8c1409e72 100644 --- a/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php +++ b/rules/Naming/PropertyRenamer/PropertyFetchRenamer.php @@ -10,7 +10,7 @@ use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\ClassLike; use PhpParser\Node\VarLikeIdentifier; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchRenamer { /** @@ -21,7 +21,7 @@ final class PropertyFetchRenamer * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Naming/RectorNamingInflector.php b/rules/Naming/RectorNamingInflector.php index ebff2989974..6ca3eb5530d 100644 --- a/rules/Naming/RectorNamingInflector.php +++ b/rules/Naming/RectorNamingInflector.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Naming; -use RectorPrefix20211129\Doctrine\Inflector\Inflector; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Doctrine\Inflector\Inflector; +use RectorPrefix20211130\Nette\Utils\Strings; final class RectorNamingInflector { /** @@ -16,13 +16,13 @@ final class RectorNamingInflector * @var \Doctrine\Inflector\Inflector */ private $inflector; - public function __construct(\RectorPrefix20211129\Doctrine\Inflector\Inflector $inflector) + public function __construct(\RectorPrefix20211130\Doctrine\Inflector\Inflector $inflector) { $this->inflector = $inflector; } public function singularize(string $name) : string { - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($name, self::DATA_INFO_SUFFIX_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($name, self::DATA_INFO_SUFFIX_REGEX); if ($matches === null) { return $this->inflector->singularize($name); } diff --git a/rules/Naming/VariableRenamer.php b/rules/Naming/VariableRenamer.php index 1aceed7761f..705431390b6 100644 --- a/rules/Naming/VariableRenamer.php +++ b/rules/Naming/VariableRenamer.php @@ -16,7 +16,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Naming\PhpDoc\VarTagValueNodeRenamer; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariableRenamer { /** @@ -39,7 +39,7 @@ final class VariableRenamer * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Naming\PhpDoc\VarTagValueNodeRenamer $varTagValueNodeRenamer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Naming\PhpDoc\VarTagValueNodeRenamer $varTagValueNodeRenamer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/PSR4/Composer/PSR4AutoloadPathsProvider.php b/rules/PSR4/Composer/PSR4AutoloadPathsProvider.php index 92bb89fa6b2..6cbf4d1000c 100644 --- a/rules/PSR4/Composer/PSR4AutoloadPathsProvider.php +++ b/rules/PSR4/Composer/PSR4AutoloadPathsProvider.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\PSR4\Composer; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection; -use RectorPrefix20211129\Symplify\SmartFileSystem\Json\JsonFileSystem; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection; +use RectorPrefix20211130\Symplify\SmartFileSystem\Json\JsonFileSystem; final class PSR4AutoloadPathsProvider { /** @@ -15,7 +15,7 @@ final class PSR4AutoloadPathsProvider * @var \Symplify\SmartFileSystem\Json\JsonFileSystem */ private $jsonFileSystem; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\Json\JsonFileSystem $jsonFileSystem) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\Json\JsonFileSystem $jsonFileSystem) { $this->jsonFileSystem = $jsonFileSystem; } @@ -28,7 +28,7 @@ final class PSR4AutoloadPathsProvider return $this->cachedComposerJsonPSR4AutoloadPaths; } $composerJson = $this->jsonFileSystem->loadFilePathToJson($this->getComposerJsonPath()); - $psr4Autoloads = \array_merge($composerJson[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]['psr-4'] ?? [], $composerJson[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]['psr-4'] ?? []); + $psr4Autoloads = \array_merge($composerJson[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]['psr-4'] ?? [], $composerJson[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]['psr-4'] ?? []); $this->cachedComposerJsonPSR4AutoloadPaths = $this->removeEmptyNamespaces($psr4Autoloads); return $this->cachedComposerJsonPSR4AutoloadPaths; } diff --git a/rules/PSR4/Composer/PSR4NamespaceMatcher.php b/rules/PSR4/Composer/PSR4NamespaceMatcher.php index 654224bb483..02409d9dd80 100644 --- a/rules/PSR4/Composer/PSR4NamespaceMatcher.php +++ b/rules/PSR4/Composer/PSR4NamespaceMatcher.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PSR4\Composer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use Rector\Core\ValueObject\Application\File; use Rector\PSR4\Contract\PSR4AutoloadNamespaceMatcherInterface; @@ -51,8 +51,8 @@ final class PSR4NamespaceMatcher implements \Rector\PSR4\Contract\PSR4AutoloadNa */ private function resolveExtraNamespace(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, string $path) : string { - $extraNamespace = \RectorPrefix20211129\Nette\Utils\Strings::substring($smartFileInfo->getRelativeDirectoryPath(), \RectorPrefix20211129\Nette\Utils\Strings::length($path) + 1); - $extraNamespace = \RectorPrefix20211129\Nette\Utils\Strings::replace($extraNamespace, '#/#', '\\'); + $extraNamespace = \RectorPrefix20211130\Nette\Utils\Strings::substring($smartFileInfo->getRelativeDirectoryPath(), \RectorPrefix20211130\Nette\Utils\Strings::length($path) + 1); + $extraNamespace = \RectorPrefix20211130\Nette\Utils\Strings::replace($extraNamespace, '#/#', '\\'); return \trim($extraNamespace); } } diff --git a/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php b/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php index 0d963f956e0..908cb97de94 100644 --- a/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php +++ b/rules/PSR4/FileInfoAnalyzer/FileInfoDeletionAnalyzer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PSR4\FileInfoAnalyzer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt\ClassLike; use Rector\CodingStyle\Naming\ClassNaming; use Rector\Core\ValueObject\Application\File; @@ -38,6 +38,6 @@ final class FileInfoDeletionAnalyzer } public function clearNameFromTestingPrefix(string $name) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($name, self::TESTING_PREFIX_REGEX, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($name, self::TESTING_PREFIX_REGEX, ''); } } diff --git a/rules/PSR4/FileRelocationResolver.php b/rules/PSR4/FileRelocationResolver.php index 8977068de7a..f95fb7d5ff8 100644 --- a/rules/PSR4/FileRelocationResolver.php +++ b/rules/PSR4/FileRelocationResolver.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PSR4; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Name; use PhpParser\Node\Stmt\Namespace_; use Rector\PSR4\FileInfoAnalyzer\FileInfoDeletionAnalyzer; @@ -117,7 +117,7 @@ final class FileRelocationResolver private function replaceRelativeFilePathsWithBeforeAfter(\Symplify\SmartFileSystem\SmartFileInfo $oldSmartFileInfo, array $beforeToAfterPart) : string { // A. first "dir has changed" dummy detection - $relativeFilePathParts = \RectorPrefix20211129\Nette\Utils\Strings::split( + $relativeFilePathParts = \RectorPrefix20211130\Nette\Utils\Strings::split( $this->normalizeDirectorySeparator($oldSmartFileInfo->getRelativeFilePath()), // the windows dir separator would be interpreted as a regex-escape char, therefore quote it. '#' . \preg_quote(\DIRECTORY_SEPARATOR, '#') . '#' diff --git a/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php b/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php index ad59c5f810d..34ecf693949 100644 --- a/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php +++ b/rules/PSR4/NodeManipulator/FullyQualifyStmtsAnalyzer.php @@ -14,8 +14,8 @@ use Rector\Core\Configuration\Option; use Rector\Core\Enum\ObjectReference; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class FullyQualifyStmtsAnalyzer { /** @@ -34,7 +34,7 @@ final class FullyQualifyStmtsAnalyzer * @var \PHPStan\Reflection\ReflectionProvider */ private $reflectionProvider; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) { $this->parameterProvider = $parameterProvider; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php b/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php index 7597548eadb..57d44928ec5 100644 --- a/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php +++ b/rules/Php55/Rector/String_/StringClassNameToClassConstantRector.php @@ -15,10 +15,10 @@ use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\PhpVersionFeature; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\VersionBonding\Contract\MinPhpVersionInterface; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/class_name_scalars https://github.com/symfony/symfony/blob/2.8/UPGRADE-2.8.md#form * @@ -43,7 +43,7 @@ final class StringClassNameToClassConstantRector extends \Rector\Core\Rector\Abs * @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker */ private $classLikeExistenceChecker; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->classLikeExistenceChecker = $classLikeExistenceChecker; } @@ -107,8 +107,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $classesToSkip = $configuration[self::CLASSES_TO_SKIP] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($classesToSkip); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($classesToSkip); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($classesToSkip); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($classesToSkip); $this->classesToSkip = $classesToSkip; } public function provideMinPhpVersion() : int diff --git a/rules/Php55/RegexMatcher.php b/rules/Php55/RegexMatcher.php index 3b9a2b7606a..51d64597dd5 100644 --- a/rules/Php55/RegexMatcher.php +++ b/rules/Php55/RegexMatcher.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php55; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Scalar\String_; @@ -37,7 +37,7 @@ final class RegexMatcher } $delimiter = $pattern[0]; /** @var string $modifiers */ - $modifiers = \RectorPrefix20211129\Nette\Utils\Strings::after($pattern, $delimiter, -1); + $modifiers = \RectorPrefix20211130\Nette\Utils\Strings::after($pattern, $delimiter, -1); if (\strpos($modifiers, 'e') === \false) { return null; } @@ -51,8 +51,8 @@ final class RegexMatcher } private function createPatternWithoutE(string $pattern, string $delimiter, string $modifiers) : string { - $modifiersWithoutE = \RectorPrefix20211129\Nette\Utils\Strings::replace($modifiers, '#e#', ''); - return \RectorPrefix20211129\Nette\Utils\Strings::before($pattern, $delimiter, -1) . $delimiter . $modifiersWithoutE; + $modifiersWithoutE = \RectorPrefix20211130\Nette\Utils\Strings::replace($modifiers, '#e#', ''); + return \RectorPrefix20211130\Nette\Utils\Strings::before($pattern, $delimiter, -1) . $delimiter . $modifiersWithoutE; } private function matchConcat(\PhpParser\Node\Expr\BinaryOp\Concat $concat) : ?\PhpParser\Node\Expr { @@ -60,7 +60,7 @@ final class RegexMatcher if (!$lastItem instanceof \PhpParser\Node\Scalar\String_) { return null; } - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($lastItem->value, self::LETTER_SUFFIX_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($lastItem->value, self::LETTER_SUFFIX_REGEX); if (!isset($matches['modifiers'])) { return null; } @@ -68,7 +68,7 @@ final class RegexMatcher return null; } // replace last "e" in the code - $lastItem->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($lastItem->value, self::LAST_E_REGEX, '$1$2'); + $lastItem->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($lastItem->value, self::LAST_E_REGEX, '$1$2'); return $concat; } } diff --git a/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php b/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php index 3bce2f818ed..fdadbf551b1 100644 --- a/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php +++ b/rules/Php56/NodeAnalyzer/UndefinedVariableResolver.php @@ -28,7 +28,7 @@ use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class UndefinedVariableResolver { /** @@ -47,7 +47,7 @@ final class UndefinedVariableResolver * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Php70/EregToPcreTransformer.php b/rules/Php70/EregToPcreTransformer.php index 9955349484a..26a4ad6199e 100644 --- a/rules/Php70/EregToPcreTransformer.php +++ b/rules/Php70/EregToPcreTransformer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php70; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Php70\Exception\InvalidEregException; /** * @changelog https://gist.github.com/lifthrasiir/704754/7e486f43e62fd1c9d3669330c251f8ca4a59a3f8 @@ -254,8 +254,8 @@ final class EregToPcreTransformer } $start = $i + 1; $length = $ii - ($i + 1); - $bound = \RectorPrefix20211129\Nette\Utils\Strings::substring($s, $start, $length); - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($bound, self::BOUND_REGEX); + $bound = \RectorPrefix20211130\Nette\Utils\Strings::substring($s, $start, $length); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($bound, self::BOUND_REGEX); if ($matches === null) { throw new \Rector\Php70\Exception\InvalidEregException('an invalid bound'); } @@ -283,7 +283,7 @@ final class EregToPcreTransformer } $start = $i + 1; $length = $ii - ($i + 1); - $ccls = \RectorPrefix20211129\Nette\Utils\Strings::substring($content, $start, $length); + $ccls = \RectorPrefix20211130\Nette\Utils\Strings::substring($content, $start, $length); if (!isset(self::CHARACTER_CLASS_MAP[$ccls])) { throw new \Rector\Php70\Exception\InvalidEregException('an invalid or unsupported character class [' . $ccls . ']'); } diff --git a/rules/Php71/Rector/Name/ReservedObjectRector.php b/rules/Php71/Rector/Name/ReservedObjectRector.php index e3e5d5f0d45..2a3a2920710 100644 --- a/rules/Php71/Rector/Name/ReservedObjectRector.php +++ b/rules/Php71/Rector/Name/ReservedObjectRector.php @@ -14,7 +14,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/object-typehint https://github.com/cebe/yii2/commit/9548a212ecf6e50fcdb0e5ba6daad88019cfc544 * @@ -71,9 +71,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $reservedKeywordsToReplacements = $configuration[self::RESERVED_KEYWORDS_TO_REPLACEMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($reservedKeywordsToReplacements); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($reservedKeywordsToReplacements)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($reservedKeywordsToReplacements); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($reservedKeywordsToReplacements); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($reservedKeywordsToReplacements)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($reservedKeywordsToReplacements); $this->reservedKeywordsToReplacements = $reservedKeywordsToReplacements; } private function processIdentifier(\PhpParser\Node\Identifier $identifier) : \PhpParser\Node\Identifier diff --git a/rules/Php72/NodeFactory/AnonymousFunctionFactory.php b/rules/Php72/NodeFactory/AnonymousFunctionFactory.php index 8650de03605..57575c11e9f 100644 --- a/rules/Php72/NodeFactory/AnonymousFunctionFactory.php +++ b/rules/Php72/NodeFactory/AnonymousFunctionFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php72\NodeFactory; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\ComplexType; use PhpParser\Node\Expr; @@ -44,7 +44,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class AnonymousFunctionFactory { /** @@ -80,7 +80,7 @@ final class AnonymousFunctionFactory * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->nodeNameResolver = $nodeNameResolver; $this->betterNodeFinder = $betterNodeFinder; @@ -157,7 +157,7 @@ final class AnonymousFunctionFactory if (!$node instanceof \PhpParser\Node\Scalar\String_) { return $node; } - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($node->value, self::DIM_FETCH_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($node->value, self::DIM_FETCH_REGEX); if ($match === null) { return $node; } diff --git a/rules/Php73/Rector/FuncCall/RegexDashEscapeRector.php b/rules/Php73/Rector/FuncCall/RegexDashEscapeRector.php index 4a91d53c1bf..2590da5758b 100644 --- a/rules/Php73/Rector/FuncCall/RegexDashEscapeRector.php +++ b/rules/Php73/Rector/FuncCall/RegexDashEscapeRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php73\Rector\FuncCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\FuncCall; use PhpParser\Node\Expr\StaticCall; @@ -89,13 +89,13 @@ CODE_SAMPLE { $stringValue = $string->value; if (\Rector\Core\Util\StringUtils::isMatch($stringValue, self::LEFT_HAND_UNESCAPED_DASH_REGEX)) { - $string->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($stringValue, self::LEFT_HAND_UNESCAPED_DASH_REGEX, '$1\\-'); + $string->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($stringValue, self::LEFT_HAND_UNESCAPED_DASH_REGEX, '$1\\-'); // helped needed to skip re-escaping regular expression $string->setAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::IS_REGULAR_PATTERN, \true); return; } if (\Rector\Core\Util\StringUtils::isMatch($stringValue, self::RIGHT_HAND_UNESCAPED_DASH_REGEX)) { - $string->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($stringValue, self::RIGHT_HAND_UNESCAPED_DASH_REGEX, '\\-$1]'); + $string->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($stringValue, self::RIGHT_HAND_UNESCAPED_DASH_REGEX, '\\-$1]'); // helped needed to skip re-escaping regular expression $string->setAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::IS_REGULAR_PATTERN, \true); } diff --git a/rules/Php74/Rector/Function_/ReservedFnFunctionRector.php b/rules/Php74/Rector/Function_/ReservedFnFunctionRector.php index 0f891027c90..63f75f0ec0b 100644 --- a/rules/Php74/Rector/Function_/ReservedFnFunctionRector.php +++ b/rules/Php74/Rector/Function_/ReservedFnFunctionRector.php @@ -14,7 +14,7 @@ use Rector\Core\ValueObject\PhpVersionFeature; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/php/php-src/pull/3941/files#diff-7e3a1a5df28a1cbd8c0fb6db68f243da * @see \Rector\Tests\Php74\Rector\Function_\ReservedFnFunctionRector\ReservedFnFunctionRectorTest @@ -97,8 +97,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $reservedNamesToNewOnes = $configuration[self::RESERVED_NAMES_TO_NEW_ONES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($reservedNamesToNewOnes)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($reservedNamesToNewOnes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($reservedNamesToNewOnes)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($reservedNamesToNewOnes); /** @var array $reservedNamesToNewOnes */ $this->reservedNamesToNewOnes = $reservedNamesToNewOnes; } diff --git a/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php b/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php index a76ec9c1fdc..2c12d928f0a 100644 --- a/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php +++ b/rules/Php74/Rector/LNumber/AddLiteralSeparatorToNumberRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Php74\Rector\LNumber; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Scalar\DNumber; use PhpParser\Node\Scalar\LNumber; @@ -15,7 +15,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/numeric_literal_separator * @changelog https://github.com/nikic/PHP-Parser/pull/615 @@ -50,7 +50,7 @@ final class AddLiteralSeparatorToNumberRector extends \Rector\Core\Rector\Abstra public function configure(array $configuration) : void { $limitValue = $configuration[self::LIMIT_VALUE] ?? self::DEFAULT_LIMIT_VALUE; - \RectorPrefix20211129\Webmozart\Assert\Assert::integer($limitValue); + \RectorPrefix20211130\Webmozart\Assert\Assert::integer($limitValue); $this->limitValue = $limitValue; } public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition @@ -144,7 +144,7 @@ CODE_SAMPLE return \true; } // too short - return \RectorPrefix20211129\Nette\Utils\Strings::length($numericValueAsString) <= self::GROUP_SIZE; + return \RectorPrefix20211130\Nette\Utils\Strings::length($numericValueAsString) <= self::GROUP_SIZE; } /** * @return string[] diff --git a/rules/Php80/Enum/MatchKind.php b/rules/Php80/Enum/MatchKind.php index 00a78e6b135..3c5e4423852 100644 --- a/rules/Php80/Enum/MatchKind.php +++ b/rules/Php80/Enum/MatchKind.php @@ -3,14 +3,14 @@ declare (strict_types=1); namespace Rector\Php80\Enum; -use RectorPrefix20211129\MyCLabs\Enum\Enum; +use RectorPrefix20211130\MyCLabs\Enum\Enum; /** * @method static MatchKind NORMAL() * @method static MatchKind ASSIGN() * @method static MatchKind RETURN() * @method static MatchKind THROW() */ -final class MatchKind extends \RectorPrefix20211129\MyCLabs\Enum\Enum +final class MatchKind extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @var string diff --git a/rules/Php80/NodeManipulator/TokenManipulator.php b/rules/Php80/NodeManipulator/TokenManipulator.php index a83dc0593e2..c857bac4349 100644 --- a/rules/Php80/NodeManipulator/TokenManipulator.php +++ b/rules/Php80/NodeManipulator/TokenManipulator.php @@ -26,7 +26,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\Php80\ValueObject\ArrayDimFetchAndConstFetch; use Rector\PostRector\Collector\NodesToRemoveCollector; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class TokenManipulator { /** @@ -61,7 +61,7 @@ final class TokenManipulator * @var \Rector\Core\NodeAnalyzer\ArgsAnalyzer */ private $argsAnalyzer; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Php80/PhpDoc/PhpDocNodeFinder.php b/rules/Php80/PhpDoc/PhpDocNodeFinder.php index 85c31dcfd87..310a80f8a7d 100644 --- a/rules/Php80/PhpDoc/PhpDocNodeFinder.php +++ b/rules/Php80/PhpDoc/PhpDocNodeFinder.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\Php80\PhpDoc; use PHPStan\PhpDocParser\Ast\Node; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; final class PhpDocNodeFinder { /** @@ -15,7 +15,7 @@ final class PhpDocNodeFinder public function findByType(\PHPStan\PhpDocParser\Ast\Node $node, string $nodeType) : array { $foundNodes = []; - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($node, '', function (\PHPStan\PhpDocParser\Ast\Node $node) use(&$foundNodes, $nodeType) { if (!\is_a($node, $nodeType, \true)) { return null; diff --git a/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php b/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php index dcbe4a2c651..d99a97b85ff 100644 --- a/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php +++ b/rules/Php80/Rector/Class_/AnnotationToAttributeRector.php @@ -29,8 +29,8 @@ use Rector\PhpAttribute\Printer\PhpAttributeGroupFactory; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://wiki.php.net/rfc/attributes_v2 * @@ -130,7 +130,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $annotationsToAttributes = $configuration[self::ANNOTATION_TO_ATTRIBUTE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($annotationsToAttributes, \Rector\Php80\ValueObject\AnnotationToAttribute::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($annotationsToAttributes, \Rector\Php80\ValueObject\AnnotationToAttribute::class); $this->annotationsToAttributes = $annotationsToAttributes; } public function provideMinPhpVersion() : int @@ -143,7 +143,7 @@ CODE_SAMPLE private function processGenericTags(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo) : array { $attributeGroups = []; - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function (\PHPStan\PhpDocParser\Ast\Node $docNode) use(&$attributeGroups, $phpDocInfo) : ?int { if (!$docNode instanceof \PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode) { return null; @@ -163,7 +163,7 @@ CODE_SAMPLE } $attributeGroups[] = $this->phpAttributeGroupFactory->createFromSimpleTag($annotationToAttribute); $phpDocInfo->markAsChanged(); - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; } return null; }); diff --git a/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php b/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php index 9e39c0cbf62..953aeaeb3f2 100644 --- a/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php +++ b/rules/Php80/Rector/Class_/DoctrineAnnotationClassToAttributeRector.php @@ -24,7 +24,7 @@ use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://php.watch/articles/php-attributes#syntax * @@ -161,7 +161,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $shouldRemoveAnnotations = $configuration[self::REMOVE_ANNOTATIONS] ?? \true; - \RectorPrefix20211129\Webmozart\Assert\Assert::boolean($shouldRemoveAnnotations); + \RectorPrefix20211130\Webmozart\Assert\Assert::boolean($shouldRemoveAnnotations); $this->shouldRemoveAnnotations = $shouldRemoveAnnotations; } private function decorateTarget(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfo $phpDocInfo, \PhpParser\Node\AttributeGroup $attributeGroup) : void diff --git a/rules/PhpSpecToPHPUnit/Naming/PhpSpecRenaming.php b/rules/PhpSpecToPHPUnit/Naming/PhpSpecRenaming.php index f305ce867e3..e26ce60751d 100644 --- a/rules/PhpSpecToPHPUnit/Naming/PhpSpecRenaming.php +++ b/rules/PhpSpecToPHPUnit/Naming/PhpSpecRenaming.php @@ -15,7 +15,7 @@ use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Core\Util\StaticRectorStrings; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\PackageBuilder\Strings\StringFormatConverter; +use RectorPrefix20211130\Symplify\PackageBuilder\Strings\StringFormatConverter; final class PhpSpecRenaming { /** @@ -34,7 +34,7 @@ final class PhpSpecRenaming * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\PackageBuilder\Strings\StringFormatConverter $stringFormatConverter, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\PackageBuilder\Strings\StringFormatConverter $stringFormatConverter, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->nodeNameResolver = $nodeNameResolver; $this->stringFormatConverter = $stringFormatConverter; diff --git a/rules/PhpSpecToPHPUnit/PhpSpecMockCollector.php b/rules/PhpSpecToPHPUnit/PhpSpecMockCollector.php index 36f4793e837..43a3a705696 100644 --- a/rules/PhpSpecToPHPUnit/PhpSpecMockCollector.php +++ b/rules/PhpSpecToPHPUnit/PhpSpecMockCollector.php @@ -12,7 +12,7 @@ use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PhpSpecMockCollector { /** @@ -39,7 +39,7 @@ final class PhpSpecMockCollector * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/PhpSpecToPHPUnit/Rector/Class_/RenameSpecFileToTestFileRector.php b/rules/PhpSpecToPHPUnit/Rector/Class_/RenameSpecFileToTestFileRector.php index e0d4926d964..63f0b0bdb60 100644 --- a/rules/PhpSpecToPHPUnit/Rector/Class_/RenameSpecFileToTestFileRector.php +++ b/rules/PhpSpecToPHPUnit/Rector/Class_/RenameSpecFileToTestFileRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PhpSpecToPHPUnit\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Stmt\Class_; use Rector\Core\Rector\AbstractRector; @@ -62,8 +62,8 @@ CODE_SAMPLE private function createPathName(string $oldRealPath) : string { // suffix - $newRealPath = \RectorPrefix20211129\Nette\Utils\Strings::replace($oldRealPath, self::SPEC_SUFFIX_REGEX, 'Test.php'); + $newRealPath = \RectorPrefix20211130\Nette\Utils\Strings::replace($oldRealPath, self::SPEC_SUFFIX_REGEX, 'Test.php'); // directory - return \RectorPrefix20211129\Nette\Utils\Strings::replace($newRealPath, self::SPEC_REGEX, '/tests/'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($newRealPath, self::SPEC_REGEX, '/tests/'); } } diff --git a/rules/Privatization/Naming/ConstantNaming.php b/rules/Privatization/Naming/ConstantNaming.php index f73ff2e1543..5a8b47b0644 100644 --- a/rules/Privatization/Naming/ConstantNaming.php +++ b/rules/Privatization/Naming/ConstantNaming.php @@ -5,7 +5,7 @@ namespace Rector\Privatization\Naming; use PhpParser\Node\Stmt\PropertyProperty; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; final class ConstantNaming { /** @@ -19,7 +19,7 @@ final class ConstantNaming public function createFromProperty(\PhpParser\Node\Stmt\PropertyProperty $propertyProperty) : string { $propertyName = $this->nodeNameResolver->getName($propertyProperty); - $stringy = new \RectorPrefix20211129\Stringy\Stringy($propertyName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($propertyName); return (string) $stringy->underscored()->toUpperCase(); } } diff --git a/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php b/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php index 1ecde2c3b05..1c93cf11de1 100644 --- a/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php +++ b/rules/Privatization/NodeAnalyzer/PropertyFetchByMethodAnalyzer.php @@ -20,7 +20,7 @@ use Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer; use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchByMethodAnalyzer { /** @@ -39,7 +39,7 @@ final class PropertyFetchByMethodAnalyzer * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->nodeNameResolver = $nodeNameResolver; $this->propertyFetchAnalyzer = $propertyFetchAnalyzer; diff --git a/rules/Privatization/NodeManipulator/VisibilityManipulator.php b/rules/Privatization/NodeManipulator/VisibilityManipulator.php index 79c3ba3ca79..fd243422f1e 100644 --- a/rules/Privatization/NodeManipulator/VisibilityManipulator.php +++ b/rules/Privatization/NodeManipulator/VisibilityManipulator.php @@ -9,7 +9,7 @@ use PhpParser\Node\Stmt\ClassConst; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Property; use Rector\Core\ValueObject\Visibility; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; final class VisibilityManipulator { /** @@ -85,7 +85,7 @@ final class VisibilityManipulator */ public function changeNodeVisibility($node, int $visibility) : void { - \RectorPrefix20211129\Webmozart\Assert\Assert::oneOf($visibility, [\Rector\Core\ValueObject\Visibility::PUBLIC, \Rector\Core\ValueObject\Visibility::PROTECTED, \Rector\Core\ValueObject\Visibility::PRIVATE, \Rector\Core\ValueObject\Visibility::STATIC, \Rector\Core\ValueObject\Visibility::ABSTRACT, \Rector\Core\ValueObject\Visibility::FINAL]); + \RectorPrefix20211130\Webmozart\Assert\Assert::oneOf($visibility, [\Rector\Core\ValueObject\Visibility::PUBLIC, \Rector\Core\ValueObject\Visibility::PROTECTED, \Rector\Core\ValueObject\Visibility::PRIVATE, \Rector\Core\ValueObject\Visibility::STATIC, \Rector\Core\ValueObject\Visibility::ABSTRACT, \Rector\Core\ValueObject\Visibility::FINAL]); $this->replaceVisibilityFlag($node, $visibility); } /** diff --git a/rules/Privatization/NodeReplacer/PropertyFetchWithConstFetchReplacer.php b/rules/Privatization/NodeReplacer/PropertyFetchWithConstFetchReplacer.php index 5adfff8c393..e1769b3508a 100644 --- a/rules/Privatization/NodeReplacer/PropertyFetchWithConstFetchReplacer.php +++ b/rules/Privatization/NodeReplacer/PropertyFetchWithConstFetchReplacer.php @@ -13,7 +13,7 @@ use Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer; use Rector\Core\PhpParser\Node\NodeFactory; use Rector\NodeNameResolver\NodeNameResolver; use Rector\Privatization\Naming\ConstantNaming; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchWithConstFetchReplacer { /** @@ -36,7 +36,7 @@ final class PropertyFetchWithConstFetchReplacer * @var \Rector\Core\PhpParser\Node\NodeFactory */ private $nodeFactory; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\Privatization\Naming\ConstantNaming $constantNaming, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\Privatization\Naming\ConstantNaming $constantNaming, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory) { $this->nodeNameResolver = $nodeNameResolver; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/Privatization/NodeReplacer/PropertyFetchWithVariableReplacer.php b/rules/Privatization/NodeReplacer/PropertyFetchWithVariableReplacer.php index b30b1c59851..9fcac413132 100644 --- a/rules/Privatization/NodeReplacer/PropertyFetchWithVariableReplacer.php +++ b/rules/Privatization/NodeReplacer/PropertyFetchWithVariableReplacer.php @@ -9,7 +9,7 @@ use PhpParser\Node\Expr\Variable; use PhpParser\Node\Stmt\Class_; use PhpParser\Node\Stmt\ClassMethod; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchWithVariableReplacer { /** @@ -20,7 +20,7 @@ final class PropertyFetchWithVariableReplacer * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/Privatization/Rector/Class_/ChangeReadOnlyVariableWithDefaultValueToConstantRector.php b/rules/Privatization/Rector/Class_/ChangeReadOnlyVariableWithDefaultValueToConstantRector.php index 7637b0fd32e..6f9cdc18943 100644 --- a/rules/Privatization/Rector/Class_/ChangeReadOnlyVariableWithDefaultValueToConstantRector.php +++ b/rules/Privatization/Rector/Class_/ChangeReadOnlyVariableWithDefaultValueToConstantRector.php @@ -19,7 +19,7 @@ use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\NodeManipulator\ClassMethodAssignManipulator; use Rector\Core\Rector\AbstractRector; use Rector\PostRector\Collector\PropertyToAddCollector; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -231,7 +231,7 @@ CODE_SAMPLE if ($variableName === null) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } - $stringy = new \RectorPrefix20211129\Stringy\Stringy($variableName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($variableName); return (string) $stringy->underscored()->toUpperCase(); } } diff --git a/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php b/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php index 61baefe4410..4ff3ac0631f 100644 --- a/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php +++ b/rules/Privatization/Rector/Class_/RepeatedLiteralToClassConstantRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Privatization\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Scalar\String_; @@ -206,7 +206,7 @@ CODE_SAMPLE return \true; } // is replaceable value? - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($value, '#(?<' . self::VALUE . '>[\\w\\-\\/\\_]+)#'); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($value, '#(?<' . self::VALUE . '>[\\w\\-\\/\\_]+)#'); if (!isset($matches[self::VALUE])) { return \true; } @@ -220,10 +220,10 @@ CODE_SAMPLE private function createConstName(string $value) : string { // replace slashes and dashes - $value = \RectorPrefix20211129\Nette\Utils\Strings::replace($value, self::SLASH_AND_DASH_REGEX, self::UNDERSCORE); + $value = \RectorPrefix20211130\Nette\Utils\Strings::replace($value, self::SLASH_AND_DASH_REGEX, self::UNDERSCORE); // find beginning numbers $beginningNumbers = ''; - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($value, '#(?<' . self::NUMBERS . '>[0-9]*)(?<' . self::VALUE . '>.*)#'); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($value, '#(?<' . self::NUMBERS . '>[0-9]*)(?<' . self::VALUE . '>.*)#'); if (isset($matches[self::NUMBERS])) { $beginningNumbers = $matches[self::NUMBERS]; } @@ -240,7 +240,7 @@ CODE_SAMPLE $parts = \array_merge(['CONST', $beginningNumbers], $parts); } $value = \implode(self::UNDERSCORE, $parts); - return \strtoupper(\RectorPrefix20211129\Nette\Utils\Strings::replace($value, '#_+#', self::UNDERSCORE)); + return \strtoupper(\RectorPrefix20211130\Nette\Utils\Strings::replace($value, '#_+#', self::UNDERSCORE)); } private function isNativeConstantResemblingValue(string $value) : bool { diff --git a/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php b/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php index 31cb77cf6d5..b738676bcb5 100644 --- a/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php +++ b/rules/Removing/Rector/ClassMethod/ArgumentRemoverRector.php @@ -14,7 +14,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Removing\ValueObject\ArgumentRemover; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\ClassMethod\ArgumentRemoverRector\ArgumentRemoverRectorTest */ @@ -70,7 +70,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $removedArguments = $configuration[self::REMOVED_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($removedArguments, \Rector\Removing\ValueObject\ArgumentRemover::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($removedArguments, \Rector\Removing\ValueObject\ArgumentRemover::class); $this->removedArguments = $removedArguments; } /** diff --git a/rules/Removing/Rector/Class_/RemoveInterfacesRector.php b/rules/Removing/Rector/Class_/RemoveInterfacesRector.php index 9aca78fa5fe..f348a2ecae8 100644 --- a/rules/Removing/Rector/Class_/RemoveInterfacesRector.php +++ b/rules/Removing/Rector/Class_/RemoveInterfacesRector.php @@ -9,7 +9,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveInterfacesRector\RemoveInterfacesRectorTest */ @@ -65,7 +65,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $interfacesToRemove = $configuration[self::INTERFACES_TO_REMOVE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($interfacesToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($interfacesToRemove); /** @var string[] $interfacesToRemove */ $this->interfacesToRemove = $interfacesToRemove; } diff --git a/rules/Removing/Rector/Class_/RemoveParentRector.php b/rules/Removing/Rector/Class_/RemoveParentRector.php index f6bc7320dad..3e097f65b75 100644 --- a/rules/Removing/Rector/Class_/RemoveParentRector.php +++ b/rules/Removing/Rector/Class_/RemoveParentRector.php @@ -12,7 +12,7 @@ use Rector\NodeCollector\ScopeResolver\ParentClassScopeResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveParentRector\RemoveParentRectorTest */ @@ -82,8 +82,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $parentTypesToRemove = $configuration[self::PARENT_TYPES_TO_REMOVE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($parentTypesToRemove); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($parentTypesToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($parentTypesToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($parentTypesToRemove); $this->parentClassesToRemove = $parentTypesToRemove; } } diff --git a/rules/Removing/Rector/Class_/RemoveTraitUseRector.php b/rules/Removing/Rector/Class_/RemoveTraitUseRector.php index 88d31f650a0..3b6fa0def40 100644 --- a/rules/Removing/Rector/Class_/RemoveTraitUseRector.php +++ b/rules/Removing/Rector/Class_/RemoveTraitUseRector.php @@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\Class_\RemoveTraitUseRector\RemoveTraitUseRectorTest */ @@ -79,7 +79,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $traitsToRemove = $configuration[self::TRAITS_TO_REMOVE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($traitsToRemove); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($traitsToRemove); /** @var string[] $traitsToRemove */ $this->traitsToRemove = $traitsToRemove; } diff --git a/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php b/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php index d571b38f9a7..7f05cf12f90 100644 --- a/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php +++ b/rules/Removing/Rector/FuncCall/RemoveFuncCallArgRector.php @@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Removing\ValueObject\RemoveFuncCallArg; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallArgRector\RemoveFuncCallArgRectorTest */ @@ -69,7 +69,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $removedFunctionArguments = $configuration[self::REMOVED_FUNCTION_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($removedFunctionArguments, \Rector\Removing\ValueObject\RemoveFuncCallArg::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($removedFunctionArguments, \Rector\Removing\ValueObject\RemoveFuncCallArg::class); $this->removedFunctionArguments = $removedFunctionArguments; } } diff --git a/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php b/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php index 4e00b041bad..3761db3ca3f 100644 --- a/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php +++ b/rules/Removing/Rector/FuncCall/RemoveFuncCallRector.php @@ -12,7 +12,7 @@ use Rector\NodeRemoval\BreakingRemovalGuard; use Rector\Removing\ValueObject\RemoveFuncCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Removing\Rector\FuncCall\RemoveFuncCallRector\RemoveFuncCallRectorTest */ @@ -77,7 +77,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $removeFuncCalls = $configuration[self::REMOVE_FUNC_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($removeFuncCalls, \Rector\Removing\ValueObject\RemoveFuncCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($removeFuncCalls, \Rector\Removing\ValueObject\RemoveFuncCall::class); $this->removeFuncCalls = $removeFuncCalls; } private function refactorFuncCallsWithPositions(\PhpParser\Node\Expr\FuncCall $funcCall, \Rector\Removing\ValueObject\RemoveFuncCall $removeFuncCall) : void diff --git a/rules/RemovingStatic/Rector/Class_/DesiredClassTypeToDynamicRector.php b/rules/RemovingStatic/Rector/Class_/DesiredClassTypeToDynamicRector.php index 5b0dceb504c..f3bb17bb900 100644 --- a/rules/RemovingStatic/Rector/Class_/DesiredClassTypeToDynamicRector.php +++ b/rules/RemovingStatic/Rector/Class_/DesiredClassTypeToDynamicRector.php @@ -17,7 +17,7 @@ use Rector\Naming\Naming\PropertyNaming; use Rector\PostRector\Collector\PropertyToAddCollector; use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\RemovingStatic\NodeAnalyzer\StaticCallPresenceAnalyzer; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -41,7 +41,7 @@ final class DesiredClassTypeToDynamicRector extends \Rector\Core\Rector\Abstract * @var \Rector\PostRector\Collector\PropertyToAddCollector */ private $propertyToAddCollector; - public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \Rector\RemovingStatic\NodeAnalyzer\StaticCallPresenceAnalyzer $staticCallPresenceAnalyzer, \Rector\PostRector\Collector\PropertyToAddCollector $propertyToAddCollector, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \Rector\RemovingStatic\NodeAnalyzer\StaticCallPresenceAnalyzer $staticCallPresenceAnalyzer, \Rector\PostRector\Collector\PropertyToAddCollector $propertyToAddCollector, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->propertyNaming = $propertyNaming; $this->staticCallPresenceAnalyzer = $staticCallPresenceAnalyzer; diff --git a/rules/RemovingStatic/Rector/Property/DesiredPropertyClassMethodTypeToDynamicRector.php b/rules/RemovingStatic/Rector/Property/DesiredPropertyClassMethodTypeToDynamicRector.php index f10083cfff1..c48b2dcd76c 100644 --- a/rules/RemovingStatic/Rector/Property/DesiredPropertyClassMethodTypeToDynamicRector.php +++ b/rules/RemovingStatic/Rector/Property/DesiredPropertyClassMethodTypeToDynamicRector.php @@ -13,7 +13,7 @@ use Rector\Core\Configuration\Option; use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Privatization\NodeManipulator\VisibilityManipulator; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -29,7 +29,7 @@ final class DesiredPropertyClassMethodTypeToDynamicRector extends \Rector\Core\R * @var \Rector\Privatization\NodeManipulator\VisibilityManipulator */ private $visibilityManipulator; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Privatization\NodeManipulator\VisibilityManipulator $visibilityManipulator) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Privatization\NodeManipulator\VisibilityManipulator $visibilityManipulator) { $this->visibilityManipulator = $visibilityManipulator; $typesToRemoveStaticFrom = $parameterProvider->provideArrayParameter(\Rector\Core\Configuration\Option::TYPES_TO_REMOVE_STATIC_FROM); diff --git a/rules/RemovingStatic/Rector/StaticCall/DesiredStaticCallTypeToDynamicRector.php b/rules/RemovingStatic/Rector/StaticCall/DesiredStaticCallTypeToDynamicRector.php index 8fe30ef5b94..ef5790e1b47 100644 --- a/rules/RemovingStatic/Rector/StaticCall/DesiredStaticCallTypeToDynamicRector.php +++ b/rules/RemovingStatic/Rector/StaticCall/DesiredStaticCallTypeToDynamicRector.php @@ -14,7 +14,7 @@ use Rector\Core\Configuration\Option; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\MethodName; use Rector\Naming\Naming\PropertyNaming; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -30,7 +30,7 @@ final class DesiredStaticCallTypeToDynamicRector extends \Rector\Core\Rector\Abs * @var \Rector\Naming\Naming\PropertyNaming */ private $propertyNaming; - public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->propertyNaming = $propertyNaming; $typesToRemoveStaticFrom = $parameterProvider->provideArrayParameter(\Rector\Core\Configuration\Option::TYPES_TO_REMOVE_STATIC_FROM); diff --git a/rules/RemovingStatic/Rector/StaticPropertyFetch/DesiredStaticPropertyFetchTypeToDynamicRector.php b/rules/RemovingStatic/Rector/StaticPropertyFetch/DesiredStaticPropertyFetchTypeToDynamicRector.php index 7931a3c7308..f9d13357afc 100644 --- a/rules/RemovingStatic/Rector/StaticPropertyFetch/DesiredStaticPropertyFetchTypeToDynamicRector.php +++ b/rules/RemovingStatic/Rector/StaticPropertyFetch/DesiredStaticPropertyFetchTypeToDynamicRector.php @@ -17,7 +17,7 @@ use Rector\Naming\Naming\PropertyNaming; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PostRector\Collector\PropertyToAddCollector; use Rector\PostRector\ValueObject\PropertyMetadata; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -37,7 +37,7 @@ final class DesiredStaticPropertyFetchTypeToDynamicRector extends \Rector\Core\R * @var \Rector\PostRector\Collector\PropertyToAddCollector */ private $propertyToAddCollector; - public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \Rector\PostRector\Collector\PropertyToAddCollector $propertyToAddCollector, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Naming\Naming\PropertyNaming $propertyNaming, \Rector\PostRector\Collector\PropertyToAddCollector $propertyToAddCollector, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->propertyNaming = $propertyNaming; $this->propertyToAddCollector = $propertyToAddCollector; diff --git a/rules/Renaming/NodeManipulator/ClassRenamer.php b/rules/Renaming/NodeManipulator/ClassRenamer.php index e0d4674e2c4..e801d105f7e 100644 --- a/rules/Renaming/NodeManipulator/ClassRenamer.php +++ b/rules/Renaming/NodeManipulator/ClassRenamer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Renaming\NodeManipulator; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\New_; use PhpParser\Node\Identifier; @@ -30,8 +30,8 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockClassRenamer; use Rector\NodeTypeResolver\ValueObject\OldToNewType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ClassRenamer { /** @@ -78,7 +78,7 @@ final class ClassRenamer * @var \Symplify\PackageBuilder\Parameter\ParameterProvider */ private $parameterProvider; - public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\CodingStyle\Naming\ClassNaming $classNaming, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocClassRenamer $phpDocClassRenamer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockClassRenamer $docBlockClassRenamer, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeRemoval\NodeRemover $nodeRemover, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\CodingStyle\Naming\ClassNaming $classNaming, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\BetterPhpDocParser\PhpDocManipulator\PhpDocClassRenamer $phpDocClassRenamer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockClassRenamer $docBlockClassRenamer, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeRemoval\NodeRemover $nodeRemover, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->betterNodeFinder = $betterNodeFinder; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; @@ -138,7 +138,7 @@ final class ClassRenamer if ($parentNode->name !== $name) { return \false; } - $namespaceNewName = \RectorPrefix20211129\Nette\Utils\Strings::before($newName, '\\', -1); + $namespaceNewName = \RectorPrefix20211130\Nette\Utils\Strings::before($newName, '\\', -1); if ($namespaceNewName === null) { return \false; } diff --git a/rules/Renaming/Rector/ClassConstFetch/RenameClassConstFetchRector.php b/rules/Renaming/Rector/ClassConstFetch/RenameClassConstFetchRector.php index 8456dda8995..f3718e6f695 100644 --- a/rules/Renaming/Rector/ClassConstFetch/RenameClassConstFetchRector.php +++ b/rules/Renaming/Rector/ClassConstFetch/RenameClassConstFetchRector.php @@ -14,7 +14,7 @@ use Rector\Renaming\ValueObject\RenameClassAndConstFetch; use Rector\Renaming\ValueObject\RenameClassConstFetch; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector\RenameClassConstFetchRectorTest */ @@ -74,7 +74,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $renameClassConstFetches = $configuration[self::CLASS_CONSTANT_RENAME] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($renameClassConstFetches, \Rector\Renaming\Contract\RenameClassConstFetchInterface::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($renameClassConstFetches, \Rector\Renaming\Contract\RenameClassConstFetchInterface::class); $this->renameClassConstFetches = $renameClassConstFetches; } private function createClassAndConstFetch(\Rector\Renaming\ValueObject\RenameClassAndConstFetch $renameClassAndConstFetch) : \PhpParser\Node\Expr\ClassConstFetch diff --git a/rules/Renaming/Rector/ClassMethod/RenameAnnotationRector.php b/rules/Renaming/Rector/ClassMethod/RenameAnnotationRector.php index 95e142b6869..bf85aca61aa 100644 --- a/rules/Renaming/Rector/ClassMethod/RenameAnnotationRector.php +++ b/rules/Renaming/Rector/ClassMethod/RenameAnnotationRector.php @@ -15,7 +15,7 @@ use Rector\Renaming\Contract\RenameAnnotationInterface; use Rector\Renaming\ValueObject\RenameAnnotationByType; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ClassMethod\RenameAnnotationRector\RenameAnnotationRectorTest */ @@ -98,8 +98,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $renamedAnnotations = $configuration[self::RENAMED_ANNOTATIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($renamedAnnotations); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($renamedAnnotations, \Rector\Renaming\Contract\RenameAnnotationInterface::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($renamedAnnotations); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($renamedAnnotations, \Rector\Renaming\Contract\RenameAnnotationInterface::class); $this->renameAnnotations = $renamedAnnotations; } } diff --git a/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php b/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php index 249b3abda59..a98a3165019 100644 --- a/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php +++ b/rules/Renaming/Rector/ConstFetch/RenameConstantRector.php @@ -10,7 +10,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\ConstFetch\RenameConstantRector\RenameConstantRectorTest */ @@ -73,8 +73,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $oldToNewConstants = $configuration[self::OLD_TO_NEW_CONSTANTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($oldToNewConstants)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldToNewConstants); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($oldToNewConstants)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldToNewConstants); /** @var array $oldToNewConstants */ $this->oldToNewConstants = $oldToNewConstants; } diff --git a/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php b/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php index d0f8537e5e7..7e6ce4d8bf6 100644 --- a/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php +++ b/rules/Renaming/Rector/FileWithoutNamespace/PseudoNamespaceToNamespaceRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Renaming\Rector\FileWithoutNamespace; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\FunctionLike; use PhpParser\Node\Identifier; @@ -21,7 +21,7 @@ use Rector\NodeTypeResolver\PhpDoc\PhpDocTypeRenamer; use Rector\Renaming\ValueObject\PseudoNamespaceToNamespace; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\FileWithoutNamespace\PseudoNamespaceToNamespaceRector\PseudoNamespaceToNamespaceRectorTest */ @@ -102,7 +102,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $namespacePrefixesWithExcludedClasses = $configuration[self::NAMESPACE_PREFIXES_WITH_EXCLUDED_CLASSES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($namespacePrefixesWithExcludedClasses, \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($namespacePrefixesWithExcludedClasses, \Rector\Renaming\ValueObject\PseudoNamespaceToNamespace::class); $this->pseudoNamespacesToNamespaces = $namespacePrefixesWithExcludedClasses; } /** @@ -170,10 +170,10 @@ CODE_SAMPLE return null; } /** @var string $namespaceName */ - $namespaceName = \RectorPrefix20211129\Nette\Utils\Strings::before($name, '_', -1); + $namespaceName = \RectorPrefix20211130\Nette\Utils\Strings::before($name, '_', -1); /** @var string $lastNewNamePart */ - $lastNewNamePart = \RectorPrefix20211129\Nette\Utils\Strings::after($name, '_', -1); - $newNamespace = \RectorPrefix20211129\Nette\Utils\Strings::replace($namespaceName, self::SPLIT_BY_UNDERSCORE_REGEX, '$1$2\\\\$4'); + $lastNewNamePart = \RectorPrefix20211130\Nette\Utils\Strings::after($name, '_', -1); + $newNamespace = \RectorPrefix20211130\Nette\Utils\Strings::replace($namespaceName, self::SPLIT_BY_UNDERSCORE_REGEX, '$1$2\\\\$4'); if ($this->newNamespace !== null && $this->newNamespace !== $newNamespace) { throw new \Rector\Core\Exception\ShouldNotHappenException('There cannot be 2 different namespaces in one file'); } diff --git a/rules/Renaming/Rector/FuncCall/RenameFunctionRector.php b/rules/Renaming/Rector/FuncCall/RenameFunctionRector.php index 51fb7072396..6176f083c48 100644 --- a/rules/Renaming/Rector/FuncCall/RenameFunctionRector.php +++ b/rules/Renaming/Rector/FuncCall/RenameFunctionRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\FuncCall\RenameFunctionRector\RenameFunctionRectorTest */ @@ -62,9 +62,9 @@ final class RenameFunctionRector extends \Rector\Core\Rector\AbstractRector impl public function configure(array $configuration) : void { $oldFunctionToNewFunction = $configuration[self::OLD_FUNCTION_TO_NEW_FUNCTION] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($oldFunctionToNewFunction); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_values($oldFunctionToNewFunction)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldFunctionToNewFunction); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($oldFunctionToNewFunction); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_values($oldFunctionToNewFunction)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldFunctionToNewFunction); $this->oldFunctionToNewFunction = $oldFunctionToNewFunction; } private function createName(string $newFunction) : \PhpParser\Node\Name diff --git a/rules/Renaming/Rector/MethodCall/RenameMethodRector.php b/rules/Renaming/Rector/MethodCall/RenameMethodRector.php index 12105d386d1..5c56c015e2f 100644 --- a/rules/Renaming/Rector/MethodCall/RenameMethodRector.php +++ b/rules/Renaming/Rector/MethodCall/RenameMethodRector.php @@ -20,7 +20,7 @@ use Rector\Renaming\ValueObject\MethodCallRename; use Rector\Renaming\ValueObject\MethodCallRenameWithArrayKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\MethodCall\RenameMethodRector\RenameMethodRectorTest */ @@ -99,7 +99,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallRenames = $configuration[self::METHOD_CALL_RENAMES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodCallRenames, \Rector\Renaming\Contract\MethodCallRenameInterface::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodCallRenames, \Rector\Renaming\Contract\MethodCallRenameInterface::class); $this->methodCallRenames = $methodCallRenames; $this->methodCallRenameCollector->addMethodCallRenames($methodCallRenames); } diff --git a/rules/Renaming/Rector/Name/RenameClassRector.php b/rules/Renaming/Rector/Name/RenameClassRector.php index 91dbe2ca159..7e09f8f1f02 100644 --- a/rules/Renaming/Rector/Name/RenameClassRector.php +++ b/rules/Renaming/Rector/Name/RenameClassRector.php @@ -20,7 +20,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Renaming\NodeManipulator\ClassRenamer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\Name\RenameClassRector\RenameClassRectorTest */ @@ -98,8 +98,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $oldToNewClasses = $configuration[self::OLD_TO_NEW_CLASSES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($oldToNewClasses); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldToNewClasses); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($oldToNewClasses); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldToNewClasses); $this->addOldToNewClasses($oldToNewClasses); } /** @@ -120,8 +120,8 @@ CODE_SAMPLE */ private function addOldToNewClasses(array $oldToNewClasses) : void { - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($oldToNewClasses)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldToNewClasses); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($oldToNewClasses)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldToNewClasses); $this->renamedClassesDataCollector->addOldToNewClasses($oldToNewClasses); } } diff --git a/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php b/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php index 57a0c572d7f..79b8cfdaf0e 100644 --- a/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php +++ b/rules/Renaming/Rector/Namespace_/RenameNamespaceRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Renaming\Rector\Namespace_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\New_; use PhpParser\Node\Name; @@ -18,7 +18,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Renaming\ValueObject\RenamedNamespace; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\Namespace_\RenameNamespaceRector\RenameNamespaceRectorTest */ @@ -101,8 +101,8 @@ final class RenameNamespaceRector extends \Rector\Core\Rector\AbstractRector imp public function configure(array $configuration) : void { $oldToNewNamespaces = $configuration[self::OLD_TO_NEW_NAMESPACES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($oldToNewNamespaces)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldToNewNamespaces); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($oldToNewNamespaces)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldToNewNamespaces); /** @var array $oldToNewNamespaces */ $this->oldToNewNamespaces = $oldToNewNamespaces; } @@ -151,7 +151,7 @@ final class RenameNamespaceRector extends \Rector\Core\Rector\AbstractRector imp { $nameInNewNamespace = $renamedNamespace->getNameInNewNamespace(); // first dummy implementation - improve - $cutOffFromTheLeft = \RectorPrefix20211129\Nette\Utils\Strings::length($nameInNewNamespace) - \RectorPrefix20211129\Nette\Utils\Strings::length($name->toString()); - return \RectorPrefix20211129\Nette\Utils\Strings::substring($nameInNewNamespace, $cutOffFromTheLeft); + $cutOffFromTheLeft = \RectorPrefix20211130\Nette\Utils\Strings::length($nameInNewNamespace) - \RectorPrefix20211130\Nette\Utils\Strings::length($name->toString()); + return \RectorPrefix20211130\Nette\Utils\Strings::substring($nameInNewNamespace, $cutOffFromTheLeft); } } diff --git a/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php b/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php index b56b6e202a4..02e2e0015d0 100644 --- a/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php +++ b/rules/Renaming/Rector/PropertyFetch/RenamePropertyRector.php @@ -17,7 +17,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Renaming\ValueObject\RenameProperty; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\PropertyFetch\RenamePropertyRector\RenamePropertyRectorTest */ @@ -58,7 +58,7 @@ final class RenamePropertyRector extends \Rector\Core\Rector\AbstractRector impl public function configure(array $configuration) : void { $renamedProperties = $configuration[self::RENAMED_PROPERTIES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($renamedProperties, \Rector\Renaming\ValueObject\RenameProperty::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($renamedProperties, \Rector\Renaming\ValueObject\RenameProperty::class); $this->renamedProperties = $renamedProperties; } private function processFromClassLike(\PhpParser\Node\Stmt\ClassLike $classLike) : \PhpParser\Node\Stmt\ClassLike diff --git a/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php b/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php index c2f1a3103a4..919072ba90e 100644 --- a/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php +++ b/rules/Renaming/Rector/StaticCall/RenameStaticMethodRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Renaming\ValueObject\RenameStaticMethod; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Renaming\Rector\StaticCall\RenameStaticMethodRector\RenameStaticMethodRectorTest */ @@ -65,7 +65,7 @@ final class RenameStaticMethodRector extends \Rector\Core\Rector\AbstractRector public function configure(array $configuration) : void { $oldToNewMethodsByClasses = $configuration[self::OLD_TO_NEW_METHODS_BY_CLASSES]; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($oldToNewMethodsByClasses, \Rector\Renaming\ValueObject\RenameStaticMethod::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($oldToNewMethodsByClasses, \Rector\Renaming\ValueObject\RenameStaticMethod::class); $this->staticMethodRenames = $oldToNewMethodsByClasses; } private function rename(\PhpParser\Node\Expr\StaticCall $staticCall, \Rector\Renaming\ValueObject\RenameStaticMethod $renameStaticMethod) : \PhpParser\Node\Expr\StaticCall diff --git a/rules/Renaming/Rector/String_/RenameStringRector.php b/rules/Renaming/Rector/String_/RenameStringRector.php index e5f93508441..8bbbfac8321 100644 --- a/rules/Renaming/Rector/String_/RenameStringRector.php +++ b/rules/Renaming/Rector/String_/RenameStringRector.php @@ -9,7 +9,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35858 * @@ -73,9 +73,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $stringChanges = $configuration[self::STRING_CHANGES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($stringChanges); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($stringChanges)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($stringChanges); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($stringChanges); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($stringChanges)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($stringChanges); $this->stringChanges = $stringChanges; } } diff --git a/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php b/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php index d51b4428fce..070b44ddbaa 100644 --- a/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php +++ b/rules/Restoration/Rector/Namespace_/CompleteImportForPartialAnnotationRector.php @@ -12,10 +12,10 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Rector\Core\Util\StringUtils; use Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Restoration\Rector\Namespace_\CompleteImportForPartialAnnotationRector\CompleteImportForPartialAnnotationRectorTest */ @@ -86,7 +86,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $useImportsToRestore = $configuration[self::USE_IMPORTS_TO_RESTORE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($useImportsToRestore, \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($useImportsToRestore, \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation::class); $default = [new \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation('Doctrine\\ORM\\Mapping', 'ORM'), new \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation('Symfony\\Component\\Validator\\Constraints', 'Assert'), new \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation('JMS\\Serializer\\Annotation', 'Serializer')]; $this->useImportsToRestore = \array_merge($useImportsToRestore, $default); } @@ -110,7 +110,7 @@ CODE_SAMPLE } private function addImportToNamespace(\PhpParser\Node\Stmt\Namespace_ $namespace, \Rector\Restoration\ValueObject\CompleteImportForPartialAnnotation $completeImportForPartialAnnotation) : \PhpParser\Node\Stmt\Namespace_ { - $useBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder($completeImportForPartialAnnotation->getUse()); + $useBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\UseBuilder($completeImportForPartialAnnotation->getUse()); if ($completeImportForPartialAnnotation->getAlias() !== '') { $useBuilder->as($completeImportForPartialAnnotation->getAlias()); } diff --git a/rules/Strict/Rector/AbstractFalsyScalarRuleFixerRector.php b/rules/Strict/Rector/AbstractFalsyScalarRuleFixerRector.php index 608640c7695..421108fefd0 100644 --- a/rules/Strict/Rector/AbstractFalsyScalarRuleFixerRector.php +++ b/rules/Strict/Rector/AbstractFalsyScalarRuleFixerRector.php @@ -5,7 +5,7 @@ namespace Rector\Strict\Rector; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Strict\Rector\BooleanNot\BooleanInBooleanNotRuleFixerRector\BooleanInBooleanNotRuleFixerRectorTest */ @@ -25,7 +25,7 @@ abstract class AbstractFalsyScalarRuleFixerRector extends \Rector\Core\Rector\Ab public function configure(array $configuration) : void { $treatAsNonEmpty = $configuration[self::TREAT_AS_NON_EMPTY] ?? \false; - \RectorPrefix20211129\Webmozart\Assert\Assert::boolean($treatAsNonEmpty); + \RectorPrefix20211130\Webmozart\Assert\Assert::boolean($treatAsNonEmpty); $this->treatAsNonEmpty = $treatAsNonEmpty; } } diff --git a/rules/Transform/Rector/Assign/DimFetchAssignToMethodCallRector.php b/rules/Transform/Rector/Assign/DimFetchAssignToMethodCallRector.php index 224e48c0d78..7dd2cf0b8a6 100644 --- a/rules/Transform/Rector/Assign/DimFetchAssignToMethodCallRector.php +++ b/rules/Transform/Rector/Assign/DimFetchAssignToMethodCallRector.php @@ -14,7 +14,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\DimFetchAssignToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\DimFetchAssignToMethodCallRector\DimFetchAssignToMethodCallRectorTest */ @@ -91,7 +91,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $dimFetchAssignToMethodCalls = $configuration[self::DIM_FETCH_ASSIGN_TO_METHOD_CALL] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($dimFetchAssignToMethodCalls, \Rector\Transform\ValueObject\DimFetchAssignToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($dimFetchAssignToMethodCalls, \Rector\Transform\ValueObject\DimFetchAssignToMethodCall::class); $this->dimFetchAssignToMethodCalls = $dimFetchAssignToMethodCalls; } private function findDimFetchAssignToMethodCall(\PhpParser\Node\Expr\Assign $assign) : ?\Rector\Transform\ValueObject\DimFetchAssignToMethodCall diff --git a/rules/Transform/Rector/Assign/GetAndSetToMethodCallRector.php b/rules/Transform/Rector/Assign/GetAndSetToMethodCallRector.php index c6194125395..2ab16fe377a 100644 --- a/rules/Transform/Rector/Assign/GetAndSetToMethodCallRector.php +++ b/rules/Transform/Rector/Assign/GetAndSetToMethodCallRector.php @@ -18,7 +18,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\Transform\ValueObject\GetAndSetToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\GetAndSetToMethodCallRector\GetAndSetToMethodCallRectorTest */ @@ -83,7 +83,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $getAndSetToMethodCalls = $configuration[self::TYPE_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($getAndSetToMethodCalls, \Rector\Transform\ValueObject\GetAndSetToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($getAndSetToMethodCalls, \Rector\Transform\ValueObject\GetAndSetToMethodCall::class); $this->getAndSetToMethodCalls = $getAndSetToMethodCalls; } private function processMagicSet(\PhpParser\Node\Expr $expr, \PhpParser\Node\Expr\PropertyFetch $propertyFetch) : ?\PhpParser\Node diff --git a/rules/Transform/Rector/Assign/PropertyAssignToMethodCallRector.php b/rules/Transform/Rector/Assign/PropertyAssignToMethodCallRector.php index 0ae2463db01..99691ed6e91 100644 --- a/rules/Transform/Rector/Assign/PropertyAssignToMethodCallRector.php +++ b/rules/Transform/Rector/Assign/PropertyAssignToMethodCallRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\PropertyAssignToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\PropertyAssignToMethodCallRector\PropertyAssignToMethodCallRectorTest */ @@ -73,7 +73,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $propertyAssignsToMethodCalls = $configuration[self::PROPERTY_ASSIGNS_TO_METHODS_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($propertyAssignsToMethodCalls, \Rector\Transform\ValueObject\PropertyAssignToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($propertyAssignsToMethodCalls, \Rector\Transform\ValueObject\PropertyAssignToMethodCall::class); $this->propertyAssignsToMethodCalls = $propertyAssignsToMethodCalls; } } diff --git a/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php b/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php index 1f24a6b43f2..d374d9ba962 100644 --- a/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php +++ b/rules/Transform/Rector/Assign/PropertyFetchToMethodCallRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\PropertyFetchToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Assign\PropertyFetchToMethodCallRector\PropertyFetchToMethodCallRectorTest */ @@ -73,7 +73,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $propertiesToMethodCalls = $configuration[self::PROPERTIES_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($propertiesToMethodCalls, \Rector\Transform\ValueObject\PropertyFetchToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($propertiesToMethodCalls, \Rector\Transform\ValueObject\PropertyFetchToMethodCall::class); $this->propertiesToMethodCalls = $propertiesToMethodCalls; } private function processSetter(\PhpParser\Node\Expr\Assign $assign) : ?\PhpParser\Node diff --git a/rules/Transform/Rector/Attribute/AttributeKeyToClassConstFetchRector.php b/rules/Transform/Rector/Attribute/AttributeKeyToClassConstFetchRector.php index 5ba648d965e..78f1ca60590 100644 --- a/rules/Transform/Rector/Attribute/AttributeKeyToClassConstFetchRector.php +++ b/rules/Transform/Rector/Attribute/AttributeKeyToClassConstFetchRector.php @@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\AttributeKeyToClassConstFetch; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/doctrine/dbal/blob/3.1.x/src/Types/Types.php * @@ -91,7 +91,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $attributeKeysToClassConstFetches = $configuration[self::ATTRIBUTE_KEYS_TO_CLASS_CONST_FETCHES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($attributeKeysToClassConstFetches, \Rector\Transform\ValueObject\AttributeKeyToClassConstFetch::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($attributeKeysToClassConstFetches, \Rector\Transform\ValueObject\AttributeKeyToClassConstFetch::class); $this->attributeKeysToClassConstFetches = $attributeKeysToClassConstFetches; } } diff --git a/rules/Transform/Rector/ClassMethod/SingleToManyMethodRector.php b/rules/Transform/Rector/ClassMethod/SingleToManyMethodRector.php index ed0b4113b96..ecbf53e9870 100644 --- a/rules/Transform/Rector/ClassMethod/SingleToManyMethodRector.php +++ b/rules/Transform/Rector/ClassMethod/SingleToManyMethodRector.php @@ -16,7 +16,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\SingleToManyMethod; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\ClassMethod\SingleToManyMethodRector\SingleToManyMethodRectorTest */ @@ -101,7 +101,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $singleToManyMethods = $configuration[self::SINGLES_TO_MANY_METHODS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($singleToManyMethods, \Rector\Transform\ValueObject\SingleToManyMethod::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($singleToManyMethods, \Rector\Transform\ValueObject\SingleToManyMethod::class); $this->singleToManyMethods = $singleToManyMethods; } private function keepOldReturnTypeInDocBlock(\PhpParser\Node\Stmt\ClassMethod $classMethod) : void diff --git a/rules/Transform/Rector/ClassMethod/WrapReturnRector.php b/rules/Transform/Rector/ClassMethod/WrapReturnRector.php index 0e2ce211eab..7d92e6dfb72 100644 --- a/rules/Transform/Rector/ClassMethod/WrapReturnRector.php +++ b/rules/Transform/Rector/ClassMethod/WrapReturnRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\WrapReturn; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\ClassMethod\WrapReturnRector\WrapReturnRectorTest */ @@ -81,7 +81,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typeMethodWraps = $configuration[self::TYPE_METHOD_WRAPS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($typeMethodWraps, \Rector\Transform\ValueObject\WrapReturn::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($typeMethodWraps, \Rector\Transform\ValueObject\WrapReturn::class); $this->typeMethodWraps = $typeMethodWraps; } private function wrap(\PhpParser\Node\Stmt\ClassMethod $classMethod, bool $isArrayWrap) : ?\PhpParser\Node\Stmt\ClassMethod diff --git a/rules/Transform/Rector/Class_/AddInterfaceByParentRector.php b/rules/Transform/Rector/Class_/AddInterfaceByParentRector.php index 22906dd637b..4b03fd9cca1 100644 --- a/rules/Transform/Rector/Class_/AddInterfaceByParentRector.php +++ b/rules/Transform/Rector/Class_/AddInterfaceByParentRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Class_\AddInterfaceByParentRector\AddInterfaceByParentRectorTest */ @@ -84,9 +84,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $interfaceByParent = $configuration[self::INTERFACE_BY_PARENT] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($interfaceByParent); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($interfaceByParent)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($interfaceByParent); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($interfaceByParent); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($interfaceByParent)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($interfaceByParent); $this->interfaceByParent = $interfaceByParent; } } diff --git a/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php b/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php index b888c5ac971..bfa20cb0933 100644 --- a/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php +++ b/rules/Transform/Rector/Class_/AddInterfaceByTraitRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Class_\AddInterfaceByTraitRector\AddInterfaceByTraitRectorTest */ @@ -81,9 +81,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $interfaceByTrait = $configuration[self::INTERFACE_BY_TRAIT] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($interfaceByTrait); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($interfaceByTrait)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($interfaceByTrait); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($interfaceByTrait); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($interfaceByTrait)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($interfaceByTrait); $this->interfaceByTrait = $interfaceByTrait; } } diff --git a/rules/Transform/Rector/Class_/MergeInterfacesRector.php b/rules/Transform/Rector/Class_/MergeInterfacesRector.php index 9369a918def..b011d7893e7 100644 --- a/rules/Transform/Rector/Class_/MergeInterfacesRector.php +++ b/rules/Transform/Rector/Class_/MergeInterfacesRector.php @@ -10,7 +10,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * Covers cases like * - https://github.com/FriendsOfPHP/PHP-CS-Fixer/commit/a1cdb4d2dd8f45d731244eed406e1d537218cc66 @@ -75,9 +75,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $oldToNewInterfaces = $configuration[self::OLD_TO_NEW_INTERFACES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($oldToNewInterfaces); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($oldToNewInterfaces)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($oldToNewInterfaces); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($oldToNewInterfaces); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($oldToNewInterfaces)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($oldToNewInterfaces); $this->oldToNewInterfaces = $oldToNewInterfaces; } private function makeImplementsUnique(\PhpParser\Node\Stmt\Class_ $class) : void diff --git a/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php b/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php index 82983c473cd..6cae68e0adb 100644 --- a/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php +++ b/rules/Transform/Rector/Class_/ParentClassToTraitsRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\ParentClassToTraits; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * Can handle cases like: * - https://doc.nette.org/en/2.4/migration-2-4#toc-nette-smartobject @@ -94,7 +94,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $parentClassToTraits = $configuration[self::PARENT_CLASS_TO_TRAITS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($parentClassToTraits, \Rector\Transform\ValueObject\ParentClassToTraits::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($parentClassToTraits, \Rector\Transform\ValueObject\ParentClassToTraits::class); $this->parentClassToTraits = $parentClassToTraits; } private function removeParentClass(\PhpParser\Node\Stmt\Class_ $class) : void diff --git a/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php b/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php index 792f8eab7de..aecba27e5d8 100644 --- a/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php +++ b/rules/Transform/Rector/FuncCall/ArgumentFuncCallToMethodCallRector.php @@ -23,7 +23,7 @@ use Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall; use Rector\Transform\ValueObject\ArrayFuncCallToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\ArgumentFuncCallToMethodCallRector\ArgumentFuncCallToMethodCallRectorTest */ @@ -134,10 +134,10 @@ CODE_SAMPLE public function configure(array $configuration) : void { $functionToMethodCalls = $configuration[self::FUNCTIONS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($functionToMethodCalls, \Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($functionToMethodCalls, \Rector\Transform\ValueObject\ArgumentFuncCallToMethodCall::class); $this->argumentFuncCallToMethodCalls = $functionToMethodCalls; $arrayFunctionsToMethodCalls = $configuration[self::ARRAY_FUNCTIONS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($arrayFunctionsToMethodCalls, \Rector\Transform\ValueObject\ArrayFuncCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($arrayFunctionsToMethodCalls, \Rector\Transform\ValueObject\ArrayFuncCallToMethodCall::class); $this->arrayFunctionsToMethodCalls = $arrayFunctionsToMethodCalls; } private function shouldSkipFuncCall(\PhpParser\Node\Expr\FuncCall $funcCall) : bool diff --git a/rules/Transform/Rector/FuncCall/FuncCallToConstFetchRector.php b/rules/Transform/Rector/FuncCall/FuncCallToConstFetchRector.php index ff3d6941092..bbf6b381724 100644 --- a/rules/Transform/Rector/FuncCall/FuncCallToConstFetchRector.php +++ b/rules/Transform/Rector/FuncCall/FuncCallToConstFetchRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToConstFetchRector\FunctionCallToConstantRectorTest */ @@ -74,9 +74,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $functionsToConstants = $configuration[self::FUNCTIONS_TO_CONSTANTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($functionsToConstants); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($functionsToConstants); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($functionsToConstants)); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($functionsToConstants); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($functionsToConstants); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($functionsToConstants)); /** @var array $functionsToConstants */ $this->functionsToConstants = $functionsToConstants; } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php b/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php index f4193dd809e..efac9b659ca 100644 --- a/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php +++ b/rules/Transform/Rector/FuncCall/FuncCallToMethodCallRector.php @@ -13,7 +13,7 @@ use Rector\Transform\NodeAnalyzer\FuncCallStaticCallToMethodCallAnalyzer; use Rector\Transform\ValueObject\FuncCallToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToMethodCallRector\FuncCallToMethodCallRectorTest */ @@ -105,8 +105,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $funcCallsToClassMethodCalls = $configuration[self::FUNC_CALL_TO_CLASS_METHOD_CALL] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($funcCallsToClassMethodCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($funcCallsToClassMethodCalls, \Rector\Transform\ValueObject\FuncCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($funcCallsToClassMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($funcCallsToClassMethodCalls, \Rector\Transform\ValueObject\FuncCallToMethodCall::class); $this->funcNameToMethodCallNames = $funcCallsToClassMethodCalls; } } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php b/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php index 37ee266e37c..c8cd5fc8a48 100644 --- a/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php +++ b/rules/Transform/Rector/FuncCall/FuncCallToNewRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToNewRector\FuncCallToNewRectorTest */ @@ -73,8 +73,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $functionsToNews = $configuration[self::FUNCTIONS_TO_NEWS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($functionsToNews); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($functionsToNews); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($functionsToNews); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($functionsToNews); $this->functionToNew = $functionsToNews; } } diff --git a/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php b/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php index b77251c5235..0f5e624ca65 100644 --- a/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php +++ b/rules/Transform/Rector/FuncCall/FuncCallToStaticCallRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\FuncCallToStaticCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\FuncCall\FuncCallToStaticCallRector\FuncCallToStaticCallRectorTest */ @@ -54,8 +54,8 @@ final class FuncCallToStaticCallRector extends \Rector\Core\Rector\AbstractRecto public function configure(array $configuration) : void { $funcCallsToStaticCalls = $configuration[self::FUNC_CALLS_TO_STATIC_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($funcCallsToStaticCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($funcCallsToStaticCalls, \Rector\Transform\ValueObject\FuncCallToStaticCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($funcCallsToStaticCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($funcCallsToStaticCalls, \Rector\Transform\ValueObject\FuncCallToStaticCall::class); $this->funcCallsToStaticCalls = $funcCallsToStaticCalls; } } diff --git a/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php b/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php index 45a5cef597e..f3c868b9859 100644 --- a/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php +++ b/rules/Transform/Rector/Isset_/UnsetAndIssetToMethodCallRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\UnsetAndIssetToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\Isset_\UnsetAndIssetToMethodCallRector\UnsetAndIssetToMethodCallRectorTest */ @@ -75,8 +75,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $issetUnsetToMethodCalls = $configuration[self::ISSET_UNSET_TO_METHOD_CALL] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($issetUnsetToMethodCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($issetUnsetToMethodCalls, \Rector\Transform\ValueObject\UnsetAndIssetToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($issetUnsetToMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($issetUnsetToMethodCalls, \Rector\Transform\ValueObject\UnsetAndIssetToMethodCall::class); $this->issetUnsetToMethodCalls = $issetUnsetToMethodCalls; } private function processArrayDimFetchNode(\PhpParser\Node $node, \PhpParser\Node\Expr\ArrayDimFetch $arrayDimFetch, \Rector\Transform\ValueObject\UnsetAndIssetToMethodCall $unsetAndIssetToMethodCall) : ?\PhpParser\Node diff --git a/rules/Transform/Rector/MethodCall/CallableInMethodCallToVariableRector.php b/rules/Transform/Rector/MethodCall/CallableInMethodCallToVariableRector.php index ef5866f7da8..8e409d69aca 100644 --- a/rules/Transform/Rector/MethodCall/CallableInMethodCallToVariableRector.php +++ b/rules/Transform/Rector/MethodCall/CallableInMethodCallToVariableRector.php @@ -14,7 +14,7 @@ use Rector\Transform\NodeFactory\UnwrapClosureFactory; use Rector\Transform\ValueObject\CallableInMethodCallToVariable; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/nette/caching/commit/5ffe263752af5ccf3866a28305e7b2669ab4da82 * @@ -107,8 +107,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $callableInMethodCallToVariable = $configuration[self::CALLABLE_IN_METHOD_CALL_TO_VARIABLE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($callableInMethodCallToVariable); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($callableInMethodCallToVariable, \Rector\Transform\ValueObject\CallableInMethodCallToVariable::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($callableInMethodCallToVariable); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($callableInMethodCallToVariable, \Rector\Transform\ValueObject\CallableInMethodCallToVariable::class); $this->callableInMethodCallToVariable = $callableInMethodCallToVariable; } } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php b/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php index e3203739e8a..3486f5be2e0 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToAnotherMethodCallWithArgumentsRector.php @@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\MethodCallToAnotherMethodCallWithArguments; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToAnotherMethodCallWithArgumentsRector\MethodCallToAnotherMethodCallWithArgumentsRectorTest */ @@ -68,8 +68,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallRenamesWithAddedArguments = $configuration[self::METHOD_CALL_RENAMES_WITH_ADDED_ARGUMENTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($methodCallRenamesWithAddedArguments); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodCallRenamesWithAddedArguments, \Rector\Transform\ValueObject\MethodCallToAnotherMethodCallWithArguments::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($methodCallRenamesWithAddedArguments); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodCallRenamesWithAddedArguments, \Rector\Transform\ValueObject\MethodCallToAnotherMethodCallWithArguments::class); $this->methodCallRenamesWithAddedArguments = $methodCallRenamesWithAddedArguments; } } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php b/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php index b8676d49376..70627809938 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToMethodCallRector.php @@ -18,7 +18,7 @@ use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\Transform\ValueObject\MethodCallToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToMethodCallRector\MethodCallToMethodCallRectorTest */ @@ -127,7 +127,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallsToMethodsCalls = $configuration[self::METHOD_CALLS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodCallsToMethodsCalls, \Rector\Transform\ValueObject\MethodCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodCallsToMethodsCalls, \Rector\Transform\ValueObject\MethodCallToMethodCall::class); $this->methodCallsToMethodsCalls = $methodCallsToMethodsCalls; } private function isMatch(\PhpParser\Node\Expr\MethodCall $methodCall, \Rector\Transform\ValueObject\MethodCallToMethodCall $methodCallToMethodCall) : bool diff --git a/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php b/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php index 480386ecf8d..f4ccf3a3063 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToPropertyFetchRector.php @@ -9,7 +9,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToPropertyFetchRector\MethodCallToPropertyFetchRectorTest */ @@ -72,8 +72,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallToPropertyFetchCollection = $configuration[self::METHOD_CALL_TO_PROPERTY_FETCHES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($methodCallToPropertyFetchCollection)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($methodCallToPropertyFetchCollection); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($methodCallToPropertyFetchCollection)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($methodCallToPropertyFetchCollection); /** @var array $methodCallToPropertyFetchCollection */ $this->methodCallToPropertyFetchCollection = $methodCallToPropertyFetchCollection; } diff --git a/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php b/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php index 8e1d878a777..52978e8dfa9 100644 --- a/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php +++ b/rules/Transform/Rector/MethodCall/MethodCallToStaticCallRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\MethodCallToStaticCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\MethodCallToStaticCallRector\MethodCallToStaticCallRectorTest */ @@ -89,8 +89,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallsToStaticCalls = $configuration[self::METHOD_CALLS_TO_STATIC_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($methodCallsToStaticCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodCallsToStaticCalls, \Rector\Transform\ValueObject\MethodCallToStaticCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($methodCallsToStaticCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodCallsToStaticCalls, \Rector\Transform\ValueObject\MethodCallToStaticCall::class); $this->methodCallsToStaticCalls = $methodCallsToStaticCalls; } } diff --git a/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php b/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php index 4486cb14925..26f17c5840d 100644 --- a/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php +++ b/rules/Transform/Rector/MethodCall/ReplaceParentCallByPropertyCallRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\ReplaceParentCallByPropertyCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\ReplaceParentCallByPropertyCallRector\ReplaceParentCallByPropertyCallRectorTest */ @@ -76,7 +76,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $parentCallToProperties = $configuration[self::PARENT_CALLS_TO_PROPERTIES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($parentCallToProperties, \Rector\Transform\ValueObject\ReplaceParentCallByPropertyCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($parentCallToProperties, \Rector\Transform\ValueObject\ReplaceParentCallByPropertyCall::class); $this->parentCallToProperties = $parentCallToProperties; } } diff --git a/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php b/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php index 24a3ce12af2..4f53c442d27 100644 --- a/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php +++ b/rules/Transform/Rector/MethodCall/ServiceGetterToConstructorInjectionRector.php @@ -19,7 +19,7 @@ use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\Transform\ValueObject\ServiceGetterToConstructorInjection; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\MethodCall\ServiceGetterToConstructorInjectionRector\ServiceGetterToConstructorInjectionRectorTest */ @@ -159,8 +159,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodCallToServices = $configuration[self::METHOD_CALL_TO_SERVICES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($methodCallToServices); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodCallToServices, \Rector\Transform\ValueObject\ServiceGetterToConstructorInjection::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($methodCallToServices); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodCallToServices, \Rector\Transform\ValueObject\ServiceGetterToConstructorInjection::class); $this->methodCallToServices = $methodCallToServices; } } diff --git a/rules/Transform/Rector/New_/NewArgToMethodCallRector.php b/rules/Transform/Rector/New_/NewArgToMethodCallRector.php index 0a2c7c1e7da..04b8dbe4296 100644 --- a/rules/Transform/Rector/New_/NewArgToMethodCallRector.php +++ b/rules/Transform/Rector/New_/NewArgToMethodCallRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\NewArgToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35308 * @@ -88,8 +88,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $newArgsToMethodCalls = $configuration[self::NEW_ARGS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($newArgsToMethodCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($newArgsToMethodCalls, \Rector\Transform\ValueObject\NewArgToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($newArgsToMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($newArgsToMethodCalls, \Rector\Transform\ValueObject\NewArgToMethodCall::class); $this->newArgsToMethodCalls = $newArgsToMethodCalls; } } diff --git a/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php b/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php index c77cad973b5..74a4bff1d78 100644 --- a/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php +++ b/rules/Transform/Rector/New_/NewToConstructorInjectionRector.php @@ -20,7 +20,7 @@ use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\Transform\NodeFactory\PropertyFetchFactory; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToConstructorInjectionRector\NewToConstructorInjectionRectorTest */ @@ -119,7 +119,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typesToConstructorInjections = $configuration[self::TYPES_TO_CONSTRUCTOR_INJECTION] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($typesToConstructorInjections); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($typesToConstructorInjections); foreach ($typesToConstructorInjections as $typeToConstructorInjection) { $this->constructorInjectionObjectTypes[] = new \PHPStan\Type\ObjectType($typeToConstructorInjection); } diff --git a/rules/Transform/Rector/New_/NewToMethodCallRector.php b/rules/Transform/Rector/New_/NewToMethodCallRector.php index 193a9a48b98..3a81141a026 100644 --- a/rules/Transform/Rector/New_/NewToMethodCallRector.php +++ b/rules/Transform/Rector/New_/NewToMethodCallRector.php @@ -18,7 +18,7 @@ use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\Transform\ValueObject\NewToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToMethodCallRector\NewToMethodCallRectorTest */ @@ -117,8 +117,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $newsToMethodCalls = $configuration[self::NEWS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($newsToMethodCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($newsToMethodCalls, \Rector\Transform\ValueObject\NewToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($newsToMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($newsToMethodCalls, \Rector\Transform\ValueObject\NewToMethodCall::class); $this->newsToMethodCalls = $newsToMethodCalls; } private function getExistingFactoryPropertyName(\PhpParser\Node\Stmt\Class_ $class, \PHPStan\Type\ObjectType $factoryObjectType) : ?string diff --git a/rules/Transform/Rector/New_/NewToStaticCallRector.php b/rules/Transform/Rector/New_/NewToStaticCallRector.php index 4da64a17af8..8cd84a1039d 100644 --- a/rules/Transform/Rector/New_/NewToStaticCallRector.php +++ b/rules/Transform/Rector/New_/NewToStaticCallRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\NewToStaticCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\New_\NewToStaticCallRector\NewToStaticCallRectorTest */ @@ -72,8 +72,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $typeToStaticCalls = $configuration[self::TYPE_TO_STATIC_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($typeToStaticCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($typeToStaticCalls, \Rector\Transform\ValueObject\NewToStaticCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($typeToStaticCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($typeToStaticCalls, \Rector\Transform\ValueObject\NewToStaticCall::class); $this->typeToStaticCalls = $typeToStaticCalls; } } diff --git a/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php b/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php index db915c829e4..52d712f9fcd 100644 --- a/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php +++ b/rules/Transform/Rector/StaticCall/StaticCallToFuncCallRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\StaticCallToFuncCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\StaticCall\StaticCallToFuncCallRector\StaticCallToFuncCallRectorTest */ @@ -66,8 +66,8 @@ final class StaticCallToFuncCallRector extends \Rector\Core\Rector\AbstractRecto public function configure(array $configuration) : void { $staticCallsToFunctions = $configuration[self::STATIC_CALLS_TO_FUNCTIONS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($staticCallsToFunctions); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($staticCallsToFunctions, \Rector\Transform\ValueObject\StaticCallToFuncCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($staticCallsToFunctions); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($staticCallsToFunctions, \Rector\Transform\ValueObject\StaticCallToFuncCall::class); $this->staticCallsToFunctions = $staticCallsToFunctions; } } diff --git a/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php b/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php index 3037e076638..1407f7dd962 100644 --- a/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php +++ b/rules/Transform/Rector/StaticCall/StaticCallToMethodCallRector.php @@ -17,7 +17,7 @@ use Rector\Transform\NodeAnalyzer\FuncCallStaticCallToMethodCallAnalyzer; use Rector\Transform\ValueObject\StaticCallToMethodCall; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\StaticCall\StaticCallToMethodCallRector\StaticCallToMethodCallRectorTest */ @@ -122,8 +122,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $staticCallsToMethodCalls = $configuration[self::STATIC_CALLS_TO_METHOD_CALLS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($staticCallsToMethodCalls); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($staticCallsToMethodCalls, \Rector\Transform\ValueObject\StaticCallToMethodCall::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($staticCallsToMethodCalls); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($staticCallsToMethodCalls, \Rector\Transform\ValueObject\StaticCallToMethodCall::class); $this->staticCallsToMethodCalls = $staticCallsToMethodCalls; } private function refactorToInstanceCall(\PhpParser\Node\Expr\StaticCall $staticCall, \Rector\Transform\ValueObject\StaticCallToMethodCall $staticCallToMethodCall) : \PhpParser\Node\Expr\MethodCall diff --git a/rules/Transform/Rector/StaticCall/StaticCallToNewRector.php b/rules/Transform/Rector/StaticCall/StaticCallToNewRector.php index db071ee5152..20e20e77170 100644 --- a/rules/Transform/Rector/StaticCall/StaticCallToNewRector.php +++ b/rules/Transform/Rector/StaticCall/StaticCallToNewRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\StaticCallToNew; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @changelog https://github.com/symfony/symfony/pull/35308 * @@ -83,7 +83,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $staticCallsToNews = $configuration[self::STATIC_CALLS_TO_NEWS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($staticCallsToNews, \Rector\Transform\ValueObject\StaticCallToNew::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($staticCallsToNews, \Rector\Transform\ValueObject\StaticCallToNew::class); $this->staticCallsToNews = $staticCallsToNews; } } diff --git a/rules/Transform/Rector/String_/StringToClassConstantRector.php b/rules/Transform/Rector/String_/StringToClassConstantRector.php index 93d01f5703b..aec20a8a1ea 100644 --- a/rules/Transform/Rector/String_/StringToClassConstantRector.php +++ b/rules/Transform/Rector/String_/StringToClassConstantRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Transform\ValueObject\StringToClassConstant; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\String_\StringToClassConstantRector\StringToClassConstantRectorTest */ @@ -72,8 +72,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $stringToClassConstants = $configuration[self::STRINGS_TO_CLASS_CONSTANTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($stringToClassConstants); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($stringToClassConstants, \Rector\Transform\ValueObject\StringToClassConstant::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($stringToClassConstants); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($stringToClassConstants, \Rector\Transform\ValueObject\StringToClassConstant::class); $this->stringsToClassConstants = $stringToClassConstants; } } diff --git a/rules/Transform/Rector/String_/ToStringToMethodCallRector.php b/rules/Transform/Rector/String_/ToStringToMethodCallRector.php index 00bfd413956..44cc8137621 100644 --- a/rules/Transform/Rector/String_/ToStringToMethodCallRector.php +++ b/rules/Transform/Rector/String_/ToStringToMethodCallRector.php @@ -12,7 +12,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Transform\Rector\String_\ToStringToMethodCallRector\ToStringToMethodCallRectorTest */ @@ -64,8 +64,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodNamesByType = $configuration[self::METHOD_NAMES_BY_TYPE] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($methodNamesByType)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($methodNamesByType); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($methodNamesByType)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($methodNamesByType); /** @var array $methodNamesByType */ $this->methodNamesByType = $methodNamesByType; } diff --git a/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php b/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php index 547f4b5d79b..6e53dde6209 100644 --- a/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php +++ b/rules/TypeDeclaration/AlreadyAssignDetector/ConstructorAssignDetector.php @@ -15,7 +15,7 @@ use Rector\Core\ValueObject\MethodName; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\TypeDeclaration\Matcher\PropertyAssignMatcher; use Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ConstructorAssignDetector { /** @@ -38,7 +38,7 @@ final class ConstructorAssignDetector * @var \Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer */ private $autowiredClassMethodOrPropertyAnalyzer; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer $autowiredClassMethodOrPropertyAnalyzer) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\TypeDeclaration\NodeAnalyzer\AutowiredClassMethodOrPropertyAnalyzer $autowiredClassMethodOrPropertyAnalyzer) { $this->nodeTypeResolver = $nodeTypeResolver; $this->propertyAssignMatcher = $propertyAssignMatcher; diff --git a/rules/TypeDeclaration/AlreadyAssignDetector/NullTypeAssignDetector.php b/rules/TypeDeclaration/AlreadyAssignDetector/NullTypeAssignDetector.php index c5c26032296..50e2a96b6ae 100644 --- a/rules/TypeDeclaration/AlreadyAssignDetector/NullTypeAssignDetector.php +++ b/rules/TypeDeclaration/AlreadyAssignDetector/NullTypeAssignDetector.php @@ -12,7 +12,7 @@ use Rector\NodeNestingScope\ScopeNestingComparator; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\PHPStanStaticTypeMapper\DoctrineTypeAnalyzer; use Rector\TypeDeclaration\Matcher\PropertyAssignMatcher; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; /** * Should add extra null type */ @@ -38,7 +38,7 @@ final class NullTypeAssignDetector * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\NodeNestingScope\ScopeNestingComparator $scopeNestingComparator, \Rector\PHPStanStaticTypeMapper\DoctrineTypeAnalyzer $doctrineTypeAnalyzer, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\NodeNestingScope\ScopeNestingComparator $scopeNestingComparator, \Rector\PHPStanStaticTypeMapper\DoctrineTypeAnalyzer $doctrineTypeAnalyzer, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->scopeNestingComparator = $scopeNestingComparator; $this->doctrineTypeAnalyzer = $doctrineTypeAnalyzer; diff --git a/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php b/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php index c4aa4522f6a..2c61c35c7d2 100644 --- a/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php +++ b/rules/TypeDeclaration/NodeAnalyzer/AutowiredClassMethodOrPropertyAnalyzer.php @@ -8,7 +8,7 @@ use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Property; use Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory; use Rector\Php80\NodeAnalyzer\PhpAttributeAnalyzer; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; final class AutowiredClassMethodOrPropertyAnalyzer { /** @@ -33,6 +33,6 @@ final class AutowiredClassMethodOrPropertyAnalyzer if ($nodePhpDocInfo->hasByNames(['required', 'inject'])) { return \true; } - return $this->phpAttributeAnalyzer->hasPhpAttributes($node, [\RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required::class, 'Nette\\DI\\Attributes\\Inject']); + return $this->phpAttributeAnalyzer->hasPhpAttributes($node, [\RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required::class, 'Nette\\DI\\Attributes\\Inject']); } } diff --git a/rules/TypeDeclaration/PHPStan/Type/ObjectTypeSpecifier.php b/rules/TypeDeclaration/PHPStan/Type/ObjectTypeSpecifier.php index 9a1d5c9fbaf..0a7c7923497 100644 --- a/rules/TypeDeclaration/PHPStan/Type/ObjectTypeSpecifier.php +++ b/rules/TypeDeclaration/PHPStan/Type/ObjectTypeSpecifier.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\PHPStan\Type; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Expr\StaticCall; @@ -169,7 +169,7 @@ final class ObjectTypeSpecifier if (\strncmp($objectType->getClassName(), $useUse->name->getLast() . '\\', \strlen($useUse->name->getLast() . '\\')) !== 0) { return null; } - $classNameWithoutLastUsePart = \RectorPrefix20211129\Nette\Utils\Strings::after($objectType->getClassName(), '\\', 1); + $classNameWithoutLastUsePart = \RectorPrefix20211130\Nette\Utils\Strings::after($objectType->getClassName(), '\\', 1); $connectedClassName = $useUse->name->toString() . '\\' . $classNameWithoutLastUsePart; if (!$this->reflectionProvider->hasClass($connectedClassName)) { return null; diff --git a/rules/TypeDeclaration/PhpDoc/ShortClassExpander.php b/rules/TypeDeclaration/PhpDoc/ShortClassExpander.php index 2194fedca2b..98c115297f1 100644 --- a/rules/TypeDeclaration/PhpDoc/ShortClassExpander.php +++ b/rules/TypeDeclaration/PhpDoc/ShortClassExpander.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\PhpDoc; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Reflection\ReflectionProvider; @@ -54,6 +54,6 @@ final class ShortClassExpander } private function getCleanedUpTargetEntity(string $targetEntity) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($targetEntity, self::CLASS_CONST_REGEX, ''); } } diff --git a/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php b/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php index 427e8d6aef6..cd55e633871 100644 --- a/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php +++ b/rules/TypeDeclaration/PhpDocParser/NonInformativeReturnTagRemover.php @@ -27,7 +27,7 @@ use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ParentStaticType; use Rector\StaticTypeMapper\ValueObject\Type\SelfObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; final class NonInformativeReturnTagRemover { /** @@ -42,7 +42,7 @@ final class NonInformativeReturnTagRemover * @var \Symplify\PackageBuilder\Php\TypeChecker */ private $typeChecker; - public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) + public function __construct(\Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) { $this->phpDocInfoFactory = $phpDocInfoFactory; $this->typeChecker = $typeChecker; diff --git a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php index 217827dce47..875441b0fc8 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddParamTypeDeclarationRector.php @@ -19,7 +19,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddParamTypeDeclarationRector\AddParamTypeDeclarationRectorTest */ @@ -96,8 +96,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $parameterTypehints = $configuration[self::PARAMETER_TYPEHINTS] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($parameterTypehints); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($parameterTypehints, \Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($parameterTypehints); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($parameterTypehints, \Rector\TypeDeclaration\ValueObject\AddParamTypeDeclaration::class); $this->parameterTypehints = $parameterTypehints; } private function shouldSkip(\PhpParser\Node\Stmt\ClassMethod $classMethod) : bool diff --git a/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php b/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php index d6ab0380197..14e06856750 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddReturnTypeDeclarationRector.php @@ -15,7 +15,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddReturnTypeDeclarationRector\AddReturnTypeDeclarationRectorTest */ @@ -89,8 +89,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodReturnTypes = $configuration[self::METHOD_RETURN_TYPES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($methodReturnTypes); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodReturnTypes, \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($methodReturnTypes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodReturnTypes, \Rector\TypeDeclaration\ValueObject\AddReturnTypeDeclaration::class); $this->methodReturnTypes = $methodReturnTypes; } private function processClassMethodNodeWithTypehints(\PhpParser\Node\Stmt\ClassMethod $classMethod, \PHPStan\Type\Type $newType) : void diff --git a/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php b/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php index 25cfb583e89..cb74896402a 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/AddVoidReturnTypeWhereNoReturnRector.php @@ -18,7 +18,7 @@ use Rector\VendorLocker\NodeVendorLocker\ClassMethodReturnVendorLockResolver; use Rector\VersionBonding\Contract\MinPhpVersionInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\ClassMethod\AddVoidReturnTypeWhereNoReturnRector\AddVoidReturnTypeWhereNoReturnRectorTest */ @@ -116,7 +116,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $usePhpdoc = $configuration[self::USE_PHPDOC] ?? \false; - \RectorPrefix20211129\Webmozart\Assert\Assert::boolean($usePhpdoc); + \RectorPrefix20211130\Webmozart\Assert\Assert::boolean($usePhpdoc); $this->usePhpdoc = $usePhpdoc; } } diff --git a/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php b/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php index 035e1697baa..f6c7b4553fe 100644 --- a/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php +++ b/rules/TypeDeclaration/Rector/ClassMethod/ParamTypeByMethodCallTypeRector.php @@ -23,7 +23,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher; use Rector\VendorLocker\ParentClassMethodTypeOverrideGuard; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -43,7 +43,7 @@ final class ParamTypeByMethodCallTypeRector extends \Rector\Core\Rector\Abstract * @var \Rector\VendorLocker\ParentClassMethodTypeOverrideGuard */ private $parentClassMethodTypeOverrideGuard; - public function __construct(\Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher $callerParamMatcher, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\VendorLocker\ParentClassMethodTypeOverrideGuard $parentClassMethodTypeOverrideGuard) + public function __construct(\Rector\TypeDeclaration\NodeAnalyzer\CallerParamMatcher $callerParamMatcher, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\VendorLocker\ParentClassMethodTypeOverrideGuard $parentClassMethodTypeOverrideGuard) { $this->callerParamMatcher = $callerParamMatcher; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php b/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php index 730c755417f..4974ec6c854 100644 --- a/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php +++ b/rules/TypeDeclaration/Rector/Property/AddPropertyTypeDeclarationRector.php @@ -16,7 +16,7 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\TypeDeclaration\Rector\Property\AddPropertyTypeDeclarationRector\AddPropertyTypeDeclarationRectorTest */ @@ -89,7 +89,7 @@ CODE_SAMPLE */ public function configure(array $configuration) : void { - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($configuration, \Rector\TypeDeclaration\ValueObject\AddPropertyTypeDeclaration::class); $this->addPropertyTypeDeclarations = $configuration; } private function isClassReflectionType(\PHPStan\Reflection\ClassReflection $classReflection, string $type) : bool diff --git a/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php index 1d25dafcfc0..6a98d1ab226 100644 --- a/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/AssignToPropertyTypeInferer.php @@ -18,7 +18,7 @@ use Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector; use Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector; use Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector; use Rector\TypeDeclaration\Matcher\PropertyAssignMatcher; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class AssignToPropertyTypeInferer { /** @@ -49,7 +49,7 @@ final class AssignToPropertyTypeInferer * @var \Rector\NodeTypeResolver\NodeTypeResolver */ private $nodeTypeResolver; - public function __construct(\Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector $propertyDefaultAssignDetector, \Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector $nullTypeAssignDetector, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver) + public function __construct(\Rector\TypeDeclaration\AlreadyAssignDetector\ConstructorAssignDetector $constructorAssignDetector, \Rector\TypeDeclaration\Matcher\PropertyAssignMatcher $propertyAssignMatcher, \Rector\TypeDeclaration\AlreadyAssignDetector\PropertyDefaultAssignDetector $propertyDefaultAssignDetector, \Rector\TypeDeclaration\AlreadyAssignDetector\NullTypeAssignDetector $nullTypeAssignDetector, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver) { $this->constructorAssignDetector = $constructorAssignDetector; $this->propertyAssignMatcher = $propertyAssignMatcher; diff --git a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php index aba45a55855..9f305ea14d8 100644 --- a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/GetterNodeParamTypeInferer.php @@ -18,7 +18,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class GetterNodeParamTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface { /** @@ -45,7 +45,7 @@ final class GetterNodeParamTypeInferer implements \Rector\TypeDeclaration\Contra * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\Core\NodeManipulator\PropertyFetchAssignManipulator $propertyFetchAssignManipulator, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\Core\NodeManipulator\PropertyFetchAssignManipulator $propertyFetchAssignManipulator, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->propertyFetchAssignManipulator = $propertyFetchAssignManipulator; $this->propertyFetchAnalyzer = $propertyFetchAnalyzer; diff --git a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PHPUnitDataProviderParamTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PHPUnitDataProviderParamTypeInferer.php index 64d04db33bd..144372ab371 100644 --- a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PHPUnitDataProviderParamTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PHPUnitDataProviderParamTypeInferer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\TypeInferer\ParamTypeInferer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Expr\ArrayItem; use PhpParser\Node\Expr\Yield_; @@ -25,7 +25,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; final class PHPUnitDataProviderParamTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface { /** @@ -100,7 +100,7 @@ final class PHPUnitDataProviderParamTypeInferer implements \Rector\TypeDeclarati return null; } $content = $phpDocTagNode->value->value; - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::METHOD_NAME_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::METHOD_NAME_REGEX); if ($match === null) { return null; } diff --git a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php index 55d906bb3a3..f240ba50c16 100644 --- a/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ParamTypeInferer/PropertyNodeParamTypeInferer.php @@ -17,7 +17,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyNodeParamTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ParamTypeInfererInterface { /** @@ -44,7 +44,7 @@ final class PropertyNodeParamTypeInferer implements \Rector\TypeDeclaration\Cont * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->propertyFetchAnalyzer = $propertyFetchAnalyzer; $this->nodeNameResolver = $nodeNameResolver; diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php index 712ab65031b..ecb1e9bd425 100644 --- a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/ConstructorPropertyTypeInferer.php @@ -30,7 +30,7 @@ use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\AliasedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\TypeDeclaration\Contract\TypeInferer\PropertyTypeInfererInterface; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ConstructorPropertyTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\PropertyTypeInfererInterface { /** @@ -69,7 +69,7 @@ final class ConstructorPropertyTypeInferer implements \Rector\TypeDeclaration\Co * @var \Rector\Core\NodeAnalyzer\ParamAnalyzer */ private $paramAnalyzer; - public function __construct(\Rector\Core\NodeManipulator\ClassMethodPropertyFetchManipulator $classMethodPropertyFetchManipulator, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\ParamAnalyzer $paramAnalyzer) + public function __construct(\Rector\Core\NodeManipulator\ClassMethodPropertyFetchManipulator $classMethodPropertyFetchManipulator, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\ParamAnalyzer $paramAnalyzer) { $this->classMethodPropertyFetchManipulator = $classMethodPropertyFetchManipulator; $this->reflectionProvider = $reflectionProvider; diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/DoctrineRelationPropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/DoctrineRelationPropertyTypeInferer.php index 53f7e36fec2..cb685edf2b3 100644 --- a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/DoctrineRelationPropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/DoctrineRelationPropertyTypeInferer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\TypeDeclaration\TypeInferer\PropertyTypeInferer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt\Property; use PHPStan\PhpDocParser\Ast\ConstExpr\ConstExprTrueNode; use PHPStan\Type\ArrayType; @@ -85,7 +85,7 @@ final class DoctrineRelationPropertyTypeInferer implements \Rector\TypeDeclarati return new \PHPStan\Type\MixedType(); } if (\substr_compare($targetEntity, '::class', -\strlen('::class')) === 0) { - $targetEntity = \RectorPrefix20211129\Nette\Utils\Strings::before($targetEntity, '::class'); + $targetEntity = \RectorPrefix20211130\Nette\Utils\Strings::before($targetEntity, '::class'); } // resolve to FQN $tagFullyQualifiedName = $this->classAnnotationMatcher->resolveTagFullyQualifiedName($targetEntity, $property); diff --git a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SingleMethodAssignedNodePropertyTypeInferer.php b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SingleMethodAssignedNodePropertyTypeInferer.php index 2c793bbbf7a..3fc3afdc6f4 100644 --- a/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SingleMethodAssignedNodePropertyTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/PropertyTypeInferer/SingleMethodAssignedNodePropertyTypeInferer.php @@ -17,7 +17,7 @@ use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\TypeDeclaration\Contract\TypeInferer\PropertyTypeInfererInterface; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class SingleMethodAssignedNodePropertyTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\PropertyTypeInfererInterface { /** @@ -36,7 +36,7 @@ final class SingleMethodAssignedNodePropertyTypeInferer implements \Rector\TypeD * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->nodeNameResolver = $nodeNameResolver; $this->nodeTypeResolver = $nodeTypeResolver; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php index 38d403332c9..96ac3d8e61c 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer.php @@ -29,7 +29,7 @@ use Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface; use Rector\TypeDeclaration\Sorter\TypeInfererSorter; use Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer; use Rector\TypeDeclaration\TypeNormalizer; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ReturnTypeInferer { /** @@ -63,7 +63,7 @@ final class ReturnTypeInferer /** * @param ReturnTypeInfererInterface[] $returnTypeInferers */ - public function __construct(array $returnTypeInferers, \Rector\TypeDeclaration\TypeNormalizer $typeNormalizer, \Rector\TypeDeclaration\Sorter\TypeInfererSorter $typeInfererSorter, \Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer $genericClassStringTypeNormalizer, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) + public function __construct(array $returnTypeInferers, \Rector\TypeDeclaration\TypeNormalizer $typeNormalizer, \Rector\TypeDeclaration\Sorter\TypeInfererSorter $typeInfererSorter, \Rector\TypeDeclaration\TypeAnalyzer\GenericClassStringTypeNormalizer $genericClassStringTypeNormalizer, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \PHPStan\Reflection\ReflectionProvider $reflectionProvider) { $this->typeNormalizer = $typeNormalizer; $this->genericClassStringTypeNormalizer = $genericClassStringTypeNormalizer; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInferer.php index bfdfe789b63..e5952906a29 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/ReturnedNodesReturnTypeInferer.php @@ -27,7 +27,7 @@ use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface; use Rector\TypeDeclaration\TypeInferer\SilentVoidResolver; use Rector\TypeDeclaration\TypeInferer\SplArrayFixedTypeNarrower; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ReturnedNodesReturnTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface { /** @@ -66,7 +66,7 @@ final class ReturnedNodesReturnTypeInferer implements \Rector\TypeDeclaration\Co * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\Rector\TypeDeclaration\TypeInferer\SilentVoidResolver $silentVoidResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\TypeDeclaration\TypeInferer\SplArrayFixedTypeNarrower $splArrayFixedTypeNarrower, \Rector\Core\PhpParser\AstResolver $reflectionAstResolver, \Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\Rector\TypeDeclaration\TypeInferer\SilentVoidResolver $silentVoidResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \Rector\TypeDeclaration\TypeInferer\SplArrayFixedTypeNarrower $splArrayFixedTypeNarrower, \Rector\Core\PhpParser\AstResolver $reflectionAstResolver, \Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->silentVoidResolver = $silentVoidResolver; $this->nodeTypeResolver = $nodeTypeResolver; diff --git a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInferer.php b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInferer.php index da672d4c8cb..1a10954d720 100644 --- a/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInferer.php +++ b/rules/TypeDeclaration/TypeInferer/ReturnTypeInferer/YieldNodesReturnTypeInferer.php @@ -16,7 +16,7 @@ use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedGenericObjectType; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class YieldNodesReturnTypeInferer implements \Rector\TypeDeclaration\Contract\TypeInferer\ReturnTypeInfererInterface { /** @@ -31,7 +31,7 @@ final class YieldNodesReturnTypeInferer implements \Rector\TypeDeclaration\Contr * @var \Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser */ private $simpleCallableNodeTraverser; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser) { $this->nodeTypeResolver = $nodeTypeResolver; $this->typeFactory = $typeFactory; diff --git a/rules/TypeDeclaration/TypeNormalizer.php b/rules/TypeDeclaration/TypeNormalizer.php index 26cf66560f1..de7b7e0ad5e 100644 --- a/rules/TypeDeclaration/TypeNormalizer.php +++ b/rules/TypeDeclaration/TypeNormalizer.php @@ -15,7 +15,7 @@ use PHPStan\Type\TypeTraverser; use PHPStan\Type\UnionType; use Rector\NodeTypeResolver\PHPStan\Type\TypeFactory; use Rector\TypeDeclaration\ValueObject\NestedArrayType; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; /** * @see \Rector\Tests\TypeDeclaration\TypeNormalizerTest */ @@ -33,7 +33,7 @@ final class TypeNormalizer * @var \Symplify\PackageBuilder\Reflection\PrivatesAccessor */ private $privatesAccessor; - public function __construct(\Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) + public function __construct(\Rector\NodeTypeResolver\PHPStan\Type\TypeFactory $typeFactory, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor) { $this->typeFactory = $typeFactory; $this->privatesAccessor = $privatesAccessor; diff --git a/rules/Visibility/Rector/ClassConst/ChangeConstantVisibilityRector.php b/rules/Visibility/Rector/ClassConst/ChangeConstantVisibilityRector.php index 4fca2473d1a..2d754b72af8 100644 --- a/rules/Visibility/Rector/ClassConst/ChangeConstantVisibilityRector.php +++ b/rules/Visibility/Rector/ClassConst/ChangeConstantVisibilityRector.php @@ -12,7 +12,7 @@ use Rector\Privatization\NodeManipulator\VisibilityManipulator; use Rector\Visibility\ValueObject\ChangeConstantVisibility; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Visibility\Rector\ClassConst\ChangeConstantVisibilityRector\ChangeConstantVisibilityRectorTest */ @@ -90,8 +90,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $classConstantVisibilityChanges = $configuration[self::CLASS_CONSTANT_VISIBILITY_CHANGES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($classConstantVisibilityChanges); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($classConstantVisibilityChanges, \Rector\Visibility\ValueObject\ChangeConstantVisibility::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($classConstantVisibilityChanges); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($classConstantVisibilityChanges, \Rector\Visibility\ValueObject\ChangeConstantVisibility::class); $this->classConstantVisibilityChanges = $classConstantVisibilityChanges; } } diff --git a/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php b/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php index 61d2fb6f460..978b513f541 100644 --- a/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php +++ b/rules/Visibility/Rector/ClassMethod/ChangeMethodVisibilityRector.php @@ -15,7 +15,7 @@ use Rector\Privatization\NodeManipulator\VisibilityManipulator; use Rector\Visibility\ValueObject\ChangeMethodVisibility; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Tests\Visibility\Rector\ClassMethod\ChangeMethodVisibilityRector\ChangeMethodVisibilityRectorTest */ @@ -114,8 +114,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $methodVisibilities = $configuration[self::METHOD_VISIBILITIES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($methodVisibilities); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($methodVisibilities, \Rector\Visibility\ValueObject\ChangeMethodVisibility::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($methodVisibilities); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($methodVisibilities, \Rector\Visibility\ValueObject\ChangeMethodVisibility::class); $this->methodVisibilities = $methodVisibilities; } } diff --git a/src/Application/ApplicationFileProcessor.php b/src/Application/ApplicationFileProcessor.php index 02e36d4f0ab..6f9823c35c2 100644 --- a/src/Application/ApplicationFileProcessor.php +++ b/src/Application/ApplicationFileProcessor.php @@ -9,8 +9,8 @@ use Rector\Core\Contract\Processor\FileProcessorInterface; use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Configuration; use Rector\FileFormatter\FileFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class ApplicationFileProcessor { /** @@ -40,7 +40,7 @@ final class ApplicationFileProcessor /** * @param FileProcessorInterface[] $fileProcessors */ - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\FileFormatter\FileFormatter $fileFormatter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesProcessor $removedAndAddedFilesProcessor, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $fileProcessors = []) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\FileFormatter\FileFormatter $fileFormatter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesProcessor $removedAndAddedFilesProcessor, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $fileProcessors = []) { $this->smartFileSystem = $smartFileSystem; $this->fileDiffFileDecorator = $fileDiffFileDecorator; diff --git a/src/Application/FileProcessor/PhpFileProcessor.php b/src/Application/FileProcessor/PhpFileProcessor.php index 021d78e1b49..66c816149ed 100644 --- a/src/Application/FileProcessor/PhpFileProcessor.php +++ b/src/Application/FileProcessor/PhpFileProcessor.php @@ -18,7 +18,7 @@ use Rector\Core\ValueObject\Application\RectorError; use Rector\Core\ValueObject\Configuration; use Rector\PostRector\Application\PostFileProcessor; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; use Throwable; final class PhpFileProcessor implements \Rector\Core\Contract\Processor\FileProcessorInterface { @@ -58,7 +58,7 @@ final class PhpFileProcessor implements \Rector\Core\Contract\Processor\FileProc * @var \Rector\ChangesReporting\ValueObjectFactory\ErrorFactory */ private $errorFactory; - public function __construct(\Rector\Core\PhpParser\Printer\FormatPerservingPrinter $formatPerservingPrinter, \Rector\Core\Application\FileProcessor $fileProcessor, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\PostRector\Application\PostFileProcessor $postFileProcessor, \Rector\ChangesReporting\ValueObjectFactory\ErrorFactory $errorFactory) + public function __construct(\Rector\Core\PhpParser\Printer\FormatPerservingPrinter $formatPerservingPrinter, \Rector\Core\Application\FileProcessor $fileProcessor, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\Core\Application\FileDecorator\FileDiffFileDecorator $fileDiffFileDecorator, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\PostRector\Application\PostFileProcessor $postFileProcessor, \Rector\ChangesReporting\ValueObjectFactory\ErrorFactory $errorFactory) { $this->formatPerservingPrinter = $formatPerservingPrinter; $this->fileProcessor = $fileProcessor; diff --git a/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php b/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php index 38bb1a2e4f0..2395a16c28a 100644 --- a/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php +++ b/src/Application/FileSystem/RemovedAndAddedFilesProcessor.php @@ -5,8 +5,8 @@ namespace Rector\Core\Application\FileSystem; use Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter; use Rector\Core\ValueObject\Configuration; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * Adds and removes scheduled file */ @@ -28,7 +28,7 @@ final class RemovedAndAddedFilesProcessor * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter $nodesWithFileDestinationPrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Printer\NodesWithFileDestinationPrinter $nodesWithFileDestinationPrinter, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->smartFileSystem = $smartFileSystem; $this->nodesWithFileDestinationPrinter = $nodesWithFileDestinationPrinter; diff --git a/src/Application/VersionResolver.php b/src/Application/VersionResolver.php index 25eea22481b..9e7a2513e10 100644 --- a/src/Application/VersionResolver.php +++ b/src/Application/VersionResolver.php @@ -5,8 +5,8 @@ namespace Rector\Core\Application; use DateTime; use Rector\Core\Exception\VersionException; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * Inspired by https://github.com/composer/composer/blob/master/src/Composer/Composer.php * See https://github.com/composer/composer/blob/6587715d0f8cae0cd39073b3bc5f018d0e6b84fe/src/Composer/Compiler.php#L208 @@ -16,15 +16,15 @@ final class VersionResolver /** * @var string */ - public const PACKAGE_VERSION = 'dab5deecda04dfb3bfaa4f4347d4bdc45df34447'; + public const PACKAGE_VERSION = 'bc96ddefd4b9cef09a4c389ac180da623f64f942'; /** * @var string */ - public const RELEASE_DATE = '2021-11-29 14:40:47'; + public const RELEASE_DATE = '2021-11-30 07:43:36'; public static function resolvePackageVersion() : string { - $process = new \RectorPrefix20211129\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); - if ($process->run() !== \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS) { + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process(['git', 'log', '--pretty="%H"', '-n1', 'HEAD'], __DIR__); + if ($process->run() !== \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS) { throw new \Rector\Core\Exception\VersionException('You must ensure to run compile from composer git repository clone and that git binary is available.'); } $version = \trim($process->getOutput()); @@ -32,8 +32,8 @@ final class VersionResolver } public static function resolverReleaseDateTime() : \DateTime { - $process = new \RectorPrefix20211129\Symfony\Component\Process\Process(['git', 'log', '-n1', '--pretty=%ci', 'HEAD'], __DIR__); - if ($process->run() !== \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS) { + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process(['git', 'log', '-n1', '--pretty=%ci', 'HEAD'], __DIR__); + if ($process->run() !== \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS) { throw new \Rector\Core\Exception\VersionException('You must ensure to run compile from composer git repository clone and that git binary is available.'); } return new \DateTime(\trim($process->getOutput())); diff --git a/src/Autoloading/AdditionalAutoloader.php b/src/Autoloading/AdditionalAutoloader.php index 566c895ed6e..236d0c8db58 100644 --- a/src/Autoloading/AdditionalAutoloader.php +++ b/src/Autoloading/AdditionalAutoloader.php @@ -5,9 +5,9 @@ namespace Rector\Core\Autoloading; use Rector\Core\Configuration\Option; use Rector\Core\StaticReflection\DynamicSourceLocatorDecorator; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard; /** * Should it pass autoload files/directories to PHPStan analyzer? */ @@ -25,13 +25,13 @@ final class AdditionalAutoloader * @var \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator */ private $dynamicSourceLocatorDecorator; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator) { $this->fileSystemGuard = $fileSystemGuard; $this->parameterProvider = $parameterProvider; $this->dynamicSourceLocatorDecorator = $dynamicSourceLocatorDecorator; } - public function autoloadInput(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : void + public function autoloadInput(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : void { if (!$input->hasOption(\Rector\Core\Configuration\Option::AUTOLOAD_FILE)) { return; diff --git a/src/Autoloading/BootstrapFilesIncluder.php b/src/Autoloading/BootstrapFilesIncluder.php index b1a8ee3b7b7..38112f2335c 100644 --- a/src/Autoloading/BootstrapFilesIncluder.php +++ b/src/Autoloading/BootstrapFilesIncluder.php @@ -5,16 +5,16 @@ namespace Rector\Core\Autoloading; use Rector\Core\Configuration\Option; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Throwable; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; final class BootstrapFilesIncluder { /** * @var \Symplify\PackageBuilder\Parameter\ParameterProvider */ private $parameterProvider; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) { $this->parameterProvider = $parameterProvider; } @@ -25,7 +25,7 @@ final class BootstrapFilesIncluder public function includeBootstrapFiles() : void { $bootstrapFiles = $this->parameterProvider->provideArrayParameter(\Rector\Core\Configuration\Option::BOOTSTRAP_FILES); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($bootstrapFiles); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($bootstrapFiles); /** @var string[] $bootstrapFiles */ foreach ($bootstrapFiles as $bootstrapFile) { if (!\is_file($bootstrapFile)) { diff --git a/src/Bootstrap/RectorConfigsResolver.php b/src/Bootstrap/RectorConfigsResolver.php index 127782e3343..e16f2e1b61e 100644 --- a/src/Bootstrap/RectorConfigsResolver.php +++ b/src/Bootstrap/RectorConfigsResolver.php @@ -4,13 +4,13 @@ declare (strict_types=1); namespace Rector\Core\Bootstrap; use Rector\Core\ValueObject\Bootstrap\BootstrapConfigs; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException; final class RectorConfigsResolver { public function provide() : \Rector\Core\ValueObject\Bootstrap\BootstrapConfigs { - $argvInput = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput(); + $argvInput = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput(); $mainConfigFile = $this->resolveFromInputWithFallback($argvInput, 'rector.php'); $rectorRecipeConfigFile = $this->resolveRectorRecipeConfig($argvInput); $configFiles = []; @@ -19,7 +19,7 @@ final class RectorConfigsResolver } return new \Rector\Core\ValueObject\Bootstrap\BootstrapConfigs($mainConfigFile, $configFiles); } - private function resolveRectorRecipeConfig(\RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string + private function resolveRectorRecipeConfig(\RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string { if ($argvInput->getFirstArgument() !== 'generate') { return null; @@ -31,7 +31,7 @@ final class RectorConfigsResolver } return $rectorRecipeFilePath; } - private function resolveFromInput(\RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string + private function resolveFromInput(\RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput $argvInput) : ?string { $configFile = $this->getOptionValue($argvInput, ['--config', '-c']); if ($configFile === null) { @@ -39,11 +39,11 @@ final class RectorConfigsResolver } if (!\file_exists($configFile)) { $message = \sprintf('File "%s" was not found', $configFile); - throw new \RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException($message); + throw new \RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException($message); } return \realpath($configFile); } - private function resolveFromInputWithFallback(\RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput $argvInput, string $fallbackFile) : ?string + private function resolveFromInputWithFallback(\RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput $argvInput, string $fallbackFile) : ?string { $configFile = $this->resolveFromInput($argvInput); if ($configFile !== null) { @@ -62,7 +62,7 @@ final class RectorConfigsResolver /** * @param string[] $optionNames */ - private function getOptionValue(\RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput $argvInput, array $optionNames) : ?string + private function getOptionValue(\RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput $argvInput, array $optionNames) : ?string { foreach ($optionNames as $optionName) { if ($argvInput->hasParameterOption($optionName, \true)) { diff --git a/src/Config/Loader/ConfigureCallMergingLoaderFactory.php b/src/Config/Loader/ConfigureCallMergingLoaderFactory.php index 20c87954836..37f6ad99987 100644 --- a/src/Config/Loader/ConfigureCallMergingLoaderFactory.php +++ b/src/Config/Loader/ConfigureCallMergingLoaderFactory.php @@ -5,14 +5,14 @@ namespace Rector\Core\Config\Loader; use Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector; use Rector\Core\DependencyInjection\Loader\ConfigurableCallValuesCollectingPhpFileLoader; -use RectorPrefix20211129\Symfony\Component\Config\FileLocator; -use RectorPrefix20211129\Symfony\Component\Config\Loader\DelegatingLoader; -use RectorPrefix20211129\Symfony\Component\Config\Loader\GlobFileLoader; -use RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderInterface; -use RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolver; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface; -final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface +use RectorPrefix20211130\Symfony\Component\Config\FileLocator; +use RectorPrefix20211130\Symfony\Component\Config\Loader\DelegatingLoader; +use RectorPrefix20211130\Symfony\Component\Config\Loader\GlobFileLoader; +use RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderInterface; +use RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolver; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface; +final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\Config\LoaderFactoryInterface { /** * @var \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector @@ -26,10 +26,10 @@ final class ConfigureCallMergingLoaderFactory implements \RectorPrefix20211129\S * @param \Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder * @param string $currentWorkingDirectory */ - public function create($containerBuilder, $currentWorkingDirectory) : \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderInterface + public function create($containerBuilder, $currentWorkingDirectory) : \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderInterface { - $fileLocator = new \RectorPrefix20211129\Symfony\Component\Config\FileLocator([$currentWorkingDirectory]); - $loaderResolver = new \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolver([new \RectorPrefix20211129\Symfony\Component\Config\Loader\GlobFileLoader($fileLocator), new \Rector\Core\DependencyInjection\Loader\ConfigurableCallValuesCollectingPhpFileLoader($containerBuilder, $fileLocator, $this->configureCallValuesCollector)]); - return new \RectorPrefix20211129\Symfony\Component\Config\Loader\DelegatingLoader($loaderResolver); + $fileLocator = new \RectorPrefix20211130\Symfony\Component\Config\FileLocator([$currentWorkingDirectory]); + $loaderResolver = new \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolver([new \RectorPrefix20211130\Symfony\Component\Config\Loader\GlobFileLoader($fileLocator), new \Rector\Core\DependencyInjection\Loader\ConfigurableCallValuesCollectingPhpFileLoader($containerBuilder, $fileLocator, $this->configureCallValuesCollector)]); + return new \RectorPrefix20211130\Symfony\Component\Config\Loader\DelegatingLoader($loaderResolver); } } diff --git a/src/Configuration/ConfigurationFactory.php b/src/Configuration/ConfigurationFactory.php index 4cfe4a2fcd3..1014e645a95 100644 --- a/src/Configuration/ConfigurationFactory.php +++ b/src/Configuration/ConfigurationFactory.php @@ -5,9 +5,9 @@ namespace Rector\Core\Configuration; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; use Rector\Core\ValueObject\Configuration; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; final class ConfigurationFactory { /** @@ -18,7 +18,7 @@ final class ConfigurationFactory * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->parameterProvider = $parameterProvider; $this->symfonyStyle = $symfonyStyle; @@ -31,7 +31,7 @@ final class ConfigurationFactory /** * Needs to run in the start of the life cycle, since the rest of workflow uses it. */ - public function createFromInput(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : \Rector\Core\ValueObject\Configuration + public function createFromInput(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : \Rector\Core\ValueObject\Configuration { $isDryRun = (bool) $input->getOption(\Rector\Core\Configuration\Option::DRY_RUN); $shouldClearCache = (bool) $input->getOption(\Rector\Core\Configuration\Option::CLEAR_CACHE); @@ -44,7 +44,7 @@ final class ConfigurationFactory $parallelIdentifier = (string) $input->getOption(\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER); return new \Rector\Core\ValueObject\Configuration($isDryRun, $showProgressBar, $shouldClearCache, $outputFormat, $fileExtensions, $paths, $showDiffs, null, $parallelPort, $parallelIdentifier); } - private function shouldShowProgressBar(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, string $outputFormat) : bool + private function shouldShowProgressBar(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, string $outputFormat) : bool { $noProgressBar = (bool) $input->getOption(\Rector\Core\Configuration\Option::NO_PROGRESS_BAR); if ($noProgressBar) { @@ -72,7 +72,7 @@ final class ConfigurationFactory /** * @return string[]|mixed[] */ - private function resolvePaths(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : array + private function resolvePaths(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : array { $commandLinePaths = (array) $input->getArgument(\Rector\Core\Configuration\Option::SOURCE); // command line has priority diff --git a/src/Configuration/Option.php b/src/Configuration/Option.php index cdf122d589c..4b42da13707 100644 --- a/src/Configuration/Option.php +++ b/src/Configuration/Option.php @@ -3,10 +3,10 @@ declare (strict_types=1); namespace Rector\Core\Configuration; -use RectorPrefix20211129\JetBrains\PhpStorm\Immutable; +use RectorPrefix20211130\JetBrains\PhpStorm\Immutable; use Rector\Caching\Contract\ValueObject\Storage\CacheStorageInterface; use Rector\Caching\ValueObject\Storage\FileCacheStorage; -use RectorPrefix20211129\Symplify\Skipper\ValueObject\Option as SkipperOption; +use RectorPrefix20211130\Symplify\Skipper\ValueObject\Option as SkipperOption; #[Immutable] final class Option { @@ -82,7 +82,7 @@ final class Option /** * @var string */ - public const SKIP = \RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP; + public const SKIP = \RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP; /** * @var string */ diff --git a/src/Console/Command/AbstractProcessCommand.php b/src/Console/Command/AbstractProcessCommand.php index 0b664193dbb..f09b653c4cc 100644 --- a/src/Console/Command/AbstractProcessCommand.php +++ b/src/Console/Command/AbstractProcessCommand.php @@ -5,11 +5,11 @@ namespace Rector\Core\Console\Command; use Rector\Core\Configuration\ConfigurationFactory; use Rector\Core\Configuration\Option; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; -abstract class AbstractProcessCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; +abstract class AbstractProcessCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { /** * @var \Rector\Core\Configuration\ConfigurationFactory @@ -24,13 +24,13 @@ abstract class AbstractProcessCommand extends \RectorPrefix20211129\Symfony\Comp } protected function configure() : void { - $this->addArgument(\Rector\Core\Configuration\Option::SOURCE, \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::OPTIONAL | \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Files or directories to be upgraded.'); - $this->addOption(\Rector\Core\Configuration\Option::DRY_RUN, \Rector\Core\Configuration\Option::DRY_RUN_SHORT, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Only see the diff of changes, do not save them to files.'); - $this->addOption(\Rector\Core\Configuration\Option::AUTOLOAD_FILE, \Rector\Core\Configuration\Option::AUTOLOAD_FILE_SHORT, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to file with extra autoload (will be included)'); - $this->addOption(\Rector\Core\Configuration\Option::NO_PROGRESS_BAR, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide progress bar. Useful e.g. for nicer CI output.'); - $this->addOption(\Rector\Core\Configuration\Option::NO_DIFFS, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide diffs of changed files. Useful e.g. for nicer CI output.'); - $this->addOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear unchaged files cache'); - $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_PORT, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); - $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); + $this->addArgument(\Rector\Core\Configuration\Option::SOURCE, \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::OPTIONAL | \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Files or directories to be upgraded.'); + $this->addOption(\Rector\Core\Configuration\Option::DRY_RUN, \Rector\Core\Configuration\Option::DRY_RUN_SHORT, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Only see the diff of changes, do not save them to files.'); + $this->addOption(\Rector\Core\Configuration\Option::AUTOLOAD_FILE, \Rector\Core\Configuration\Option::AUTOLOAD_FILE_SHORT, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to file with extra autoload (will be included)'); + $this->addOption(\Rector\Core\Configuration\Option::NO_PROGRESS_BAR, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide progress bar. Useful e.g. for nicer CI output.'); + $this->addOption(\Rector\Core\Configuration\Option::NO_DIFFS, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Hide diffs of changed files. Useful e.g. for nicer CI output.'); + $this->addOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear unchaged files cache'); + $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_PORT, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); + $this->addOption(\Rector\Core\Configuration\Option::PARALLEL_IDENTIFIER, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED); } } diff --git a/src/Console/Command/InitCommand.php b/src/Console/Command/InitCommand.php index b46a063b183..d91570dbcbf 100644 --- a/src/Console/Command/InitCommand.php +++ b/src/Console/Command/InitCommand.php @@ -3,21 +3,21 @@ declare (strict_types=1); namespace Rector\Core\Console\Command; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\Configuration\Option; use Rector\Core\Contract\Template\TemplateResolverInterface; use Rector\Core\Exception\Template\TemplateTypeNotFoundException; use Rector\Core\Php\PhpVersionProvider; use Rector\Core\Template\DefaultResolver; use Stringable; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; -final class InitCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; +final class InitCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { /** * @var \Symplify\SmartFileSystem\FileSystemGuard @@ -42,7 +42,7 @@ final class InitCommand extends \RectorPrefix20211129\Symfony\Component\Console\ /** * @param TemplateResolverInterface[] $templateResolvers */ - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $templateResolvers, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $templateResolvers, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider) { $this->fileSystemGuard = $fileSystemGuard; $this->smartFileSystem = $smartFileSystem; @@ -54,7 +54,7 @@ final class InitCommand extends \RectorPrefix20211129\Symfony\Component\Console\ protected function configure() : void { $this->setDescription('Generate rector.php configuration file'); - $this->addOption(\Rector\Core\Configuration\Option::TEMPLATE_TYPE, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_OPTIONAL, 'A template type like default, nette, doctrine etc.', \Rector\Core\Template\DefaultResolver::TYPE); + $this->addOption(\Rector\Core\Configuration\Option::TEMPLATE_TYPE, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_OPTIONAL, 'A template type like default, nette, doctrine etc.', \Rector\Core\Template\DefaultResolver::TYPE); } /** * @param \Symfony\Component\Console\Input\InputInterface $input @@ -72,13 +72,13 @@ final class InitCommand extends \RectorPrefix20211129\Symfony\Component\Console\ } else { $this->smartFileSystem->copy($rectorTemplateFilePath, $rectorRootFilePath); $fullPHPVersion = (string) $this->phpVersionProvider->provide(); - $phpVersion = \RectorPrefix20211129\Nette\Utils\Strings::substring($fullPHPVersion, 0, 1) . \RectorPrefix20211129\Nette\Utils\Strings::substring($fullPHPVersion, 2, 1); + $phpVersion = \RectorPrefix20211130\Nette\Utils\Strings::substring($fullPHPVersion, 0, 1) . \RectorPrefix20211130\Nette\Utils\Strings::substring($fullPHPVersion, 2, 1); $fileContent = $this->smartFileSystem->readFile($rectorRootFilePath); $fileContent = \str_replace('LevelSetList::UP_TO_PHP_XY', \sprintf('LevelSetList::UP_TO_PHP_%d', $phpVersion), $fileContent); $this->smartFileSystem->dumpFile($rectorRootFilePath, $fileContent); $this->symfonyStyle->success('"rector.php" config file was added'); } - return \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS; + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS; } private function resolveTemplateFilePathByType(string $templateType) : string { diff --git a/src/Console/Command/ProcessCommand.php b/src/Console/Command/ProcessCommand.php index d97da5b2419..dfb296cf16f 100644 --- a/src/Console/Command/ProcessCommand.php +++ b/src/Console/Command/ProcessCommand.php @@ -23,12 +23,12 @@ use Rector\Core\ValueObject\ProcessResult; use Rector\Core\ValueObjectFactory\Application\FileFactory; use Rector\Core\ValueObjectFactory\ProcessResultFactory; use Rector\VersionBonding\Application\MissedRectorDueVersionChecker; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessCommand { /** @@ -90,7 +90,7 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC /** * @param RectorInterface[] $rectors */ - public function __construct(\Rector\Core\Autoloading\AdditionalAutoloader $additionalAutoloader, \Rector\Caching\Detector\ChangedFilesDetector $changedFilesDetector, \Rector\Core\Reporting\MissingRectorRulesReporter $missingRectorRulesReporter, \Rector\Core\Application\ApplicationFileProcessor $applicationFileProcessor, \Rector\Core\ValueObjectFactory\Application\FileFactory $fileFactory, \Rector\Core\Autoloading\BootstrapFilesIncluder $bootstrapFilesIncluder, \Rector\Core\ValueObjectFactory\ProcessResultFactory $processResultFactory, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator, \Rector\VersionBonding\Application\MissedRectorDueVersionChecker $missedRectorDueVersionChecker, \Rector\Core\Validation\EmptyConfigurableRectorChecker $emptyConfigurableRectorChecker, \Rector\Core\Console\Output\OutputFormatterCollector $outputFormatterCollector, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $rectors) + public function __construct(\Rector\Core\Autoloading\AdditionalAutoloader $additionalAutoloader, \Rector\Caching\Detector\ChangedFilesDetector $changedFilesDetector, \Rector\Core\Reporting\MissingRectorRulesReporter $missingRectorRulesReporter, \Rector\Core\Application\ApplicationFileProcessor $applicationFileProcessor, \Rector\Core\ValueObjectFactory\Application\FileFactory $fileFactory, \Rector\Core\Autoloading\BootstrapFilesIncluder $bootstrapFilesIncluder, \Rector\Core\ValueObjectFactory\ProcessResultFactory $processResultFactory, \PHPStan\Analyser\NodeScopeResolver $nodeScopeResolver, \Rector\Core\StaticReflection\DynamicSourceLocatorDecorator $dynamicSourceLocatorDecorator, \Rector\VersionBonding\Application\MissedRectorDueVersionChecker $missedRectorDueVersionChecker, \Rector\Core\Validation\EmptyConfigurableRectorChecker $emptyConfigurableRectorChecker, \Rector\Core\Console\Output\OutputFormatterCollector $outputFormatterCollector, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, array $rectors) { $this->additionalAutoloader = $additionalAutoloader; $this->changedFilesDetector = $changedFilesDetector; @@ -113,7 +113,7 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC $this->setDescription('Upgrades or refactors source code with provided rectors'); $names = $this->outputFormatterCollector->getNames(); $description = \sprintf('Select output format: "%s".', \implode('", "', $names)); - $this->addOption(\Rector\Core\Configuration\Option::OUTPUT_FORMAT, \Rector\Core\Configuration\Option::OUTPUT_FORMAT_SHORT, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_OPTIONAL, $description, \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME); + $this->addOption(\Rector\Core\Configuration\Option::OUTPUT_FORMAT, \Rector\Core\Configuration\Option::OUTPUT_FORMAT_SHORT, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_OPTIONAL, $description, \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME); parent::configure(); } /** @@ -129,7 +129,7 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC $configuration = $this->configurationFactory->createFromInput($input); // disable console output in case of json output formatter if ($configuration->getOutputFormat() === \Rector\ChangesReporting\Output\JsonOutputFormatter::NAME) { - $this->symfonyStyle->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $this->symfonyStyle->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } // register autoloaded and included files $this->bootstrapFilesIncluder->includeBootstrapFiles(); @@ -167,7 +167,7 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC protected function initialize($input, $output) : void { $application = $this->getApplication(); - if (!$application instanceof \RectorPrefix20211129\Symfony\Component\Console\Application) { + if (!$application instanceof \RectorPrefix20211130\Symfony\Component\Console\Application) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } $optionDebug = (bool) $input->getOption(\Rector\Core\Configuration\Option::DEBUG); @@ -190,13 +190,13 @@ final class ProcessCommand extends \Rector\Core\Console\Command\AbstractProcessC { // some errors were found → fail if ($processResult->getErrors() !== []) { - return \RectorPrefix20211129\Symfony\Component\Console\Command\Command::FAILURE; + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE; } // inverse error code for CI dry-run if (!$configuration->isDryRun()) { - return \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS; + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS; } - return $processResult->getFileDiffs() === [] ? \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS : \RectorPrefix20211129\Symfony\Component\Console\Command\Command::FAILURE; + return $processResult->getFileDiffs() === [] ? \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS : \RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE; } /** * @param File[] $files diff --git a/src/Console/Command/ShowCommand.php b/src/Console/Command/ShowCommand.php index ee50c270fa8..71e7a56e374 100644 --- a/src/Console/Command/ShowCommand.php +++ b/src/Console/Command/ShowCommand.php @@ -7,10 +7,10 @@ use Rector\Core\Contract\Console\OutputStyleInterface; use Rector\Core\Contract\Rector\RectorInterface; use Rector\PostRector\Contract\Rector\ComplementaryRectorInterface; use Rector\PostRector\Contract\Rector\PostRectorInterface; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -final class ShowCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +final class ShowCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { /** * @var \Rector\Core\Contract\Console\OutputStyleInterface @@ -58,6 +58,6 @@ final class ShowCommand extends \RectorPrefix20211129\Symfony\Component\Console\ } $message = \sprintf('%d loaded Rectors', $rectorCount); $this->outputStyle->success($message); - return \RectorPrefix20211129\Symfony\Component\Console\Command\Command::SUCCESS; + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS; } } diff --git a/src/Console/Command/WorkerCommand.php b/src/Console/Command/WorkerCommand.php index 0c0cd7cec84..1d20311f974 100644 --- a/src/Console/Command/WorkerCommand.php +++ b/src/Console/Command/WorkerCommand.php @@ -3,16 +3,16 @@ declare (strict_types=1); namespace Rector\Core\Console\Command; -use RectorPrefix20211129\Clue\React\NDJson\Decoder; -use RectorPrefix20211129\Clue\React\NDJson\Encoder; -use RectorPrefix20211129\React\EventLoop\StreamSelectLoop; -use RectorPrefix20211129\React\Socket\ConnectionInterface; -use RectorPrefix20211129\React\Socket\TcpConnector; +use RectorPrefix20211130\Clue\React\NDJson\Decoder; +use RectorPrefix20211130\Clue\React\NDJson\Encoder; +use RectorPrefix20211130\React\EventLoop\StreamSelectLoop; +use RectorPrefix20211130\React\Socket\ConnectionInterface; +use RectorPrefix20211130\React\Socket\TcpConnector; use Rector\Parallel\WorkerRunner; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\Action; -use RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\Action; +use RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand; /** * Inspired at: https://github.com/phpstan/phpstan-src/commit/9124c66dcc55a222e21b1717ba5f60771f7dda92 * https://github.com/phpstan/phpstan-src/blob/c471c7b050e0929daf432288770de673b394a983/src/Command/WorkerCommand.php @@ -43,15 +43,15 @@ final class WorkerCommand extends \Rector\Core\Console\Command\AbstractProcessCo protected function execute($input, $output) : int { $configuration = $this->configurationFactory->createFromInput($input); - $streamSelectLoop = new \RectorPrefix20211129\React\EventLoop\StreamSelectLoop(); + $streamSelectLoop = new \RectorPrefix20211130\React\EventLoop\StreamSelectLoop(); $parallelIdentifier = $configuration->getParallelIdentifier(); - $tcpConnector = new \RectorPrefix20211129\React\Socket\TcpConnector($streamSelectLoop); + $tcpConnector = new \RectorPrefix20211130\React\Socket\TcpConnector($streamSelectLoop); $promise = $tcpConnector->connect('127.0.0.1:' . $configuration->getParallelPort()); - $promise->then(function (\RectorPrefix20211129\React\Socket\ConnectionInterface $connection) use($parallelIdentifier, $configuration) : void { - $inDecoder = new \RectorPrefix20211129\Clue\React\NDJson\Decoder($connection, \true, 512, \JSON_INVALID_UTF8_IGNORE); - $outEncoder = new \RectorPrefix20211129\Clue\React\NDJson\Encoder($connection, \JSON_INVALID_UTF8_IGNORE); + $promise->then(function (\RectorPrefix20211130\React\Socket\ConnectionInterface $connection) use($parallelIdentifier, $configuration) : void { + $inDecoder = new \RectorPrefix20211130\Clue\React\NDJson\Decoder($connection, \true, 512, \JSON_INVALID_UTF8_IGNORE); + $outEncoder = new \RectorPrefix20211130\Clue\React\NDJson\Encoder($connection, \JSON_INVALID_UTF8_IGNORE); // handshake? - $outEncoder->write([\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::HELLO, \RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::IDENTIFIER => $parallelIdentifier]); + $outEncoder->write([\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION => \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::HELLO, \RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::IDENTIFIER => $parallelIdentifier]); $this->workerRunner->run($outEncoder, $inDecoder, $configuration); }); $streamSelectLoop->run(); diff --git a/src/Console/ConsoleApplication.php b/src/Console/ConsoleApplication.php index 1bad1e4b1bc..a2e6e822bfe 100644 --- a/src/Console/ConsoleApplication.php +++ b/src/Console/ConsoleApplication.php @@ -3,20 +3,20 @@ declare (strict_types=1); namespace Rector\Core\Console; -use RectorPrefix20211129\Composer\XdebugHandler\XdebugHandler; +use RectorPrefix20211130\Composer\XdebugHandler\XdebugHandler; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; use Rector\Core\Application\VersionResolver; use Rector\Core\Configuration\Option; use Rector\Core\Console\Command\ProcessCommand; use Rector\Core\Exception\Configuration\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming; -final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\Console\Application +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming; +final class ConsoleApplication extends \RectorPrefix20211130\Symfony\Component\Console\Application { /** * @var string @@ -25,7 +25,7 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C /** * @param Command[] $commands */ - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming $commandNaming, array $commands = []) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming $commandNaming, array $commands = []) { $version = \Rector\Core\Application\VersionResolver::PACKAGE_VERSION; parent::__construct(self::NAME, $version); @@ -34,7 +34,7 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C $command->setName($commandName); } $this->addCommands($commands); - $this->setDefaultCommand(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class)); + $this->setDefaultCommand(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::classToName(\Rector\Core\Console\Command\ProcessCommand::class)); } /** * @param \Symfony\Component\Console\Input\InputInterface $input @@ -45,7 +45,7 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C // @fixes https://github.com/rectorphp/rector/issues/2205 $isXdebugAllowed = $input->hasParameterOption('--xdebug'); if (!$isXdebugAllowed) { - $xdebugHandler = new \RectorPrefix20211129\Composer\XdebugHandler\XdebugHandler('rector'); + $xdebugHandler = new \RectorPrefix20211130\Composer\XdebugHandler\XdebugHandler('rector'); $xdebugHandler->check(); unset($xdebugHandler); } @@ -70,14 +70,14 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C } return parent::doRun($input, $output); } - protected function getDefaultInputDefinition() : \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition + protected function getDefaultInputDefinition() : \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition { $defaultInputDefinition = parent::getDefaultInputDefinition(); $this->removeUnusedOptions($defaultInputDefinition); $this->addCustomOptions($defaultInputDefinition); return $defaultInputDefinition; } - private function getNewWorkingDir(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : string + private function getNewWorkingDir(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : string { $workingDir = $input->getParameterOption('--working-dir'); if (\is_string($workingDir) && !\is_dir($workingDir)) { @@ -86,7 +86,7 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C } return (string) $workingDir; } - private function shouldPrintMetaInformation(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input) : bool + private function shouldPrintMetaInformation(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : bool { $hasNoArguments = $input->getFirstArgument() === null; if ($hasNoArguments) { @@ -99,19 +99,19 @@ final class ConsoleApplication extends \RectorPrefix20211129\Symfony\Component\C $outputFormat = $input->getParameterOption(['-o', '--output-format']); return $outputFormat === \Rector\ChangesReporting\Output\ConsoleOutputFormatter::NAME; } - private function removeUnusedOptions(\RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void + private function removeUnusedOptions(\RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void { $options = $inputDefinition->getOptions(); unset($options['quiet'], $options['no-interaction']); $inputDefinition->setOptions($options); } - private function addCustomOptions(\RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void + private function addCustomOptions(\RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $inputDefinition) : void { - $inputDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CONFIG, 'c', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file', $this->getDefaultConfigPath())); - $inputDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Enable debug verbosity (-vvv)')); - $inputDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::XDEBUG, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Allow running xdebug')); - $inputDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear cache')); - $inputDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('working-dir', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'If specified, use the given directory as working directory.')); + $inputDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CONFIG, 'c', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file', $this->getDefaultConfigPath())); + $inputDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::DEBUG, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Enable debug verbosity (-vvv)')); + $inputDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::XDEBUG, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Allow running xdebug')); + $inputDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption(\Rector\Core\Configuration\Option::CLEAR_CACHE, null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Clear cache')); + $inputDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('working-dir', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'If specified, use the given directory as working directory.')); } private function getDefaultConfigPath() : string { diff --git a/src/Console/Output/RectorOutputStyle.php b/src/Console/Output/RectorOutputStyle.php index acb9098ef5d..0250b5228d8 100644 --- a/src/Console/Output/RectorOutputStyle.php +++ b/src/Console/Output/RectorOutputStyle.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\Core\Console\Output; use Rector\Core\Contract\Console\OutputStyleInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; /** * This services helps to abstract from Symfony, and allow custom output formatters to use this Rector internal class. * It is very helpful while scoping Rector from analysed project. @@ -15,7 +15,7 @@ final class RectorOutputStyle implements \Rector\Core\Contract\Console\OutputSty * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->symfonyStyle = $symfonyStyle; } diff --git a/src/Console/Style/SymfonyStyleFactory.php b/src/Console/Style/SymfonyStyleFactory.php index 7284f6d48b3..a378684baa1 100644 --- a/src/Console/Style/SymfonyStyleFactory.php +++ b/src/Console/Style/SymfonyStyleFactory.php @@ -3,33 +3,33 @@ declare (strict_types=1); namespace Rector\Core\Console\Style; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller; final class SymfonyStyleFactory { /** * @var \Symplify\PackageBuilder\Reflection\PrivatesCaller */ private $privatesCaller; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller $privatesCaller) { $this->privatesCaller = $privatesCaller; } - public function create() : \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle + public function create() : \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle { - $argvInput = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput(); - $consoleOutput = new \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput(); + $argvInput = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput(); + $consoleOutput = new \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput(); // to configure all -v, -vv, -vvv options without memory-lock to Application run() arguments - $this->privatesCaller->callPrivateMethod(new \RectorPrefix20211129\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); + $this->privatesCaller->callPrivateMethod(new \RectorPrefix20211130\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); $debugArgvInputParameterOption = $argvInput->getParameterOption('--debug'); // --debug is called if ($debugArgvInputParameterOption === null) { - $consoleOutput->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $consoleOutput->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); } - return new \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle($argvInput, $consoleOutput); + return new \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle($argvInput, $consoleOutput); } } diff --git a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php index 00c1579d5a8..11d1825a7c2 100644 --- a/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php +++ b/src/DependencyInjection/Collector/ConfigureCallValuesCollector.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\Collector; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger; final class ConfigureCallValuesCollector { /** @@ -17,7 +17,7 @@ final class ConfigureCallValuesCollector private $parametersMerger; public function __construct() { - $this->parametersMerger = new \RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger(); + $this->parametersMerger = new \RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger(); } /** * @return mixed[] @@ -26,7 +26,7 @@ final class ConfigureCallValuesCollector { return $this->configureCallValuesByRectorClass[$rectorClass] ?? []; } - public function collectFromServiceAndClassName(string $className, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : void + public function collectFromServiceAndClassName(string $className, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : void { foreach ($definition->getMethodCalls() as $methodCall) { if ($methodCall[0] !== 'configure') { diff --git a/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php b/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php index 440a693e29d..f3fa557733f 100644 --- a/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/MakeRectorsPublicCompilerPass.php @@ -4,9 +4,9 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -final class MakeRectorsPublicCompilerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +final class MakeRectorsPublicCompilerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @param \Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder diff --git a/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php b/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php index 98d62ad9a4c..f8d373074e1 100644 --- a/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/MergeImportedRectorConfigureCallValuesCompilerPass.php @@ -4,10 +4,10 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -final class MergeImportedRectorConfigureCallValuesCompilerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +final class MergeImportedRectorConfigureCallValuesCompilerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var string @@ -30,7 +30,7 @@ final class MergeImportedRectorConfigureCallValuesCompilerPass implements \Recto $this->completeCollectedArguments($id, $definition); } } - private function completeCollectedArguments(string $serviceClass, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : void + private function completeCollectedArguments(string $serviceClass, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : void { $configureCallValues = $this->configureCallValuesCollector->getConfigureCallValues($serviceClass); if ($configureCallValues === []) { diff --git a/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php b/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php index 4bebf199db1..5dadf41213c 100644 --- a/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/RemoveSkippedRectorsCompilerPass.php @@ -5,13 +5,13 @@ namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Configuration\Option; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * This compiler pass removed Rectors skipped in `SKIP` parameters. * It uses Skipper from Symplify - https://github.com/symplify/skipper */ -final class RemoveSkippedRectorsCompilerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +final class RemoveSkippedRectorsCompilerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @param \Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder @@ -32,7 +32,7 @@ final class RemoveSkippedRectorsCompilerPass implements \RectorPrefix20211129\Sy /** * @return string[] */ - private function resolveSkippedRectorClasses(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : array + private function resolveSkippedRectorClasses(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder) : array { $skipParameters = (array) $containerBuilder->getParameter(\Rector\Core\Configuration\Option::SKIP); return \array_filter($skipParameters, function ($element) : bool { diff --git a/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php b/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php index aae87b9565f..37dca122fc5 100644 --- a/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php +++ b/src/DependencyInjection/CompilerPass/VerifyRectorServiceExistsCompilerPass.php @@ -6,9 +6,9 @@ namespace Rector\Core\DependencyInjection\CompilerPass; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -final class VerifyRectorServiceExistsCompilerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +final class VerifyRectorServiceExistsCompilerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @param \Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder diff --git a/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php b/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php index 266c9b3d0e9..996c49da6df 100644 --- a/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php +++ b/src/DependencyInjection/Loader/ConfigurableCallValuesCollectingPhpFileLoader.php @@ -5,16 +5,16 @@ namespace Rector\Core\DependencyInjection\Loader; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector; -use RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; -final class ConfigurableCallValuesCollectingPhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader +use RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +final class ConfigurableCallValuesCollectingPhpFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader { /** * @var \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector */ private $configureCallValuesCollector; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface $fileLocator, \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector $configureCallValuesCollector) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface $fileLocator, \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector $configureCallValuesCollector) { $this->configureCallValuesCollector = $configureCallValuesCollector; parent::__construct($containerBuilder, $fileLocator); diff --git a/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php b/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php index 788d5691867..decf4183496 100644 --- a/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php +++ b/src/DependencyInjection/Loader/Configurator/RectorServiceConfigurator.php @@ -4,14 +4,14 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection\Loader\Configurator; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator; use Symplify\SymfonyPhpConfig\ValueObjectInliner; /** * @api * Same as Symfony service configurator, with extra "configure()" method for easier DX */ -final class RectorServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator +final class RectorServiceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { /** * @param mixed[] $configuration @@ -32,11 +32,11 @@ final class RectorServiceConfigurator extends \RectorPrefix20211129\Symfony\Comp private function ensureClassIsConfigurable(?string $class) : void { if ($class === null) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException('The class is missing'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException('The class is missing'); } if (!\is_a($class, \Rector\Core\Contract\Rector\ConfigurableRectorInterface::class, \true)) { $errorMessage = \sprintf('The service "%s" is not configurable. Make it implement "%s" or remove "configure()" call.', $class, \Rector\Core\Contract\Rector\ConfigurableRectorInterface::class); - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMessage); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMessage); } } } diff --git a/src/DependencyInjection/RectorContainerFactory.php b/src/DependencyInjection/RectorContainerFactory.php index e9a9d4066bb..d45fa72068e 100644 --- a/src/DependencyInjection/RectorContainerFactory.php +++ b/src/DependencyInjection/RectorContainerFactory.php @@ -3,14 +3,14 @@ declare (strict_types=1); namespace Rector\Core\DependencyInjection; -use RectorPrefix20211129\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface; use Rector\Caching\Detector\ChangedFilesDetector; use Rector\Core\Kernel\RectorKernel; use Rector\Core\Stubs\PHPStanStubLoader; use Rector\Core\ValueObject\Bootstrap\BootstrapConfigs; final class RectorContainerFactory { - public function createFromBootstrapConfigs(\Rector\Core\ValueObject\Bootstrap\BootstrapConfigs $bootstrapConfigs) : \RectorPrefix20211129\Psr\Container\ContainerInterface + public function createFromBootstrapConfigs(\Rector\Core\ValueObject\Bootstrap\BootstrapConfigs $bootstrapConfigs) : \RectorPrefix20211130\Psr\Container\ContainerInterface { $container = $this->createFromConfigs($bootstrapConfigs->getConfigFiles()); $mainConfigFile = $bootstrapConfigs->getMainConfigFile(); @@ -25,7 +25,7 @@ final class RectorContainerFactory * @param string[] $configFiles * @api */ - private function createFromConfigs(array $configFiles) : \RectorPrefix20211129\Psr\Container\ContainerInterface + private function createFromConfigs(array $configFiles) : \RectorPrefix20211130\Psr\Container\ContainerInterface { $phpStanStubLoader = new \Rector\Core\Stubs\PHPStanStubLoader(); $phpStanStubLoader->loadStubs(); diff --git a/src/Differ/DefaultDiffer.php b/src/Differ/DefaultDiffer.php index c9acc98ee3a..41d9e5dcc62 100644 --- a/src/Differ/DefaultDiffer.php +++ b/src/Differ/DefaultDiffer.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\Differ; -use RectorPrefix20211129\SebastianBergmann\Diff\Differ; -use RectorPrefix20211129\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder; +use RectorPrefix20211130\SebastianBergmann\Diff\Differ; +use RectorPrefix20211130\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder; final class DefaultDiffer { /** @@ -13,8 +13,8 @@ final class DefaultDiffer private $differ; public function __construct() { - $strictUnifiedDiffOutputBuilder = new \RectorPrefix20211129\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder(['fromFile' => 'Original', 'toFile' => 'New']); - $this->differ = new \RectorPrefix20211129\SebastianBergmann\Diff\Differ($strictUnifiedDiffOutputBuilder); + $strictUnifiedDiffOutputBuilder = new \RectorPrefix20211130\SebastianBergmann\Diff\Output\StrictUnifiedDiffOutputBuilder(['fromFile' => 'Original', 'toFile' => 'New']); + $this->differ = new \RectorPrefix20211130\SebastianBergmann\Diff\Differ($strictUnifiedDiffOutputBuilder); } public function diff(string $old, string $new) : string { diff --git a/src/Enum/ApplicationPhase.php b/src/Enum/ApplicationPhase.php index e420a91d691..20318809869 100644 --- a/src/Enum/ApplicationPhase.php +++ b/src/Enum/ApplicationPhase.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Enum; -use RectorPrefix20211129\MyCLabs\Enum\Enum; +use RectorPrefix20211130\MyCLabs\Enum\Enum; /** * @method static ApplicationPhase REFACTORING() * @method static ApplicationPhase PRINT_SKIP() @@ -11,7 +11,7 @@ use RectorPrefix20211129\MyCLabs\Enum\Enum; * @method static ApplicationPhase POST_RECTORS() * @method static ApplicationPhase PARSING() */ -final class ApplicationPhase extends \RectorPrefix20211129\MyCLabs\Enum\Enum +final class ApplicationPhase extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @var string diff --git a/src/Enum/ObjectReference.php b/src/Enum/ObjectReference.php index 5963c784363..c78d7990f76 100644 --- a/src/Enum/ObjectReference.php +++ b/src/Enum/ObjectReference.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Enum; -use RectorPrefix20211129\MyCLabs\Enum\Enum; +use RectorPrefix20211130\MyCLabs\Enum\Enum; /** * @see https://github.com/myclabs/php-enum * @@ -11,7 +11,7 @@ use RectorPrefix20211129\MyCLabs\Enum\Enum; * @method static ObjectReference STATIC() * @method static ObjectReference PARENT() */ -final class ObjectReference extends \RectorPrefix20211129\MyCLabs\Enum\Enum +final class ObjectReference extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @var string diff --git a/src/FileSystem/FilesFinder.php b/src/FileSystem/FilesFinder.php index 1b12eb6838b..22ce28dd192 100644 --- a/src/FileSystem/FilesFinder.php +++ b/src/FileSystem/FilesFinder.php @@ -5,11 +5,11 @@ namespace Rector\Core\FileSystem; use Rector\Caching\UnchangedFilesFilter; use Rector\Core\Util\StringUtils; -use RectorPrefix20211129\Symfony\Component\Finder\Finder; -use RectorPrefix20211129\Symfony\Component\Finder\SplFileInfo; -use RectorPrefix20211129\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver; -use RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter; -use RectorPrefix20211129\Symplify\SmartFileSystem\Finder\FinderSanitizer; +use RectorPrefix20211130\Symfony\Component\Finder\Finder; +use RectorPrefix20211130\Symfony\Component\Finder\SplFileInfo; +use RectorPrefix20211130\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver; +use RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter; +use RectorPrefix20211130\Symplify\SmartFileSystem\Finder\FinderSanitizer; use Symplify\SmartFileSystem\SmartFileInfo; /** * @see \Rector\Core\Tests\FileSystem\FilesFinder\FilesFinderTest @@ -46,7 +46,7 @@ final class FilesFinder * @var \Rector\Caching\UnchangedFilesFilter */ private $unchangedFilesFilter; - public function __construct(\Rector\Core\FileSystem\FilesystemTweaker $filesystemTweaker, \RectorPrefix20211129\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \RectorPrefix20211129\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver $skippedPathsResolver, \Rector\Caching\UnchangedFilesFilter $unchangedFilesFilter) + public function __construct(\Rector\Core\FileSystem\FilesystemTweaker $filesystemTweaker, \RectorPrefix20211130\Symplify\SmartFileSystem\Finder\FinderSanitizer $finderSanitizer, \RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \RectorPrefix20211130\Symplify\Skipper\SkipCriteriaResolver\SkippedPathsResolver $skippedPathsResolver, \Rector\Caching\UnchangedFilesFilter $unchangedFilesFilter) { $this->filesystemTweaker = $filesystemTweaker; $this->finderSanitizer = $finderSanitizer; @@ -81,7 +81,7 @@ final class FilesFinder if ($directories === []) { return []; } - $finder = \RectorPrefix20211129\Symfony\Component\Finder\Finder::create()->followLinks()->files()->size('> 0')->in($directories)->sortByName(); + $finder = \RectorPrefix20211130\Symfony\Component\Finder\Finder::create()->followLinks()->files()->size('> 0')->in($directories)->sortByName(); if ($suffixes !== []) { $suffixesPattern = $this->normalizeSuffixesToPattern($suffixes); $finder->name($suffixesPattern); @@ -98,13 +98,13 @@ final class FilesFinder $suffixesPattern = \implode('|', $suffixes); return '#\\.(' . $suffixesPattern . ')$#'; } - private function addFilterWithExcludedPaths(\RectorPrefix20211129\Symfony\Component\Finder\Finder $finder) : void + private function addFilterWithExcludedPaths(\RectorPrefix20211130\Symfony\Component\Finder\Finder $finder) : void { $excludePaths = $this->skippedPathsResolver->resolve(); if ($excludePaths === []) { return; } - $finder->filter(function (\RectorPrefix20211129\Symfony\Component\Finder\SplFileInfo $splFileInfo) use($excludePaths) : bool { + $finder->filter(function (\RectorPrefix20211130\Symfony\Component\Finder\SplFileInfo $splFileInfo) use($excludePaths) : bool { $realPath = $splFileInfo->getRealPath(); if ($realPath === '') { // dead symlink diff --git a/src/FileSystem/FilesystemTweaker.php b/src/FileSystem/FilesystemTweaker.php index 835b427e564..9c58be9cc34 100644 --- a/src/FileSystem/FilesystemTweaker.php +++ b/src/FileSystem/FilesystemTweaker.php @@ -3,14 +3,14 @@ declare (strict_types=1); namespace Rector\Core\FileSystem; -use RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard; +use RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard; final class FilesystemTweaker { /** * @var \Symplify\SmartFileSystem\FileSystemGuard */ private $fileSystemGuard; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) { $this->fileSystemGuard = $fileSystemGuard; } diff --git a/src/Kernel/RectorKernel.php b/src/Kernel/RectorKernel.php index c69ccf0a286..da30c56c107 100644 --- a/src/Kernel/RectorKernel.php +++ b/src/Kernel/RectorKernel.php @@ -11,18 +11,18 @@ use Rector\Core\DependencyInjection\CompilerPass\MergeImportedRectorConfigureCal use Rector\Core\DependencyInjection\CompilerPass\RemoveSkippedRectorsCompilerPass; use Rector\Core\DependencyInjection\CompilerPass\VerifyRectorServiceExistsCompilerPass; use Rector\Core\Exception\ShouldNotHappenException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symplify\Astral\ValueObject\AstralConfig; -use RectorPrefix20211129\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig; -use RectorPrefix20211129\Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig; -use RectorPrefix20211129\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\SimplePhpDocParserConfig; -use RectorPrefix20211129\Symplify\Skipper\ValueObject\SkipperConfig; -use RectorPrefix20211129\Symplify\SymplifyKernel\ContainerBuilderFactory; -use RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface; -final class RectorKernel implements \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symplify\Astral\ValueObject\AstralConfig; +use RectorPrefix20211130\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig; +use RectorPrefix20211130\Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig; +use RectorPrefix20211130\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\SimplePhpDocParserConfig; +use RectorPrefix20211130\Symplify\Skipper\ValueObject\SkipperConfig; +use RectorPrefix20211130\Symplify\SymplifyKernel\ContainerBuilderFactory; +use RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface; +final class RectorKernel implements \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface { /** * @var \Rector\Core\DependencyInjection\Collector\ConfigureCallValuesCollector @@ -39,13 +39,13 @@ final class RectorKernel implements \RectorPrefix20211129\Symplify\SymplifyKerne /** * @param string[] $configFiles */ - public function createFromConfigs(array $configFiles) : \RectorPrefix20211129\Psr\Container\ContainerInterface + public function createFromConfigs(array $configFiles) : \RectorPrefix20211130\Psr\Container\ContainerInterface { $defaultConfigFiles = $this->createDefaultConfigFiles(); $configFiles = \array_merge($defaultConfigFiles, $configFiles); $compilerPasses = $this->createCompilerPasses(); $configureCallMergingLoaderFactory = new \Rector\Core\Config\Loader\ConfigureCallMergingLoaderFactory($this->configureCallValuesCollector); - $containerBuilderFactory = new \RectorPrefix20211129\Symplify\SymplifyKernel\ContainerBuilderFactory($configureCallMergingLoaderFactory); + $containerBuilderFactory = new \RectorPrefix20211130\Symplify\SymplifyKernel\ContainerBuilderFactory($configureCallMergingLoaderFactory); $containerBuilder = $containerBuilderFactory->create([], $compilerPasses, $configFiles); // @see https://symfony.com/blog/new-in-symfony-4-4-dependency-injection-improvements-part-1 $containerBuilder->setParameter('container.dumper.inline_factories', \true); @@ -55,7 +55,7 @@ final class RectorKernel implements \RectorPrefix20211129\Symplify\SymplifyKerne $this->container = $containerBuilder; return $containerBuilder; } - public function getContainer() : \RectorPrefix20211129\Psr\Container\ContainerInterface + public function getContainer() : \RectorPrefix20211130\Psr\Container\ContainerInterface { if ($this->container === null) { throw new \Rector\Core\Exception\ShouldNotHappenException(); @@ -71,12 +71,12 @@ final class RectorKernel implements \RectorPrefix20211129\Symplify\SymplifyKerne // must run before AutowireArrayParameterCompilerPass, as the autowired array cannot contain removed services $compilerPasses[] = new \Rector\Core\DependencyInjection\CompilerPass\RemoveSkippedRectorsCompilerPass(); // autowire Rectors by default (mainly for tests) - $compilerPasses[] = new \RectorPrefix20211129\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass([\Rector\Core\Contract\Rector\RectorInterface::class]); + $compilerPasses[] = new \RectorPrefix20211130\Symplify\PackageBuilder\DependencyInjection\CompilerPass\AutowireInterfacesCompilerPass([\Rector\Core\Contract\Rector\RectorInterface::class]); $compilerPasses[] = new \Rector\Core\DependencyInjection\CompilerPass\MakeRectorsPublicCompilerPass(); // add all merged arguments of Rector services $compilerPasses[] = new \Rector\Core\DependencyInjection\CompilerPass\MergeImportedRectorConfigureCallValuesCompilerPass($this->configureCallValuesCollector); $compilerPasses[] = new \Rector\Core\DependencyInjection\CompilerPass\VerifyRectorServiceExistsCompilerPass(); - $compilerPasses[] = new \RectorPrefix20211129\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass(); + $compilerPasses[] = new \RectorPrefix20211130\Symplify\AutowireArrayParameter\DependencyInjection\CompilerPass\AutowireArrayParameterCompilerPass(); return $compilerPasses; } /** @@ -86,11 +86,11 @@ final class RectorKernel implements \RectorPrefix20211129\Symplify\SymplifyKerne { $configFiles = []; $configFiles[] = __DIR__ . '/../../config/config.php'; - $configFiles[] = \RectorPrefix20211129\Symplify\Astral\ValueObject\AstralConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20211129\Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\SimplePhpDocParserConfig::FILE_PATH; - $configFiles[] = \RectorPrefix20211129\Symplify\Skipper\ValueObject\SkipperConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20211130\Symplify\Astral\ValueObject\AstralConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonManipulatorConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20211130\Symplify\ConsoleColorDiff\ValueObject\ConsoleColorDiffConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\SimplePhpDocParserConfig::FILE_PATH; + $configFiles[] = \RectorPrefix20211130\Symplify\Skipper\ValueObject\SkipperConfig::FILE_PATH; return $configFiles; } } diff --git a/src/NodeAnalyzer/CallAnalyzer.php b/src/NodeAnalyzer/CallAnalyzer.php index ef77baf5557..5bf22d60fa9 100644 --- a/src/NodeAnalyzer/CallAnalyzer.php +++ b/src/NodeAnalyzer/CallAnalyzer.php @@ -16,7 +16,7 @@ use PhpParser\Node\Expr\StaticCall; use PhpParser\Node\Stmt\If_; use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Core\PhpParser\Node\BetterNodeFinder; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; final class CallAnalyzer { /** diff --git a/src/NodeManipulator/ArrayDestructVariableFilter.php b/src/NodeManipulator/ArrayDestructVariableFilter.php index cc0c7391f91..ee3413e7fc7 100644 --- a/src/NodeManipulator/ArrayDestructVariableFilter.php +++ b/src/NodeManipulator/ArrayDestructVariableFilter.php @@ -10,7 +10,7 @@ use PhpParser\Node\Expr\List_; use PhpParser\Node\Expr\Variable; use PhpParser\Node\Stmt\ClassMethod; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ArrayDestructVariableFilter { /** @@ -21,7 +21,7 @@ final class ArrayDestructVariableFilter * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/AssignManipulator.php b/src/NodeManipulator/AssignManipulator.php index 2195624f8fe..27bcce53d55 100644 --- a/src/NodeManipulator/AssignManipulator.php +++ b/src/NodeManipulator/AssignManipulator.php @@ -23,7 +23,7 @@ use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; final class AssignManipulator { /** @@ -50,7 +50,7 @@ final class AssignManipulator * @var \Symplify\PackageBuilder\Php\TypeChecker */ private $typeChecker; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer, \RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker) { $this->nodeNameResolver = $nodeNameResolver; $this->nodeComparator = $nodeComparator; diff --git a/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php b/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php index 33ed60dfdb6..38d1ca227fa 100644 --- a/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php +++ b/src/NodeManipulator/ClassMethodPropertyFetchManipulator.php @@ -11,7 +11,7 @@ use PhpParser\Node\Param; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\NodeTraverser; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ClassMethodPropertyFetchManipulator { /** @@ -22,7 +22,7 @@ final class ClassMethodPropertyFetchManipulator * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php b/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php index fc3a25e3b56..23ae23f8e40 100644 --- a/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php +++ b/src/NodeManipulator/Dependency/DependencyClassMethodDecorator.php @@ -15,7 +15,7 @@ use Rector\Core\PhpParser\AstResolver; use Rector\Core\PhpParser\Node\NodeFactory; use Rector\Core\ValueObject\MethodName; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class DependencyClassMethodDecorator { /** @@ -42,7 +42,7 @@ final class DependencyClassMethodDecorator * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\Core\NodeAnalyzer\PromotedPropertyParamCleaner $promotedPropertyParamCleaner, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\Core\NodeAnalyzer\PromotedPropertyParamCleaner $promotedPropertyParamCleaner, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->nodeFactory = $nodeFactory; $this->promotedPropertyParamCleaner = $promotedPropertyParamCleaner; diff --git a/src/NodeManipulator/FunctionLikeManipulator.php b/src/NodeManipulator/FunctionLikeManipulator.php index cb01c8f7e66..62e756ac2c9 100644 --- a/src/NodeManipulator/FunctionLikeManipulator.php +++ b/src/NodeManipulator/FunctionLikeManipulator.php @@ -9,7 +9,7 @@ use PhpParser\Node\Stmt\Function_; use PhpParser\Node\Stmt\Return_; use Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class FunctionLikeManipulator { /** @@ -24,7 +24,7 @@ final class FunctionLikeManipulator * @var \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer */ private $propertyFetchAnalyzer; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\Core\NodeAnalyzer\PropertyFetchAnalyzer $propertyFetchAnalyzer) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/PropertyFetchAssignManipulator.php b/src/NodeManipulator/PropertyFetchAssignManipulator.php index 2bda300d6ac..5ccb697f504 100644 --- a/src/NodeManipulator/PropertyFetchAssignManipulator.php +++ b/src/NodeManipulator/PropertyFetchAssignManipulator.php @@ -8,7 +8,7 @@ use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\PropertyFetch; use PhpParser\Node\Expr\Variable; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class PropertyFetchAssignManipulator { /** @@ -19,7 +19,7 @@ final class PropertyFetchAssignManipulator * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeNameResolver = $nodeNameResolver; diff --git a/src/NodeManipulator/PropertyManipulator.php b/src/NodeManipulator/PropertyManipulator.php index c2737dc6b52..70a95319eb4 100644 --- a/src/NodeManipulator/PropertyManipulator.php +++ b/src/NodeManipulator/PropertyManipulator.php @@ -28,7 +28,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\ReadWrite\Guard\VariableToConstantGuard; use Rector\ReadWrite\NodeAnalyzer\ReadWritePropertyAnalyzer; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; /** * For inspiration to improve this service, * @see examples of variable modifications in https://wiki.php.net/rfc/readonly_properties_v2#proposal @@ -71,7 +71,7 @@ final class PropertyManipulator * @var \Rector\NodeNameResolver\NodeNameResolver */ private $nodeNameResolver; - public function __construct(\Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\ReadWrite\NodeAnalyzer\ReadWritePropertyAnalyzer $readWritePropertyAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\NodeFinder\PropertyFetchFinder $propertyFetchFinder, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) + public function __construct(\Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\ReadWrite\NodeAnalyzer\ReadWritePropertyAnalyzer $readWritePropertyAnalyzer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\NodeFinder\PropertyFetchFinder $propertyFetchFinder, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver) { $this->assignManipulator = $assignManipulator; $this->betterNodeFinder = $betterNodeFinder; diff --git a/src/NodeManipulator/StmtsManipulator.php b/src/NodeManipulator/StmtsManipulator.php index 0b78db63632..2a5a1aa9c49 100644 --- a/src/NodeManipulator/StmtsManipulator.php +++ b/src/NodeManipulator/StmtsManipulator.php @@ -8,7 +8,7 @@ use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\ClassMethod; use PhpParser\Node\Stmt\Expression; use Rector\Core\PhpParser\Comparing\NodeComparator; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class StmtsManipulator { /** @@ -19,7 +19,7 @@ final class StmtsManipulator * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeComparator = $nodeComparator; diff --git a/src/NodeManipulator/VariableManipulator.php b/src/NodeManipulator/VariableManipulator.php index c9253d7d2dc..4a31a0579c1 100644 --- a/src/NodeManipulator/VariableManipulator.php +++ b/src/NodeManipulator/VariableManipulator.php @@ -19,7 +19,7 @@ use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\ReadWrite\Guard\VariableToConstantGuard; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class VariableManipulator { /** @@ -50,7 +50,7 @@ final class VariableManipulator * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\Core\NodeManipulator\ArrayManipulator $arrayManipulator, \Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\Core\NodeManipulator\ArrayManipulator $arrayManipulator, \Rector\Core\NodeManipulator\AssignManipulator $assignManipulator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\ReadWrite\Guard\VariableToConstantGuard $variableToConstantGuard, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->arrayManipulator = $arrayManipulator; $this->assignManipulator = $assignManipulator; diff --git a/src/NonPhpFile/Rector/RenameClassNonPhpRector.php b/src/NonPhpFile/Rector/RenameClassNonPhpRector.php index a8ee7f18837..d058c9e9c28 100644 --- a/src/NonPhpFile/Rector/RenameClassNonPhpRector.php +++ b/src/NonPhpFile/Rector/RenameClassNonPhpRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\NonPhpFile\Rector; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\Configuration\RenamedClassesDataCollector; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Contract\Rector\NonPhpRectorInterface; @@ -11,7 +11,7 @@ use Rector\PostRector\Contract\Rector\ComplementaryRectorInterface; use Symplify\RuleDocGenerator\Contract\ConfigurableRuleInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; final class RenameClassNonPhpRector implements \Rector\Core\Contract\Rector\NonPhpRectorInterface, \Symplify\RuleDocGenerator\Contract\ConfigurableRuleInterface, \Rector\Core\Contract\Rector\ConfigurableRectorInterface, \Rector\PostRector\Contract\Rector\ComplementaryRectorInterface { /** @@ -65,9 +65,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $renameClasses = $configuration[self::RENAME_CLASSES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($renameClasses); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($renameClasses)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($renameClasses); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($renameClasses); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($renameClasses)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($renameClasses); $this->renameClasses = $renameClasses; } /** @@ -79,7 +79,7 @@ CODE_SAMPLE foreach ($classRenames as $oldClass => $newClass) { // the old class is without slashes, it can make mess as similar to a word in the text, so we have to be more strict about it $oldClassRegex = $this->createOldClassRegex($oldClass); - $newContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($newContent, $oldClassRegex, function (array $match) use($newClass) : string { + $newContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($newContent, $oldClassRegex, function (array $match) use($newClass) : string { return ($match['extra_space'] ?? '') . $newClass; }); } diff --git a/src/PHPStan/Reflection/TypeToCallReflectionResolver/ConstantStringTypeToCallReflectionResolver.php b/src/PHPStan/Reflection/TypeToCallReflectionResolver/ConstantStringTypeToCallReflectionResolver.php index e729efc29d4..fd9515208d0 100644 --- a/src/PHPStan/Reflection/TypeToCallReflectionResolver/ConstantStringTypeToCallReflectionResolver.php +++ b/src/PHPStan/Reflection/TypeToCallReflectionResolver/ConstantStringTypeToCallReflectionResolver.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\PHPStan\Reflection\TypeToCallReflectionResolver; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Name; use PHPStan\Analyser\Scope; use PHPStan\Reflection\FunctionReflection; @@ -64,7 +64,7 @@ final class ConstantStringTypeToCallReflectionResolver implements \Rector\Core\C return $this->reflectionProvider->getFunction($name, null); } // 'MyClass::myStaticFunction' - $matches = \RectorPrefix20211129\Nette\Utils\Strings::match($value, self::STATIC_METHOD_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::match($value, self::STATIC_METHOD_REGEX); if ($matches === null) { return null; } diff --git a/src/Php/PhpVersionProvider.php b/src/Php/PhpVersionProvider.php index 15371018dc8..e6939ba16eb 100644 --- a/src/Php/PhpVersionProvider.php +++ b/src/Php/PhpVersionProvider.php @@ -9,7 +9,7 @@ use Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver; use Rector\Core\Util\StringUtils; use Rector\Core\ValueObject\PhpVersion; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; /** * @see \Rector\Core\Tests\Php\PhpVersionProviderTest */ @@ -28,7 +28,7 @@ final class PhpVersionProvider * @var \Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver */ private $projectComposerJsonPhpVersionResolver; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver $projectComposerJsonPhpVersionResolver) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver $projectComposerJsonPhpVersionResolver) { $this->parameterProvider = $parameterProvider; $this->projectComposerJsonPhpVersionResolver = $projectComposerJsonPhpVersionResolver; diff --git a/src/Php/PhpVersionResolver/ProjectComposerJsonPhpVersionResolver.php b/src/Php/PhpVersionResolver/ProjectComposerJsonPhpVersionResolver.php index 11e9b4d9dc3..5354c8f6375 100644 --- a/src/Php/PhpVersionResolver/ProjectComposerJsonPhpVersionResolver.php +++ b/src/Php/PhpVersionResolver/ProjectComposerJsonPhpVersionResolver.php @@ -3,9 +3,9 @@ declare (strict_types=1); namespace Rector\Core\Php\PhpVersionResolver; -use RectorPrefix20211129\Composer\Semver\VersionParser; +use RectorPrefix20211130\Composer\Semver\VersionParser; use Rector\Core\Util\PhpVersionFactory; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ComposerJsonFactory; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ComposerJsonFactory; /** * @see \Rector\Core\Tests\Php\PhpVersionResolver\ProjectComposerJsonPhpVersionResolver\ProjectComposerJsonPhpVersionResolverTest */ @@ -23,7 +23,7 @@ final class ProjectComposerJsonPhpVersionResolver * @var \Rector\Core\Util\PhpVersionFactory */ private $phpVersionFactory; - public function __construct(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20211129\Composer\Semver\VersionParser $versionParser, \Rector\Core\Util\PhpVersionFactory $phpVersionFactory) + public function __construct(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ComposerJsonFactory $composerJsonFactory, \RectorPrefix20211130\Composer\Semver\VersionParser $versionParser, \Rector\Core\Util\PhpVersionFactory $phpVersionFactory) { $this->composerJsonFactory = $composerJsonFactory; $this->versionParser = $versionParser; diff --git a/src/Php/Regex/RegexPatternArgumentManipulator.php b/src/Php/Regex/RegexPatternArgumentManipulator.php index 3e11974fef0..469a585b05e 100644 --- a/src/Php/Regex/RegexPatternArgumentManipulator.php +++ b/src/Php/Regex/RegexPatternArgumentManipulator.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Php\Regex; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Const_; @@ -30,7 +30,7 @@ final class RegexPatternArgumentManipulator /** * @var array> */ - private const STATIC_METHODS_WITH_PATTERNS_TO_ARGUMENT_POSITION = [\RectorPrefix20211129\Nette\Utils\Strings::class => ['match' => 1, 'matchAll' => 1, 'replace' => 1, 'split' => 1]]; + private const STATIC_METHODS_WITH_PATTERNS_TO_ARGUMENT_POSITION = [\RectorPrefix20211130\Nette\Utils\Strings::class => ['match' => 1, 'matchAll' => 1, 'replace' => 1, 'split' => 1]]; /** * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ diff --git a/src/Php/TypeAnalyzer.php b/src/Php/TypeAnalyzer.php index 706d94a3120..9c6927f791f 100644 --- a/src/Php/TypeAnalyzer.php +++ b/src/Php/TypeAnalyzer.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Php; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\ValueObject\PhpVersionFeature; final class TypeAnalyzer { @@ -33,7 +33,7 @@ final class TypeAnalyzer foreach ($types as $type) { $type = \strtolower($type); // remove [] from arrays - $type = \RectorPrefix20211129\Nette\Utils\Strings::replace($type, self::SQUARE_BRACKET_REGEX, ''); + $type = \RectorPrefix20211130\Nette\Utils\Strings::replace($type, self::SQUARE_BRACKET_REGEX, ''); if (\in_array($type, $reservedTypes, \true)) { return \true; } diff --git a/src/PhpParser/AstResolver.php b/src/PhpParser/AstResolver.php index 855b0da5a4b..f4f170a6567 100644 --- a/src/PhpParser/AstResolver.php +++ b/src/PhpParser/AstResolver.php @@ -30,9 +30,9 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator; use Rector\NodeTypeResolver\NodeTypeResolver; use ReflectionProperty; -use RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser; +use RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * The nodes provided by this resolver is for read-only analysis only! * They are not part of node tree processed by Rector, so any changes will not make effect in final printed file. @@ -89,7 +89,7 @@ final class AstResolver * @var \Rector\Core\PhpParser\ClassLikeAstResolver */ private $classLikeAstResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\PhpParser\ClassLikeAstResolver $classLikeAstResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\Reflection\ReflectionResolver $reflectionResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \Rector\Core\PhpParser\ClassLikeAstResolver $classLikeAstResolver) { $this->smartPhpParser = $smartPhpParser; $this->smartFileSystem = $smartFileSystem; diff --git a/src/PhpParser/ClassLikeAstResolver.php b/src/PhpParser/ClassLikeAstResolver.php index fb0c8ce8db0..5d96e3fe953 100644 --- a/src/PhpParser/ClassLikeAstResolver.php +++ b/src/PhpParser/ClassLikeAstResolver.php @@ -10,7 +10,7 @@ use PhpParser\Node\Stmt\Trait_; use PHPStan\Reflection\ClassReflection; use Rector\Core\PhpParser\Node\BetterNodeFinder; use Rector\Core\ValueObject\Application\File; -use RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser; +use RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser; final class ClassLikeAstResolver { /** @@ -28,7 +28,7 @@ final class ClassLikeAstResolver * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser $smartPhpParser, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->smartPhpParser = $smartPhpParser; $this->betterNodeFinder = $betterNodeFinder; diff --git a/src/PhpParser/Node/BetterNodeFinder.php b/src/PhpParser/Node/BetterNodeFinder.php index 7a6f6956a0a..b6d9f75b107 100644 --- a/src/PhpParser/Node/BetterNodeFinder.php +++ b/src/PhpParser/Node/BetterNodeFinder.php @@ -25,8 +25,8 @@ use Rector\Core\NodeAnalyzer\ClassAnalyzer; use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Core\Tests\PhpParser\Node\BetterNodeFinder\BetterNodeFinderTest */ @@ -52,7 +52,7 @@ final class BetterNodeFinder * @var \Rector\Core\NodeAnalyzer\ClassAnalyzer */ private $classAnalyzer; - public function __construct(\PhpParser\NodeFinder $nodeFinder, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer) + public function __construct(\PhpParser\NodeFinder $nodeFinder, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\NodeAnalyzer\ClassAnalyzer $classAnalyzer) { $this->nodeFinder = $nodeFinder; $this->nodeNameResolver = $nodeNameResolver; @@ -67,7 +67,7 @@ final class BetterNodeFinder */ public function findParentByTypes(\PhpParser\Node $currentNode, array $types) : ?\PhpParser\Node { - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); while ($currentNode = $currentNode->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::PARENT_NODE)) { if (!$currentNode instanceof \PhpParser\Node) { return null; @@ -87,7 +87,7 @@ final class BetterNodeFinder */ public function findParentType(\PhpParser\Node $node, string $type) : ?\PhpParser\Node { - \RectorPrefix20211129\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); $parent = $node->getAttribute(\Rector\NodeTypeResolver\Node\AttributeKey::PARENT_NODE); if (!$parent instanceof \PhpParser\Node) { return null; @@ -134,7 +134,7 @@ final class BetterNodeFinder */ public function findFirstInstanceOf($nodes, string $type) : ?\PhpParser\Node { - \RectorPrefix20211129\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); return $this->nodeFinder->findFirstInstanceOf($nodes, $type); } /** @@ -143,7 +143,7 @@ final class BetterNodeFinder */ public function hasInstanceOfName($nodes, string $type, string $name) : bool { - \RectorPrefix20211129\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); return (bool) $this->findInstanceOfName($nodes, $type, $name); } /** @@ -167,7 +167,7 @@ final class BetterNodeFinder */ public function hasInstancesOf($nodes, array $types) : bool { - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($types, \PhpParser\Node::class); foreach ($types as $type) { $foundNode = $this->nodeFinder->findFirstInstanceOf($nodes, $type); if (!$foundNode instanceof \PhpParser\Node) { @@ -184,7 +184,7 @@ final class BetterNodeFinder */ public function findLastInstanceOf($nodes, string $type) : ?\PhpParser\Node { - \RectorPrefix20211129\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); $foundInstances = $this->nodeFinder->findInstanceOf($nodes, $type); if ($foundInstances === []) { return null; @@ -372,7 +372,7 @@ final class BetterNodeFinder */ private function findInstanceOfName($nodes, string $type, string $name) : ?\PhpParser\Node { - \RectorPrefix20211129\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::isAOf($type, \PhpParser\Node::class); $foundInstances = $this->nodeFinder->findInstanceOf($nodes, $type); foreach ($foundInstances as $foundInstance) { if (!$this->nodeNameResolver->isName($foundInstance, $name)) { diff --git a/src/PhpParser/Node/NodeFactory.php b/src/PhpParser/Node/NodeFactory.php index 26e8e87c081..ce9fc7ef42e 100644 --- a/src/PhpParser/Node/NodeFactory.php +++ b/src/PhpParser/Node/NodeFactory.php @@ -60,9 +60,9 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\PostRector\ValueObject\PropertyMetadata; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; /** * @see \Rector\Core\Tests\PhpParser\Node\NodeFactoryTest */ @@ -197,13 +197,13 @@ final class NodeFactory } public function createPublicMethod(string $name) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); $methodBuilder->makePublic(); return $methodBuilder->getNode(); } public function createParamFromNameAndType(string $name, ?\PHPStan\Type\Type $type) : \PhpParser\Node\Param { - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($name); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($name); if ($type !== null) { $typeNode = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($type, \Rector\PHPStanStaticTypeMapper\Enum\TypeKind::PARAM()); if ($typeNode !== null) { @@ -214,7 +214,7 @@ final class NodeFactory } public function createPublicInjectPropertyFromNameAndType(string $name, ?\PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePublic(); $property = $propertyBuilder->getNode(); $this->propertyTypeDecorator->decorate($property, $type); @@ -225,7 +225,7 @@ final class NodeFactory } public function createPrivatePropertyFromNameAndType(string $name, ?\PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePrivate(); $property = $propertyBuilder->getNode(); $this->propertyTypeDecorator->decorate($property, $type); @@ -278,14 +278,14 @@ final class NodeFactory } public function createProperty(string $name) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $property = $propertyBuilder->getNode(); $this->phpDocInfoFactory->createFromNode($property); return $property; } public function createPrivateProperty(string $name) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePrivate(); $property = $propertyBuilder->getNode(); $this->phpDocInfoFactory->createFromNode($property); @@ -293,7 +293,7 @@ final class NodeFactory } public function createPublicProperty(string $name) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makePublic(); $property = $propertyBuilder->getNode(); $this->phpDocInfoFactory->createFromNode($property); @@ -301,7 +301,7 @@ final class NodeFactory } public function createGetterClassMethod(string $propertyName, \PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('get' . \ucfirst($propertyName)); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('get' . \ucfirst($propertyName)); $methodBuilder->makePublic(); $propertyFetch = new \PhpParser\Node\Expr\PropertyFetch(new \PhpParser\Node\Expr\Variable(self::THIS), $propertyName); $return = new \PhpParser\Node\Stmt\Return_($propertyFetch); @@ -314,7 +314,7 @@ final class NodeFactory } public function createSetterClassMethod(string $propertyName, \PHPStan\Type\Type $type) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('set' . \ucfirst($propertyName)); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('set' . \ucfirst($propertyName)); $methodBuilder->makePublic(); $variable = new \PhpParser\Node\Expr\Variable($propertyName); $param = $this->createParamWithType($variable, $type); @@ -406,7 +406,7 @@ final class NodeFactory } public function createPromotedPropertyParam(\Rector\PostRector\ValueObject\PropertyMetadata $propertyMetadata) : \PhpParser\Node\Param { - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($propertyMetadata->getName()); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($propertyMetadata->getName()); $propertyType = $propertyMetadata->getType(); if ($propertyType !== null) { $typeNode = $this->staticTypeMapper->mapPHPStanTypeToPhpParserNode($propertyType, \Rector\PHPStanStaticTypeMapper\Enum\TypeKind::PROPERTY()); diff --git a/src/PhpParser/Parser/InlineCodeParser.php b/src/PhpParser/Parser/InlineCodeParser.php index ff945aa3ede..9b92f90376b 100644 --- a/src/PhpParser/Parser/InlineCodeParser.php +++ b/src/PhpParser/Parser/InlineCodeParser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\PhpParser\Parser; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Expr; use PhpParser\Node\Expr\BinaryOp\Concat; use PhpParser\Node\Expr\PropertyFetch; @@ -17,7 +17,7 @@ use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\PhpParser\Printer\BetterStandardPrinter; use Rector\Core\Util\StringUtils; use Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class InlineCodeParser { /** @@ -56,7 +56,7 @@ final class InlineCodeParser * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\NodeTypeResolver\NodeScopeAndMetadataDecorator $nodeScopeAndMetadataDecorator, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->betterStandardPrinter = $betterStandardPrinter; $this->nodeScopeAndMetadataDecorator = $nodeScopeAndMetadataDecorator; @@ -87,9 +87,9 @@ final class InlineCodeParser // remove " $expr = \trim($this->betterStandardPrinter->print($expr), '""'); // use \$ → $ - $expr = \RectorPrefix20211129\Nette\Utils\Strings::replace($expr, self::PRESLASHED_DOLLAR_REGEX, '$'); + $expr = \RectorPrefix20211130\Nette\Utils\Strings::replace($expr, self::PRESLASHED_DOLLAR_REGEX, '$'); // use \'{$...}\' → $... - return \RectorPrefix20211129\Nette\Utils\Strings::replace($expr, self::CURLY_BRACKET_WRAPPER_REGEX, '$1'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($expr, self::CURLY_BRACKET_WRAPPER_REGEX, '$1'); } if ($expr instanceof \PhpParser\Node\Expr\BinaryOp\Concat) { return $this->stringify($expr->left) . $this->stringify($expr->right); diff --git a/src/PhpParser/Parser/SimplePhpParser.php b/src/PhpParser/Parser/SimplePhpParser.php index 35a9373c190..0b678c9b761 100644 --- a/src/PhpParser/Parser/SimplePhpParser.php +++ b/src/PhpParser/Parser/SimplePhpParser.php @@ -8,7 +8,7 @@ use PhpParser\NodeTraverser; use PhpParser\NodeVisitor\NodeConnectingVisitor; use PhpParser\Parser; use PhpParser\ParserFactory; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class SimplePhpParser { /** @@ -19,7 +19,7 @@ final class SimplePhpParser * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->smartFileSystem = $smartFileSystem; $parserFactory = new \PhpParser\ParserFactory(); diff --git a/src/PhpParser/Printer/BetterStandardPrinter.php b/src/PhpParser/Printer/BetterStandardPrinter.php index a6fa045d4d3..a9cb12379aa 100644 --- a/src/PhpParser/Printer/BetterStandardPrinter.php +++ b/src/PhpParser/Printer/BetterStandardPrinter.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\PhpParser\Printer; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Array_; use PhpParser\Node\Expr\Assign; @@ -181,7 +181,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard if (!$this->containsNop($nodes)) { return $content; } - return \RectorPrefix20211129\Nette\Utils\Strings::replace($content, self::EXTRA_SPACE_BEFORE_NOP_REGEX, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($content, self::EXTRA_SPACE_BEFORE_NOP_REGEX, ''); } /** * Do not preslash all slashes (parent behavior), but only those: @@ -194,7 +194,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard */ protected function pSingleQuotedString(string $string) : string { - return "'" . \RectorPrefix20211129\Nette\Utils\Strings::replace($string, self::QUOTED_SLASH_REGEX, '\\\\$0') . "'"; + return "'" . \RectorPrefix20211130\Nette\Utils\Strings::replace($string, self::QUOTED_SLASH_REGEX, '\\\\$0') . "'"; } /** * Emulates 1_000 in PHP 7.3- version @@ -215,7 +215,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard protected function pExpr_Closure(\PhpParser\Node\Expr\Closure $closure) : string { $closureContent = parent::pExpr_Closure($closure); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($closureContent, self::USE_REGEX, '$1 ('); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($closureContent, self::USE_REGEX, '$1 ('); } /** * Do not add "()" on Expressions @@ -277,7 +277,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard { $content = parent::pStmt_ClassMethod($classMethod); // this approach is chosen, to keep changes in parent pStmt_ClassMethod() updated - return \RectorPrefix20211129\Nette\Utils\Strings::replace($content, self::REPLACE_COLON_WITH_SPACE_REGEX, '$1: '); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($content, self::REPLACE_COLON_WITH_SPACE_REGEX, '$1: '); } /** * Clean class and trait from empty "use x;" for traits causing invalid code @@ -303,7 +303,7 @@ final class BetterStandardPrinter extends \PhpParser\PrettyPrinter\Standard protected function pStmt_Declare(\PhpParser\Node\Stmt\Declare_ $declare) : string { $declareString = parent::pStmt_Declare($declare); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($declareString, '#\\s+#', ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($declareString, '#\\s+#', ''); } protected function pExpr_Ternary(\PhpParser\Node\Expr\Ternary $ternary) : string { diff --git a/src/PhpParser/Printer/FormatPerservingPrinter.php b/src/PhpParser/Printer/FormatPerservingPrinter.php index 0dbe36301af..445735489d4 100644 --- a/src/PhpParser/Printer/FormatPerservingPrinter.php +++ b/src/PhpParser/Printer/FormatPerservingPrinter.php @@ -8,7 +8,7 @@ use PhpParser\Node\Stmt; use Rector\Core\PhpParser\Node\CustomNode\FileWithoutNamespace; use Rector\Core\ValueObject\Application\File; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * @see \Rector\Core\Tests\PhpParser\Printer\FormatPerservingPrinterTest */ @@ -22,7 +22,7 @@ final class FormatPerservingPrinter * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->betterStandardPrinter = $betterStandardPrinter; $this->smartFileSystem = $smartFileSystem; diff --git a/src/PhpParser/Printer/Whitespace/IndentCharacterDetector.php b/src/PhpParser/Printer/Whitespace/IndentCharacterDetector.php index c379a870207..3d18618bd3e 100644 --- a/src/PhpParser/Printer/Whitespace/IndentCharacterDetector.php +++ b/src/PhpParser/Printer/Whitespace/IndentCharacterDetector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\PhpParser\Printer\Whitespace; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; final class IndentCharacterDetector { /** @@ -18,7 +18,7 @@ final class IndentCharacterDetector foreach ($tokens as $token) { if ($token[0] === \T_WHITESPACE) { $tokenContent = $token[1]; - $tabMatches = \RectorPrefix20211129\Nette\Utils\Strings::matchAll($tokenContent, '#^\\t#m'); + $tabMatches = \RectorPrefix20211130\Nette\Utils\Strings::matchAll($tokenContent, '#^\\t#m'); if ($tabMatches !== []) { return "\t"; } diff --git a/src/Rector/AbstractRector.php b/src/Rector/AbstractRector.php index cef8e4c2cd4..b952ffebb15 100644 --- a/src/Rector/AbstractRector.php +++ b/src/Rector/AbstractRector.php @@ -45,11 +45,11 @@ use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\PostRector\Collector\NodesToAddCollector; use Rector\PostRector\Collector\NodesToRemoveCollector; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; -use RectorPrefix20211129\Symplify\Skipper\Skipper\Skipper; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\Skipper\Skipper\Skipper; /** * @see \Rector\Testing\PHPUnit\AbstractRectorTestCase */ @@ -178,7 +178,7 @@ abstract class AbstractRector extends \PhpParser\NodeVisitorAbstract implements /** * @required */ - public function autowire(\Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\PostRector\Collector\NodesToAddCollector $nodesToAddCollector, \Rector\ChangesReporting\Collector\RectorChangeCollector $rectorChangeCollector, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \Rector\Core\Exclusion\ExclusionManager $exclusionManager, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \Rector\Core\Configuration\CurrentNodeProvider $currentNodeProvider, \RectorPrefix20211129\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\NodeAnalyzer\ChangedNodeAnalyzer $changedNodeAnalyzer, \Rector\Core\Validation\InfiniteLoopValidator $infiniteLoopValidator, \Rector\Core\ProcessAnalyzer\RectifiedAnalyzer $rectifiedAnalyzer) : void + public function autowire(\Rector\PostRector\Collector\NodesToRemoveCollector $nodesToRemoveCollector, \Rector\PostRector\Collector\NodesToAddCollector $nodesToAddCollector, \Rector\ChangesReporting\Collector\RectorChangeCollector $rectorChangeCollector, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\PhpParser\Printer\BetterStandardPrinter $betterStandardPrinter, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \Rector\Core\Php\PhpVersionProvider $phpVersionProvider, \Rector\Core\Exclusion\ExclusionManager $exclusionManager, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Logging\CurrentRectorProvider $currentRectorProvider, \Rector\Core\Configuration\CurrentNodeProvider $currentNodeProvider, \RectorPrefix20211130\Symplify\Skipper\Skipper\Skipper $skipper, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\NodeAnalyzer\ChangedNodeAnalyzer $changedNodeAnalyzer, \Rector\Core\Validation\InfiniteLoopValidator $infiniteLoopValidator, \Rector\Core\ProcessAnalyzer\RectifiedAnalyzer $rectifiedAnalyzer) : void { $this->nodesToRemoveCollector = $nodesToRemoveCollector; $this->nodesToAddCollector = $nodesToAddCollector; diff --git a/src/Reporting/MissingRectorRulesReporter.php b/src/Reporting/MissingRectorRulesReporter.php index 36aa3c0d533..166885b740e 100644 --- a/src/Reporting/MissingRectorRulesReporter.php +++ b/src/Reporting/MissingRectorRulesReporter.php @@ -6,8 +6,8 @@ namespace Rector\Core\Reporting; use Rector\Core\Contract\Rector\RectorInterface; use Rector\PostRector\Contract\Rector\ComplementaryRectorInterface; use Rector\PostRector\Contract\Rector\PostRectorInterface; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; final class MissingRectorRulesReporter { /** @@ -21,7 +21,7 @@ final class MissingRectorRulesReporter /** * @param RectorInterface[] $rectors */ - public function __construct(array $rectors, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(array $rectors, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->rectors = $rectors; $this->symfonyStyle = $symfonyStyle; @@ -38,7 +38,7 @@ final class MissingRectorRulesReporter return null; } $this->report(); - return \RectorPrefix20211129\Symfony\Component\Console\Command\Command::FAILURE; + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE; } public function report() : void { diff --git a/src/StaticReflection/DynamicSourceLocatorDecorator.php b/src/StaticReflection/DynamicSourceLocatorDecorator.php index ca7c9b9adf2..fb8d69c6d24 100644 --- a/src/StaticReflection/DynamicSourceLocatorDecorator.php +++ b/src/StaticReflection/DynamicSourceLocatorDecorator.php @@ -5,7 +5,7 @@ namespace Rector\Core\StaticReflection; use Rector\Core\FileSystem\PhpFilesFinder; use Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider; -use RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter; +use RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter; /** * @see https://phpstan.org/blog/zero-config-analysis-with-static-reflection * @see https://github.com/rectorphp/rector/issues/3490 @@ -24,7 +24,7 @@ final class DynamicSourceLocatorDecorator * @var \Rector\Core\FileSystem\PhpFilesFinder */ private $phpFilesFinder; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider $dynamicSourceLocatorProvider, \Rector\Core\FileSystem\PhpFilesFinder $phpFilesFinder) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter $fileSystemFilter, \Rector\NodeTypeResolver\Reflection\BetterReflection\SourceLocatorProvider\DynamicSourceLocatorProvider $dynamicSourceLocatorProvider, \Rector\Core\FileSystem\PhpFilesFinder $phpFilesFinder) { $this->fileSystemFilter = $fileSystemFilter; $this->dynamicSourceLocatorProvider = $dynamicSourceLocatorProvider; diff --git a/src/StaticReflection/SourceLocator/ParentAttributeSourceLocator.php b/src/StaticReflection/SourceLocator/ParentAttributeSourceLocator.php index 31f8286b905..6ebbe025d0a 100644 --- a/src/StaticReflection/SourceLocator/ParentAttributeSourceLocator.php +++ b/src/StaticReflection/SourceLocator/ParentAttributeSourceLocator.php @@ -16,7 +16,7 @@ use PHPStan\BetterReflection\SourceLocator\Located\LocatedSource; use PHPStan\BetterReflection\SourceLocator\Type\SourceLocator; use PHPStan\Reflection\ReflectionProvider; use Rector\Core\PhpParser\AstResolver; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * This mimics classes that PHPStan fails to find in scope, but actually has an access in static reflection. * Some weird bug, that crashes on parent classes. diff --git a/src/StaticReflection/SourceLocator/RenamedClassesSourceLocator.php b/src/StaticReflection/SourceLocator/RenamedClassesSourceLocator.php index 14b63f37e9f..778e66ec7c8 100644 --- a/src/StaticReflection/SourceLocator/RenamedClassesSourceLocator.php +++ b/src/StaticReflection/SourceLocator/RenamedClassesSourceLocator.php @@ -12,7 +12,7 @@ use PHPStan\BetterReflection\Reflector\Reflector; use PHPStan\BetterReflection\SourceLocator\Located\LocatedSource; use PHPStan\BetterReflection\SourceLocator\Type\SourceLocator; use Rector\Core\Configuration\RenamedClassesDataCollector; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; /** * Inspired from \PHPStan\BetterReflection\SourceLocator\Type\StringSourceLocator */ @@ -46,7 +46,7 @@ final class RenamedClassesSourceLocator implements \PHPStan\BetterReflection\Sou } private function createFakeReflectionClassFromClassName(string $oldClass) : \PHPStan\BetterReflection\Reflection\ReflectionClass { - $classBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($oldClass); + $classBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($oldClass); $class = $classBuilder->getNode(); $fakeLocatedSource = new \PHPStan\BetterReflection\SourceLocator\Located\LocatedSource('virtual', null); $classReflector = new \PHPStan\BetterReflection\Reflector\ClassReflector($this); diff --git a/src/Util/StaticRectorStrings.php b/src/Util/StaticRectorStrings.php index 293f5257c3b..b1131dc7248 100644 --- a/src/Util/StaticRectorStrings.php +++ b/src/Util/StaticRectorStrings.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\Util; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; final class StaticRectorStrings { /** @@ -19,7 +19,7 @@ final class StaticRectorStrings if ($input === \strtolower($input)) { return $input; } - $matches = \RectorPrefix20211129\Nette\Utils\Strings::matchAll($input, self::CAMEL_CASE_SPLIT_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::matchAll($input, self::CAMEL_CASE_SPLIT_REGEX); $parts = []; foreach ($matches as $match) { $parts[] = $match[0] === \strtoupper($match[0]) ? \strtolower($match[0]) : \lcfirst($match[0]); @@ -46,7 +46,7 @@ final class StaticRectorStrings { foreach ($prefixesToRemove as $prefixToRemove) { if (\strncmp($value, $prefixToRemove, \strlen($prefixToRemove)) === 0) { - $value = \RectorPrefix20211129\Nette\Utils\Strings::substring($value, \RectorPrefix20211129\Nette\Utils\Strings::length($prefixToRemove)); + $value = \RectorPrefix20211130\Nette\Utils\Strings::substring($value, \RectorPrefix20211130\Nette\Utils\Strings::length($prefixToRemove)); } } return $value; @@ -58,7 +58,7 @@ final class StaticRectorStrings { foreach ($suffixesToRemove as $suffixToRemove) { if (\substr_compare($value, $suffixToRemove, -\strlen($suffixToRemove)) === 0) { - $value = \RectorPrefix20211129\Nette\Utils\Strings::substring($value, 0, -\RectorPrefix20211129\Nette\Utils\Strings::length($suffixToRemove)); + $value = \RectorPrefix20211130\Nette\Utils\Strings::substring($value, 0, -\RectorPrefix20211130\Nette\Utils\Strings::length($suffixToRemove)); } } return $value; diff --git a/src/Util/StringUtils.php b/src/Util/StringUtils.php index d05cd974996..2dcc42fbaa9 100644 --- a/src/Util/StringUtils.php +++ b/src/Util/StringUtils.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Core\Util; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; final class StringUtils { public static function isMatch(string $value, string $regex) : bool { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($value, $regex); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($value, $regex); return $match !== null; } } diff --git a/src/Validation/Collector/EmptyConfigurableRectorCollector.php b/src/Validation/Collector/EmptyConfigurableRectorCollector.php index fcf4c74da9e..5bedd010759 100644 --- a/src/Validation/Collector/EmptyConfigurableRectorCollector.php +++ b/src/Validation/Collector/EmptyConfigurableRectorCollector.php @@ -7,7 +7,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector; use Rector\Naming\Naming\PropertyNaming; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; final class EmptyConfigurableRectorCollector { @@ -19,7 +19,7 @@ final class EmptyConfigurableRectorCollector * @var \Rector\Naming\Naming\PropertyNaming */ private $propertyNaming; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Naming\Naming\PropertyNaming $propertyNaming) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor $privatesAccessor, \Rector\Naming\Naming\PropertyNaming $propertyNaming) { $this->privatesAccessor = $privatesAccessor; $this->propertyNaming = $propertyNaming; diff --git a/src/Validation/EmptyConfigurableRectorChecker.php b/src/Validation/EmptyConfigurableRectorChecker.php index 9cf323fffd1..ca243bce8c6 100644 --- a/src/Validation/EmptyConfigurableRectorChecker.php +++ b/src/Validation/EmptyConfigurableRectorChecker.php @@ -6,7 +6,7 @@ namespace Rector\Core\Validation; use function count; use Rector\Core\Contract\Rector\RectorInterface; use Rector\Core\Validation\Collector\EmptyConfigurableRectorCollector; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; final class EmptyConfigurableRectorChecker { /** @@ -17,7 +17,7 @@ final class EmptyConfigurableRectorChecker * @var \Symfony\Component\Console\Style\SymfonyStyle */ private $symfonyStyle; - public function __construct(\Rector\Core\Validation\Collector\EmptyConfigurableRectorCollector $emptyConfigurableRectorCollector, \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) + public function __construct(\Rector\Core\Validation\Collector\EmptyConfigurableRectorCollector $emptyConfigurableRectorCollector, \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle) { $this->emptyConfigurableRectorCollector = $emptyConfigurableRectorCollector; $this->symfonyStyle = $symfonyStyle; diff --git a/src/Validation/RectorAssert.php b/src/Validation/RectorAssert.php index 72d64bf909b..d44f4d8338a 100644 --- a/src/Validation/RectorAssert.php +++ b/src/Validation/RectorAssert.php @@ -4,7 +4,7 @@ declare (strict_types=1); namespace Rector\Core\Validation; use Rector\Core\Util\StringUtils; -use RectorPrefix20211129\Webmozart\Assert\InvalidArgumentException; +use RectorPrefix20211130\Webmozart\Assert\InvalidArgumentException; /** * @see \Rector\Core\Tests\Validation\RectorAssertTest */ @@ -25,6 +25,6 @@ final class RectorAssert return; } $errorMessage = $className . ' is not a valid class name'; - throw new \RectorPrefix20211129\Webmozart\Assert\InvalidArgumentException($errorMessage); + throw new \RectorPrefix20211130\Webmozart\Assert\InvalidArgumentException($errorMessage); } } diff --git a/src/ValueObject/Application/RectorError.php b/src/ValueObject/Application/RectorError.php index 2cbf6dca13c..750f93cbbb4 100644 --- a/src/ValueObject/Application/RectorError.php +++ b/src/ValueObject/Application/RectorError.php @@ -4,8 +4,8 @@ declare (strict_types=1); namespace Rector\Core\ValueObject\Application; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface; -final class RectorError implements \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface; +final class RectorError implements \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var string @@ -55,7 +55,7 @@ final class RectorError implements \RectorPrefix20211129\Symplify\EasyParallel\C /** * @param array $json */ - public static function decode($json) : \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode($json) : \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { return new self($json['message'], $json['relative_file_path'], $json['line'], $json['rector_class']); } diff --git a/src/ValueObject/Configuration.php b/src/ValueObject/Configuration.php index ee7e7f2d802..acd2f25fb83 100644 --- a/src/ValueObject/Configuration.php +++ b/src/ValueObject/Configuration.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Core\ValueObject; -use RectorPrefix20211129\JetBrains\PhpStorm\Immutable; +use RectorPrefix20211130\JetBrains\PhpStorm\Immutable; use Rector\ChangesReporting\Output\ConsoleOutputFormatter; use Rector\Core\ValueObject\Bootstrap\BootstrapConfigs; use Symplify\SmartFileSystem\SmartFileInfo; diff --git a/src/ValueObject/Error/SystemError.php b/src/ValueObject/Error/SystemError.php index 82b2089862a..47288bbf39c 100644 --- a/src/ValueObject/Error/SystemError.php +++ b/src/ValueObject/Error/SystemError.php @@ -4,8 +4,8 @@ declare (strict_types=1); namespace Rector\Core\ValueObject\Error; use Rector\Parallel\ValueObject\Name; -use RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface; -final class SystemError implements \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface; +final class SystemError implements \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var int @@ -43,7 +43,7 @@ final class SystemError implements \RectorPrefix20211129\Symplify\EasyParallel\C /** * @param mixed[] $json */ - public static function decode($json) : \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode($json) : \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { return new self($json[\Rector\Parallel\ValueObject\Name::LINE], $json[\Rector\Parallel\ValueObject\Name::MESSAGE], $json[\Rector\Parallel\ValueObject\Name::RELATIVE_FILE_PATH]); } diff --git a/src/ValueObject/PhpVersion.php b/src/ValueObject/PhpVersion.php index 310fc50ad56..2fd5ab86dbd 100644 --- a/src/ValueObject/PhpVersion.php +++ b/src/ValueObject/PhpVersion.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Core\ValueObject; -use RectorPrefix20211129\MyCLabs\Enum\Enum; -final class PhpVersion extends \RectorPrefix20211129\MyCLabs\Enum\Enum +use RectorPrefix20211130\MyCLabs\Enum\Enum; +final class PhpVersion extends \RectorPrefix20211130\MyCLabs\Enum\Enum { /** * @api diff --git a/src/ValueObject/ProcessResult.php b/src/ValueObject/ProcessResult.php index 6ba84c754b0..b594c009734 100644 --- a/src/ValueObject/ProcessResult.php +++ b/src/ValueObject/ProcessResult.php @@ -6,7 +6,7 @@ namespace Rector\Core\ValueObject; use Rector\Core\ValueObject\Application\RectorError; use Rector\Core\ValueObject\Reporting\FileDiff; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Core\ValueObjectFactory\ProcessResultFactory */ @@ -41,8 +41,8 @@ final class ProcessResult $this->addedFilesCount = $addedFilesCount; $this->removedFilesCount = $removedFilesCount; $this->removedNodeCount = $removedNodeCount; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($fileDiffs, \Rector\Core\ValueObject\Reporting\FileDiff::class); - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsAOf($errors, \Rector\Core\ValueObject\Application\RectorError::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($fileDiffs, \Rector\Core\ValueObject\Reporting\FileDiff::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsAOf($errors, \Rector\Core\ValueObject\Application\RectorError::class); $this->fileDiffs = $fileDiffs; $this->errors = $errors; } diff --git a/src/ValueObject/Reporting/FileDiff.php b/src/ValueObject/Reporting/FileDiff.php index d885a1b6f6f..c37bc323445 100644 --- a/src/ValueObject/Reporting/FileDiff.php +++ b/src/ValueObject/Reporting/FileDiff.php @@ -3,11 +3,11 @@ declare (strict_types=1); namespace Rector\Core\ValueObject\Reporting; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; use Rector\Core\Contract\Rector\RectorInterface; -use RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface; -final class FileDiff implements \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface +use RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface; +final class FileDiff implements \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { /** * @var string @@ -92,7 +92,7 @@ final class FileDiff implements \RectorPrefix20211129\Symplify\EasyParallel\Cont } public function getFirstLineNumber() : ?int { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($this->diff, self::FIRST_LINE_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($this->diff, self::FIRST_LINE_REGEX); // probably some error in diff if (!isset($match[self::FIRST_LINE_KEY])) { return null; @@ -109,7 +109,7 @@ final class FileDiff implements \RectorPrefix20211129\Symplify\EasyParallel\Cont /** * @param array $json */ - public static function decode($json) : \RectorPrefix20211129\Symplify\EasyParallel\Contract\SerializableInterface + public static function decode($json) : \RectorPrefix20211130\Symplify\EasyParallel\Contract\SerializableInterface { return new self($json[self::KEY_RELATIVE_FILE_PATH], $json[self::KEY_DIFF], $json[self::KEY_DIFF_CONSOLE_FORMATTED], $json[self::KEY_RECTORS_WITH_LINE_CHANGES]); } diff --git a/src/constants.php b/src/constants.php index add1fee73eb..31d0245381d 100644 --- a/src/constants.php +++ b/src/constants.php @@ -1,7 +1,7 @@ $depth]); + \RectorPrefix20211130\Tracy\Dumper::dump($node, [\RectorPrefix20211130\Tracy\Dumper::DEPTH => $depth]); } } } @@ -34,7 +34,7 @@ if (!\function_exists('print_node')) { $nodes = \is_array($node) ? $node : [$node]; foreach ($nodes as $node) { $printedContent = $standard->prettyPrint([$node]); - \RectorPrefix20211129\Tracy\Dumper::dump($printedContent); + \RectorPrefix20211130\Tracy\Dumper::dump($printedContent); } } } diff --git a/vendor/autoload.php b/vendor/autoload.php index 1d14735bf27..77b9dbe06d8 100644 --- a/vendor/autoload.php +++ b/vendor/autoload.php @@ -4,4 +4,4 @@ require_once __DIR__ . '/composer/autoload_real.php'; -return ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919::getLoader(); +return ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811::getLoader(); diff --git a/vendor/clue/ndjson-react/composer.json b/vendor/clue/ndjson-react/composer.json index ad02ad05620..ac8ab3203d8 100644 --- a/vendor/clue/ndjson-react/composer.json +++ b/vendor/clue/ndjson-react/composer.json @@ -19,12 +19,12 @@ ], "autoload": { "psr-4": { - "RectorPrefix20211129\\Clue\\React\\NDJson\\": "src\/" + "RectorPrefix20211130\\Clue\\React\\NDJson\\": "src\/" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Clue\\Tests\\React\\NDJson\\": "tests\/" + "RectorPrefix20211130\\Clue\\Tests\\React\\NDJson\\": "tests\/" } }, "require": { diff --git a/vendor/clue/ndjson-react/src/Decoder.php b/vendor/clue/ndjson-react/src/Decoder.php index 6d8cef1e801..3ce27f0ee15 100644 --- a/vendor/clue/ndjson-react/src/Decoder.php +++ b/vendor/clue/ndjson-react/src/Decoder.php @@ -1,15 +1,15 @@ $loader) { + foreach (\RectorPrefix20211130\Composer\Autoload\ClassLoader::getRegisteredLoaders() as $vendorDir => $loader) { if (isset(self::$installedByVendor[$vendorDir])) { $installed[] = self::$installedByVendor[$vendorDir]; } elseif (\is_file($vendorDir . '/composer/installed.php')) { diff --git a/vendor/composer/autoload_classmap.php b/vendor/composer/autoload_classmap.php index 856d257f0a6..1b58ca2c185 100644 --- a/vendor/composer/autoload_classmap.php +++ b/vendor/composer/autoload_classmap.php @@ -323,1004 +323,1017 @@ return array( 'PhpParser\\Parser\\Tokens' => $vendorDir . '/nikic/php-parser/lib/PhpParser/Parser/Tokens.php', 'PhpParser\\PrettyPrinterAbstract' => $vendorDir . '/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php', 'PhpParser\\PrettyPrinter\\Standard' => $vendorDir . '/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php', - 'RectorPrefix20211129\\Clue\\React\\NDJson\\Decoder' => $vendorDir . '/clue/ndjson-react/src/Decoder.php', - 'RectorPrefix20211129\\Clue\\React\\NDJson\\Encoder' => $vendorDir . '/clue/ndjson-react/src/Encoder.php', - 'RectorPrefix20211129\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', - 'RectorPrefix20211129\\Composer\\Semver\\CompilingMatcher' => $vendorDir . '/composer/semver/src/CompilingMatcher.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\Bound' => $vendorDir . '/composer/semver/src/Constraint/Bound.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MatchAllConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchAllConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchNoneConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Interval' => $vendorDir . '/composer/semver/src/Interval.php', - 'RectorPrefix20211129\\Composer\\Semver\\Intervals' => $vendorDir . '/composer/semver/src/Intervals.php', - 'RectorPrefix20211129\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', - 'RectorPrefix20211129\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\PhpConfig' => $vendorDir . '/composer/xdebug-handler/src/PhpConfig.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\Process' => $vendorDir . '/composer/xdebug-handler/src/Process.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\Status' => $vendorDir . '/composer/xdebug-handler/src/Status.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\XdebugHandler' => $vendorDir . '/composer/xdebug-handler/src/XdebugHandler.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\CachedWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Language' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\LanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\NoopWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Pattern' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Patterns' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Ruleset' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Substitution' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Substitutions' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Transformation' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Transformations' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Word' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\RulesetInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\WordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\Printer' => $vendorDir . '/ergebnis/json-printer/src/Printer.php', - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\PrinterInterface' => $vendorDir . '/ergebnis/json-printer/src/PrinterInterface.php', - 'RectorPrefix20211129\\Evenement\\EventEmitter' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitter.php', - 'RectorPrefix20211129\\Evenement\\EventEmitterInterface' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', - 'RectorPrefix20211129\\Evenement\\EventEmitterTrait' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParseError' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Parser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParserState' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => $vendorDir . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\EditorConfig' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfig.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => $vendorDir . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Section' => $vendorDir . '/idiosyncratic/editorconfig/src/Section.php', - 'RectorPrefix20211129\\MyCLabs\\Enum\\Enum' => $vendorDir . '/myclabs/php-enum/src/Enum.php', - 'RectorPrefix20211129\\MyCLabs\\Enum\\PHPUnit\\Comparator' => $vendorDir . '/myclabs/php-enum/src/PHPUnit/Comparator.php', - 'RectorPrefix20211129\\Nette\\ArgumentOutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\DeprecatedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\DirectoryNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\FileNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\HtmlStringable' => $vendorDir . '/nette/utils/src/HtmlStringable.php', - 'RectorPrefix20211129\\Nette\\IOException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\InvalidArgumentException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\InvalidStateException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Iterators\\CachingIterator' => $vendorDir . '/nette/utils/src/Iterators/CachingIterator.php', - 'RectorPrefix20211129\\Nette\\Iterators\\Mapper' => $vendorDir . '/nette/utils/src/Iterators/Mapper.php', - 'RectorPrefix20211129\\Nette\\Localization\\ITranslator' => $vendorDir . '/nette/utils/src/compatibility.php', - 'RectorPrefix20211129\\Nette\\Localization\\Translator' => $vendorDir . '/nette/utils/src/Translator.php', - 'RectorPrefix20211129\\Nette\\MemberAccessException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Neon\\Decoder' => $vendorDir . '/nette/neon/src/Neon/Decoder.php', - 'RectorPrefix20211129\\Nette\\Neon\\Encoder' => $vendorDir . '/nette/neon/src/Neon/Encoder.php', - 'RectorPrefix20211129\\Nette\\Neon\\Entity' => $vendorDir . '/nette/neon/src/Neon/Entity.php', - 'RectorPrefix20211129\\Nette\\Neon\\Exception' => $vendorDir . '/nette/neon/src/Neon/Exception.php', - 'RectorPrefix20211129\\Nette\\Neon\\Lexer' => $vendorDir . '/nette/neon/src/Neon/Lexer.php', - 'RectorPrefix20211129\\Nette\\Neon\\Neon' => $vendorDir . '/nette/neon/src/Neon/Neon.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node' => $vendorDir . '/nette/neon/src/Neon/Node.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\ArrayItemNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayItemNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\ArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\BlockArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/BlockArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\EntityChainNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityChainNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\EntityNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\InlineArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/InlineArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\LiteralNode' => $vendorDir . '/nette/neon/src/Neon/Node/LiteralNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\StringNode' => $vendorDir . '/nette/neon/src/Neon/Node/StringNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Parser' => $vendorDir . '/nette/neon/src/Neon/Parser.php', - 'RectorPrefix20211129\\Nette\\Neon\\Token' => $vendorDir . '/nette/neon/src/Neon/Token.php', - 'RectorPrefix20211129\\Nette\\Neon\\TokenStream' => $vendorDir . '/nette/neon/src/Neon/TokenStream.php', - 'RectorPrefix20211129\\Nette\\Neon\\Traverser' => $vendorDir . '/nette/neon/src/Neon/Traverser.php', - 'RectorPrefix20211129\\Nette\\NotImplementedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\NotSupportedException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\OutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\SmartObject' => $vendorDir . '/nette/utils/src/SmartObject.php', - 'RectorPrefix20211129\\Nette\\StaticClass' => $vendorDir . '/nette/utils/src/StaticClass.php', - 'RectorPrefix20211129\\Nette\\UnexpectedValueException' => $vendorDir . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\ArrayHash' => $vendorDir . '/nette/utils/src/Utils/ArrayHash.php', - 'RectorPrefix20211129\\Nette\\Utils\\ArrayList' => $vendorDir . '/nette/utils/src/Utils/ArrayList.php', - 'RectorPrefix20211129\\Nette\\Utils\\Arrays' => $vendorDir . '/nette/utils/src/Utils/Arrays.php', - 'RectorPrefix20211129\\Nette\\Utils\\AssertionException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Callback' => $vendorDir . '/nette/utils/src/Utils/Callback.php', - 'RectorPrefix20211129\\Nette\\Utils\\DateTime' => $vendorDir . '/nette/utils/src/Utils/DateTime.php', - 'RectorPrefix20211129\\Nette\\Utils\\FileSystem' => $vendorDir . '/nette/utils/src/Utils/FileSystem.php', - 'RectorPrefix20211129\\Nette\\Utils\\Floats' => $vendorDir . '/nette/utils/src/Utils/Floats.php', - 'RectorPrefix20211129\\Nette\\Utils\\Helpers' => $vendorDir . '/nette/utils/src/Utils/Helpers.php', - 'RectorPrefix20211129\\Nette\\Utils\\Html' => $vendorDir . '/nette/utils/src/Utils/Html.php', - 'RectorPrefix20211129\\Nette\\Utils\\IHtmlString' => $vendorDir . '/nette/utils/src/compatibility.php', - 'RectorPrefix20211129\\Nette\\Utils\\Image' => $vendorDir . '/nette/utils/src/Utils/Image.php', - 'RectorPrefix20211129\\Nette\\Utils\\ImageException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Json' => $vendorDir . '/nette/utils/src/Utils/Json.php', - 'RectorPrefix20211129\\Nette\\Utils\\JsonException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\ObjectHelpers' => $vendorDir . '/nette/utils/src/Utils/ObjectHelpers.php', - 'RectorPrefix20211129\\Nette\\Utils\\ObjectMixin' => $vendorDir . '/nette/utils/src/Utils/ObjectMixin.php', - 'RectorPrefix20211129\\Nette\\Utils\\Paginator' => $vendorDir . '/nette/utils/src/Utils/Paginator.php', - 'RectorPrefix20211129\\Nette\\Utils\\Random' => $vendorDir . '/nette/utils/src/Utils/Random.php', - 'RectorPrefix20211129\\Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php', - 'RectorPrefix20211129\\Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php', - 'RectorPrefix20211129\\Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php', - 'RectorPrefix20211129\\Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php', - 'RectorPrefix20211129\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheException' => $vendorDir . '/psr/cache/src/CacheException.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheItemInterface' => $vendorDir . '/psr/cache/src/CacheItemInterface.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheItemPoolInterface' => $vendorDir . '/psr/cache/src/CacheItemPoolInterface.php', - 'RectorPrefix20211129\\Psr\\Cache\\InvalidArgumentException' => $vendorDir . '/psr/cache/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Psr\\Container\\ContainerExceptionInterface' => $vendorDir . '/psr/container/src/ContainerExceptionInterface.php', - 'RectorPrefix20211129\\Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', - 'RectorPrefix20211129\\Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/psr/event-dispatcher/src/EventDispatcherInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\ListenerProviderInterface' => $vendorDir . '/psr/event-dispatcher/src/ListenerProviderInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\StoppableEventInterface' => $vendorDir . '/psr/event-dispatcher/src/StoppableEventInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\ServerRequestInterface' => $vendorDir . '/psr/http-message/src/ServerRequestInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\StreamInterface' => $vendorDir . '/psr/http-message/src/StreamInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\UploadedFileInterface' => $vendorDir . '/psr/http-message/src/UploadedFileInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php', - 'RectorPrefix20211129\\Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', - 'RectorPrefix20211129\\Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', - 'RectorPrefix20211129\\React\\Cache\\ArrayCache' => $vendorDir . '/react/cache/src/ArrayCache.php', - 'RectorPrefix20211129\\React\\Cache\\CacheInterface' => $vendorDir . '/react/cache/src/CacheInterface.php', - 'RectorPrefix20211129\\React\\ChildProcess\\Process' => $vendorDir . '/react/child-process/src/Process.php', - 'RectorPrefix20211129\\React\\Dns\\BadServerException' => $vendorDir . '/react/dns/src/BadServerException.php', - 'RectorPrefix20211129\\React\\Dns\\Config\\Config' => $vendorDir . '/react/dns/src/Config/Config.php', - 'RectorPrefix20211129\\React\\Dns\\Config\\HostsFile' => $vendorDir . '/react/dns/src/Config/HostsFile.php', - 'RectorPrefix20211129\\React\\Dns\\Model\\Message' => $vendorDir . '/react/dns/src/Model/Message.php', - 'RectorPrefix20211129\\React\\Dns\\Model\\Record' => $vendorDir . '/react/dns/src/Model/Record.php', - 'RectorPrefix20211129\\React\\Dns\\Protocol\\BinaryDumper' => $vendorDir . '/react/dns/src/Protocol/BinaryDumper.php', - 'RectorPrefix20211129\\React\\Dns\\Protocol\\Parser' => $vendorDir . '/react/dns/src/Protocol/Parser.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CachingExecutor' => $vendorDir . '/react/dns/src/Query/CachingExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CancellationException' => $vendorDir . '/react/dns/src/Query/CancellationException.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CoopExecutor' => $vendorDir . '/react/dns/src/Query/CoopExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\ExecutorInterface' => $vendorDir . '/react/dns/src/Query/ExecutorInterface.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\FallbackExecutor' => $vendorDir . '/react/dns/src/Query/FallbackExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\HostsFileExecutor' => $vendorDir . '/react/dns/src/Query/HostsFileExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\Query' => $vendorDir . '/react/dns/src/Query/Query.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\RetryExecutor' => $vendorDir . '/react/dns/src/Query/RetryExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\SelectiveTransportExecutor' => $vendorDir . '/react/dns/src/Query/SelectiveTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TcpTransportExecutor' => $vendorDir . '/react/dns/src/Query/TcpTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TimeoutException' => $vendorDir . '/react/dns/src/Query/TimeoutException.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TimeoutExecutor' => $vendorDir . '/react/dns/src/Query/TimeoutExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\UdpTransportExecutor' => $vendorDir . '/react/dns/src/Query/UdpTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\RecordNotFoundException' => $vendorDir . '/react/dns/src/RecordNotFoundException.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\Factory' => $vendorDir . '/react/dns/src/Resolver/Factory.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\Resolver' => $vendorDir . '/react/dns/src/Resolver/Resolver.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\ResolverInterface' => $vendorDir . '/react/dns/src/Resolver/ResolverInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtEvLoop' => $vendorDir . '/react/event-loop/src/ExtEvLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtEventLoop' => $vendorDir . '/react/event-loop/src/ExtEventLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtLibevLoop' => $vendorDir . '/react/event-loop/src/ExtLibevLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtLibeventLoop' => $vendorDir . '/react/event-loop/src/ExtLibeventLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtUvLoop' => $vendorDir . '/react/event-loop/src/ExtUvLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\Factory' => $vendorDir . '/react/event-loop/src/Factory.php', - 'RectorPrefix20211129\\React\\EventLoop\\Loop' => $vendorDir . '/react/event-loop/src/Loop.php', - 'RectorPrefix20211129\\React\\EventLoop\\LoopInterface' => $vendorDir . '/react/event-loop/src/LoopInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\SignalsHandler' => $vendorDir . '/react/event-loop/src/SignalsHandler.php', - 'RectorPrefix20211129\\React\\EventLoop\\StreamSelectLoop' => $vendorDir . '/react/event-loop/src/StreamSelectLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\Tick\\FutureTickQueue' => $vendorDir . '/react/event-loop/src/Tick/FutureTickQueue.php', - 'RectorPrefix20211129\\React\\EventLoop\\TimerInterface' => $vendorDir . '/react/event-loop/src/TimerInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\Timer\\Timer' => $vendorDir . '/react/event-loop/src/Timer/Timer.php', - 'RectorPrefix20211129\\React\\EventLoop\\Timer\\Timers' => $vendorDir . '/react/event-loop/src/Timer/Timers.php', - 'RectorPrefix20211129\\React\\Promise\\CancellablePromiseInterface' => $vendorDir . '/react/promise/src/CancellablePromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\CancellationQueue' => $vendorDir . '/react/promise/src/CancellationQueue.php', - 'RectorPrefix20211129\\React\\Promise\\Deferred' => $vendorDir . '/react/promise/src/Deferred.php', - 'RectorPrefix20211129\\React\\Promise\\Exception\\LengthException' => $vendorDir . '/react/promise/src/Exception/LengthException.php', - 'RectorPrefix20211129\\React\\Promise\\ExtendedPromiseInterface' => $vendorDir . '/react/promise/src/ExtendedPromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\FulfilledPromise' => $vendorDir . '/react/promise/src/FulfilledPromise.php', - 'RectorPrefix20211129\\React\\Promise\\LazyPromise' => $vendorDir . '/react/promise/src/LazyPromise.php', - 'RectorPrefix20211129\\React\\Promise\\Promise' => $vendorDir . '/react/promise/src/Promise.php', - 'RectorPrefix20211129\\React\\Promise\\PromiseInterface' => $vendorDir . '/react/promise/src/PromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\PromisorInterface' => $vendorDir . '/react/promise/src/PromisorInterface.php', - 'RectorPrefix20211129\\React\\Promise\\RejectedPromise' => $vendorDir . '/react/promise/src/RejectedPromise.php', - 'RectorPrefix20211129\\React\\Promise\\Timer\\TimeoutException' => $vendorDir . '/react/promise-timer/src/TimeoutException.php', - 'RectorPrefix20211129\\React\\Promise\\UnhandledRejectionException' => $vendorDir . '/react/promise/src/UnhandledRejectionException.php', - 'RectorPrefix20211129\\React\\Socket\\Connection' => $vendorDir . '/react/socket/src/Connection.php', - 'RectorPrefix20211129\\React\\Socket\\ConnectionInterface' => $vendorDir . '/react/socket/src/ConnectionInterface.php', - 'RectorPrefix20211129\\React\\Socket\\Connector' => $vendorDir . '/react/socket/src/Connector.php', - 'RectorPrefix20211129\\React\\Socket\\ConnectorInterface' => $vendorDir . '/react/socket/src/ConnectorInterface.php', - 'RectorPrefix20211129\\React\\Socket\\DnsConnector' => $vendorDir . '/react/socket/src/DnsConnector.php', - 'RectorPrefix20211129\\React\\Socket\\FdServer' => $vendorDir . '/react/socket/src/FdServer.php', - 'RectorPrefix20211129\\React\\Socket\\FixedUriConnector' => $vendorDir . '/react/socket/src/FixedUriConnector.php', - 'RectorPrefix20211129\\React\\Socket\\HappyEyeBallsConnectionBuilder' => $vendorDir . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', - 'RectorPrefix20211129\\React\\Socket\\HappyEyeBallsConnector' => $vendorDir . '/react/socket/src/HappyEyeBallsConnector.php', - 'RectorPrefix20211129\\React\\Socket\\LimitingServer' => $vendorDir . '/react/socket/src/LimitingServer.php', - 'RectorPrefix20211129\\React\\Socket\\SecureConnector' => $vendorDir . '/react/socket/src/SecureConnector.php', - 'RectorPrefix20211129\\React\\Socket\\SecureServer' => $vendorDir . '/react/socket/src/SecureServer.php', - 'RectorPrefix20211129\\React\\Socket\\Server' => $vendorDir . '/react/socket/src/Server.php', - 'RectorPrefix20211129\\React\\Socket\\ServerInterface' => $vendorDir . '/react/socket/src/ServerInterface.php', - 'RectorPrefix20211129\\React\\Socket\\SocketServer' => $vendorDir . '/react/socket/src/SocketServer.php', - 'RectorPrefix20211129\\React\\Socket\\StreamEncryption' => $vendorDir . '/react/socket/src/StreamEncryption.php', - 'RectorPrefix20211129\\React\\Socket\\TcpConnector' => $vendorDir . '/react/socket/src/TcpConnector.php', - 'RectorPrefix20211129\\React\\Socket\\TcpServer' => $vendorDir . '/react/socket/src/TcpServer.php', - 'RectorPrefix20211129\\React\\Socket\\TimeoutConnector' => $vendorDir . '/react/socket/src/TimeoutConnector.php', - 'RectorPrefix20211129\\React\\Socket\\UnixConnector' => $vendorDir . '/react/socket/src/UnixConnector.php', - 'RectorPrefix20211129\\React\\Socket\\UnixServer' => $vendorDir . '/react/socket/src/UnixServer.php', - 'RectorPrefix20211129\\React\\Stream\\CompositeStream' => $vendorDir . '/react/stream/src/CompositeStream.php', - 'RectorPrefix20211129\\React\\Stream\\DuplexResourceStream' => $vendorDir . '/react/stream/src/DuplexResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\DuplexStreamInterface' => $vendorDir . '/react/stream/src/DuplexStreamInterface.php', - 'RectorPrefix20211129\\React\\Stream\\ReadableResourceStream' => $vendorDir . '/react/stream/src/ReadableResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\ReadableStreamInterface' => $vendorDir . '/react/stream/src/ReadableStreamInterface.php', - 'RectorPrefix20211129\\React\\Stream\\ThroughStream' => $vendorDir . '/react/stream/src/ThroughStream.php', - 'RectorPrefix20211129\\React\\Stream\\Util' => $vendorDir . '/react/stream/src/Util.php', - 'RectorPrefix20211129\\React\\Stream\\WritableResourceStream' => $vendorDir . '/react/stream/src/WritableResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\WritableStreamInterface' => $vendorDir . '/react/stream/src/WritableStreamInterface.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\ConfigurationException' => $vendorDir . '/sebastian/diff/src/Exception/ConfigurationException.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\Stringy\\StaticStringy' => $vendorDir . '/danielstjules/stringy/src/StaticStringy.php', - 'RectorPrefix20211129\\Stringy\\Stringy' => $vendorDir . '/danielstjules/stringy/src/Stringy.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => $vendorDir . '/symfony/config/Builder/ClassBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGenerator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\Method' => $vendorDir . '/symfony/config/Builder/Method.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\Property' => $vendorDir . '/symfony/config/Builder/Property.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCache' => $vendorDir . '/symfony/config/ConfigCache.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheFactory' => $vendorDir . '/symfony/config/ConfigCacheFactory.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => $vendorDir . '/symfony/config/ConfigCacheFactoryInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheInterface' => $vendorDir . '/symfony/config/ConfigCacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ArrayNode' => $vendorDir . '/symfony/config/Definition/ArrayNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\BaseNode' => $vendorDir . '/symfony/config/Definition/BaseNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\BooleanNode' => $vendorDir . '/symfony/config/Definition/BooleanNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => $vendorDir . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ExprBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/MergeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NodeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => $vendorDir . '/symfony/config/Definition/Builder/NodeParentInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NormalizationBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => $vendorDir . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/TreeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ValidationBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => $vendorDir . '/symfony/config/Definition/ConfigurationInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\EnumNode' => $vendorDir . '/symfony/config/Definition/EnumNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => $vendorDir . '/symfony/config/Definition/Exception/DuplicateKeyException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => $vendorDir . '/symfony/config/Definition/Exception/Exception.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => $vendorDir . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => $vendorDir . '/symfony/config/Definition/Exception/UnsetKeyException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\FloatNode' => $vendorDir . '/symfony/config/Definition/FloatNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\IntegerNode' => $vendorDir . '/symfony/config/Definition/IntegerNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\NodeInterface' => $vendorDir . '/symfony/config/Definition/NodeInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\NumericNode' => $vendorDir . '/symfony/config/Definition/NumericNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Processor' => $vendorDir . '/symfony/config/Definition/Processor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => $vendorDir . '/symfony/config/Definition/PrototypeNodeInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => $vendorDir . '/symfony/config/Definition/PrototypedArrayNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ScalarNode' => $vendorDir . '/symfony/config/Definition/ScalarNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\VariableNode' => $vendorDir . '/symfony/config/Definition/VariableNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => $vendorDir . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => $vendorDir . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => $vendorDir . '/symfony/config/Exception/LoaderLoadException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\FileLocator' => $vendorDir . '/symfony/config/FileLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\FileLocatorInterface' => $vendorDir . '/symfony/config/FileLocatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => $vendorDir . '/symfony/config/Loader/DelegatingLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\FileLoader' => $vendorDir . '/symfony/config/Loader/FileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/config/Loader/GlobFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\Loader' => $vendorDir . '/symfony/config/Loader/Loader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => $vendorDir . '/symfony/config/Loader/LoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => $vendorDir . '/symfony/config/Loader/LoaderResolver.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => $vendorDir . '/symfony/config/Loader/LoaderResolverInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => $vendorDir . '/symfony/config/Loader/ParamConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => $vendorDir . '/symfony/config/ResourceCheckerConfigCache.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => $vendorDir . '/symfony/config/ResourceCheckerConfigCacheFactory.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerInterface' => $vendorDir . '/symfony/config/ResourceCheckerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => $vendorDir . '/symfony/config/Resource/ClassExistenceResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ComposerResource' => $vendorDir . '/symfony/config/Resource/ComposerResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => $vendorDir . '/symfony/config/Resource/DirectoryResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => $vendorDir . '/symfony/config/Resource/FileExistenceResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\FileResource' => $vendorDir . '/symfony/config/Resource/FileResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\GlobResource' => $vendorDir . '/symfony/config/Resource/GlobResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => $vendorDir . '/symfony/config/Resource/ResourceInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceChecker.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => $vendorDir . '/symfony/config/Util/Exception/InvalidXmlException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => $vendorDir . '/symfony/config/Util/Exception/XmlParsingException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\XmlUtils' => $vendorDir . '/symfony/config/Util/XmlUtils.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Attribute\\AsCommand' => $vendorDir . '/symfony/console/Attribute/AsCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => $vendorDir . '/symfony/console/CI/GithubActionReporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Color' => $vendorDir . '/symfony/console/Color.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/ContainerCommandLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/FactoryCommandLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\Command' => $vendorDir . '/symfony/console/Command/Command.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\HelpCommand' => $vendorDir . '/symfony/console/Command/HelpCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\LazyCommand' => $vendorDir . '/symfony/console/Command/LazyCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\ListCommand' => $vendorDir . '/symfony/console/Command/ListCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\LockableTrait' => $vendorDir . '/symfony/console/Command/LockableTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => $vendorDir . '/symfony/console/Command/SignalableCommandInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\ConsoleEvents' => $vendorDir . '/symfony/console/ConsoleEvents.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Cursor' => $vendorDir . '/symfony/console/Cursor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => $vendorDir . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => $vendorDir . '/symfony/console/Descriptor/ApplicationDescription.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => $vendorDir . '/symfony/console/Descriptor/Descriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => $vendorDir . '/symfony/console/Descriptor/DescriptorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => $vendorDir . '/symfony/console/Descriptor/JsonDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => $vendorDir . '/symfony/console/Descriptor/MarkdownDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => $vendorDir . '/symfony/console/Descriptor/TextDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => $vendorDir . '/symfony/console/Descriptor/XmlDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => $vendorDir . '/symfony/console/EventListener/ErrorListener.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => $vendorDir . '/symfony/console/Event/ConsoleSignalEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\MissingInputException' => $vendorDir . '/symfony/console/Exception/MissingInputException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => $vendorDir . '/symfony/console/Exception/NamespaceNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatterStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleStack.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => $vendorDir . '/symfony/console/Helper/DebugFormatterHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => $vendorDir . '/symfony/console/Helper/DescriptorHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Dumper' => $vendorDir . '/symfony/console/Helper/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => $vendorDir . '/symfony/console/Helper/FormatterHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Helper' => $vendorDir . '/symfony/console/Helper/Helper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\HelperInterface' => $vendorDir . '/symfony/console/Helper/HelperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\HelperSet' => $vendorDir . '/symfony/console/Helper/HelperSet.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => $vendorDir . '/symfony/console/Helper/InputAwareHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => $vendorDir . '/symfony/console/Helper/ProcessHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProgressBar' => $vendorDir . '/symfony/console/Helper/ProgressBar.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => $vendorDir . '/symfony/console/Helper/ProgressIndicator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => $vendorDir . '/symfony/console/Helper/QuestionHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => $vendorDir . '/symfony/console/Helper/TableCellStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableRows' => $vendorDir . '/symfony/console/Helper/TableRows.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\ArrayInput' => $vendorDir . '/symfony/console/Input/ArrayInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\Input' => $vendorDir . '/symfony/console/Input/Input.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputArgument' => $vendorDir . '/symfony/console/Input/InputArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => $vendorDir . '/symfony/console/Input/InputAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputDefinition' => $vendorDir . '/symfony/console/Input/InputDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputInterface' => $vendorDir . '/symfony/console/Input/InputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputOption' => $vendorDir . '/symfony/console/Input/InputOption.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => $vendorDir . '/symfony/console/Input/StreamableInputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\StringInput' => $vendorDir . '/symfony/console/Input/StringInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => $vendorDir . '/symfony/console/Logger/ConsoleLogger.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => $vendorDir . '/symfony/console/Output/ConsoleSectionOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\StreamOutput' => $vendorDir . '/symfony/console/Output/StreamOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => $vendorDir . '/symfony/console/Output/TrimmedBufferOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => $vendorDir . '/symfony/console/Question/ChoiceQuestion.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => $vendorDir . '/symfony/console/Question/ConfirmationQuestion.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\Question' => $vendorDir . '/symfony/console/Question/Question.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => $vendorDir . '/symfony/console/SignalRegistry/SignalRegistry.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\SingleCommandApplication' => $vendorDir . '/symfony/console/SingleCommandApplication.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\OutputStyle' => $vendorDir . '/symfony/console/Style/OutputStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\StyleInterface' => $vendorDir . '/symfony/console/Style/StyleInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => $vendorDir . '/symfony/console/Style/SymfonyStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\TesterTrait' => $vendorDir . '/symfony/console/Tester/TesterTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Alias' => $vendorDir . '/symfony/dependency-injection/Alias.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => $vendorDir . '/symfony/dependency-injection/Argument/AbstractArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => $vendorDir . '/symfony/dependency-injection/Argument/ArgumentInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => $vendorDir . '/symfony/dependency-injection/Argument/BoundArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/IteratorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => $vendorDir . '/symfony/dependency-injection/Argument/RewindableGenerator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => $vendorDir . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => $vendorDir . '/symfony/dependency-injection/Attribute/Autoconfigure.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => $vendorDir . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => $vendorDir . '/symfony/dependency-injection/Attribute/Target.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => $vendorDir . '/symfony/dependency-injection/Attribute/When.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => $vendorDir . '/symfony/dependency-injection/ChildDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowirePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => $vendorDir . '/symfony/dependency-injection/Compiler/Compiler.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => $vendorDir . '/symfony/dependency-injection/Compiler/PassConfig.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => $vendorDir . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolvePrivatesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Container' => $vendorDir . '/symfony/dependency-injection/Container.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => $vendorDir . '/symfony/dependency-injection/ContainerAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => $vendorDir . '/symfony/dependency-injection/ContainerAwareTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => $vendorDir . '/symfony/dependency-injection/ContainerBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => $vendorDir . '/symfony/dependency-injection/ContainerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Definition' => $vendorDir . '/symfony/dependency-injection/Definition.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => $vendorDir . '/symfony/dependency-injection/Dumper/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/Dumper/DumperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/PhpDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => $vendorDir . '/symfony/dependency-injection/Dumper/Preloader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/XmlDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/YamlDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarLoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessor.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => $vendorDir . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/dependency-injection/Exception/BadMethodCallException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvParameterException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/dependency-injection/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => $vendorDir . '/symfony/dependency-injection/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => $vendorDir . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => $vendorDir . '/symfony/dependency-injection/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguage.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguageProvider.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => $vendorDir . '/symfony/dependency-injection/Extension/Extension.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => $vendorDir . '/symfony/dependency-injection/Loader/ClosureLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => $vendorDir . '/symfony/dependency-injection/Loader/DirectoryLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/FileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/GlobFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/IniFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/XmlFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/YamlFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Parameter' => $vendorDir . '/symfony/dependency-injection/Parameter.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Reference' => $vendorDir . '/symfony/dependency-injection/Reference.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => $vendorDir . '/symfony/dependency-injection/ReverseContainer.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/ServiceLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => $vendorDir . '/symfony/dependency-injection/TaggedContainerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\TypedReference' => $vendorDir . '/symfony/dependency-injection/TypedReference.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Variable' => $vendorDir . '/symfony/dependency-injection/Variable.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/filesystem/Exception/FileNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\IOException' => $vendorDir . '/symfony/filesystem/Exception/IOException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/IOExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/filesystem/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Filesystem' => $vendorDir . '/symfony/filesystem/Filesystem.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\Comparator' => $vendorDir . '/symfony/finder/Comparator/Comparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symfony/finder/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Gitignore' => $vendorDir . '/symfony/finder/Gitignore.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DateRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => $vendorDir . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => $vendorDir . '/symfony/finder/Iterator/LazyIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => $vendorDir . '/symfony/finder/Iterator/SortableIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\SplFileInfo' => $vendorDir . '/symfony/finder/SplFileInfo.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => $vendorDir . '/symfony/process/Exception/ProcessSignaledException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\InputStream' => $vendorDir . '/symfony/process/InputStream.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\AbstractString' => $vendorDir . '/symfony/string/AbstractString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\AbstractUnicodeString' => $vendorDir . '/symfony/string/AbstractUnicodeString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\ByteString' => $vendorDir . '/symfony/string/ByteString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\CodePointString' => $vendorDir . '/symfony/string/CodePointString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/string/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/string/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\RuntimeException' => $vendorDir . '/symfony/string/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => $vendorDir . '/symfony/string/Inflector/EnglishInflector.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\ClassNotFoundException' => $vendorDir . '/symfony/var-exporter/Exception/ClassNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/var-exporter/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\NotInstantiableTypeException' => $vendorDir . '/symfony/var-exporter/Exception/NotInstantiableTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Instantiator' => $vendorDir . '/symfony/var-exporter/Instantiator.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Exporter' => $vendorDir . '/symfony/var-exporter/Internal/Exporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Hydrator' => $vendorDir . '/symfony/var-exporter/Internal/Hydrator.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Reference' => $vendorDir . '/symfony/var-exporter/Internal/Reference.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Registry' => $vendorDir . '/symfony/var-exporter/Internal/Registry.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Values' => $vendorDir . '/symfony/var-exporter/Internal/Values.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\VarExporter' => $vendorDir . '/symfony/var-exporter/VarExporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Command\\LintCommand' => $vendorDir . '/symfony/yaml/Command/LintCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/yaml/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\ParseException' => $vendorDir . '/symfony/yaml/Exception/ParseException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => $vendorDir . '/symfony/yaml/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Inline' => $vendorDir . '/symfony/yaml/Inline.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Parser' => $vendorDir . '/symfony/yaml/Parser.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => $vendorDir . '/symfony/yaml/Tag/TaggedValue.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Unescaper' => $vendorDir . '/symfony/yaml/Unescaper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Yaml' => $vendorDir . '/symfony/yaml/Yaml.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CacheInterface' => $vendorDir . '/symfony/contracts/Cache/CacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CacheTrait' => $vendorDir . '/symfony/contracts/Cache/CacheTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CallbackInterface' => $vendorDir . '/symfony/contracts/Cache/CallbackInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\ItemInterface' => $vendorDir . '/symfony/contracts/Cache/ItemInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => $vendorDir . '/symfony/contracts/Cache/TagAwareCacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\EventDispatcher\\Event' => $vendorDir . '/symfony/contracts/EventDispatcher/Event.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => $vendorDir . '/symfony/contracts/HttpClient/ChunkInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => $vendorDir . '/symfony/contracts/HttpClient/HttpClientInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => $vendorDir . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => $vendorDir . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Attribute\\Required' => $vendorDir . '/symfony/contracts/Service/Attribute/Required.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => $vendorDir . '/symfony/contracts/Service/Attribute/SubscribedService.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ResetInterface' => $vendorDir . '/symfony/contracts/Service/ResetInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => $vendorDir . '/symfony/contracts/Service/ServiceLocatorTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => $vendorDir . '/symfony/contracts/Service/ServiceProviderInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => $vendorDir . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Fixtures\\TestServiceSubscriberUnion' => $vendorDir . '/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/contracts/Translation/LocaleAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => $vendorDir . '/symfony/contracts/Translation/Test/TranslatorTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatableInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatableInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatorTrait' => $vendorDir . '/symfony/contracts/Translation/TranslatorTrait.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => $vendorDir . '/symfony/polyfill-intl-grapheme/Grapheme.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\Php73' => $vendorDir . '/symfony/polyfill-php73/Php73.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\Php80' => $vendorDir . '/symfony/polyfill-php80/Php80.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/astral/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Naming\\SimpleNameResolver' => $vendorDir . '/symplify/astral/src/Naming/SimpleNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => $vendorDir . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => $vendorDir . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => $vendorDir . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => $vendorDir . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Reflection\\ReflectionParser' => $vendorDir . '/symplify/astral/src/Reflection/ReflectionParser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\AstralConfig' => $vendorDir . '/symplify/astral/src/ValueObject/AstralConfig.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\AttributeKey' => $vendorDir . '/symplify/astral/src/ValueObject/AttributeKey.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => $vendorDir . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => $vendorDir . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => $vendorDir . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => $vendorDir . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => $vendorDir . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => $vendorDir . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Console\\Formatter\\ColorConsoleDiffFormatter' => $vendorDir . '/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Console\\Output\\ConsoleDiffer' => $vendorDir . '/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => $vendorDir . '/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\ValueObject\\ConsoleColorDiffConfig' => $vendorDir . '/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => $vendorDir . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => $vendorDir . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\CpuCoreCountProvider' => $vendorDir . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\Action' => $vendorDir . '/symplify/easy-parallel/src/Enum/Action.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\Content' => $vendorDir . '/symplify/easy-parallel/src/Enum/Content.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\ReactCommand' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactCommand.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\ReactEvent' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactEvent.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => $vendorDir . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => $vendorDir . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => $vendorDir . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ScheduleFactory' => $vendorDir . '/symplify/easy-parallel/src/ScheduleFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\Schedule' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/Schedule.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => $vendorDir . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Console\\EasyTestingConsoleApplication' => $vendorDir . '/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => $vendorDir . '/symplify/easy-testing/src/Finder/FixtureFinder.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => $vendorDir . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => $vendorDir . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\StaticFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/StaticFixtureSplitter.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => $vendorDir . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => $vendorDir . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => $vendorDir . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\Option' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\Prefix' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Prefix.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => $vendorDir . '/symplify/easy-testing/src/ValueObject/SplitLine.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => $vendorDir . '/symplify/package-builder/src/Composer/VendorDirProvider.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => $vendorDir . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => $vendorDir . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => $vendorDir . '/symplify/package-builder/src/Console/Command/CommandNaming.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => $vendorDir . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => $vendorDir . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => $vendorDir . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => $vendorDir . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => $vendorDir . '/symplify/package-builder/src/Neon/NeonPrinter.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => $vendorDir . '/symplify/package-builder/src/Parameter/ParameterProvider.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Php\\TypeChecker' => $vendorDir . '/symplify/package-builder/src/Php/TypeChecker.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => $vendorDir . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => $vendorDir . '/symplify/package-builder/src/Strings/StringFormatConverter.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => $vendorDir . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => $vendorDir . '/symplify/package-builder/src/ValueObject/MethodName.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\ValueObject\\Option' => $vendorDir . '/symplify/package-builder/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => $vendorDir . '/symplify/package-builder/src/Yaml/ParametersMerger.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => $vendorDir . '/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\Exception\\InvalidTraverseException' => $vendorDir . '/symplify/simple-php-doc-parser/src/Exception/InvalidTraverseException.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeTraverser' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeTraverser.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\SimplePhpDocParser' => $vendorDir . '/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => $vendorDir . '/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\PhpDocAttributeKey' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/PhpDocAttributeKey.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\SimplePhpDocParserConfig' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/SimplePhpDocParserConfig.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => $vendorDir . '/symplify/skipper/src/Contract/SkipVoterInterface.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => $vendorDir . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => $vendorDir . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\OnlySkipper' => $vendorDir . '/symplify/skipper/src/Skipper/OnlySkipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\SkipSkipper' => $vendorDir . '/symplify/skipper/src/Skipper/SkipSkipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\Skipper' => $vendorDir . '/symplify/skipper/src/Skipper/Skipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\ValueObject\\Option' => $vendorDir . '/symplify/skipper/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => $vendorDir . '/symplify/skipper/src/ValueObject/SkipperConfig.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\FileSystemFilter' => $vendorDir . '/symplify/smart-file-system/src/FileSystemFilter.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\FileSystemGuard' => $vendorDir . '/symplify/smart-file-system/src/FileSystemGuard.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => $vendorDir . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => $vendorDir . '/symplify/smart-file-system/src/Finder/SmartFinder.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => $vendorDir . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => $vendorDir . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\SmartFileInfo' => $vendorDir . '/symplify/smart-file-system/src/SmartFileInfo.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\SmartFileSystem' => $vendorDir . '/symplify/smart-file-system/src/SmartFileSystem.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => $vendorDir . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => $vendorDir . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => $vendorDir . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Exception\\BootException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/BootException.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => $vendorDir . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Command\\GenerateCommand' => $vendorDir . '/symplify/vendor-patches/src/Command/GenerateCommand.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => $vendorDir . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => $vendorDir . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => $vendorDir . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Console\\VendorPatchesConsoleApplication' => $vendorDir . '/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => $vendorDir . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => $vendorDir . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => $vendorDir . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => $vendorDir . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\PatchFileFactory' => $vendorDir . '/symplify/vendor-patches/src/PatchFileFactory.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => $vendorDir . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', - 'RectorPrefix20211129\\Tracy\\Bar' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/Bar.php', - 'RectorPrefix20211129\\Tracy\\BlueScreen' => $vendorDir . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\Bridge' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/Bridge.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\MailSender' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/MailSender.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\TracyExtension' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', - 'RectorPrefix20211129\\Tracy\\Debugger' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', - 'RectorPrefix20211129\\Tracy\\DefaultBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', - 'RectorPrefix20211129\\Tracy\\Dumper' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Describer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Describer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Exposer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Renderer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Value' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Value.php', - 'RectorPrefix20211129\\Tracy\\FireLogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', - 'RectorPrefix20211129\\Tracy\\Helpers' => $vendorDir . '/tracy/tracy/src/Tracy/Helpers.php', - 'RectorPrefix20211129\\Tracy\\IBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', - 'RectorPrefix20211129\\Tracy\\ILogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/ILogger.php', - 'RectorPrefix20211129\\Tracy\\Logger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/Logger.php', - 'RectorPrefix20211129\\Tracy\\OutputDebugger' => $vendorDir . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\InvalidArgumentException' => $vendorDir . '/webmozart/assert/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\Mixin' => $vendorDir . '/webmozart/assert/src/Mixin.php', - 'RectorPrefix20211129\\cweagans\\Composer\\PatchEvent' => $vendorDir . '/cweagans/composer-patches/src/PatchEvent.php', - 'RectorPrefix20211129\\cweagans\\Composer\\PatchEvents' => $vendorDir . '/cweagans/composer-patches/src/PatchEvents.php', - 'RectorPrefix20211129\\cweagans\\Composer\\Patches' => $vendorDir . '/cweagans/composer-patches/src/Patches.php', + 'RectorPrefix20211130\\Clue\\React\\NDJson\\Decoder' => $vendorDir . '/clue/ndjson-react/src/Decoder.php', + 'RectorPrefix20211130\\Clue\\React\\NDJson\\Encoder' => $vendorDir . '/clue/ndjson-react/src/Encoder.php', + 'RectorPrefix20211130\\Composer\\Semver\\Comparator' => $vendorDir . '/composer/semver/src/Comparator.php', + 'RectorPrefix20211130\\Composer\\Semver\\CompilingMatcher' => $vendorDir . '/composer/semver/src/CompilingMatcher.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\Bound' => $vendorDir . '/composer/semver/src/Constraint/Bound.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\Constraint' => $vendorDir . '/composer/semver/src/Constraint/Constraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\ConstraintInterface' => $vendorDir . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MatchAllConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchAllConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => $vendorDir . '/composer/semver/src/Constraint/MatchNoneConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MultiConstraint' => $vendorDir . '/composer/semver/src/Constraint/MultiConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Interval' => $vendorDir . '/composer/semver/src/Interval.php', + 'RectorPrefix20211130\\Composer\\Semver\\Intervals' => $vendorDir . '/composer/semver/src/Intervals.php', + 'RectorPrefix20211130\\Composer\\Semver\\Semver' => $vendorDir . '/composer/semver/src/Semver.php', + 'RectorPrefix20211130\\Composer\\Semver\\VersionParser' => $vendorDir . '/composer/semver/src/VersionParser.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\PhpConfig' => $vendorDir . '/composer/xdebug-handler/src/PhpConfig.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\Process' => $vendorDir . '/composer/xdebug-handler/src/Process.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\Status' => $vendorDir . '/composer/xdebug-handler/src/Status.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\XdebugHandler' => $vendorDir . '/composer/xdebug-handler/src/XdebugHandler.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\CachedWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Inflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Language' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\LanguageInflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\NoopWordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Pattern' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Patterns' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Ruleset' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Substitution' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Substitutions' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Transformation' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Transformations' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Word' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\RulesetInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\WordInflector' => $vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\Printer' => $vendorDir . '/ergebnis/json-printer/src/Printer.php', + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\PrinterInterface' => $vendorDir . '/ergebnis/json-printer/src/PrinterInterface.php', + 'RectorPrefix20211130\\Evenement\\EventEmitter' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitter.php', + 'RectorPrefix20211130\\Evenement\\EventEmitterInterface' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', + 'RectorPrefix20211130\\Evenement\\EventEmitterTrait' => $vendorDir . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParseError' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Parser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParserState' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => $vendorDir . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => $vendorDir . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => $vendorDir . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\EditorConfig' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfig.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => $vendorDir . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => $vendorDir . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Section' => $vendorDir . '/idiosyncratic/editorconfig/src/Section.php', + 'RectorPrefix20211130\\MyCLabs\\Enum\\Enum' => $vendorDir . '/myclabs/php-enum/src/Enum.php', + 'RectorPrefix20211130\\MyCLabs\\Enum\\PHPUnit\\Comparator' => $vendorDir . '/myclabs/php-enum/src/PHPUnit/Comparator.php', + 'RectorPrefix20211130\\Nette\\ArgumentOutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\DeprecatedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\DirectoryNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\FileNotFoundException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\HtmlStringable' => $vendorDir . '/nette/utils/src/HtmlStringable.php', + 'RectorPrefix20211130\\Nette\\IOException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\InvalidArgumentException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\InvalidStateException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Iterators\\CachingIterator' => $vendorDir . '/nette/utils/src/Iterators/CachingIterator.php', + 'RectorPrefix20211130\\Nette\\Iterators\\Mapper' => $vendorDir . '/nette/utils/src/Iterators/Mapper.php', + 'RectorPrefix20211130\\Nette\\Localization\\ITranslator' => $vendorDir . '/nette/utils/src/compatibility.php', + 'RectorPrefix20211130\\Nette\\Localization\\Translator' => $vendorDir . '/nette/utils/src/Translator.php', + 'RectorPrefix20211130\\Nette\\MemberAccessException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Neon\\Decoder' => $vendorDir . '/nette/neon/src/Neon/Decoder.php', + 'RectorPrefix20211130\\Nette\\Neon\\Encoder' => $vendorDir . '/nette/neon/src/Neon/Encoder.php', + 'RectorPrefix20211130\\Nette\\Neon\\Entity' => $vendorDir . '/nette/neon/src/Neon/Entity.php', + 'RectorPrefix20211130\\Nette\\Neon\\Exception' => $vendorDir . '/nette/neon/src/Neon/Exception.php', + 'RectorPrefix20211130\\Nette\\Neon\\Lexer' => $vendorDir . '/nette/neon/src/Neon/Lexer.php', + 'RectorPrefix20211130\\Nette\\Neon\\Neon' => $vendorDir . '/nette/neon/src/Neon/Neon.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node' => $vendorDir . '/nette/neon/src/Neon/Node.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\ArrayItemNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayItemNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\ArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/ArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\BlockArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/BlockArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\EntityChainNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityChainNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\EntityNode' => $vendorDir . '/nette/neon/src/Neon/Node/EntityNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\InlineArrayNode' => $vendorDir . '/nette/neon/src/Neon/Node/InlineArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\LiteralNode' => $vendorDir . '/nette/neon/src/Neon/Node/LiteralNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\StringNode' => $vendorDir . '/nette/neon/src/Neon/Node/StringNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Parser' => $vendorDir . '/nette/neon/src/Neon/Parser.php', + 'RectorPrefix20211130\\Nette\\Neon\\Token' => $vendorDir . '/nette/neon/src/Neon/Token.php', + 'RectorPrefix20211130\\Nette\\Neon\\TokenStream' => $vendorDir . '/nette/neon/src/Neon/TokenStream.php', + 'RectorPrefix20211130\\Nette\\Neon\\Traverser' => $vendorDir . '/nette/neon/src/Neon/Traverser.php', + 'RectorPrefix20211130\\Nette\\NotImplementedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\NotSupportedException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\OutOfRangeException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\SmartObject' => $vendorDir . '/nette/utils/src/SmartObject.php', + 'RectorPrefix20211130\\Nette\\StaticClass' => $vendorDir . '/nette/utils/src/StaticClass.php', + 'RectorPrefix20211130\\Nette\\UnexpectedValueException' => $vendorDir . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\ArrayHash' => $vendorDir . '/nette/utils/src/Utils/ArrayHash.php', + 'RectorPrefix20211130\\Nette\\Utils\\ArrayList' => $vendorDir . '/nette/utils/src/Utils/ArrayList.php', + 'RectorPrefix20211130\\Nette\\Utils\\Arrays' => $vendorDir . '/nette/utils/src/Utils/Arrays.php', + 'RectorPrefix20211130\\Nette\\Utils\\AssertionException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Callback' => $vendorDir . '/nette/utils/src/Utils/Callback.php', + 'RectorPrefix20211130\\Nette\\Utils\\DateTime' => $vendorDir . '/nette/utils/src/Utils/DateTime.php', + 'RectorPrefix20211130\\Nette\\Utils\\FileSystem' => $vendorDir . '/nette/utils/src/Utils/FileSystem.php', + 'RectorPrefix20211130\\Nette\\Utils\\Floats' => $vendorDir . '/nette/utils/src/Utils/Floats.php', + 'RectorPrefix20211130\\Nette\\Utils\\Helpers' => $vendorDir . '/nette/utils/src/Utils/Helpers.php', + 'RectorPrefix20211130\\Nette\\Utils\\Html' => $vendorDir . '/nette/utils/src/Utils/Html.php', + 'RectorPrefix20211130\\Nette\\Utils\\IHtmlString' => $vendorDir . '/nette/utils/src/compatibility.php', + 'RectorPrefix20211130\\Nette\\Utils\\Image' => $vendorDir . '/nette/utils/src/Utils/Image.php', + 'RectorPrefix20211130\\Nette\\Utils\\ImageException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Json' => $vendorDir . '/nette/utils/src/Utils/Json.php', + 'RectorPrefix20211130\\Nette\\Utils\\JsonException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\ObjectHelpers' => $vendorDir . '/nette/utils/src/Utils/ObjectHelpers.php', + 'RectorPrefix20211130\\Nette\\Utils\\ObjectMixin' => $vendorDir . '/nette/utils/src/Utils/ObjectMixin.php', + 'RectorPrefix20211130\\Nette\\Utils\\Paginator' => $vendorDir . '/nette/utils/src/Utils/Paginator.php', + 'RectorPrefix20211130\\Nette\\Utils\\Random' => $vendorDir . '/nette/utils/src/Utils/Random.php', + 'RectorPrefix20211130\\Nette\\Utils\\Reflection' => $vendorDir . '/nette/utils/src/Utils/Reflection.php', + 'RectorPrefix20211130\\Nette\\Utils\\RegexpException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Strings' => $vendorDir . '/nette/utils/src/Utils/Strings.php', + 'RectorPrefix20211130\\Nette\\Utils\\Type' => $vendorDir . '/nette/utils/src/Utils/Type.php', + 'RectorPrefix20211130\\Nette\\Utils\\UnknownImageFileException' => $vendorDir . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Validators' => $vendorDir . '/nette/utils/src/Utils/Validators.php', + 'RectorPrefix20211130\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheException' => $vendorDir . '/psr/cache/src/CacheException.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheItemInterface' => $vendorDir . '/psr/cache/src/CacheItemInterface.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheItemPoolInterface' => $vendorDir . '/psr/cache/src/CacheItemPoolInterface.php', + 'RectorPrefix20211130\\Psr\\Cache\\InvalidArgumentException' => $vendorDir . '/psr/cache/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Psr\\Container\\ContainerExceptionInterface' => $vendorDir . '/psr/container/src/ContainerExceptionInterface.php', + 'RectorPrefix20211130\\Psr\\Container\\ContainerInterface' => $vendorDir . '/psr/container/src/ContainerInterface.php', + 'RectorPrefix20211130\\Psr\\Container\\NotFoundExceptionInterface' => $vendorDir . '/psr/container/src/NotFoundExceptionInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/psr/event-dispatcher/src/EventDispatcherInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\ListenerProviderInterface' => $vendorDir . '/psr/event-dispatcher/src/ListenerProviderInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\StoppableEventInterface' => $vendorDir . '/psr/event-dispatcher/src/StoppableEventInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\MessageInterface' => $vendorDir . '/psr/http-message/src/MessageInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\RequestInterface' => $vendorDir . '/psr/http-message/src/RequestInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\ResponseInterface' => $vendorDir . '/psr/http-message/src/ResponseInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\ServerRequestInterface' => $vendorDir . '/psr/http-message/src/ServerRequestInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\StreamInterface' => $vendorDir . '/psr/http-message/src/StreamInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\UploadedFileInterface' => $vendorDir . '/psr/http-message/src/UploadedFileInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\UriInterface' => $vendorDir . '/psr/http-message/src/UriInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\AbstractLogger' => $vendorDir . '/psr/log/src/AbstractLogger.php', + 'RectorPrefix20211130\\Psr\\Log\\InvalidArgumentException' => $vendorDir . '/psr/log/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Psr\\Log\\LogLevel' => $vendorDir . '/psr/log/src/LogLevel.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerAwareInterface' => $vendorDir . '/psr/log/src/LoggerAwareInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerAwareTrait' => $vendorDir . '/psr/log/src/LoggerAwareTrait.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerInterface' => $vendorDir . '/psr/log/src/LoggerInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerTrait' => $vendorDir . '/psr/log/src/LoggerTrait.php', + 'RectorPrefix20211130\\Psr\\Log\\NullLogger' => $vendorDir . '/psr/log/src/NullLogger.php', + 'RectorPrefix20211130\\React\\Cache\\ArrayCache' => $vendorDir . '/react/cache/src/ArrayCache.php', + 'RectorPrefix20211130\\React\\Cache\\CacheInterface' => $vendorDir . '/react/cache/src/CacheInterface.php', + 'RectorPrefix20211130\\React\\ChildProcess\\Process' => $vendorDir . '/react/child-process/src/Process.php', + 'RectorPrefix20211130\\React\\Dns\\BadServerException' => $vendorDir . '/react/dns/src/BadServerException.php', + 'RectorPrefix20211130\\React\\Dns\\Config\\Config' => $vendorDir . '/react/dns/src/Config/Config.php', + 'RectorPrefix20211130\\React\\Dns\\Config\\HostsFile' => $vendorDir . '/react/dns/src/Config/HostsFile.php', + 'RectorPrefix20211130\\React\\Dns\\Model\\Message' => $vendorDir . '/react/dns/src/Model/Message.php', + 'RectorPrefix20211130\\React\\Dns\\Model\\Record' => $vendorDir . '/react/dns/src/Model/Record.php', + 'RectorPrefix20211130\\React\\Dns\\Protocol\\BinaryDumper' => $vendorDir . '/react/dns/src/Protocol/BinaryDumper.php', + 'RectorPrefix20211130\\React\\Dns\\Protocol\\Parser' => $vendorDir . '/react/dns/src/Protocol/Parser.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CachingExecutor' => $vendorDir . '/react/dns/src/Query/CachingExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CancellationException' => $vendorDir . '/react/dns/src/Query/CancellationException.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CoopExecutor' => $vendorDir . '/react/dns/src/Query/CoopExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\ExecutorInterface' => $vendorDir . '/react/dns/src/Query/ExecutorInterface.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\FallbackExecutor' => $vendorDir . '/react/dns/src/Query/FallbackExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\HostsFileExecutor' => $vendorDir . '/react/dns/src/Query/HostsFileExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\Query' => $vendorDir . '/react/dns/src/Query/Query.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\RetryExecutor' => $vendorDir . '/react/dns/src/Query/RetryExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\SelectiveTransportExecutor' => $vendorDir . '/react/dns/src/Query/SelectiveTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TcpTransportExecutor' => $vendorDir . '/react/dns/src/Query/TcpTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TimeoutException' => $vendorDir . '/react/dns/src/Query/TimeoutException.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TimeoutExecutor' => $vendorDir . '/react/dns/src/Query/TimeoutExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\UdpTransportExecutor' => $vendorDir . '/react/dns/src/Query/UdpTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\RecordNotFoundException' => $vendorDir . '/react/dns/src/RecordNotFoundException.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\Factory' => $vendorDir . '/react/dns/src/Resolver/Factory.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\Resolver' => $vendorDir . '/react/dns/src/Resolver/Resolver.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\ResolverInterface' => $vendorDir . '/react/dns/src/Resolver/ResolverInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtEvLoop' => $vendorDir . '/react/event-loop/src/ExtEvLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtEventLoop' => $vendorDir . '/react/event-loop/src/ExtEventLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtLibevLoop' => $vendorDir . '/react/event-loop/src/ExtLibevLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtLibeventLoop' => $vendorDir . '/react/event-loop/src/ExtLibeventLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtUvLoop' => $vendorDir . '/react/event-loop/src/ExtUvLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\Factory' => $vendorDir . '/react/event-loop/src/Factory.php', + 'RectorPrefix20211130\\React\\EventLoop\\Loop' => $vendorDir . '/react/event-loop/src/Loop.php', + 'RectorPrefix20211130\\React\\EventLoop\\LoopInterface' => $vendorDir . '/react/event-loop/src/LoopInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\SignalsHandler' => $vendorDir . '/react/event-loop/src/SignalsHandler.php', + 'RectorPrefix20211130\\React\\EventLoop\\StreamSelectLoop' => $vendorDir . '/react/event-loop/src/StreamSelectLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\Tick\\FutureTickQueue' => $vendorDir . '/react/event-loop/src/Tick/FutureTickQueue.php', + 'RectorPrefix20211130\\React\\EventLoop\\TimerInterface' => $vendorDir . '/react/event-loop/src/TimerInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\Timer\\Timer' => $vendorDir . '/react/event-loop/src/Timer/Timer.php', + 'RectorPrefix20211130\\React\\EventLoop\\Timer\\Timers' => $vendorDir . '/react/event-loop/src/Timer/Timers.php', + 'RectorPrefix20211130\\React\\Promise\\CancellablePromiseInterface' => $vendorDir . '/react/promise/src/CancellablePromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\CancellationQueue' => $vendorDir . '/react/promise/src/CancellationQueue.php', + 'RectorPrefix20211130\\React\\Promise\\Deferred' => $vendorDir . '/react/promise/src/Deferred.php', + 'RectorPrefix20211130\\React\\Promise\\Exception\\LengthException' => $vendorDir . '/react/promise/src/Exception/LengthException.php', + 'RectorPrefix20211130\\React\\Promise\\ExtendedPromiseInterface' => $vendorDir . '/react/promise/src/ExtendedPromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\FulfilledPromise' => $vendorDir . '/react/promise/src/FulfilledPromise.php', + 'RectorPrefix20211130\\React\\Promise\\LazyPromise' => $vendorDir . '/react/promise/src/LazyPromise.php', + 'RectorPrefix20211130\\React\\Promise\\Promise' => $vendorDir . '/react/promise/src/Promise.php', + 'RectorPrefix20211130\\React\\Promise\\PromiseInterface' => $vendorDir . '/react/promise/src/PromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\PromisorInterface' => $vendorDir . '/react/promise/src/PromisorInterface.php', + 'RectorPrefix20211130\\React\\Promise\\RejectedPromise' => $vendorDir . '/react/promise/src/RejectedPromise.php', + 'RectorPrefix20211130\\React\\Promise\\Timer\\TimeoutException' => $vendorDir . '/react/promise-timer/src/TimeoutException.php', + 'RectorPrefix20211130\\React\\Promise\\UnhandledRejectionException' => $vendorDir . '/react/promise/src/UnhandledRejectionException.php', + 'RectorPrefix20211130\\React\\Socket\\Connection' => $vendorDir . '/react/socket/src/Connection.php', + 'RectorPrefix20211130\\React\\Socket\\ConnectionInterface' => $vendorDir . '/react/socket/src/ConnectionInterface.php', + 'RectorPrefix20211130\\React\\Socket\\Connector' => $vendorDir . '/react/socket/src/Connector.php', + 'RectorPrefix20211130\\React\\Socket\\ConnectorInterface' => $vendorDir . '/react/socket/src/ConnectorInterface.php', + 'RectorPrefix20211130\\React\\Socket\\DnsConnector' => $vendorDir . '/react/socket/src/DnsConnector.php', + 'RectorPrefix20211130\\React\\Socket\\FdServer' => $vendorDir . '/react/socket/src/FdServer.php', + 'RectorPrefix20211130\\React\\Socket\\FixedUriConnector' => $vendorDir . '/react/socket/src/FixedUriConnector.php', + 'RectorPrefix20211130\\React\\Socket\\HappyEyeBallsConnectionBuilder' => $vendorDir . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', + 'RectorPrefix20211130\\React\\Socket\\HappyEyeBallsConnector' => $vendorDir . '/react/socket/src/HappyEyeBallsConnector.php', + 'RectorPrefix20211130\\React\\Socket\\LimitingServer' => $vendorDir . '/react/socket/src/LimitingServer.php', + 'RectorPrefix20211130\\React\\Socket\\SecureConnector' => $vendorDir . '/react/socket/src/SecureConnector.php', + 'RectorPrefix20211130\\React\\Socket\\SecureServer' => $vendorDir . '/react/socket/src/SecureServer.php', + 'RectorPrefix20211130\\React\\Socket\\Server' => $vendorDir . '/react/socket/src/Server.php', + 'RectorPrefix20211130\\React\\Socket\\ServerInterface' => $vendorDir . '/react/socket/src/ServerInterface.php', + 'RectorPrefix20211130\\React\\Socket\\SocketServer' => $vendorDir . '/react/socket/src/SocketServer.php', + 'RectorPrefix20211130\\React\\Socket\\StreamEncryption' => $vendorDir . '/react/socket/src/StreamEncryption.php', + 'RectorPrefix20211130\\React\\Socket\\TcpConnector' => $vendorDir . '/react/socket/src/TcpConnector.php', + 'RectorPrefix20211130\\React\\Socket\\TcpServer' => $vendorDir . '/react/socket/src/TcpServer.php', + 'RectorPrefix20211130\\React\\Socket\\TimeoutConnector' => $vendorDir . '/react/socket/src/TimeoutConnector.php', + 'RectorPrefix20211130\\React\\Socket\\UnixConnector' => $vendorDir . '/react/socket/src/UnixConnector.php', + 'RectorPrefix20211130\\React\\Socket\\UnixServer' => $vendorDir . '/react/socket/src/UnixServer.php', + 'RectorPrefix20211130\\React\\Stream\\CompositeStream' => $vendorDir . '/react/stream/src/CompositeStream.php', + 'RectorPrefix20211130\\React\\Stream\\DuplexResourceStream' => $vendorDir . '/react/stream/src/DuplexResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\DuplexStreamInterface' => $vendorDir . '/react/stream/src/DuplexStreamInterface.php', + 'RectorPrefix20211130\\React\\Stream\\ReadableResourceStream' => $vendorDir . '/react/stream/src/ReadableResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\ReadableStreamInterface' => $vendorDir . '/react/stream/src/ReadableStreamInterface.php', + 'RectorPrefix20211130\\React\\Stream\\ThroughStream' => $vendorDir . '/react/stream/src/ThroughStream.php', + 'RectorPrefix20211130\\React\\Stream\\Util' => $vendorDir . '/react/stream/src/Util.php', + 'RectorPrefix20211130\\React\\Stream\\WritableResourceStream' => $vendorDir . '/react/stream/src/WritableResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\WritableStreamInterface' => $vendorDir . '/react/stream/src/WritableStreamInterface.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Chunk' => $vendorDir . '/sebastian/diff/src/Chunk.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\ConfigurationException' => $vendorDir . '/sebastian/diff/src/Exception/ConfigurationException.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Diff' => $vendorDir . '/sebastian/diff/src/Diff.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Differ' => $vendorDir . '/sebastian/diff/src/Differ.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Exception' => $vendorDir . '/sebastian/diff/src/Exception/Exception.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\InvalidArgumentException' => $vendorDir . '/sebastian/diff/src/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Line' => $vendorDir . '/sebastian/diff/src/Line.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => $vendorDir . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => $vendorDir . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Parser' => $vendorDir . '/sebastian/diff/src/Parser.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => $vendorDir . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\Stringy\\StaticStringy' => $vendorDir . '/danielstjules/stringy/src/StaticStringy.php', + 'RectorPrefix20211130\\Stringy\\Stringy' => $vendorDir . '/danielstjules/stringy/src/Stringy.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => $vendorDir . '/symfony/config/Builder/ClassBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGenerator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => $vendorDir . '/symfony/config/Builder/ConfigBuilderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\Method' => $vendorDir . '/symfony/config/Builder/Method.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\Property' => $vendorDir . '/symfony/config/Builder/Property.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCache' => $vendorDir . '/symfony/config/ConfigCache.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheFactory' => $vendorDir . '/symfony/config/ConfigCacheFactory.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => $vendorDir . '/symfony/config/ConfigCacheFactoryInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheInterface' => $vendorDir . '/symfony/config/ConfigCacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ArrayNode' => $vendorDir . '/symfony/config/Definition/ArrayNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\BaseNode' => $vendorDir . '/symfony/config/Definition/BaseNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\BooleanNode' => $vendorDir . '/symfony/config/Definition/BooleanNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => $vendorDir . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ExprBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/MergeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NodeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => $vendorDir . '/symfony/config/Definition/Builder/NodeParentInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/NormalizationBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => $vendorDir . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => $vendorDir . '/symfony/config/Definition/Builder/TreeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => $vendorDir . '/symfony/config/Definition/Builder/ValidationBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => $vendorDir . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => $vendorDir . '/symfony/config/Definition/ConfigurationInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => $vendorDir . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\EnumNode' => $vendorDir . '/symfony/config/Definition/EnumNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => $vendorDir . '/symfony/config/Definition/Exception/DuplicateKeyException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => $vendorDir . '/symfony/config/Definition/Exception/Exception.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => $vendorDir . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => $vendorDir . '/symfony/config/Definition/Exception/InvalidTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => $vendorDir . '/symfony/config/Definition/Exception/UnsetKeyException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\FloatNode' => $vendorDir . '/symfony/config/Definition/FloatNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\IntegerNode' => $vendorDir . '/symfony/config/Definition/IntegerNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\NodeInterface' => $vendorDir . '/symfony/config/Definition/NodeInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\NumericNode' => $vendorDir . '/symfony/config/Definition/NumericNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Processor' => $vendorDir . '/symfony/config/Definition/Processor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => $vendorDir . '/symfony/config/Definition/PrototypeNodeInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => $vendorDir . '/symfony/config/Definition/PrototypedArrayNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ScalarNode' => $vendorDir . '/symfony/config/Definition/ScalarNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\VariableNode' => $vendorDir . '/symfony/config/Definition/VariableNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => $vendorDir . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => $vendorDir . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => $vendorDir . '/symfony/config/Exception/LoaderLoadException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\FileLocator' => $vendorDir . '/symfony/config/FileLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\FileLocatorInterface' => $vendorDir . '/symfony/config/FileLocatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => $vendorDir . '/symfony/config/Loader/DelegatingLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\FileLoader' => $vendorDir . '/symfony/config/Loader/FileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/config/Loader/GlobFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\Loader' => $vendorDir . '/symfony/config/Loader/Loader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => $vendorDir . '/symfony/config/Loader/LoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => $vendorDir . '/symfony/config/Loader/LoaderResolver.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => $vendorDir . '/symfony/config/Loader/LoaderResolverInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => $vendorDir . '/symfony/config/Loader/ParamConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => $vendorDir . '/symfony/config/ResourceCheckerConfigCache.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => $vendorDir . '/symfony/config/ResourceCheckerConfigCacheFactory.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerInterface' => $vendorDir . '/symfony/config/ResourceCheckerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => $vendorDir . '/symfony/config/Resource/ClassExistenceResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ComposerResource' => $vendorDir . '/symfony/config/Resource/ComposerResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => $vendorDir . '/symfony/config/Resource/DirectoryResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => $vendorDir . '/symfony/config/Resource/FileExistenceResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\FileResource' => $vendorDir . '/symfony/config/Resource/FileResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\GlobResource' => $vendorDir . '/symfony/config/Resource/GlobResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => $vendorDir . '/symfony/config/Resource/ReflectionClassResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => $vendorDir . '/symfony/config/Resource/ResourceInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceChecker.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => $vendorDir . '/symfony/config/Resource/SelfCheckingResourceInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => $vendorDir . '/symfony/config/Util/Exception/InvalidXmlException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => $vendorDir . '/symfony/config/Util/Exception/XmlParsingException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\XmlUtils' => $vendorDir . '/symfony/config/Util/XmlUtils.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Application' => $vendorDir . '/symfony/console/Application.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Attribute\\AsCommand' => $vendorDir . '/symfony/console/Attribute/AsCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => $vendorDir . '/symfony/console/CI/GithubActionReporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Color' => $vendorDir . '/symfony/console/Color.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => $vendorDir . '/symfony/console/CommandLoader/CommandLoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/ContainerCommandLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => $vendorDir . '/symfony/console/CommandLoader/FactoryCommandLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\Command' => $vendorDir . '/symfony/console/Command/Command.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\CompleteCommand' => $vendorDir . '/symfony/console/Command/CompleteCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => $vendorDir . '/symfony/console/Command/DumpCompletionCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\HelpCommand' => $vendorDir . '/symfony/console/Command/HelpCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\LazyCommand' => $vendorDir . '/symfony/console/Command/LazyCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\ListCommand' => $vendorDir . '/symfony/console/Command/ListCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\LockableTrait' => $vendorDir . '/symfony/console/Command/LockableTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => $vendorDir . '/symfony/console/Command/SignalableCommandInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\CompletionInput' => $vendorDir . '/symfony/console/Completion/CompletionInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => $vendorDir . '/symfony/console/Completion/CompletionSuggestions.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => $vendorDir . '/symfony/console/Completion/Output/BashCompletionOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => $vendorDir . '/symfony/console/Completion/Output/CompletionOutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Suggestion' => $vendorDir . '/symfony/console/Completion/Suggestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\ConsoleEvents' => $vendorDir . '/symfony/console/ConsoleEvents.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Cursor' => $vendorDir . '/symfony/console/Cursor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => $vendorDir . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => $vendorDir . '/symfony/console/Descriptor/ApplicationDescription.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => $vendorDir . '/symfony/console/Descriptor/Descriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => $vendorDir . '/symfony/console/Descriptor/DescriptorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => $vendorDir . '/symfony/console/Descriptor/JsonDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => $vendorDir . '/symfony/console/Descriptor/MarkdownDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => $vendorDir . '/symfony/console/Descriptor/TextDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => $vendorDir . '/symfony/console/Descriptor/XmlDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => $vendorDir . '/symfony/console/EventListener/ErrorListener.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => $vendorDir . '/symfony/console/Event/ConsoleCommandEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => $vendorDir . '/symfony/console/Event/ConsoleErrorEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => $vendorDir . '/symfony/console/Event/ConsoleEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => $vendorDir . '/symfony/console/Event/ConsoleSignalEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => $vendorDir . '/symfony/console/Event/ConsoleTerminateEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => $vendorDir . '/symfony/console/Exception/CommandNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/console/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/console/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => $vendorDir . '/symfony/console/Exception/InvalidOptionException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\LogicException' => $vendorDir . '/symfony/console/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\MissingInputException' => $vendorDir . '/symfony/console/Exception/MissingInputException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => $vendorDir . '/symfony/console/Exception/NamespaceNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\RuntimeException' => $vendorDir . '/symfony/console/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/NullOutputFormatterStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => $vendorDir . '/symfony/console/Formatter/OutputFormatter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => $vendorDir . '/symfony/console/Formatter/OutputFormatterStyleStack.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => $vendorDir . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => $vendorDir . '/symfony/console/Helper/DebugFormatterHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => $vendorDir . '/symfony/console/Helper/DescriptorHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Dumper' => $vendorDir . '/symfony/console/Helper/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => $vendorDir . '/symfony/console/Helper/FormatterHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Helper' => $vendorDir . '/symfony/console/Helper/Helper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\HelperInterface' => $vendorDir . '/symfony/console/Helper/HelperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\HelperSet' => $vendorDir . '/symfony/console/Helper/HelperSet.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => $vendorDir . '/symfony/console/Helper/InputAwareHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => $vendorDir . '/symfony/console/Helper/ProcessHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProgressBar' => $vendorDir . '/symfony/console/Helper/ProgressBar.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => $vendorDir . '/symfony/console/Helper/ProgressIndicator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => $vendorDir . '/symfony/console/Helper/QuestionHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => $vendorDir . '/symfony/console/Helper/SymfonyQuestionHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Table' => $vendorDir . '/symfony/console/Helper/Table.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableCell' => $vendorDir . '/symfony/console/Helper/TableCell.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => $vendorDir . '/symfony/console/Helper/TableCellStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableRows' => $vendorDir . '/symfony/console/Helper/TableRows.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableSeparator' => $vendorDir . '/symfony/console/Helper/TableSeparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableStyle' => $vendorDir . '/symfony/console/Helper/TableStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\ArgvInput' => $vendorDir . '/symfony/console/Input/ArgvInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\ArrayInput' => $vendorDir . '/symfony/console/Input/ArrayInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\Input' => $vendorDir . '/symfony/console/Input/Input.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputArgument' => $vendorDir . '/symfony/console/Input/InputArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => $vendorDir . '/symfony/console/Input/InputAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputDefinition' => $vendorDir . '/symfony/console/Input/InputDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputInterface' => $vendorDir . '/symfony/console/Input/InputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputOption' => $vendorDir . '/symfony/console/Input/InputOption.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => $vendorDir . '/symfony/console/Input/StreamableInputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\StringInput' => $vendorDir . '/symfony/console/Input/StringInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => $vendorDir . '/symfony/console/Logger/ConsoleLogger.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\BufferedOutput' => $vendorDir . '/symfony/console/Output/BufferedOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => $vendorDir . '/symfony/console/Output/ConsoleOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => $vendorDir . '/symfony/console/Output/ConsoleOutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => $vendorDir . '/symfony/console/Output/ConsoleSectionOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\NullOutput' => $vendorDir . '/symfony/console/Output/NullOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\Output' => $vendorDir . '/symfony/console/Output/Output.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\OutputInterface' => $vendorDir . '/symfony/console/Output/OutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\StreamOutput' => $vendorDir . '/symfony/console/Output/StreamOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => $vendorDir . '/symfony/console/Output/TrimmedBufferOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => $vendorDir . '/symfony/console/Question/ChoiceQuestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => $vendorDir . '/symfony/console/Question/ConfirmationQuestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\Question' => $vendorDir . '/symfony/console/Question/Question.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => $vendorDir . '/symfony/console/SignalRegistry/SignalRegistry.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\SingleCommandApplication' => $vendorDir . '/symfony/console/SingleCommandApplication.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\OutputStyle' => $vendorDir . '/symfony/console/Style/OutputStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\StyleInterface' => $vendorDir . '/symfony/console/Style/StyleInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => $vendorDir . '/symfony/console/Style/SymfonyStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Terminal' => $vendorDir . '/symfony/console/Terminal.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => $vendorDir . '/symfony/console/Tester/ApplicationTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => $vendorDir . '/symfony/console/Tester/CommandCompletionTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\CommandTester' => $vendorDir . '/symfony/console/Tester/CommandTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => $vendorDir . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\TesterTrait' => $vendorDir . '/symfony/console/Tester/TesterTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Alias' => $vendorDir . '/symfony/dependency-injection/Alias.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => $vendorDir . '/symfony/dependency-injection/Argument/AbstractArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => $vendorDir . '/symfony/dependency-injection/Argument/ArgumentInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => $vendorDir . '/symfony/dependency-injection/Argument/BoundArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/IteratorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => $vendorDir . '/symfony/dependency-injection/Argument/RewindableGenerator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => $vendorDir . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => $vendorDir . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => $vendorDir . '/symfony/dependency-injection/Attribute/Autoconfigure.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => $vendorDir . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => $vendorDir . '/symfony/dependency-injection/Attribute/TaggedLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => $vendorDir . '/symfony/dependency-injection/Attribute/Target.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => $vendorDir . '/symfony/dependency-injection/Attribute/When.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => $vendorDir . '/symfony/dependency-injection/ChildDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowirePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => $vendorDir . '/symfony/dependency-injection/Compiler/Compiler.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => $vendorDir . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => $vendorDir . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => $vendorDir . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => $vendorDir . '/symfony/dependency-injection/Compiler/PassConfig.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => $vendorDir . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolvePrivatesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => $vendorDir . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => $vendorDir . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => $vendorDir . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Container' => $vendorDir . '/symfony/dependency-injection/Container.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => $vendorDir . '/symfony/dependency-injection/ContainerAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => $vendorDir . '/symfony/dependency-injection/ContainerAwareTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => $vendorDir . '/symfony/dependency-injection/ContainerBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => $vendorDir . '/symfony/dependency-injection/ContainerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Definition' => $vendorDir . '/symfony/dependency-injection/Definition.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => $vendorDir . '/symfony/dependency-injection/Dumper/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/Dumper/DumperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/PhpDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => $vendorDir . '/symfony/dependency-injection/Dumper/Preloader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/XmlDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => $vendorDir . '/symfony/dependency-injection/Dumper/YamlDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarLoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessor.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => $vendorDir . '/symfony/dependency-injection/EnvVarProcessorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => $vendorDir . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => $vendorDir . '/symfony/dependency-injection/Exception/BadMethodCallException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => $vendorDir . '/symfony/dependency-injection/Exception/EnvParameterException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/dependency-injection/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => $vendorDir . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => $vendorDir . '/symfony/dependency-injection/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => $vendorDir . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => $vendorDir . '/symfony/dependency-injection/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => $vendorDir . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguage.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => $vendorDir . '/symfony/dependency-injection/ExpressionLanguageProvider.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => $vendorDir . '/symfony/dependency-injection/Extension/Extension.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/ExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => $vendorDir . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => $vendorDir . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => $vendorDir . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => $vendorDir . '/symfony/dependency-injection/Loader/ClosureLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => $vendorDir . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => $vendorDir . '/symfony/dependency-injection/Loader/DirectoryLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/FileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/GlobFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/IniFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/XmlFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => $vendorDir . '/symfony/dependency-injection/Loader/YamlFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Parameter' => $vendorDir . '/symfony/dependency-injection/Parameter.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => $vendorDir . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Reference' => $vendorDir . '/symfony/dependency-injection/Reference.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => $vendorDir . '/symfony/dependency-injection/ReverseContainer.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => $vendorDir . '/symfony/dependency-injection/ServiceLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => $vendorDir . '/symfony/dependency-injection/TaggedContainerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\TypedReference' => $vendorDir . '/symfony/dependency-injection/TypedReference.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Variable' => $vendorDir . '/symfony/dependency-injection/Variable.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => $vendorDir . '/symfony/filesystem/Exception/FileNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\IOException' => $vendorDir . '/symfony/filesystem/Exception/IOException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => $vendorDir . '/symfony/filesystem/Exception/IOExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/filesystem/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => $vendorDir . '/symfony/filesystem/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Filesystem' => $vendorDir . '/symfony/filesystem/Filesystem.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Path' => $vendorDir . '/symfony/filesystem/Path.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\Comparator' => $vendorDir . '/symfony/finder/Comparator/Comparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => $vendorDir . '/symfony/finder/Comparator/DateComparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => $vendorDir . '/symfony/finder/Comparator/NumberComparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => $vendorDir . '/symfony/finder/Exception/AccessDeniedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symfony/finder/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Finder' => $vendorDir . '/symfony/finder/Finder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Gitignore' => $vendorDir . '/symfony/finder/Gitignore.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Glob' => $vendorDir . '/symfony/finder/Glob.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => $vendorDir . '/symfony/finder/Iterator/CustomFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DateRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => $vendorDir . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FileTypeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilecontentFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => $vendorDir . '/symfony/finder/Iterator/FilenameFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => $vendorDir . '/symfony/finder/Iterator/LazyIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => $vendorDir . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => $vendorDir . '/symfony/finder/Iterator/PathFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => $vendorDir . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => $vendorDir . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => $vendorDir . '/symfony/finder/Iterator/SortableIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => $vendorDir . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\SplFileInfo' => $vendorDir . '/symfony/finder/SplFileInfo.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/process/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/process/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\LogicException' => $vendorDir . '/symfony/process/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => $vendorDir . '/symfony/process/Exception/ProcessFailedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => $vendorDir . '/symfony/process/Exception/ProcessSignaledException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => $vendorDir . '/symfony/process/Exception/ProcessTimedOutException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\RuntimeException' => $vendorDir . '/symfony/process/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\ExecutableFinder' => $vendorDir . '/symfony/process/ExecutableFinder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\InputStream' => $vendorDir . '/symfony/process/InputStream.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\PhpExecutableFinder' => $vendorDir . '/symfony/process/PhpExecutableFinder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\PhpProcess' => $vendorDir . '/symfony/process/PhpProcess.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => $vendorDir . '/symfony/process/Pipes/AbstractPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => $vendorDir . '/symfony/process/Pipes/PipesInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => $vendorDir . '/symfony/process/Pipes/UnixPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => $vendorDir . '/symfony/process/Pipes/WindowsPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Process' => $vendorDir . '/symfony/process/Process.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\ProcessUtils' => $vendorDir . '/symfony/process/ProcessUtils.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\AbstractString' => $vendorDir . '/symfony/string/AbstractString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\AbstractUnicodeString' => $vendorDir . '/symfony/string/AbstractUnicodeString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\ByteString' => $vendorDir . '/symfony/string/ByteString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\CodePointString' => $vendorDir . '/symfony/string/CodePointString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/string/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => $vendorDir . '/symfony/string/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\RuntimeException' => $vendorDir . '/symfony/string/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => $vendorDir . '/symfony/string/Inflector/EnglishInflector.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => $vendorDir . '/symfony/string/Inflector/FrenchInflector.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => $vendorDir . '/symfony/string/Inflector/InflectorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\LazyString' => $vendorDir . '/symfony/string/LazyString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => $vendorDir . '/symfony/string/Slugger/AsciiSlugger.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => $vendorDir . '/symfony/string/Slugger/SluggerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\UnicodeString' => $vendorDir . '/symfony/string/UnicodeString.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\ClassNotFoundException' => $vendorDir . '/symfony/var-exporter/Exception/ClassNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/var-exporter/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\NotInstantiableTypeException' => $vendorDir . '/symfony/var-exporter/Exception/NotInstantiableTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Instantiator' => $vendorDir . '/symfony/var-exporter/Instantiator.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Exporter' => $vendorDir . '/symfony/var-exporter/Internal/Exporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Hydrator' => $vendorDir . '/symfony/var-exporter/Internal/Hydrator.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Reference' => $vendorDir . '/symfony/var-exporter/Internal/Reference.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Registry' => $vendorDir . '/symfony/var-exporter/Internal/Registry.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Values' => $vendorDir . '/symfony/var-exporter/Internal/Values.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\VarExporter' => $vendorDir . '/symfony/var-exporter/VarExporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Command\\LintCommand' => $vendorDir . '/symfony/yaml/Command/LintCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Dumper' => $vendorDir . '/symfony/yaml/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Escaper' => $vendorDir . '/symfony/yaml/Escaper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\DumpException' => $vendorDir . '/symfony/yaml/Exception/DumpException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/yaml/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\ParseException' => $vendorDir . '/symfony/yaml/Exception/ParseException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => $vendorDir . '/symfony/yaml/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Inline' => $vendorDir . '/symfony/yaml/Inline.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Parser' => $vendorDir . '/symfony/yaml/Parser.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => $vendorDir . '/symfony/yaml/Tag/TaggedValue.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Unescaper' => $vendorDir . '/symfony/yaml/Unescaper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Yaml' => $vendorDir . '/symfony/yaml/Yaml.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CacheInterface' => $vendorDir . '/symfony/contracts/Cache/CacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CacheTrait' => $vendorDir . '/symfony/contracts/Cache/CacheTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CallbackInterface' => $vendorDir . '/symfony/contracts/Cache/CallbackInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\ItemInterface' => $vendorDir . '/symfony/contracts/Cache/ItemInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => $vendorDir . '/symfony/contracts/Cache/TagAwareCacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\EventDispatcher\\Event' => $vendorDir . '/symfony/contracts/EventDispatcher/Event.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => $vendorDir . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => $vendorDir . '/symfony/contracts/HttpClient/ChunkInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => $vendorDir . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => $vendorDir . '/symfony/contracts/HttpClient/HttpClientInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => $vendorDir . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => $vendorDir . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => $vendorDir . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Attribute\\Required' => $vendorDir . '/symfony/contracts/Service/Attribute/Required.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => $vendorDir . '/symfony/contracts/Service/Attribute/SubscribedService.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ResetInterface' => $vendorDir . '/symfony/contracts/Service/ResetInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => $vendorDir . '/symfony/contracts/Service/ServiceLocatorTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => $vendorDir . '/symfony/contracts/Service/ServiceProviderInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => $vendorDir . '/symfony/contracts/Service/ServiceSubscriberTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => $vendorDir . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => $vendorDir . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Fixtures\\TestServiceSubscriberUnion' => $vendorDir . '/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => $vendorDir . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => $vendorDir . '/symfony/contracts/Translation/LocaleAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => $vendorDir . '/symfony/contracts/Translation/Test/TranslatorTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatableInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatableInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatorInterface' => $vendorDir . '/symfony/contracts/Translation/TranslatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatorTrait' => $vendorDir . '/symfony/contracts/Translation/TranslatorTrait.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\Ctype' => $vendorDir . '/symfony/polyfill-ctype/Ctype.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => $vendorDir . '/symfony/polyfill-intl-grapheme/Grapheme.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => $vendorDir . '/symfony/polyfill-intl-normalizer/Normalizer.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\Mbstring' => $vendorDir . '/symfony/polyfill-mbstring/Mbstring.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\Php73' => $vendorDir . '/symfony/polyfill-php73/Php73.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\Php80' => $vendorDir . '/symfony/polyfill-php80/Php80.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\Php81' => $vendorDir . '/symfony/polyfill-php81/Php81.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => $vendorDir . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/astral/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Naming\\SimpleNameResolver' => $vendorDir . '/symplify/astral/src/Naming/SimpleNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => $vendorDir . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => $vendorDir . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => $vendorDir . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => $vendorDir . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => $vendorDir . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => $vendorDir . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => $vendorDir . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Reflection\\ReflectionParser' => $vendorDir . '/symplify/astral/src/Reflection/ReflectionParser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => $vendorDir . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => $vendorDir . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\AstralConfig' => $vendorDir . '/symplify/astral/src/ValueObject/AstralConfig.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\AttributeKey' => $vendorDir . '/symplify/astral/src/ValueObject/AttributeKey.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => $vendorDir . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => $vendorDir . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => $vendorDir . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => $vendorDir . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => $vendorDir . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => $vendorDir . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => $vendorDir . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => $vendorDir . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => $vendorDir . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => $vendorDir . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => $vendorDir . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Console\\Formatter\\ColorConsoleDiffFormatter' => $vendorDir . '/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Console\\Output\\ConsoleDiffer' => $vendorDir . '/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => $vendorDir . '/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\ValueObject\\ConsoleColorDiffConfig' => $vendorDir . '/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => $vendorDir . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => $vendorDir . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\CpuCoreCountProvider' => $vendorDir . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\Action' => $vendorDir . '/symplify/easy-parallel/src/Enum/Action.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\Content' => $vendorDir . '/symplify/easy-parallel/src/Enum/Content.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\ReactCommand' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactCommand.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\ReactEvent' => $vendorDir . '/symplify/easy-parallel/src/Enum/ReactEvent.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => $vendorDir . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => $vendorDir . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => $vendorDir . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ScheduleFactory' => $vendorDir . '/symplify/easy-parallel/src/ScheduleFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\Schedule' => $vendorDir . '/symplify/easy-parallel/src/ValueObject/Schedule.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => $vendorDir . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Console\\EasyTestingConsoleApplication' => $vendorDir . '/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => $vendorDir . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => $vendorDir . '/symplify/easy-testing/src/Finder/FixtureFinder.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => $vendorDir . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => $vendorDir . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => $vendorDir . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\StaticFixtureSplitter' => $vendorDir . '/symplify/easy-testing/src/StaticFixtureSplitter.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => $vendorDir . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => $vendorDir . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => $vendorDir . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => $vendorDir . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\Option' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\Prefix' => $vendorDir . '/symplify/easy-testing/src/ValueObject/Prefix.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => $vendorDir . '/symplify/easy-testing/src/ValueObject/SplitLine.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => $vendorDir . '/symplify/package-builder/src/Composer/VendorDirProvider.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => $vendorDir . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => $vendorDir . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => $vendorDir . '/symplify/package-builder/src/Console/Command/CommandNaming.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => $vendorDir . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => $vendorDir . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => $vendorDir . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => $vendorDir . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => $vendorDir . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => $vendorDir . '/symplify/package-builder/src/Neon/NeonPrinter.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => $vendorDir . '/symplify/package-builder/src/Parameter/ParameterProvider.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Php\\TypeChecker' => $vendorDir . '/symplify/package-builder/src/Php/TypeChecker.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => $vendorDir . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => $vendorDir . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => $vendorDir . '/symplify/package-builder/src/Strings/StringFormatConverter.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => $vendorDir . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => $vendorDir . '/symplify/package-builder/src/ValueObject/MethodName.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\ValueObject\\Option' => $vendorDir . '/symplify/package-builder/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => $vendorDir . '/symplify/package-builder/src/Yaml/ParametersMerger.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => $vendorDir . '/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\Exception\\InvalidTraverseException' => $vendorDir . '/symplify/simple-php-doc-parser/src/Exception/InvalidTraverseException.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeTraverser' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeTraverser.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => $vendorDir . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\SimplePhpDocParser' => $vendorDir . '/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => $vendorDir . '/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\PhpDocAttributeKey' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/PhpDocAttributeKey.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\SimplePhpDocParserConfig' => $vendorDir . '/symplify/simple-php-doc-parser/src/ValueObject/SimplePhpDocParserConfig.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => $vendorDir . '/symplify/skipper/src/Contract/SkipVoterInterface.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => $vendorDir . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => $vendorDir . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => $vendorDir . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => $vendorDir . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\OnlySkipper' => $vendorDir . '/symplify/skipper/src/Skipper/OnlySkipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\SkipSkipper' => $vendorDir . '/symplify/skipper/src/Skipper/SkipSkipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\Skipper' => $vendorDir . '/symplify/skipper/src/Skipper/Skipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\ValueObject\\Option' => $vendorDir . '/symplify/skipper/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => $vendorDir . '/symplify/skipper/src/ValueObject/SkipperConfig.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => $vendorDir . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\FileSystemFilter' => $vendorDir . '/symplify/smart-file-system/src/FileSystemFilter.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\FileSystemGuard' => $vendorDir . '/symplify/smart-file-system/src/FileSystemGuard.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => $vendorDir . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => $vendorDir . '/symplify/smart-file-system/src/Finder/SmartFinder.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => $vendorDir . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => $vendorDir . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\SmartFileInfo' => $vendorDir . '/symplify/smart-file-system/src/SmartFileInfo.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\SmartFileSystem' => $vendorDir . '/symplify/smart-file-system/src/SmartFileSystem.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => $vendorDir . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => $vendorDir . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => $vendorDir . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => $vendorDir . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Exception\\BootException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/BootException.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => $vendorDir . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => $vendorDir . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => $vendorDir . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Command\\GenerateCommand' => $vendorDir . '/symplify/vendor-patches/src/Command/GenerateCommand.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => $vendorDir . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => $vendorDir . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => $vendorDir . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Console\\VendorPatchesConsoleApplication' => $vendorDir . '/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => $vendorDir . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => $vendorDir . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => $vendorDir . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => $vendorDir . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\PatchFileFactory' => $vendorDir . '/symplify/vendor-patches/src/PatchFileFactory.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => $vendorDir . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', + 'RectorPrefix20211130\\Tracy\\Bar' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/Bar.php', + 'RectorPrefix20211130\\Tracy\\BlueScreen' => $vendorDir . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\Bridge' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/Bridge.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\MailSender' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/MailSender.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\TracyExtension' => $vendorDir . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => $vendorDir . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', + 'RectorPrefix20211130\\Tracy\\Debugger' => $vendorDir . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', + 'RectorPrefix20211130\\Tracy\\DefaultBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', + 'RectorPrefix20211130\\Tracy\\Dumper' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Describer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Describer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Exposer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Renderer' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Value' => $vendorDir . '/tracy/tracy/src/Tracy/Dumper/Value.php', + 'RectorPrefix20211130\\Tracy\\FireLogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', + 'RectorPrefix20211130\\Tracy\\Helpers' => $vendorDir . '/tracy/tracy/src/Tracy/Helpers.php', + 'RectorPrefix20211130\\Tracy\\IBarPanel' => $vendorDir . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', + 'RectorPrefix20211130\\Tracy\\ILogger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/ILogger.php', + 'RectorPrefix20211130\\Tracy\\Logger' => $vendorDir . '/tracy/tracy/src/Tracy/Logger/Logger.php', + 'RectorPrefix20211130\\Tracy\\OutputDebugger' => $vendorDir . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\Assert' => $vendorDir . '/webmozart/assert/src/Assert.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\InvalidArgumentException' => $vendorDir . '/webmozart/assert/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\Mixin' => $vendorDir . '/webmozart/assert/src/Mixin.php', + 'RectorPrefix20211130\\cweagans\\Composer\\PatchEvent' => $vendorDir . '/cweagans/composer-patches/src/PatchEvent.php', + 'RectorPrefix20211130\\cweagans\\Composer\\PatchEvents' => $vendorDir . '/cweagans/composer-patches/src/PatchEvents.php', + 'RectorPrefix20211130\\cweagans\\Composer\\Patches' => $vendorDir . '/cweagans/composer-patches/src/Patches.php', 'Rector\\Arguments\\ArgumentDefaultValueReplacer' => $baseDir . '/rules/Arguments/ArgumentDefaultValueReplacer.php', 'Rector\\Arguments\\Contract\\ReplaceArgumentDefaultValueInterface' => $baseDir . '/rules/Arguments/Contract/ReplaceArgumentDefaultValueInterface.php', 'Rector\\Arguments\\NodeAnalyzer\\ArgumentAddingScope' => $baseDir . '/rules/Arguments/NodeAnalyzer/ArgumentAddingScope.php', @@ -2009,6 +2022,7 @@ return array( 'Rector\\DowngradePhp80\\Rector\\FunctionLike\\DowngradeUnionTypeDeclarationRector' => $baseDir . '/rules/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector.php', 'Rector\\DowngradePhp80\\Rector\\Instanceof_\\DowngradePhp80ResourceReturnToObjectRector' => $baseDir . '/rules/DowngradePhp80/Rector/Instanceof_/DowngradePhp80ResourceReturnToObjectRector.php', 'Rector\\DowngradePhp80\\Rector\\MethodCall\\DowngradeNamedArgumentRector' => $baseDir . '/rules/DowngradePhp80/Rector/MethodCall/DowngradeNamedArgumentRector.php', + 'Rector\\DowngradePhp80\\Rector\\New_\\DowngradeArbitraryExpressionsSupportRector' => $baseDir . '/rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php', 'Rector\\DowngradePhp80\\Rector\\NullsafeMethodCall\\DowngradeNullsafeToTernaryOperatorRector' => $baseDir . '/rules/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector.php', 'Rector\\DowngradePhp80\\Rector\\Property\\DowngradeUnionTypeTypedPropertyRector' => $baseDir . '/rules/DowngradePhp80/Rector/Property/DowngradeUnionTypeTypedPropertyRector.php', 'Rector\\DowngradePhp80\\Rector\\StaticCall\\DowngradePhpTokenRector' => $baseDir . '/rules/DowngradePhp80/Rector/StaticCall/DowngradePhpTokenRector.php', diff --git a/vendor/composer/autoload_files.php b/vendor/composer/autoload_files.php index 375a172249c..1665e7bddc5 100644 --- a/vendor/composer/autoload_files.php +++ b/vendor/composer/autoload_files.php @@ -7,14 +7,14 @@ $baseDir = dirname($vendorDir); return array( 'a4a119a56e50fbb293281d9a48007e0e' => $vendorDir . '/symfony/polyfill-php80/bootstrap.php', - '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', - '9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => $vendorDir . '/symfony/polyfill-mbstring/bootstrap.php', + '320cde22f66dd4f5d3fd621d3e88b98f' => $vendorDir . '/symfony/polyfill-ctype/bootstrap.php', + '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', + '9b38cf48e83f5d8f60375221cd213eee' => $vendorDir . '/phpstan/phpstan/bootstrap.php', '8825ede83f2f289127722d4e842cf7e8' => $vendorDir . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'e69f7f6ee287b969198c3c9d6777bd38' => $vendorDir . '/symfony/polyfill-intl-normalizer/bootstrap.php', '0d59ee240a4cd96ddbb4ff164fccea4d' => $vendorDir . '/symfony/polyfill-php73/bootstrap.php', 'b6b991a57620e2fb6b2f66f03fe9ddc2' => $vendorDir . '/symfony/string/Resources/functions.php', - '23c18046f52bef3eea034657bafda50f' => $vendorDir . '/symfony/polyfill-php81/bootstrap.php', 'd507e002f7fce7f0c6dbf1f22edcb902' => $vendorDir . '/tracy/tracy/src/Tracy/functions.php', 'ad155f8f1cf0d418fe49e248db8c661b' => $vendorDir . '/react/promise/src/functions_include.php', '972fda704d680a3a53c68e34e193cb22' => $vendorDir . '/react/promise-timer/src/functions_include.php', diff --git a/vendor/composer/autoload_psr4.php b/vendor/composer/autoload_psr4.php index 79edc5d68a8..44e3578c860 100644 --- a/vendor/composer/autoload_psr4.php +++ b/vendor/composer/autoload_psr4.php @@ -21,60 +21,60 @@ return array( 'Rector\\Compiler\\' => array($baseDir . '/utils/compiler/src'), 'Rector\\CakePHP\\' => array($vendorDir . '/rector/rector-cakephp/src'), 'Rector\\' => array($baseDir . '/packages', $baseDir . '/rules'), - 'RectorPrefix20211129\\cweagans\\Composer\\' => array($vendorDir . '/cweagans/composer-patches/src'), - 'RectorPrefix20211129\\Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'), - 'RectorPrefix20211129\\Symplify\\VendorPatches\\' => array($vendorDir . '/symplify/vendor-patches/src'), - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\' => array($vendorDir . '/symplify/symplify-kernel/src'), - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\' => array($vendorDir . '/symplify/smart-file-system/src'), - 'RectorPrefix20211129\\Symplify\\Skipper\\' => array($vendorDir . '/symplify/skipper/src'), - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\' => array($vendorDir . '/symplify/simple-php-doc-parser/src'), - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\' => array($vendorDir . '/symplify/package-builder/src'), - 'RectorPrefix20211129\\Symplify\\EasyTesting\\' => array($vendorDir . '/symplify/easy-testing/src'), - 'RectorPrefix20211129\\Symplify\\EasyParallel\\' => array($vendorDir . '/symplify/easy-parallel/src'), - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\' => array($vendorDir . '/symplify/console-color-diff/src'), - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\' => array($vendorDir . '/symplify/composer-json-manipulator/src'), - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\' => array($vendorDir . '/symplify/autowire-array-parameter/src'), - 'RectorPrefix20211129\\Symplify\\Astral\\' => array($vendorDir . '/symplify/astral/src'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\' => array($vendorDir . '/symfony/polyfill-php73'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), - 'RectorPrefix20211129\\Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'), - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\' => array($vendorDir . '/symfony/var-exporter'), - 'RectorPrefix20211129\\Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'), - 'RectorPrefix20211129\\Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), - 'RectorPrefix20211129\\Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), - 'RectorPrefix20211129\\Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'), - 'RectorPrefix20211129\\Stringy\\' => array($vendorDir . '/danielstjules/stringy/src'), - 'RectorPrefix20211129\\React\\Stream\\' => array($vendorDir . '/react/stream/src'), - 'RectorPrefix20211129\\React\\Socket\\' => array($vendorDir . '/react/socket/src'), - 'RectorPrefix20211129\\React\\Promise\\Timer\\' => array($vendorDir . '/react/promise-timer/src'), - 'RectorPrefix20211129\\React\\Promise\\' => array($vendorDir . '/react/promise/src'), - 'RectorPrefix20211129\\React\\EventLoop\\' => array($vendorDir . '/react/event-loop/src'), - 'RectorPrefix20211129\\React\\Dns\\' => array($vendorDir . '/react/dns/src'), - 'RectorPrefix20211129\\React\\ChildProcess\\' => array($vendorDir . '/react/child-process/src'), - 'RectorPrefix20211129\\React\\Cache\\' => array($vendorDir . '/react/cache/src'), - 'RectorPrefix20211129\\Psr\\Log\\' => array($vendorDir . '/psr/log/src'), - 'RectorPrefix20211129\\Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), - 'RectorPrefix20211129\\Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'), - 'RectorPrefix20211129\\Psr\\Container\\' => array($vendorDir . '/psr/container/src'), - 'RectorPrefix20211129\\Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), - 'RectorPrefix20211129\\MyCLabs\\Enum\\' => array($vendorDir . '/myclabs/php-enum/src'), - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\' => array($vendorDir . '/idiosyncratic/editorconfig/src'), - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\' => array($vendorDir . '/helmich/typo3-typoscript-parser/src'), - 'RectorPrefix20211129\\Evenement\\' => array($vendorDir . '/evenement/evenement/src/Evenement'), - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\' => array($vendorDir . '/ergebnis/json-printer/src'), - 'RectorPrefix20211129\\Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'), - 'RectorPrefix20211129\\Composer\\XdebugHandler\\' => array($vendorDir . '/composer/xdebug-handler/src'), - 'RectorPrefix20211129\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'), - 'RectorPrefix20211129\\Clue\\React\\NDJson\\' => array($vendorDir . '/clue/ndjson-react/src'), + 'RectorPrefix20211130\\cweagans\\Composer\\' => array($vendorDir . '/cweagans/composer-patches/src'), + 'RectorPrefix20211130\\Webmozart\\Assert\\' => array($vendorDir . '/webmozart/assert/src'), + 'RectorPrefix20211130\\Symplify\\VendorPatches\\' => array($vendorDir . '/symplify/vendor-patches/src'), + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\' => array($vendorDir . '/symplify/symplify-kernel/src'), + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\' => array($vendorDir . '/symplify/smart-file-system/src'), + 'RectorPrefix20211130\\Symplify\\Skipper\\' => array($vendorDir . '/symplify/skipper/src'), + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\' => array($vendorDir . '/symplify/simple-php-doc-parser/src'), + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\' => array($vendorDir . '/symplify/package-builder/src'), + 'RectorPrefix20211130\\Symplify\\EasyTesting\\' => array($vendorDir . '/symplify/easy-testing/src'), + 'RectorPrefix20211130\\Symplify\\EasyParallel\\' => array($vendorDir . '/symplify/easy-parallel/src'), + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\' => array($vendorDir . '/symplify/console-color-diff/src'), + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\' => array($vendorDir . '/symplify/composer-json-manipulator/src'), + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\' => array($vendorDir . '/symplify/autowire-array-parameter/src'), + 'RectorPrefix20211130\\Symplify\\Astral\\' => array($vendorDir . '/symplify/astral/src'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\' => array($vendorDir . '/symfony/polyfill-php81'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\' => array($vendorDir . '/symfony/polyfill-php80'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\' => array($vendorDir . '/symfony/polyfill-php73'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\' => array($vendorDir . '/symfony/polyfill-mbstring'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array($vendorDir . '/symfony/polyfill-intl-normalizer'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array($vendorDir . '/symfony/polyfill-intl-grapheme'), + 'RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\' => array($vendorDir . '/symfony/polyfill-ctype'), + 'RectorPrefix20211130\\Symfony\\Contracts\\' => array($vendorDir . '/symfony/contracts'), + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\' => array($vendorDir . '/symfony/yaml'), + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\' => array($vendorDir . '/symfony/var-exporter'), + 'RectorPrefix20211130\\Symfony\\Component\\String\\' => array($vendorDir . '/symfony/string'), + 'RectorPrefix20211130\\Symfony\\Component\\Process\\' => array($vendorDir . '/symfony/process'), + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\' => array($vendorDir . '/symfony/finder'), + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\' => array($vendorDir . '/symfony/filesystem'), + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\' => array($vendorDir . '/symfony/dependency-injection'), + 'RectorPrefix20211130\\Symfony\\Component\\Console\\' => array($vendorDir . '/symfony/console'), + 'RectorPrefix20211130\\Symfony\\Component\\Config\\' => array($vendorDir . '/symfony/config'), + 'RectorPrefix20211130\\Stringy\\' => array($vendorDir . '/danielstjules/stringy/src'), + 'RectorPrefix20211130\\React\\Stream\\' => array($vendorDir . '/react/stream/src'), + 'RectorPrefix20211130\\React\\Socket\\' => array($vendorDir . '/react/socket/src'), + 'RectorPrefix20211130\\React\\Promise\\Timer\\' => array($vendorDir . '/react/promise-timer/src'), + 'RectorPrefix20211130\\React\\Promise\\' => array($vendorDir . '/react/promise/src'), + 'RectorPrefix20211130\\React\\EventLoop\\' => array($vendorDir . '/react/event-loop/src'), + 'RectorPrefix20211130\\React\\Dns\\' => array($vendorDir . '/react/dns/src'), + 'RectorPrefix20211130\\React\\ChildProcess\\' => array($vendorDir . '/react/child-process/src'), + 'RectorPrefix20211130\\React\\Cache\\' => array($vendorDir . '/react/cache/src'), + 'RectorPrefix20211130\\Psr\\Log\\' => array($vendorDir . '/psr/log/src'), + 'RectorPrefix20211130\\Psr\\Http\\Message\\' => array($vendorDir . '/psr/http-message/src'), + 'RectorPrefix20211130\\Psr\\EventDispatcher\\' => array($vendorDir . '/psr/event-dispatcher/src'), + 'RectorPrefix20211130\\Psr\\Container\\' => array($vendorDir . '/psr/container/src'), + 'RectorPrefix20211130\\Psr\\Cache\\' => array($vendorDir . '/psr/cache/src'), + 'RectorPrefix20211130\\MyCLabs\\Enum\\' => array($vendorDir . '/myclabs/php-enum/src'), + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\' => array($vendorDir . '/idiosyncratic/editorconfig/src'), + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\' => array($vendorDir . '/helmich/typo3-typoscript-parser/src'), + 'RectorPrefix20211130\\Evenement\\' => array($vendorDir . '/evenement/evenement/src/Evenement'), + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\' => array($vendorDir . '/ergebnis/json-printer/src'), + 'RectorPrefix20211130\\Doctrine\\Inflector\\' => array($vendorDir . '/doctrine/inflector/lib/Doctrine/Inflector'), + 'RectorPrefix20211130\\Composer\\XdebugHandler\\' => array($vendorDir . '/composer/xdebug-handler/src'), + 'RectorPrefix20211130\\Composer\\Semver\\' => array($vendorDir . '/composer/semver/src'), + 'RectorPrefix20211130\\Clue\\React\\NDJson\\' => array($vendorDir . '/clue/ndjson-react/src'), 'PhpParser\\' => array($vendorDir . '/nikic/php-parser/lib/PhpParser'), 'PHPStan\\PhpDocParser\\' => array($vendorDir . '/phpstan/phpdoc-parser/src'), 'PHPStan\\' => array($vendorDir . '/phpstan/phpstan-phpunit/src'), diff --git a/vendor/composer/autoload_real.php b/vendor/composer/autoload_real.php index bc0950aba75..8babdd56c63 100644 --- a/vendor/composer/autoload_real.php +++ b/vendor/composer/autoload_real.php @@ -2,7 +2,7 @@ // autoload_real.php @generated by Composer -class ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919 +class ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811 { private static $loader; @@ -22,15 +22,15 @@ class ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919 return self::$loader; } - spl_autoload_register(array('ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919', 'loadClassLoader'), true, true); + spl_autoload_register(array('ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811', 'loadClassLoader'), true, true); self::$loader = $loader = new \Composer\Autoload\ClassLoader(\dirname(\dirname(__FILE__))); - spl_autoload_unregister(array('ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919', 'loadClassLoader')); + spl_autoload_unregister(array('ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811', '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\ComposerStaticInitff30269c2f4719ad9043c1ad4459d919::getInitializer($loader)); + call_user_func(\Composer\Autoload\ComposerStaticInitb8d662794f5de5f0d235536c500a2811::getInitializer($loader)); } else { $classMap = require __DIR__ . '/autoload_classmap.php'; if ($classMap) { @@ -42,19 +42,19 @@ class ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919 $loader->register(true); if ($useStaticLoader) { - $includeFiles = Composer\Autoload\ComposerStaticInitff30269c2f4719ad9043c1ad4459d919::$files; + $includeFiles = Composer\Autoload\ComposerStaticInitb8d662794f5de5f0d235536c500a2811::$files; } else { $includeFiles = require __DIR__ . '/autoload_files.php'; } foreach ($includeFiles as $fileIdentifier => $file) { - composerRequireff30269c2f4719ad9043c1ad4459d919($fileIdentifier, $file); + composerRequireb8d662794f5de5f0d235536c500a2811($fileIdentifier, $file); } return $loader; } } -function composerRequireff30269c2f4719ad9043c1ad4459d919($fileIdentifier, $file) +function composerRequireb8d662794f5de5f0d235536c500a2811($fileIdentifier, $file) { if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { require $file; diff --git a/vendor/composer/autoload_static.php b/vendor/composer/autoload_static.php index 7a437e424a9..b57d85697ce 100644 --- a/vendor/composer/autoload_static.php +++ b/vendor/composer/autoload_static.php @@ -4,18 +4,18 @@ namespace Composer\Autoload; -class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 +class ComposerStaticInitb8d662794f5de5f0d235536c500a2811 { public static $files = array ( 'a4a119a56e50fbb293281d9a48007e0e' => __DIR__ . '/..' . '/symfony/polyfill-php80/bootstrap.php', - '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', - '9b38cf48e83f5d8f60375221cd213eee' => __DIR__ . '/..' . '/phpstan/phpstan/bootstrap.php', '0e6d7bf4a5811bfa5cf40c5ccd6fae6a' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/bootstrap.php', + '320cde22f66dd4f5d3fd621d3e88b98f' => __DIR__ . '/..' . '/symfony/polyfill-ctype/bootstrap.php', + '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', + '9b38cf48e83f5d8f60375221cd213eee' => __DIR__ . '/..' . '/phpstan/phpstan/bootstrap.php', '8825ede83f2f289127722d4e842cf7e8' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/bootstrap.php', 'e69f7f6ee287b969198c3c9d6777bd38' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/bootstrap.php', '0d59ee240a4cd96ddbb4ff164fccea4d' => __DIR__ . '/..' . '/symfony/polyfill-php73/bootstrap.php', 'b6b991a57620e2fb6b2f66f03fe9ddc2' => __DIR__ . '/..' . '/symfony/string/Resources/functions.php', - '23c18046f52bef3eea034657bafda50f' => __DIR__ . '/..' . '/symfony/polyfill-php81/bootstrap.php', 'd507e002f7fce7f0c6dbf1f22edcb902' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/functions.php', 'ad155f8f1cf0d418fe49e248db8c661b' => __DIR__ . '/..' . '/react/promise/src/functions_include.php', '972fda704d680a3a53c68e34e193cb22' => __DIR__ . '/..' . '/react/promise-timer/src/functions_include.php', @@ -46,60 +46,60 @@ class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 'Rector\\Compiler\\' => 16, 'Rector\\CakePHP\\' => 15, 'Rector\\' => 7, - 'RectorPrefix20211129\\cweagans\\Composer\\' => 39, - 'RectorPrefix20211129\\Webmozart\\Assert\\' => 38, - 'RectorPrefix20211129\\Symplify\\VendorPatches\\' => 44, - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\' => 45, - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\' => 46, - 'RectorPrefix20211129\\Symplify\\Skipper\\' => 38, - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\' => 49, - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\' => 45, - 'RectorPrefix20211129\\Symplify\\EasyTesting\\' => 42, - 'RectorPrefix20211129\\Symplify\\EasyParallel\\' => 43, - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\' => 47, - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\' => 54, - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\' => 53, - 'RectorPrefix20211129\\Symplify\\Astral\\' => 37, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\' => 44, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\' => 44, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\' => 44, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\' => 47, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\' => 54, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\' => 52, - 'RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\' => 44, - 'RectorPrefix20211129\\Symfony\\Contracts\\' => 39, - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\' => 44, - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\' => 51, - 'RectorPrefix20211129\\Symfony\\Component\\String\\' => 46, - 'RectorPrefix20211129\\Symfony\\Component\\Process\\' => 47, - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\' => 46, - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\' => 50, - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\' => 59, - 'RectorPrefix20211129\\Symfony\\Component\\Console\\' => 47, - 'RectorPrefix20211129\\Symfony\\Component\\Config\\' => 46, - 'RectorPrefix20211129\\Stringy\\' => 29, - 'RectorPrefix20211129\\React\\Stream\\' => 34, - 'RectorPrefix20211129\\React\\Socket\\' => 34, - 'RectorPrefix20211129\\React\\Promise\\Timer\\' => 41, - 'RectorPrefix20211129\\React\\Promise\\' => 35, - 'RectorPrefix20211129\\React\\EventLoop\\' => 37, - 'RectorPrefix20211129\\React\\Dns\\' => 31, - 'RectorPrefix20211129\\React\\ChildProcess\\' => 40, - 'RectorPrefix20211129\\React\\Cache\\' => 33, - 'RectorPrefix20211129\\Psr\\Log\\' => 29, - 'RectorPrefix20211129\\Psr\\Http\\Message\\' => 38, - 'RectorPrefix20211129\\Psr\\EventDispatcher\\' => 41, - 'RectorPrefix20211129\\Psr\\Container\\' => 35, - 'RectorPrefix20211129\\Psr\\Cache\\' => 31, - 'RectorPrefix20211129\\MyCLabs\\Enum\\' => 34, - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\' => 48, - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\' => 46, - 'RectorPrefix20211129\\Evenement\\' => 31, - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\' => 43, - 'RectorPrefix20211129\\Doctrine\\Inflector\\' => 40, - 'RectorPrefix20211129\\Composer\\XdebugHandler\\' => 44, - 'RectorPrefix20211129\\Composer\\Semver\\' => 37, - 'RectorPrefix20211129\\Clue\\React\\NDJson\\' => 39, + 'RectorPrefix20211130\\cweagans\\Composer\\' => 39, + 'RectorPrefix20211130\\Webmozart\\Assert\\' => 38, + 'RectorPrefix20211130\\Symplify\\VendorPatches\\' => 44, + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\' => 45, + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\' => 46, + 'RectorPrefix20211130\\Symplify\\Skipper\\' => 38, + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\' => 49, + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\' => 45, + 'RectorPrefix20211130\\Symplify\\EasyTesting\\' => 42, + 'RectorPrefix20211130\\Symplify\\EasyParallel\\' => 43, + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\' => 47, + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\' => 54, + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\' => 53, + 'RectorPrefix20211130\\Symplify\\Astral\\' => 37, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\' => 44, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\' => 44, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\' => 44, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\' => 47, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\' => 54, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\' => 52, + 'RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\' => 44, + 'RectorPrefix20211130\\Symfony\\Contracts\\' => 39, + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\' => 44, + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\' => 51, + 'RectorPrefix20211130\\Symfony\\Component\\String\\' => 46, + 'RectorPrefix20211130\\Symfony\\Component\\Process\\' => 47, + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\' => 46, + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\' => 50, + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\' => 59, + 'RectorPrefix20211130\\Symfony\\Component\\Console\\' => 47, + 'RectorPrefix20211130\\Symfony\\Component\\Config\\' => 46, + 'RectorPrefix20211130\\Stringy\\' => 29, + 'RectorPrefix20211130\\React\\Stream\\' => 34, + 'RectorPrefix20211130\\React\\Socket\\' => 34, + 'RectorPrefix20211130\\React\\Promise\\Timer\\' => 41, + 'RectorPrefix20211130\\React\\Promise\\' => 35, + 'RectorPrefix20211130\\React\\EventLoop\\' => 37, + 'RectorPrefix20211130\\React\\Dns\\' => 31, + 'RectorPrefix20211130\\React\\ChildProcess\\' => 40, + 'RectorPrefix20211130\\React\\Cache\\' => 33, + 'RectorPrefix20211130\\Psr\\Log\\' => 29, + 'RectorPrefix20211130\\Psr\\Http\\Message\\' => 38, + 'RectorPrefix20211130\\Psr\\EventDispatcher\\' => 41, + 'RectorPrefix20211130\\Psr\\Container\\' => 35, + 'RectorPrefix20211130\\Psr\\Cache\\' => 31, + 'RectorPrefix20211130\\MyCLabs\\Enum\\' => 34, + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\' => 48, + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\' => 46, + 'RectorPrefix20211130\\Evenement\\' => 31, + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\' => 43, + 'RectorPrefix20211130\\Doctrine\\Inflector\\' => 40, + 'RectorPrefix20211130\\Composer\\XdebugHandler\\' => 44, + 'RectorPrefix20211130\\Composer\\Semver\\' => 37, + 'RectorPrefix20211130\\Clue\\React\\NDJson\\' => 39, ), 'P' => array ( @@ -172,219 +172,219 @@ class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 0 => __DIR__ . '/../..' . '/packages', 1 => __DIR__ . '/../..' . '/rules', ), - 'RectorPrefix20211129\\cweagans\\Composer\\' => + 'RectorPrefix20211130\\cweagans\\Composer\\' => array ( 0 => __DIR__ . '/..' . '/cweagans/composer-patches/src', ), - 'RectorPrefix20211129\\Webmozart\\Assert\\' => + 'RectorPrefix20211130\\Webmozart\\Assert\\' => array ( 0 => __DIR__ . '/..' . '/webmozart/assert/src', ), - 'RectorPrefix20211129\\Symplify\\VendorPatches\\' => + 'RectorPrefix20211130\\Symplify\\VendorPatches\\' => array ( 0 => __DIR__ . '/..' . '/symplify/vendor-patches/src', ), - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\' => + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\' => array ( 0 => __DIR__ . '/..' . '/symplify/symplify-kernel/src', ), - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\' => + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\' => array ( 0 => __DIR__ . '/..' . '/symplify/smart-file-system/src', ), - 'RectorPrefix20211129\\Symplify\\Skipper\\' => + 'RectorPrefix20211130\\Symplify\\Skipper\\' => array ( 0 => __DIR__ . '/..' . '/symplify/skipper/src', ), - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\' => + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\' => array ( 0 => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src', ), - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\' => + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\' => array ( 0 => __DIR__ . '/..' . '/symplify/package-builder/src', ), - 'RectorPrefix20211129\\Symplify\\EasyTesting\\' => + 'RectorPrefix20211130\\Symplify\\EasyTesting\\' => array ( 0 => __DIR__ . '/..' . '/symplify/easy-testing/src', ), - 'RectorPrefix20211129\\Symplify\\EasyParallel\\' => + 'RectorPrefix20211130\\Symplify\\EasyParallel\\' => array ( 0 => __DIR__ . '/..' . '/symplify/easy-parallel/src', ), - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\' => + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\' => array ( 0 => __DIR__ . '/..' . '/symplify/console-color-diff/src', ), - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\' => + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\' => array ( 0 => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src', ), - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\' => + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\' => array ( 0 => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src', ), - 'RectorPrefix20211129\\Symplify\\Astral\\' => + 'RectorPrefix20211130\\Symplify\\Astral\\' => array ( 0 => __DIR__ . '/..' . '/symplify/astral/src', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php81', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php80', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-php73', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-mbstring', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme', ), - 'RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\' => + 'RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\' => array ( 0 => __DIR__ . '/..' . '/symfony/polyfill-ctype', ), - 'RectorPrefix20211129\\Symfony\\Contracts\\' => + 'RectorPrefix20211130\\Symfony\\Contracts\\' => array ( 0 => __DIR__ . '/..' . '/symfony/contracts', ), - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\' => array ( 0 => __DIR__ . '/..' . '/symfony/yaml', ), - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\' => + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\' => array ( 0 => __DIR__ . '/..' . '/symfony/var-exporter', ), - 'RectorPrefix20211129\\Symfony\\Component\\String\\' => + 'RectorPrefix20211130\\Symfony\\Component\\String\\' => array ( 0 => __DIR__ . '/..' . '/symfony/string', ), - 'RectorPrefix20211129\\Symfony\\Component\\Process\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Process\\' => array ( 0 => __DIR__ . '/..' . '/symfony/process', ), - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\' => array ( 0 => __DIR__ . '/..' . '/symfony/finder', ), - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\' => array ( 0 => __DIR__ . '/..' . '/symfony/filesystem', ), - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\' => + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\' => array ( 0 => __DIR__ . '/..' . '/symfony/dependency-injection', ), - 'RectorPrefix20211129\\Symfony\\Component\\Console\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Console\\' => array ( 0 => __DIR__ . '/..' . '/symfony/console', ), - 'RectorPrefix20211129\\Symfony\\Component\\Config\\' => + 'RectorPrefix20211130\\Symfony\\Component\\Config\\' => array ( 0 => __DIR__ . '/..' . '/symfony/config', ), - 'RectorPrefix20211129\\Stringy\\' => + 'RectorPrefix20211130\\Stringy\\' => array ( 0 => __DIR__ . '/..' . '/danielstjules/stringy/src', ), - 'RectorPrefix20211129\\React\\Stream\\' => + 'RectorPrefix20211130\\React\\Stream\\' => array ( 0 => __DIR__ . '/..' . '/react/stream/src', ), - 'RectorPrefix20211129\\React\\Socket\\' => + 'RectorPrefix20211130\\React\\Socket\\' => array ( 0 => __DIR__ . '/..' . '/react/socket/src', ), - 'RectorPrefix20211129\\React\\Promise\\Timer\\' => + 'RectorPrefix20211130\\React\\Promise\\Timer\\' => array ( 0 => __DIR__ . '/..' . '/react/promise-timer/src', ), - 'RectorPrefix20211129\\React\\Promise\\' => + 'RectorPrefix20211130\\React\\Promise\\' => array ( 0 => __DIR__ . '/..' . '/react/promise/src', ), - 'RectorPrefix20211129\\React\\EventLoop\\' => + 'RectorPrefix20211130\\React\\EventLoop\\' => array ( 0 => __DIR__ . '/..' . '/react/event-loop/src', ), - 'RectorPrefix20211129\\React\\Dns\\' => + 'RectorPrefix20211130\\React\\Dns\\' => array ( 0 => __DIR__ . '/..' . '/react/dns/src', ), - 'RectorPrefix20211129\\React\\ChildProcess\\' => + 'RectorPrefix20211130\\React\\ChildProcess\\' => array ( 0 => __DIR__ . '/..' . '/react/child-process/src', ), - 'RectorPrefix20211129\\React\\Cache\\' => + 'RectorPrefix20211130\\React\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/react/cache/src', ), - 'RectorPrefix20211129\\Psr\\Log\\' => + 'RectorPrefix20211130\\Psr\\Log\\' => array ( 0 => __DIR__ . '/..' . '/psr/log/src', ), - 'RectorPrefix20211129\\Psr\\Http\\Message\\' => + 'RectorPrefix20211130\\Psr\\Http\\Message\\' => array ( 0 => __DIR__ . '/..' . '/psr/http-message/src', ), - 'RectorPrefix20211129\\Psr\\EventDispatcher\\' => + 'RectorPrefix20211130\\Psr\\EventDispatcher\\' => array ( 0 => __DIR__ . '/..' . '/psr/event-dispatcher/src', ), - 'RectorPrefix20211129\\Psr\\Container\\' => + 'RectorPrefix20211130\\Psr\\Container\\' => array ( 0 => __DIR__ . '/..' . '/psr/container/src', ), - 'RectorPrefix20211129\\Psr\\Cache\\' => + 'RectorPrefix20211130\\Psr\\Cache\\' => array ( 0 => __DIR__ . '/..' . '/psr/cache/src', ), - 'RectorPrefix20211129\\MyCLabs\\Enum\\' => + 'RectorPrefix20211130\\MyCLabs\\Enum\\' => array ( 0 => __DIR__ . '/..' . '/myclabs/php-enum/src', ), - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\' => + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\' => array ( 0 => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src', ), - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\' => + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\' => array ( 0 => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src', ), - 'RectorPrefix20211129\\Evenement\\' => + 'RectorPrefix20211130\\Evenement\\' => array ( 0 => __DIR__ . '/..' . '/evenement/evenement/src/Evenement', ), - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\' => + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\' => array ( 0 => __DIR__ . '/..' . '/ergebnis/json-printer/src', ), - 'RectorPrefix20211129\\Doctrine\\Inflector\\' => + 'RectorPrefix20211130\\Doctrine\\Inflector\\' => array ( 0 => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector', ), - 'RectorPrefix20211129\\Composer\\XdebugHandler\\' => + 'RectorPrefix20211130\\Composer\\XdebugHandler\\' => array ( 0 => __DIR__ . '/..' . '/composer/xdebug-handler/src', ), - 'RectorPrefix20211129\\Composer\\Semver\\' => + 'RectorPrefix20211130\\Composer\\Semver\\' => array ( 0 => __DIR__ . '/..' . '/composer/semver/src', ), - 'RectorPrefix20211129\\Clue\\React\\NDJson\\' => + 'RectorPrefix20211130\\Clue\\React\\NDJson\\' => array ( 0 => __DIR__ . '/..' . '/clue/ndjson-react/src', ), @@ -720,1004 +720,1017 @@ class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 'PhpParser\\Parser\\Tokens' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/Parser/Tokens.php', 'PhpParser\\PrettyPrinterAbstract' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/PrettyPrinterAbstract.php', 'PhpParser\\PrettyPrinter\\Standard' => __DIR__ . '/..' . '/nikic/php-parser/lib/PhpParser/PrettyPrinter/Standard.php', - 'RectorPrefix20211129\\Clue\\React\\NDJson\\Decoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Decoder.php', - 'RectorPrefix20211129\\Clue\\React\\NDJson\\Encoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Encoder.php', - 'RectorPrefix20211129\\Composer\\Semver\\Comparator' => __DIR__ . '/..' . '/composer/semver/src/Comparator.php', - 'RectorPrefix20211129\\Composer\\Semver\\CompilingMatcher' => __DIR__ . '/..' . '/composer/semver/src/CompilingMatcher.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\Bound' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Bound.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\Constraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Constraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\ConstraintInterface' => __DIR__ . '/..' . '/composer/semver/src/Constraint/ConstraintInterface.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MatchAllConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchAllConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchNoneConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Constraint\\MultiConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MultiConstraint.php', - 'RectorPrefix20211129\\Composer\\Semver\\Interval' => __DIR__ . '/..' . '/composer/semver/src/Interval.php', - 'RectorPrefix20211129\\Composer\\Semver\\Intervals' => __DIR__ . '/..' . '/composer/semver/src/Intervals.php', - 'RectorPrefix20211129\\Composer\\Semver\\Semver' => __DIR__ . '/..' . '/composer/semver/src/Semver.php', - 'RectorPrefix20211129\\Composer\\Semver\\VersionParser' => __DIR__ . '/..' . '/composer/semver/src/VersionParser.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\PhpConfig' => __DIR__ . '/..' . '/composer/xdebug-handler/src/PhpConfig.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\Process' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Process.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\Status' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Status.php', - 'RectorPrefix20211129\\Composer\\XdebugHandler\\XdebugHandler' => __DIR__ . '/..' . '/composer/xdebug-handler/src/XdebugHandler.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\CachedWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Inflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Language' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\LanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\NoopWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Pattern' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Patterns' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Ruleset' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Substitution' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Substitutions' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Transformation' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Transformations' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\Rules\\Word' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\RulesetInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', - 'RectorPrefix20211129\\Doctrine\\Inflector\\WordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\Printer' => __DIR__ . '/..' . '/ergebnis/json-printer/src/Printer.php', - 'RectorPrefix20211129\\Ergebnis\\Json\\Printer\\PrinterInterface' => __DIR__ . '/..' . '/ergebnis/json-printer/src/PrinterInterface.php', - 'RectorPrefix20211129\\Evenement\\EventEmitter' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitter.php', - 'RectorPrefix20211129\\Evenement\\EventEmitterInterface' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', - 'RectorPrefix20211129\\Evenement\\EventEmitterTrait' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParseError' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Parser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\ParserState' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', - 'RectorPrefix20211129\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\EditorConfig' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfig.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', - 'RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\Section' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Section.php', - 'RectorPrefix20211129\\MyCLabs\\Enum\\Enum' => __DIR__ . '/..' . '/myclabs/php-enum/src/Enum.php', - 'RectorPrefix20211129\\MyCLabs\\Enum\\PHPUnit\\Comparator' => __DIR__ . '/..' . '/myclabs/php-enum/src/PHPUnit/Comparator.php', - 'RectorPrefix20211129\\Nette\\ArgumentOutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\DeprecatedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\DirectoryNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\FileNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\HtmlStringable' => __DIR__ . '/..' . '/nette/utils/src/HtmlStringable.php', - 'RectorPrefix20211129\\Nette\\IOException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\InvalidArgumentException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\InvalidStateException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Iterators\\CachingIterator' => __DIR__ . '/..' . '/nette/utils/src/Iterators/CachingIterator.php', - 'RectorPrefix20211129\\Nette\\Iterators\\Mapper' => __DIR__ . '/..' . '/nette/utils/src/Iterators/Mapper.php', - 'RectorPrefix20211129\\Nette\\Localization\\ITranslator' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', - 'RectorPrefix20211129\\Nette\\Localization\\Translator' => __DIR__ . '/..' . '/nette/utils/src/Translator.php', - 'RectorPrefix20211129\\Nette\\MemberAccessException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Neon\\Decoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Decoder.php', - 'RectorPrefix20211129\\Nette\\Neon\\Encoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Encoder.php', - 'RectorPrefix20211129\\Nette\\Neon\\Entity' => __DIR__ . '/..' . '/nette/neon/src/Neon/Entity.php', - 'RectorPrefix20211129\\Nette\\Neon\\Exception' => __DIR__ . '/..' . '/nette/neon/src/Neon/Exception.php', - 'RectorPrefix20211129\\Nette\\Neon\\Lexer' => __DIR__ . '/..' . '/nette/neon/src/Neon/Lexer.php', - 'RectorPrefix20211129\\Nette\\Neon\\Neon' => __DIR__ . '/..' . '/nette/neon/src/Neon/Neon.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\ArrayItemNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayItemNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\ArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\BlockArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/BlockArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\EntityChainNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityChainNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\EntityNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\InlineArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/InlineArrayNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\LiteralNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/LiteralNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Node\\StringNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/StringNode.php', - 'RectorPrefix20211129\\Nette\\Neon\\Parser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Parser.php', - 'RectorPrefix20211129\\Nette\\Neon\\Token' => __DIR__ . '/..' . '/nette/neon/src/Neon/Token.php', - 'RectorPrefix20211129\\Nette\\Neon\\TokenStream' => __DIR__ . '/..' . '/nette/neon/src/Neon/TokenStream.php', - 'RectorPrefix20211129\\Nette\\Neon\\Traverser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Traverser.php', - 'RectorPrefix20211129\\Nette\\NotImplementedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\NotSupportedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\OutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\SmartObject' => __DIR__ . '/..' . '/nette/utils/src/SmartObject.php', - 'RectorPrefix20211129\\Nette\\StaticClass' => __DIR__ . '/..' . '/nette/utils/src/StaticClass.php', - 'RectorPrefix20211129\\Nette\\UnexpectedValueException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\ArrayHash' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayHash.php', - 'RectorPrefix20211129\\Nette\\Utils\\ArrayList' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayList.php', - 'RectorPrefix20211129\\Nette\\Utils\\Arrays' => __DIR__ . '/..' . '/nette/utils/src/Utils/Arrays.php', - 'RectorPrefix20211129\\Nette\\Utils\\AssertionException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Callback' => __DIR__ . '/..' . '/nette/utils/src/Utils/Callback.php', - 'RectorPrefix20211129\\Nette\\Utils\\DateTime' => __DIR__ . '/..' . '/nette/utils/src/Utils/DateTime.php', - 'RectorPrefix20211129\\Nette\\Utils\\FileSystem' => __DIR__ . '/..' . '/nette/utils/src/Utils/FileSystem.php', - 'RectorPrefix20211129\\Nette\\Utils\\Floats' => __DIR__ . '/..' . '/nette/utils/src/Utils/Floats.php', - 'RectorPrefix20211129\\Nette\\Utils\\Helpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/Helpers.php', - 'RectorPrefix20211129\\Nette\\Utils\\Html' => __DIR__ . '/..' . '/nette/utils/src/Utils/Html.php', - 'RectorPrefix20211129\\Nette\\Utils\\IHtmlString' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', - 'RectorPrefix20211129\\Nette\\Utils\\Image' => __DIR__ . '/..' . '/nette/utils/src/Utils/Image.php', - 'RectorPrefix20211129\\Nette\\Utils\\ImageException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Json' => __DIR__ . '/..' . '/nette/utils/src/Utils/Json.php', - 'RectorPrefix20211129\\Nette\\Utils\\JsonException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\ObjectHelpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectHelpers.php', - 'RectorPrefix20211129\\Nette\\Utils\\ObjectMixin' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectMixin.php', - 'RectorPrefix20211129\\Nette\\Utils\\Paginator' => __DIR__ . '/..' . '/nette/utils/src/Utils/Paginator.php', - 'RectorPrefix20211129\\Nette\\Utils\\Random' => __DIR__ . '/..' . '/nette/utils/src/Utils/Random.php', - 'RectorPrefix20211129\\Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php', - 'RectorPrefix20211129\\Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php', - 'RectorPrefix20211129\\Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php', - 'RectorPrefix20211129\\Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', - 'RectorPrefix20211129\\Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php', - 'RectorPrefix20211129\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheException' => __DIR__ . '/..' . '/psr/cache/src/CacheException.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheItemInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemInterface.php', - 'RectorPrefix20211129\\Psr\\Cache\\CacheItemPoolInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemPoolInterface.php', - 'RectorPrefix20211129\\Psr\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/cache/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Psr\\Container\\ContainerExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerExceptionInterface.php', - 'RectorPrefix20211129\\Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', - 'RectorPrefix20211129\\Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/EventDispatcherInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\ListenerProviderInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/ListenerProviderInterface.php', - 'RectorPrefix20211129\\Psr\\EventDispatcher\\StoppableEventInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/StoppableEventInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\ServerRequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/ServerRequestInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\StreamInterface' => __DIR__ . '/..' . '/psr/http-message/src/StreamInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/..' . '/psr/http-message/src/UploadedFileInterface.php', - 'RectorPrefix20211129\\Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php', - 'RectorPrefix20211129\\Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', - 'RectorPrefix20211129\\Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', - 'RectorPrefix20211129\\Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', - 'RectorPrefix20211129\\React\\Cache\\ArrayCache' => __DIR__ . '/..' . '/react/cache/src/ArrayCache.php', - 'RectorPrefix20211129\\React\\Cache\\CacheInterface' => __DIR__ . '/..' . '/react/cache/src/CacheInterface.php', - 'RectorPrefix20211129\\React\\ChildProcess\\Process' => __DIR__ . '/..' . '/react/child-process/src/Process.php', - 'RectorPrefix20211129\\React\\Dns\\BadServerException' => __DIR__ . '/..' . '/react/dns/src/BadServerException.php', - 'RectorPrefix20211129\\React\\Dns\\Config\\Config' => __DIR__ . '/..' . '/react/dns/src/Config/Config.php', - 'RectorPrefix20211129\\React\\Dns\\Config\\HostsFile' => __DIR__ . '/..' . '/react/dns/src/Config/HostsFile.php', - 'RectorPrefix20211129\\React\\Dns\\Model\\Message' => __DIR__ . '/..' . '/react/dns/src/Model/Message.php', - 'RectorPrefix20211129\\React\\Dns\\Model\\Record' => __DIR__ . '/..' . '/react/dns/src/Model/Record.php', - 'RectorPrefix20211129\\React\\Dns\\Protocol\\BinaryDumper' => __DIR__ . '/..' . '/react/dns/src/Protocol/BinaryDumper.php', - 'RectorPrefix20211129\\React\\Dns\\Protocol\\Parser' => __DIR__ . '/..' . '/react/dns/src/Protocol/Parser.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CachingExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CachingExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CancellationException' => __DIR__ . '/..' . '/react/dns/src/Query/CancellationException.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\CoopExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CoopExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\ExecutorInterface' => __DIR__ . '/..' . '/react/dns/src/Query/ExecutorInterface.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\FallbackExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/FallbackExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\HostsFileExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/HostsFileExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\Query' => __DIR__ . '/..' . '/react/dns/src/Query/Query.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\RetryExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/RetryExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\SelectiveTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/SelectiveTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TcpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TcpTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TimeoutException' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutException.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\TimeoutExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\Query\\UdpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/UdpTransportExecutor.php', - 'RectorPrefix20211129\\React\\Dns\\RecordNotFoundException' => __DIR__ . '/..' . '/react/dns/src/RecordNotFoundException.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\Factory' => __DIR__ . '/..' . '/react/dns/src/Resolver/Factory.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\Resolver' => __DIR__ . '/..' . '/react/dns/src/Resolver/Resolver.php', - 'RectorPrefix20211129\\React\\Dns\\Resolver\\ResolverInterface' => __DIR__ . '/..' . '/react/dns/src/Resolver/ResolverInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtEvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEvLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtEventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEventLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtLibevLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibevLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtLibeventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibeventLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\ExtUvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtUvLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\Factory' => __DIR__ . '/..' . '/react/event-loop/src/Factory.php', - 'RectorPrefix20211129\\React\\EventLoop\\Loop' => __DIR__ . '/..' . '/react/event-loop/src/Loop.php', - 'RectorPrefix20211129\\React\\EventLoop\\LoopInterface' => __DIR__ . '/..' . '/react/event-loop/src/LoopInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\SignalsHandler' => __DIR__ . '/..' . '/react/event-loop/src/SignalsHandler.php', - 'RectorPrefix20211129\\React\\EventLoop\\StreamSelectLoop' => __DIR__ . '/..' . '/react/event-loop/src/StreamSelectLoop.php', - 'RectorPrefix20211129\\React\\EventLoop\\Tick\\FutureTickQueue' => __DIR__ . '/..' . '/react/event-loop/src/Tick/FutureTickQueue.php', - 'RectorPrefix20211129\\React\\EventLoop\\TimerInterface' => __DIR__ . '/..' . '/react/event-loop/src/TimerInterface.php', - 'RectorPrefix20211129\\React\\EventLoop\\Timer\\Timer' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timer.php', - 'RectorPrefix20211129\\React\\EventLoop\\Timer\\Timers' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timers.php', - 'RectorPrefix20211129\\React\\Promise\\CancellablePromiseInterface' => __DIR__ . '/..' . '/react/promise/src/CancellablePromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\CancellationQueue' => __DIR__ . '/..' . '/react/promise/src/CancellationQueue.php', - 'RectorPrefix20211129\\React\\Promise\\Deferred' => __DIR__ . '/..' . '/react/promise/src/Deferred.php', - 'RectorPrefix20211129\\React\\Promise\\Exception\\LengthException' => __DIR__ . '/..' . '/react/promise/src/Exception/LengthException.php', - 'RectorPrefix20211129\\React\\Promise\\ExtendedPromiseInterface' => __DIR__ . '/..' . '/react/promise/src/ExtendedPromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/react/promise/src/FulfilledPromise.php', - 'RectorPrefix20211129\\React\\Promise\\LazyPromise' => __DIR__ . '/..' . '/react/promise/src/LazyPromise.php', - 'RectorPrefix20211129\\React\\Promise\\Promise' => __DIR__ . '/..' . '/react/promise/src/Promise.php', - 'RectorPrefix20211129\\React\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/react/promise/src/PromiseInterface.php', - 'RectorPrefix20211129\\React\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/react/promise/src/PromisorInterface.php', - 'RectorPrefix20211129\\React\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/react/promise/src/RejectedPromise.php', - 'RectorPrefix20211129\\React\\Promise\\Timer\\TimeoutException' => __DIR__ . '/..' . '/react/promise-timer/src/TimeoutException.php', - 'RectorPrefix20211129\\React\\Promise\\UnhandledRejectionException' => __DIR__ . '/..' . '/react/promise/src/UnhandledRejectionException.php', - 'RectorPrefix20211129\\React\\Socket\\Connection' => __DIR__ . '/..' . '/react/socket/src/Connection.php', - 'RectorPrefix20211129\\React\\Socket\\ConnectionInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectionInterface.php', - 'RectorPrefix20211129\\React\\Socket\\Connector' => __DIR__ . '/..' . '/react/socket/src/Connector.php', - 'RectorPrefix20211129\\React\\Socket\\ConnectorInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectorInterface.php', - 'RectorPrefix20211129\\React\\Socket\\DnsConnector' => __DIR__ . '/..' . '/react/socket/src/DnsConnector.php', - 'RectorPrefix20211129\\React\\Socket\\FdServer' => __DIR__ . '/..' . '/react/socket/src/FdServer.php', - 'RectorPrefix20211129\\React\\Socket\\FixedUriConnector' => __DIR__ . '/..' . '/react/socket/src/FixedUriConnector.php', - 'RectorPrefix20211129\\React\\Socket\\HappyEyeBallsConnectionBuilder' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', - 'RectorPrefix20211129\\React\\Socket\\HappyEyeBallsConnector' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnector.php', - 'RectorPrefix20211129\\React\\Socket\\LimitingServer' => __DIR__ . '/..' . '/react/socket/src/LimitingServer.php', - 'RectorPrefix20211129\\React\\Socket\\SecureConnector' => __DIR__ . '/..' . '/react/socket/src/SecureConnector.php', - 'RectorPrefix20211129\\React\\Socket\\SecureServer' => __DIR__ . '/..' . '/react/socket/src/SecureServer.php', - 'RectorPrefix20211129\\React\\Socket\\Server' => __DIR__ . '/..' . '/react/socket/src/Server.php', - 'RectorPrefix20211129\\React\\Socket\\ServerInterface' => __DIR__ . '/..' . '/react/socket/src/ServerInterface.php', - 'RectorPrefix20211129\\React\\Socket\\SocketServer' => __DIR__ . '/..' . '/react/socket/src/SocketServer.php', - 'RectorPrefix20211129\\React\\Socket\\StreamEncryption' => __DIR__ . '/..' . '/react/socket/src/StreamEncryption.php', - 'RectorPrefix20211129\\React\\Socket\\TcpConnector' => __DIR__ . '/..' . '/react/socket/src/TcpConnector.php', - 'RectorPrefix20211129\\React\\Socket\\TcpServer' => __DIR__ . '/..' . '/react/socket/src/TcpServer.php', - 'RectorPrefix20211129\\React\\Socket\\TimeoutConnector' => __DIR__ . '/..' . '/react/socket/src/TimeoutConnector.php', - 'RectorPrefix20211129\\React\\Socket\\UnixConnector' => __DIR__ . '/..' . '/react/socket/src/UnixConnector.php', - 'RectorPrefix20211129\\React\\Socket\\UnixServer' => __DIR__ . '/..' . '/react/socket/src/UnixServer.php', - 'RectorPrefix20211129\\React\\Stream\\CompositeStream' => __DIR__ . '/..' . '/react/stream/src/CompositeStream.php', - 'RectorPrefix20211129\\React\\Stream\\DuplexResourceStream' => __DIR__ . '/..' . '/react/stream/src/DuplexResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\DuplexStreamInterface' => __DIR__ . '/..' . '/react/stream/src/DuplexStreamInterface.php', - 'RectorPrefix20211129\\React\\Stream\\ReadableResourceStream' => __DIR__ . '/..' . '/react/stream/src/ReadableResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\ReadableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/ReadableStreamInterface.php', - 'RectorPrefix20211129\\React\\Stream\\ThroughStream' => __DIR__ . '/..' . '/react/stream/src/ThroughStream.php', - 'RectorPrefix20211129\\React\\Stream\\Util' => __DIR__ . '/..' . '/react/stream/src/Util.php', - 'RectorPrefix20211129\\React\\Stream\\WritableResourceStream' => __DIR__ . '/..' . '/react/stream/src/WritableResourceStream.php', - 'RectorPrefix20211129\\React\\Stream\\WritableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/WritableStreamInterface.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\ConfigurationException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/ConfigurationException.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Exception' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/Exception.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', - 'RectorPrefix20211129\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', - 'RectorPrefix20211129\\Stringy\\StaticStringy' => __DIR__ . '/..' . '/danielstjules/stringy/src/StaticStringy.php', - 'RectorPrefix20211129\\Stringy\\Stringy' => __DIR__ . '/..' . '/danielstjules/stringy/src/Stringy.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => __DIR__ . '/..' . '/symfony/config/Builder/ClassBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGenerator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\Method' => __DIR__ . '/..' . '/symfony/config/Builder/Method.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Builder\\Property' => __DIR__ . '/..' . '/symfony/config/Builder/Property.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCache' => __DIR__ . '/..' . '/symfony/config/ConfigCache.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactory.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactoryInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ConfigCacheInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/ArrayNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\BaseNode' => __DIR__ . '/..' . '/symfony/config/Definition/BaseNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\BooleanNode' => __DIR__ . '/..' . '/symfony/config/Definition/BooleanNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ExprBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/MergeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeParentInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NormalizationBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/TreeBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ValidationBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => __DIR__ . '/..' . '/symfony/config/Definition/ConfigurationInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\EnumNode' => __DIR__ . '/..' . '/symfony/config/Definition/EnumNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/DuplicateKeyException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/Exception.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/UnsetKeyException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\FloatNode' => __DIR__ . '/..' . '/symfony/config/Definition/FloatNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\IntegerNode' => __DIR__ . '/..' . '/symfony/config/Definition/IntegerNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\NodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/NodeInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\NumericNode' => __DIR__ . '/..' . '/symfony/config/Definition/NumericNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\Processor' => __DIR__ . '/..' . '/symfony/config/Definition/Processor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypeNodeInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypedArrayNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\ScalarNode' => __DIR__ . '/..' . '/symfony/config/Definition/ScalarNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Definition\\VariableNode' => __DIR__ . '/..' . '/symfony/config/Definition/VariableNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => __DIR__ . '/..' . '/symfony/config/Exception/LoaderLoadException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\FileLocator' => __DIR__ . '/..' . '/symfony/config/FileLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\FileLocatorInterface' => __DIR__ . '/..' . '/symfony/config/FileLocatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => __DIR__ . '/..' . '/symfony/config/Loader/DelegatingLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/FileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/GlobFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\Loader' => __DIR__ . '/..' . '/symfony/config/Loader/Loader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolver.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolverInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => __DIR__ . '/..' . '/symfony/config/Loader/ParamConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCache.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCacheFactory.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\ResourceCheckerInterface' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/ClassExistenceResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ComposerResource' => __DIR__ . '/..' . '/symfony/config/Resource/ComposerResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => __DIR__ . '/..' . '/symfony/config/Resource/DirectoryResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileExistenceResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\FileResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\GlobResource' => __DIR__ . '/..' . '/symfony/config/Resource/GlobResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => __DIR__ . '/..' . '/symfony/config/Resource/ReflectionClassResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/ResourceInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceChecker.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/InvalidXmlException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/XmlParsingException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Config\\Util\\XmlUtils' => __DIR__ . '/..' . '/symfony/config/Util/XmlUtils.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Attribute\\AsCommand' => __DIR__ . '/..' . '/symfony/console/Attribute/AsCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => __DIR__ . '/..' . '/symfony/console/CI/GithubActionReporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Color' => __DIR__ . '/..' . '/symfony/console/Color.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => __DIR__ . '/..' . '/symfony/console/CommandLoader/CommandLoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/ContainerCommandLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/FactoryCommandLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\Command' => __DIR__ . '/..' . '/symfony/console/Command/Command.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\HelpCommand' => __DIR__ . '/..' . '/symfony/console/Command/HelpCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\LazyCommand' => __DIR__ . '/..' . '/symfony/console/Command/LazyCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\ListCommand' => __DIR__ . '/..' . '/symfony/console/Command/ListCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\LockableTrait' => __DIR__ . '/..' . '/symfony/console/Command/LockableTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => __DIR__ . '/..' . '/symfony/console/Command/SignalableCommandInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\ConsoleEvents' => __DIR__ . '/..' . '/symfony/console/ConsoleEvents.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Cursor' => __DIR__ . '/..' . '/symfony/console/Cursor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => __DIR__ . '/..' . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => __DIR__ . '/..' . '/symfony/console/Descriptor/ApplicationDescription.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/Descriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => __DIR__ . '/..' . '/symfony/console/Descriptor/DescriptorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/JsonDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/MarkdownDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/TextDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/XmlDescriptor.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => __DIR__ . '/..' . '/symfony/console/EventListener/ErrorListener.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleCommandEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleErrorEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleSignalEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleTerminateEvent.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/CommandNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/console/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidOptionException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/console/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\MissingInputException' => __DIR__ . '/..' . '/symfony/console/Exception/MissingInputException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/NamespaceNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/console/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatterStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleStack.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DebugFormatterHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DescriptorHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Dumper' => __DIR__ . '/..' . '/symfony/console/Helper/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/FormatterHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Helper' => __DIR__ . '/..' . '/symfony/console/Helper/Helper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\HelperInterface' => __DIR__ . '/..' . '/symfony/console/Helper/HelperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\HelperSet' => __DIR__ . '/..' . '/symfony/console/Helper/HelperSet.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => __DIR__ . '/..' . '/symfony/console/Helper/InputAwareHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => __DIR__ . '/..' . '/symfony/console/Helper/ProcessHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProgressBar' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressBar.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressIndicator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/QuestionHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/SymfonyQuestionHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\Table' => __DIR__ . '/..' . '/symfony/console/Helper/Table.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableCell' => __DIR__ . '/..' . '/symfony/console/Helper/TableCell.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableCellStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableRows' => __DIR__ . '/..' . '/symfony/console/Helper/TableRows.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableSeparator' => __DIR__ . '/..' . '/symfony/console/Helper/TableSeparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Helper\\TableStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\ArgvInput' => __DIR__ . '/..' . '/symfony/console/Input/ArgvInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\ArrayInput' => __DIR__ . '/..' . '/symfony/console/Input/ArrayInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\Input' => __DIR__ . '/..' . '/symfony/console/Input/Input.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputArgument' => __DIR__ . '/..' . '/symfony/console/Input/InputArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputDefinition' => __DIR__ . '/..' . '/symfony/console/Input/InputDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\InputOption' => __DIR__ . '/..' . '/symfony/console/Input/InputOption.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => __DIR__ . '/..' . '/symfony/console/Input/StreamableInputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Input\\StringInput' => __DIR__ . '/..' . '/symfony/console/Input/StringInput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => __DIR__ . '/..' . '/symfony/console/Logger/ConsoleLogger.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\BufferedOutput' => __DIR__ . '/..' . '/symfony/console/Output/BufferedOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleSectionOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\NullOutput' => __DIR__ . '/..' . '/symfony/console/Output/NullOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\Output' => __DIR__ . '/..' . '/symfony/console/Output/Output.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\OutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/OutputInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\StreamOutput' => __DIR__ . '/..' . '/symfony/console/Output/StreamOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => __DIR__ . '/..' . '/symfony/console/Output/TrimmedBufferOutput.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ChoiceQuestion.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ConfirmationQuestion.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Question\\Question' => __DIR__ . '/..' . '/symfony/console/Question/Question.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => __DIR__ . '/..' . '/symfony/console/SignalRegistry/SignalRegistry.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\SingleCommandApplication' => __DIR__ . '/..' . '/symfony/console/SingleCommandApplication.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\OutputStyle' => __DIR__ . '/..' . '/symfony/console/Style/OutputStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\StyleInterface' => __DIR__ . '/..' . '/symfony/console/Style/StyleInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => __DIR__ . '/..' . '/symfony/console/Style/SymfonyStyle.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Terminal' => __DIR__ . '/..' . '/symfony/console/Terminal.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => __DIR__ . '/..' . '/symfony/console/Tester/ApplicationTester.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\CommandTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandTester.php', - 'RectorPrefix20211129\\Symfony\\Component\\Console\\Tester\\TesterTrait' => __DIR__ . '/..' . '/symfony/console/Tester/TesterTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Alias' => __DIR__ . '/..' . '/symfony/dependency-injection/Alias.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/AbstractArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ArgumentInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/BoundArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/IteratorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/RewindableGenerator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Autoconfigure.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Target.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/When.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => __DIR__ . '/..' . '/symfony/dependency-injection/ChildDefinition.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowirePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/Compiler.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PassConfig.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolvePrivatesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResource.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Container' => __DIR__ . '/..' . '/symfony/dependency-injection/Container.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerBuilder.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Definition' => __DIR__ . '/..' . '/symfony/dependency-injection/Definition.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/DumperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/PhpDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Preloader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/XmlDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/YamlDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarLoaderInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessor.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/BadMethodCallException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvParameterException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguage.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguageProvider.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/Extension.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/ClosureLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/DirectoryLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/FileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/GlobFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/IniFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/PhpFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/XmlFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/YamlFileLoader.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Parameter' => __DIR__ . '/..' . '/symfony/dependency-injection/Parameter.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Reference' => __DIR__ . '/..' . '/symfony/dependency-injection/Reference.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => __DIR__ . '/..' . '/symfony/dependency-injection/ReverseContainer.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/ServiceLocator.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/TaggedContainerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\TypedReference' => __DIR__ . '/..' . '/symfony/dependency-injection/TypedReference.php', - 'RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Variable' => __DIR__ . '/..' . '/symfony/dependency-injection/Variable.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/FileNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\IOException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Filesystem\\Filesystem' => __DIR__ . '/..' . '/symfony/filesystem/Filesystem.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\Comparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/Comparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/DateComparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/NumberComparator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/finder/Exception/AccessDeniedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symfony/finder/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Finder' => __DIR__ . '/..' . '/symfony/finder/Finder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Gitignore' => __DIR__ . '/..' . '/symfony/finder/Gitignore.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Glob' => __DIR__ . '/..' . '/symfony/finder/Glob.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/CustomFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DateRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FileTypeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilecontentFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilenameFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/LazyIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/PathFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SortableIterator.php', - 'RectorPrefix20211129\\Symfony\\Component\\Finder\\SplFileInfo' => __DIR__ . '/..' . '/symfony/finder/SplFileInfo.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/process/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/process/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/process/Exception/LogicException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessFailedException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessSignaledException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessTimedOutException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/process/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\ExecutableFinder' => __DIR__ . '/..' . '/symfony/process/ExecutableFinder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\InputStream' => __DIR__ . '/..' . '/symfony/process/InputStream.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\PhpExecutableFinder' => __DIR__ . '/..' . '/symfony/process/PhpExecutableFinder.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\PhpProcess' => __DIR__ . '/..' . '/symfony/process/PhpProcess.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/AbstractPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => __DIR__ . '/..' . '/symfony/process/Pipes/PipesInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/UnixPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/WindowsPipes.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\Process' => __DIR__ . '/..' . '/symfony/process/Process.php', - 'RectorPrefix20211129\\Symfony\\Component\\Process\\ProcessUtils' => __DIR__ . '/..' . '/symfony/process/ProcessUtils.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\AbstractString' => __DIR__ . '/..' . '/symfony/string/AbstractString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\AbstractUnicodeString' => __DIR__ . '/..' . '/symfony/string/AbstractUnicodeString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\ByteString' => __DIR__ . '/..' . '/symfony/string/ByteString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\CodePointString' => __DIR__ . '/..' . '/symfony/string/CodePointString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/string/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/string/Exception/InvalidArgumentException.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/string/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/EnglishInflector.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\ClassNotFoundException' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/ClassNotFoundException.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Exception\\NotInstantiableTypeException' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/NotInstantiableTypeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Instantiator' => __DIR__ . '/..' . '/symfony/var-exporter/Instantiator.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Exporter' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Exporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Hydrator' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Hydrator.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Reference' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Reference.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Registry' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Registry.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\Internal\\Values' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Values.php', - 'RectorPrefix20211129\\Symfony\\Component\\VarExporter\\VarExporter' => __DIR__ . '/..' . '/symfony/var-exporter/VarExporter.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Command\\LintCommand' => __DIR__ . '/..' . '/symfony/yaml/Command/LintCommand.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/yaml/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\ParseException' => __DIR__ . '/..' . '/symfony/yaml/Exception/ParseException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/yaml/Exception/RuntimeException.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Inline' => __DIR__ . '/..' . '/symfony/yaml/Inline.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Parser' => __DIR__ . '/..' . '/symfony/yaml/Parser.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => __DIR__ . '/..' . '/symfony/yaml/Tag/TaggedValue.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Unescaper' => __DIR__ . '/..' . '/symfony/yaml/Unescaper.php', - 'RectorPrefix20211129\\Symfony\\Component\\Yaml\\Yaml' => __DIR__ . '/..' . '/symfony/yaml/Yaml.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CacheTrait' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\CallbackInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CallbackInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\ItemInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/ItemInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/TagAwareCacheInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\EventDispatcher\\Event' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/Event.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ChunkInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/HttpClientInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Attribute\\Required' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/Required.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/SubscribedService.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ResetInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ResetInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceLocatorTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceProviderInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberTrait.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => __DIR__ . '/..' . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Fixtures\\TestServiceSubscriberUnion' => __DIR__ . '/..' . '/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/LocaleAwareInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => __DIR__ . '/..' . '/symfony/contracts/Translation/Test/TranslatorTest.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatableInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatableInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatorInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorInterface.php', - 'RectorPrefix20211129\\Symfony\\Contracts\\Translation\\TranslatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorTrait.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/Grapheme.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\Php73' => __DIR__ . '/..' . '/symfony/polyfill-php73/Php73.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\Php80' => __DIR__ . '/..' . '/symfony/polyfill-php80/Php80.php', - 'RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/astral/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Naming\\SimpleNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/Naming/SimpleNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => __DIR__ . '/..' . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => __DIR__ . '/..' . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', - 'RectorPrefix20211129\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\Reflection\\ReflectionParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/ReflectionParser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\AstralConfig' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AstralConfig.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\AttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AttributeKey.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', - 'RectorPrefix20211129\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', - 'RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', - 'RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Console\\Formatter\\ColorConsoleDiffFormatter' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Console\\Output\\ConsoleDiffer' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', - 'RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\ValueObject\\ConsoleColorDiffConfig' => __DIR__ . '/..' . '/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\CpuCoreCountProvider' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\Action' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Action.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\Content' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Content.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\ReactCommand' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactCommand.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Enum\\ReactEvent' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactEvent.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => __DIR__ . '/..' . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ScheduleFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ScheduleFactory.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', - 'RectorPrefix20211129\\Symplify\\EasyParallel\\ValueObject\\Schedule' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/Schedule.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => __DIR__ . '/..' . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Console\\EasyTestingConsoleApplication' => __DIR__ . '/..' . '/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/Finder/FixtureFinder.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => __DIR__ . '/..' . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => __DIR__ . '/..' . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\StaticFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/StaticFixtureSplitter.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\Prefix' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Prefix.php', - 'RectorPrefix20211129\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/SplitLine.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Composer/VendorDirProvider.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => __DIR__ . '/..' . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/CommandNaming.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => __DIR__ . '/..' . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => __DIR__ . '/..' . '/symplify/package-builder/src/Neon/NeonPrinter.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Parameter/ParameterProvider.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Php\\TypeChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Php/TypeChecker.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => __DIR__ . '/..' . '/symplify/package-builder/src/Strings/StringFormatConverter.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => __DIR__ . '/..' . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/MethodName.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => __DIR__ . '/..' . '/symplify/package-builder/src/Yaml/ParametersMerger.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\Exception\\InvalidTraverseException' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/Exception/InvalidTraverseException.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeTraverser' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeTraverser.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\SimplePhpDocParser' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\PhpDocAttributeKey' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/PhpDocAttributeKey.php', - 'RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\ValueObject\\SimplePhpDocParserConfig' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/SimplePhpDocParserConfig.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => __DIR__ . '/..' . '/symplify/skipper/src/Contract/SkipVoterInterface.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => __DIR__ . '/..' . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => __DIR__ . '/..' . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\OnlySkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/OnlySkipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\SkipSkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/SkipSkipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\Skipper\\Skipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/Skipper.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/Option.php', - 'RectorPrefix20211129\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/SkipperConfig.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\FileSystemFilter' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemFilter.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\FileSystemGuard' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemGuard.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/SmartFinder.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\SmartFileInfo' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileInfo.php', - 'RectorPrefix20211129\\Symplify\\SmartFileSystem\\SmartFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileSystem.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Exception\\BootException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/BootException.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', - 'RectorPrefix20211129\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Command\\GenerateCommand' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Command/GenerateCommand.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Console\\VendorPatchesConsoleApplication' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\PatchFileFactory' => __DIR__ . '/..' . '/symplify/vendor-patches/src/PatchFileFactory.php', - 'RectorPrefix20211129\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => __DIR__ . '/..' . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', - 'RectorPrefix20211129\\Tracy\\Bar' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/Bar.php', - 'RectorPrefix20211129\\Tracy\\BlueScreen' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\Bridge' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/Bridge.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\MailSender' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/MailSender.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Nette\\TracyExtension' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', - 'RectorPrefix20211129\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', - 'RectorPrefix20211129\\Tracy\\Debugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', - 'RectorPrefix20211129\\Tracy\\DefaultBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', - 'RectorPrefix20211129\\Tracy\\Dumper' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Describer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Describer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Exposer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Renderer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', - 'RectorPrefix20211129\\Tracy\\Dumper\\Value' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Value.php', - 'RectorPrefix20211129\\Tracy\\FireLogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', - 'RectorPrefix20211129\\Tracy\\Helpers' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Helpers.php', - 'RectorPrefix20211129\\Tracy\\IBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', - 'RectorPrefix20211129\\Tracy\\ILogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/ILogger.php', - 'RectorPrefix20211129\\Tracy\\Logger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/Logger.php', - 'RectorPrefix20211129\\Tracy\\OutputDebugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/webmozart/assert/src/InvalidArgumentException.php', - 'RectorPrefix20211129\\Webmozart\\Assert\\Mixin' => __DIR__ . '/..' . '/webmozart/assert/src/Mixin.php', - 'RectorPrefix20211129\\cweagans\\Composer\\PatchEvent' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvent.php', - 'RectorPrefix20211129\\cweagans\\Composer\\PatchEvents' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvents.php', - 'RectorPrefix20211129\\cweagans\\Composer\\Patches' => __DIR__ . '/..' . '/cweagans/composer-patches/src/Patches.php', + 'RectorPrefix20211130\\Clue\\React\\NDJson\\Decoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Decoder.php', + 'RectorPrefix20211130\\Clue\\React\\NDJson\\Encoder' => __DIR__ . '/..' . '/clue/ndjson-react/src/Encoder.php', + 'RectorPrefix20211130\\Composer\\Semver\\Comparator' => __DIR__ . '/..' . '/composer/semver/src/Comparator.php', + 'RectorPrefix20211130\\Composer\\Semver\\CompilingMatcher' => __DIR__ . '/..' . '/composer/semver/src/CompilingMatcher.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\Bound' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Bound.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\Constraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/Constraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\ConstraintInterface' => __DIR__ . '/..' . '/composer/semver/src/Constraint/ConstraintInterface.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MatchAllConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchAllConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MatchNoneConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MatchNoneConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Constraint\\MultiConstraint' => __DIR__ . '/..' . '/composer/semver/src/Constraint/MultiConstraint.php', + 'RectorPrefix20211130\\Composer\\Semver\\Interval' => __DIR__ . '/..' . '/composer/semver/src/Interval.php', + 'RectorPrefix20211130\\Composer\\Semver\\Intervals' => __DIR__ . '/..' . '/composer/semver/src/Intervals.php', + 'RectorPrefix20211130\\Composer\\Semver\\Semver' => __DIR__ . '/..' . '/composer/semver/src/Semver.php', + 'RectorPrefix20211130\\Composer\\Semver\\VersionParser' => __DIR__ . '/..' . '/composer/semver/src/VersionParser.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\PhpConfig' => __DIR__ . '/..' . '/composer/xdebug-handler/src/PhpConfig.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\Process' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Process.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\Status' => __DIR__ . '/..' . '/composer/xdebug-handler/src/Status.php', + 'RectorPrefix20211130\\Composer\\XdebugHandler\\XdebugHandler' => __DIR__ . '/..' . '/composer/xdebug-handler/src/XdebugHandler.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\CachedWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\GenericLanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Inflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Language' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Language.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\LanguageInflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/LanguageInflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\NoopWordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/NoopWordInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\English\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\French\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\NorwegianBokmal\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Pattern' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Pattern.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Patterns' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Patterns.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Portuguese\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Ruleset' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Ruleset.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Spanish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Substitution' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitution.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Substitutions' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Transformation' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Transformations' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Inflectible' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\InflectorFactory' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/InflectorFactory.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Rules' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Rules.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Turkish\\Uninflected' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\Rules\\Word' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/Rules/Word.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\RulesetInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/RulesetInflector.php', + 'RectorPrefix20211130\\Doctrine\\Inflector\\WordInflector' => __DIR__ . '/..' . '/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php', + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\Printer' => __DIR__ . '/..' . '/ergebnis/json-printer/src/Printer.php', + 'RectorPrefix20211130\\Ergebnis\\Json\\Printer\\PrinterInterface' => __DIR__ . '/..' . '/ergebnis/json-printer/src/PrinterInterface.php', + 'RectorPrefix20211130\\Evenement\\EventEmitter' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitter.php', + 'RectorPrefix20211130\\Evenement\\EventEmitterInterface' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterInterface.php', + 'RectorPrefix20211130\\Evenement\\EventEmitterTrait' => __DIR__ . '/..' . '/evenement/evenement/src/Evenement/EventEmitterTrait.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Comment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\ConditionalStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ConditionalStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\DirectoryIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/DirectoryIncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\FileIncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/FileIncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\IncludeStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/IncludeStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\MultilineComment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/MultilineComment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\NestedAssignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NestedAssignment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\NopStatement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\ObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/ObjectPath.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Assignment' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryObjectOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\BinaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Builder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Builder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Copy' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Copy.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Delete' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Modification' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Modification.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ModificationCall' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\ObjectCreation' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ObjectCreation.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\Reference' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Reference.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Operator\\UnaryOperator' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\RootObjectPath' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Scalar' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Scalar.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\AST\\Statement' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/AST/Statement.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParseError' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParseError.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Parser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Parser.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParserInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\ParserState' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/ParserState.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\ASTPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Printer\\PrettyPrinterConfiguration' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\TokenStream' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/TokenStream.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\AggregatingVisitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Visitor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\LineGrouper' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/LineGrouper.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\MultilineTokenBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/MultilineTokenBuilder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\NoOpPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\Preprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/Preprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\ProcessorChain' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/ProcessorChain.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\RemoveTrailingWhitespacePreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/RemoveTrailingWhitespacePreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\StandardPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/StandardPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Preprocessing\\UnifyLineEndingsPreprocessor' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\CodeTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/CodeTokenPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\StructuredTokenPrinter' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/StructuredTokenPrinter.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Printer\\TokenPrinterInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Scanner' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Scanner.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\ScannerLine' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Token' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Token.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenStreamBuilder' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenStreamBuilder.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\Tokenizer' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\TokenizerInterface' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerInterface.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tokenizer\\UnknownOperatorException' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/Tokenizer/UnknownOperatorException.php', + 'RectorPrefix20211130\\Helmich\\TypoScriptParser\\TypoScriptParserExtension' => __DIR__ . '/..' . '/helmich/typo3-typoscript-parser/src/TypoScriptParserExtension.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\BooleanDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Charset' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Charset.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Declaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Declaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\EndOfLine' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/EndOfLine.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\Factory' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/Factory.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\GenericDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\IndentSize' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentSize.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\IndentStyle' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\InsertFinalNewline' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\MaxLineLength' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/MaxLineLength.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\TabWidth' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TabWidth.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\TrimTrailingWhitespace' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Declaration\\UnsetDeclaration' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Declaration/UnsetDeclaration.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\EditorConfig' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfig.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\EditorConfigFile' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/EditorConfigFile.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Exception\\InvalidValue' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Exception/InvalidValue.php', + 'RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\Section' => __DIR__ . '/..' . '/idiosyncratic/editorconfig/src/Section.php', + 'RectorPrefix20211130\\MyCLabs\\Enum\\Enum' => __DIR__ . '/..' . '/myclabs/php-enum/src/Enum.php', + 'RectorPrefix20211130\\MyCLabs\\Enum\\PHPUnit\\Comparator' => __DIR__ . '/..' . '/myclabs/php-enum/src/PHPUnit/Comparator.php', + 'RectorPrefix20211130\\Nette\\ArgumentOutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\DeprecatedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\DirectoryNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\FileNotFoundException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\HtmlStringable' => __DIR__ . '/..' . '/nette/utils/src/HtmlStringable.php', + 'RectorPrefix20211130\\Nette\\IOException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\InvalidArgumentException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\InvalidStateException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Iterators\\CachingIterator' => __DIR__ . '/..' . '/nette/utils/src/Iterators/CachingIterator.php', + 'RectorPrefix20211130\\Nette\\Iterators\\Mapper' => __DIR__ . '/..' . '/nette/utils/src/Iterators/Mapper.php', + 'RectorPrefix20211130\\Nette\\Localization\\ITranslator' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', + 'RectorPrefix20211130\\Nette\\Localization\\Translator' => __DIR__ . '/..' . '/nette/utils/src/Translator.php', + 'RectorPrefix20211130\\Nette\\MemberAccessException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Neon\\Decoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Decoder.php', + 'RectorPrefix20211130\\Nette\\Neon\\Encoder' => __DIR__ . '/..' . '/nette/neon/src/Neon/Encoder.php', + 'RectorPrefix20211130\\Nette\\Neon\\Entity' => __DIR__ . '/..' . '/nette/neon/src/Neon/Entity.php', + 'RectorPrefix20211130\\Nette\\Neon\\Exception' => __DIR__ . '/..' . '/nette/neon/src/Neon/Exception.php', + 'RectorPrefix20211130\\Nette\\Neon\\Lexer' => __DIR__ . '/..' . '/nette/neon/src/Neon/Lexer.php', + 'RectorPrefix20211130\\Nette\\Neon\\Neon' => __DIR__ . '/..' . '/nette/neon/src/Neon/Neon.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\ArrayItemNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayItemNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\ArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/ArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\BlockArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/BlockArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\EntityChainNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityChainNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\EntityNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/EntityNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\InlineArrayNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/InlineArrayNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\LiteralNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/LiteralNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Node\\StringNode' => __DIR__ . '/..' . '/nette/neon/src/Neon/Node/StringNode.php', + 'RectorPrefix20211130\\Nette\\Neon\\Parser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Parser.php', + 'RectorPrefix20211130\\Nette\\Neon\\Token' => __DIR__ . '/..' . '/nette/neon/src/Neon/Token.php', + 'RectorPrefix20211130\\Nette\\Neon\\TokenStream' => __DIR__ . '/..' . '/nette/neon/src/Neon/TokenStream.php', + 'RectorPrefix20211130\\Nette\\Neon\\Traverser' => __DIR__ . '/..' . '/nette/neon/src/Neon/Traverser.php', + 'RectorPrefix20211130\\Nette\\NotImplementedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\NotSupportedException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\OutOfRangeException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\SmartObject' => __DIR__ . '/..' . '/nette/utils/src/SmartObject.php', + 'RectorPrefix20211130\\Nette\\StaticClass' => __DIR__ . '/..' . '/nette/utils/src/StaticClass.php', + 'RectorPrefix20211130\\Nette\\UnexpectedValueException' => __DIR__ . '/..' . '/nette/utils/src/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\ArrayHash' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayHash.php', + 'RectorPrefix20211130\\Nette\\Utils\\ArrayList' => __DIR__ . '/..' . '/nette/utils/src/Utils/ArrayList.php', + 'RectorPrefix20211130\\Nette\\Utils\\Arrays' => __DIR__ . '/..' . '/nette/utils/src/Utils/Arrays.php', + 'RectorPrefix20211130\\Nette\\Utils\\AssertionException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Callback' => __DIR__ . '/..' . '/nette/utils/src/Utils/Callback.php', + 'RectorPrefix20211130\\Nette\\Utils\\DateTime' => __DIR__ . '/..' . '/nette/utils/src/Utils/DateTime.php', + 'RectorPrefix20211130\\Nette\\Utils\\FileSystem' => __DIR__ . '/..' . '/nette/utils/src/Utils/FileSystem.php', + 'RectorPrefix20211130\\Nette\\Utils\\Floats' => __DIR__ . '/..' . '/nette/utils/src/Utils/Floats.php', + 'RectorPrefix20211130\\Nette\\Utils\\Helpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/Helpers.php', + 'RectorPrefix20211130\\Nette\\Utils\\Html' => __DIR__ . '/..' . '/nette/utils/src/Utils/Html.php', + 'RectorPrefix20211130\\Nette\\Utils\\IHtmlString' => __DIR__ . '/..' . '/nette/utils/src/compatibility.php', + 'RectorPrefix20211130\\Nette\\Utils\\Image' => __DIR__ . '/..' . '/nette/utils/src/Utils/Image.php', + 'RectorPrefix20211130\\Nette\\Utils\\ImageException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Json' => __DIR__ . '/..' . '/nette/utils/src/Utils/Json.php', + 'RectorPrefix20211130\\Nette\\Utils\\JsonException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\ObjectHelpers' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectHelpers.php', + 'RectorPrefix20211130\\Nette\\Utils\\ObjectMixin' => __DIR__ . '/..' . '/nette/utils/src/Utils/ObjectMixin.php', + 'RectorPrefix20211130\\Nette\\Utils\\Paginator' => __DIR__ . '/..' . '/nette/utils/src/Utils/Paginator.php', + 'RectorPrefix20211130\\Nette\\Utils\\Random' => __DIR__ . '/..' . '/nette/utils/src/Utils/Random.php', + 'RectorPrefix20211130\\Nette\\Utils\\Reflection' => __DIR__ . '/..' . '/nette/utils/src/Utils/Reflection.php', + 'RectorPrefix20211130\\Nette\\Utils\\RegexpException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Strings' => __DIR__ . '/..' . '/nette/utils/src/Utils/Strings.php', + 'RectorPrefix20211130\\Nette\\Utils\\Type' => __DIR__ . '/..' . '/nette/utils/src/Utils/Type.php', + 'RectorPrefix20211130\\Nette\\Utils\\UnknownImageFileException' => __DIR__ . '/..' . '/nette/utils/src/Utils/exceptions.php', + 'RectorPrefix20211130\\Nette\\Utils\\Validators' => __DIR__ . '/..' . '/nette/utils/src/Utils/Validators.php', + 'RectorPrefix20211130\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheException' => __DIR__ . '/..' . '/psr/cache/src/CacheException.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheItemInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemInterface.php', + 'RectorPrefix20211130\\Psr\\Cache\\CacheItemPoolInterface' => __DIR__ . '/..' . '/psr/cache/src/CacheItemPoolInterface.php', + 'RectorPrefix20211130\\Psr\\Cache\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/cache/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Psr\\Container\\ContainerExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerExceptionInterface.php', + 'RectorPrefix20211130\\Psr\\Container\\ContainerInterface' => __DIR__ . '/..' . '/psr/container/src/ContainerInterface.php', + 'RectorPrefix20211130\\Psr\\Container\\NotFoundExceptionInterface' => __DIR__ . '/..' . '/psr/container/src/NotFoundExceptionInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/EventDispatcherInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\ListenerProviderInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/ListenerProviderInterface.php', + 'RectorPrefix20211130\\Psr\\EventDispatcher\\StoppableEventInterface' => __DIR__ . '/..' . '/psr/event-dispatcher/src/StoppableEventInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\MessageInterface' => __DIR__ . '/..' . '/psr/http-message/src/MessageInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\RequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/RequestInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\ResponseInterface' => __DIR__ . '/..' . '/psr/http-message/src/ResponseInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\ServerRequestInterface' => __DIR__ . '/..' . '/psr/http-message/src/ServerRequestInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\StreamInterface' => __DIR__ . '/..' . '/psr/http-message/src/StreamInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\UploadedFileInterface' => __DIR__ . '/..' . '/psr/http-message/src/UploadedFileInterface.php', + 'RectorPrefix20211130\\Psr\\Http\\Message\\UriInterface' => __DIR__ . '/..' . '/psr/http-message/src/UriInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/src/AbstractLogger.php', + 'RectorPrefix20211130\\Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/src/LogLevel.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerAwareTrait.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/src/LoggerInterface.php', + 'RectorPrefix20211130\\Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/src/LoggerTrait.php', + 'RectorPrefix20211130\\Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/src/NullLogger.php', + 'RectorPrefix20211130\\React\\Cache\\ArrayCache' => __DIR__ . '/..' . '/react/cache/src/ArrayCache.php', + 'RectorPrefix20211130\\React\\Cache\\CacheInterface' => __DIR__ . '/..' . '/react/cache/src/CacheInterface.php', + 'RectorPrefix20211130\\React\\ChildProcess\\Process' => __DIR__ . '/..' . '/react/child-process/src/Process.php', + 'RectorPrefix20211130\\React\\Dns\\BadServerException' => __DIR__ . '/..' . '/react/dns/src/BadServerException.php', + 'RectorPrefix20211130\\React\\Dns\\Config\\Config' => __DIR__ . '/..' . '/react/dns/src/Config/Config.php', + 'RectorPrefix20211130\\React\\Dns\\Config\\HostsFile' => __DIR__ . '/..' . '/react/dns/src/Config/HostsFile.php', + 'RectorPrefix20211130\\React\\Dns\\Model\\Message' => __DIR__ . '/..' . '/react/dns/src/Model/Message.php', + 'RectorPrefix20211130\\React\\Dns\\Model\\Record' => __DIR__ . '/..' . '/react/dns/src/Model/Record.php', + 'RectorPrefix20211130\\React\\Dns\\Protocol\\BinaryDumper' => __DIR__ . '/..' . '/react/dns/src/Protocol/BinaryDumper.php', + 'RectorPrefix20211130\\React\\Dns\\Protocol\\Parser' => __DIR__ . '/..' . '/react/dns/src/Protocol/Parser.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CachingExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CachingExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CancellationException' => __DIR__ . '/..' . '/react/dns/src/Query/CancellationException.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\CoopExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/CoopExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\ExecutorInterface' => __DIR__ . '/..' . '/react/dns/src/Query/ExecutorInterface.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\FallbackExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/FallbackExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\HostsFileExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/HostsFileExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\Query' => __DIR__ . '/..' . '/react/dns/src/Query/Query.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\RetryExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/RetryExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\SelectiveTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/SelectiveTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TcpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TcpTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TimeoutException' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutException.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\TimeoutExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/TimeoutExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\Query\\UdpTransportExecutor' => __DIR__ . '/..' . '/react/dns/src/Query/UdpTransportExecutor.php', + 'RectorPrefix20211130\\React\\Dns\\RecordNotFoundException' => __DIR__ . '/..' . '/react/dns/src/RecordNotFoundException.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\Factory' => __DIR__ . '/..' . '/react/dns/src/Resolver/Factory.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\Resolver' => __DIR__ . '/..' . '/react/dns/src/Resolver/Resolver.php', + 'RectorPrefix20211130\\React\\Dns\\Resolver\\ResolverInterface' => __DIR__ . '/..' . '/react/dns/src/Resolver/ResolverInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtEvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEvLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtEventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtEventLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtLibevLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibevLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtLibeventLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtLibeventLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\ExtUvLoop' => __DIR__ . '/..' . '/react/event-loop/src/ExtUvLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\Factory' => __DIR__ . '/..' . '/react/event-loop/src/Factory.php', + 'RectorPrefix20211130\\React\\EventLoop\\Loop' => __DIR__ . '/..' . '/react/event-loop/src/Loop.php', + 'RectorPrefix20211130\\React\\EventLoop\\LoopInterface' => __DIR__ . '/..' . '/react/event-loop/src/LoopInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\SignalsHandler' => __DIR__ . '/..' . '/react/event-loop/src/SignalsHandler.php', + 'RectorPrefix20211130\\React\\EventLoop\\StreamSelectLoop' => __DIR__ . '/..' . '/react/event-loop/src/StreamSelectLoop.php', + 'RectorPrefix20211130\\React\\EventLoop\\Tick\\FutureTickQueue' => __DIR__ . '/..' . '/react/event-loop/src/Tick/FutureTickQueue.php', + 'RectorPrefix20211130\\React\\EventLoop\\TimerInterface' => __DIR__ . '/..' . '/react/event-loop/src/TimerInterface.php', + 'RectorPrefix20211130\\React\\EventLoop\\Timer\\Timer' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timer.php', + 'RectorPrefix20211130\\React\\EventLoop\\Timer\\Timers' => __DIR__ . '/..' . '/react/event-loop/src/Timer/Timers.php', + 'RectorPrefix20211130\\React\\Promise\\CancellablePromiseInterface' => __DIR__ . '/..' . '/react/promise/src/CancellablePromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\CancellationQueue' => __DIR__ . '/..' . '/react/promise/src/CancellationQueue.php', + 'RectorPrefix20211130\\React\\Promise\\Deferred' => __DIR__ . '/..' . '/react/promise/src/Deferred.php', + 'RectorPrefix20211130\\React\\Promise\\Exception\\LengthException' => __DIR__ . '/..' . '/react/promise/src/Exception/LengthException.php', + 'RectorPrefix20211130\\React\\Promise\\ExtendedPromiseInterface' => __DIR__ . '/..' . '/react/promise/src/ExtendedPromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\FulfilledPromise' => __DIR__ . '/..' . '/react/promise/src/FulfilledPromise.php', + 'RectorPrefix20211130\\React\\Promise\\LazyPromise' => __DIR__ . '/..' . '/react/promise/src/LazyPromise.php', + 'RectorPrefix20211130\\React\\Promise\\Promise' => __DIR__ . '/..' . '/react/promise/src/Promise.php', + 'RectorPrefix20211130\\React\\Promise\\PromiseInterface' => __DIR__ . '/..' . '/react/promise/src/PromiseInterface.php', + 'RectorPrefix20211130\\React\\Promise\\PromisorInterface' => __DIR__ . '/..' . '/react/promise/src/PromisorInterface.php', + 'RectorPrefix20211130\\React\\Promise\\RejectedPromise' => __DIR__ . '/..' . '/react/promise/src/RejectedPromise.php', + 'RectorPrefix20211130\\React\\Promise\\Timer\\TimeoutException' => __DIR__ . '/..' . '/react/promise-timer/src/TimeoutException.php', + 'RectorPrefix20211130\\React\\Promise\\UnhandledRejectionException' => __DIR__ . '/..' . '/react/promise/src/UnhandledRejectionException.php', + 'RectorPrefix20211130\\React\\Socket\\Connection' => __DIR__ . '/..' . '/react/socket/src/Connection.php', + 'RectorPrefix20211130\\React\\Socket\\ConnectionInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectionInterface.php', + 'RectorPrefix20211130\\React\\Socket\\Connector' => __DIR__ . '/..' . '/react/socket/src/Connector.php', + 'RectorPrefix20211130\\React\\Socket\\ConnectorInterface' => __DIR__ . '/..' . '/react/socket/src/ConnectorInterface.php', + 'RectorPrefix20211130\\React\\Socket\\DnsConnector' => __DIR__ . '/..' . '/react/socket/src/DnsConnector.php', + 'RectorPrefix20211130\\React\\Socket\\FdServer' => __DIR__ . '/..' . '/react/socket/src/FdServer.php', + 'RectorPrefix20211130\\React\\Socket\\FixedUriConnector' => __DIR__ . '/..' . '/react/socket/src/FixedUriConnector.php', + 'RectorPrefix20211130\\React\\Socket\\HappyEyeBallsConnectionBuilder' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnectionBuilder.php', + 'RectorPrefix20211130\\React\\Socket\\HappyEyeBallsConnector' => __DIR__ . '/..' . '/react/socket/src/HappyEyeBallsConnector.php', + 'RectorPrefix20211130\\React\\Socket\\LimitingServer' => __DIR__ . '/..' . '/react/socket/src/LimitingServer.php', + 'RectorPrefix20211130\\React\\Socket\\SecureConnector' => __DIR__ . '/..' . '/react/socket/src/SecureConnector.php', + 'RectorPrefix20211130\\React\\Socket\\SecureServer' => __DIR__ . '/..' . '/react/socket/src/SecureServer.php', + 'RectorPrefix20211130\\React\\Socket\\Server' => __DIR__ . '/..' . '/react/socket/src/Server.php', + 'RectorPrefix20211130\\React\\Socket\\ServerInterface' => __DIR__ . '/..' . '/react/socket/src/ServerInterface.php', + 'RectorPrefix20211130\\React\\Socket\\SocketServer' => __DIR__ . '/..' . '/react/socket/src/SocketServer.php', + 'RectorPrefix20211130\\React\\Socket\\StreamEncryption' => __DIR__ . '/..' . '/react/socket/src/StreamEncryption.php', + 'RectorPrefix20211130\\React\\Socket\\TcpConnector' => __DIR__ . '/..' . '/react/socket/src/TcpConnector.php', + 'RectorPrefix20211130\\React\\Socket\\TcpServer' => __DIR__ . '/..' . '/react/socket/src/TcpServer.php', + 'RectorPrefix20211130\\React\\Socket\\TimeoutConnector' => __DIR__ . '/..' . '/react/socket/src/TimeoutConnector.php', + 'RectorPrefix20211130\\React\\Socket\\UnixConnector' => __DIR__ . '/..' . '/react/socket/src/UnixConnector.php', + 'RectorPrefix20211130\\React\\Socket\\UnixServer' => __DIR__ . '/..' . '/react/socket/src/UnixServer.php', + 'RectorPrefix20211130\\React\\Stream\\CompositeStream' => __DIR__ . '/..' . '/react/stream/src/CompositeStream.php', + 'RectorPrefix20211130\\React\\Stream\\DuplexResourceStream' => __DIR__ . '/..' . '/react/stream/src/DuplexResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\DuplexStreamInterface' => __DIR__ . '/..' . '/react/stream/src/DuplexStreamInterface.php', + 'RectorPrefix20211130\\React\\Stream\\ReadableResourceStream' => __DIR__ . '/..' . '/react/stream/src/ReadableResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\ReadableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/ReadableStreamInterface.php', + 'RectorPrefix20211130\\React\\Stream\\ThroughStream' => __DIR__ . '/..' . '/react/stream/src/ThroughStream.php', + 'RectorPrefix20211130\\React\\Stream\\Util' => __DIR__ . '/..' . '/react/stream/src/Util.php', + 'RectorPrefix20211130\\React\\Stream\\WritableResourceStream' => __DIR__ . '/..' . '/react/stream/src/WritableResourceStream.php', + 'RectorPrefix20211130\\React\\Stream\\WritableStreamInterface' => __DIR__ . '/..' . '/react/stream/src/WritableStreamInterface.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Chunk' => __DIR__ . '/..' . '/sebastian/diff/src/Chunk.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\ConfigurationException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/ConfigurationException.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Diff' => __DIR__ . '/..' . '/sebastian/diff/src/Diff.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Differ' => __DIR__ . '/..' . '/sebastian/diff/src/Differ.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Exception' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/Exception.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\InvalidArgumentException' => __DIR__ . '/..' . '/sebastian/diff/src/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Line' => __DIR__ . '/..' . '/sebastian/diff/src/Line.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\LongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/LongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\MemoryEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\AbstractChunkOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\DiffOnlyOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\DiffOutputBuilderInterface' => __DIR__ . '/..' . '/sebastian/diff/src/Output/DiffOutputBuilderInterface.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\StrictUnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Output\\UnifiedDiffOutputBuilder' => __DIR__ . '/..' . '/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\Parser' => __DIR__ . '/..' . '/sebastian/diff/src/Parser.php', + 'RectorPrefix20211130\\SebastianBergmann\\Diff\\TimeEfficientLongestCommonSubsequenceCalculator' => __DIR__ . '/..' . '/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php', + 'RectorPrefix20211130\\Stringy\\StaticStringy' => __DIR__ . '/..' . '/danielstjules/stringy/src/StaticStringy.php', + 'RectorPrefix20211130\\Stringy\\Stringy' => __DIR__ . '/..' . '/danielstjules/stringy/src/Stringy.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ClassBuilder' => __DIR__ . '/..' . '/symfony/config/Builder/ClassBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGenerator' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGenerator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderGeneratorInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderGeneratorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\ConfigBuilderInterface' => __DIR__ . '/..' . '/symfony/config/Builder/ConfigBuilderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\Method' => __DIR__ . '/..' . '/symfony/config/Builder/Method.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Builder\\Property' => __DIR__ . '/..' . '/symfony/config/Builder/Property.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCache' => __DIR__ . '/..' . '/symfony/config/ConfigCache.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactory.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheFactoryInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheFactoryInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ConfigCacheInterface' => __DIR__ . '/..' . '/symfony/config/ConfigCacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/ArrayNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\BaseNode' => __DIR__ . '/..' . '/symfony/config/Definition/BaseNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\BooleanNode' => __DIR__ . '/..' . '/symfony/config/Definition/BooleanNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ArrayNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ArrayNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\BooleanNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BooleanNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\BuilderAwareInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/BuilderAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\EnumNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/EnumNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ExprBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ExprBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\FloatNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/FloatNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\IntegerNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/IntegerNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\MergeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/MergeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NodeParentInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NodeParentInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NormalizationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NormalizationBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\NumericNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/NumericNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ParentNodeDefinitionInterface' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ScalarNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ScalarNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\TreeBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/TreeBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\ValidationBuilder' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/ValidationBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Builder\\VariableNodeDefinition' => __DIR__ . '/..' . '/symfony/config/Definition/Builder/VariableNodeDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ConfigurationInterface' => __DIR__ . '/..' . '/symfony/config/Definition/ConfigurationInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Dumper\\XmlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/XmlReferenceDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Dumper\\YamlReferenceDumper' => __DIR__ . '/..' . '/symfony/config/Definition/Dumper/YamlReferenceDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\EnumNode' => __DIR__ . '/..' . '/symfony/config/Definition/EnumNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\DuplicateKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/DuplicateKeyException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\Exception' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/Exception.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\ForbiddenOverwriteException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/ForbiddenOverwriteException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidConfigurationException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidConfigurationException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidDefinitionException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidDefinitionException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\InvalidTypeException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/InvalidTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Exception\\UnsetKeyException' => __DIR__ . '/..' . '/symfony/config/Definition/Exception/UnsetKeyException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\FloatNode' => __DIR__ . '/..' . '/symfony/config/Definition/FloatNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\IntegerNode' => __DIR__ . '/..' . '/symfony/config/Definition/IntegerNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\NodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/NodeInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\NumericNode' => __DIR__ . '/..' . '/symfony/config/Definition/NumericNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\Processor' => __DIR__ . '/..' . '/symfony/config/Definition/Processor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\PrototypeNodeInterface' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypeNodeInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\PrototypedArrayNode' => __DIR__ . '/..' . '/symfony/config/Definition/PrototypedArrayNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\ScalarNode' => __DIR__ . '/..' . '/symfony/config/Definition/ScalarNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Definition\\VariableNode' => __DIR__ . '/..' . '/symfony/config/Definition/VariableNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\FileLoaderImportCircularReferenceException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLoaderImportCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\FileLocatorFileNotFoundException' => __DIR__ . '/..' . '/symfony/config/Exception/FileLocatorFileNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Exception\\LoaderLoadException' => __DIR__ . '/..' . '/symfony/config/Exception/LoaderLoadException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\FileLocator' => __DIR__ . '/..' . '/symfony/config/FileLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\FileLocatorInterface' => __DIR__ . '/..' . '/symfony/config/FileLocatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\DelegatingLoader' => __DIR__ . '/..' . '/symfony/config/Loader/DelegatingLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/FileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/config/Loader/GlobFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\Loader' => __DIR__ . '/..' . '/symfony/config/Loader/Loader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderResolver' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolver.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\LoaderResolverInterface' => __DIR__ . '/..' . '/symfony/config/Loader/LoaderResolverInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Loader\\ParamConfigurator' => __DIR__ . '/..' . '/symfony/config/Loader/ParamConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerConfigCache' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCache.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerConfigCacheFactory' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerConfigCacheFactory.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\ResourceCheckerInterface' => __DIR__ . '/..' . '/symfony/config/ResourceCheckerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ClassExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/ClassExistenceResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ComposerResource' => __DIR__ . '/..' . '/symfony/config/Resource/ComposerResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\DirectoryResource' => __DIR__ . '/..' . '/symfony/config/Resource/DirectoryResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\FileExistenceResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileExistenceResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\FileResource' => __DIR__ . '/..' . '/symfony/config/Resource/FileResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\GlobResource' => __DIR__ . '/..' . '/symfony/config/Resource/GlobResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ReflectionClassResource' => __DIR__ . '/..' . '/symfony/config/Resource/ReflectionClassResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\ResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/ResourceInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceChecker' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceChecker.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Resource\\SelfCheckingResourceInterface' => __DIR__ . '/..' . '/symfony/config/Resource/SelfCheckingResourceInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\Exception\\InvalidXmlException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/InvalidXmlException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\Exception\\XmlParsingException' => __DIR__ . '/..' . '/symfony/config/Util/Exception/XmlParsingException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Config\\Util\\XmlUtils' => __DIR__ . '/..' . '/symfony/config/Util/XmlUtils.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Application' => __DIR__ . '/..' . '/symfony/console/Application.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Attribute\\AsCommand' => __DIR__ . '/..' . '/symfony/console/Attribute/AsCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CI\\GithubActionReporter' => __DIR__ . '/..' . '/symfony/console/CI/GithubActionReporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Color' => __DIR__ . '/..' . '/symfony/console/Color.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\CommandLoaderInterface' => __DIR__ . '/..' . '/symfony/console/CommandLoader/CommandLoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\ContainerCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/ContainerCommandLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\CommandLoader\\FactoryCommandLoader' => __DIR__ . '/..' . '/symfony/console/CommandLoader/FactoryCommandLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\Command' => __DIR__ . '/..' . '/symfony/console/Command/Command.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\CompleteCommand' => __DIR__ . '/..' . '/symfony/console/Command/CompleteCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\DumpCompletionCommand' => __DIR__ . '/..' . '/symfony/console/Command/DumpCompletionCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\HelpCommand' => __DIR__ . '/..' . '/symfony/console/Command/HelpCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\LazyCommand' => __DIR__ . '/..' . '/symfony/console/Command/LazyCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\ListCommand' => __DIR__ . '/..' . '/symfony/console/Command/ListCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\LockableTrait' => __DIR__ . '/..' . '/symfony/console/Command/LockableTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Command\\SignalableCommandInterface' => __DIR__ . '/..' . '/symfony/console/Command/SignalableCommandInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\CompletionInput' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\CompletionSuggestions' => __DIR__ . '/..' . '/symfony/console/Completion/CompletionSuggestions.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Output\\BashCompletionOutput' => __DIR__ . '/..' . '/symfony/console/Completion/Output/BashCompletionOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Output\\CompletionOutputInterface' => __DIR__ . '/..' . '/symfony/console/Completion/Output/CompletionOutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Completion\\Suggestion' => __DIR__ . '/..' . '/symfony/console/Completion/Suggestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\ConsoleEvents' => __DIR__ . '/..' . '/symfony/console/ConsoleEvents.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Cursor' => __DIR__ . '/..' . '/symfony/console/Cursor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\DependencyInjection\\AddConsoleCommandPass' => __DIR__ . '/..' . '/symfony/console/DependencyInjection/AddConsoleCommandPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\ApplicationDescription' => __DIR__ . '/..' . '/symfony/console/Descriptor/ApplicationDescription.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\Descriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/Descriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\DescriptorInterface' => __DIR__ . '/..' . '/symfony/console/Descriptor/DescriptorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\JsonDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/JsonDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\MarkdownDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/MarkdownDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\TextDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/TextDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Descriptor\\XmlDescriptor' => __DIR__ . '/..' . '/symfony/console/Descriptor/XmlDescriptor.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\EventListener\\ErrorListener' => __DIR__ . '/..' . '/symfony/console/EventListener/ErrorListener.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleCommandEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleCommandEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleErrorEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleErrorEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleSignalEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleSignalEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Event\\ConsoleTerminateEvent' => __DIR__ . '/..' . '/symfony/console/Event/ConsoleTerminateEvent.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\CommandNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/CommandNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/console/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\InvalidOptionException' => __DIR__ . '/..' . '/symfony/console/Exception/InvalidOptionException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/console/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\MissingInputException' => __DIR__ . '/..' . '/symfony/console/Exception/MissingInputException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\NamespaceNotFoundException' => __DIR__ . '/..' . '/symfony/console/Exception/NamespaceNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/console/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\NullOutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/NullOutputFormatterStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatter' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyle' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\OutputFormatterStyleStack' => __DIR__ . '/..' . '/symfony/console/Formatter/OutputFormatterStyleStack.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Formatter\\WrappableOutputFormatterInterface' => __DIR__ . '/..' . '/symfony/console/Formatter/WrappableOutputFormatterInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\DebugFormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DebugFormatterHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\DescriptorHelper' => __DIR__ . '/..' . '/symfony/console/Helper/DescriptorHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Dumper' => __DIR__ . '/..' . '/symfony/console/Helper/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\FormatterHelper' => __DIR__ . '/..' . '/symfony/console/Helper/FormatterHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Helper' => __DIR__ . '/..' . '/symfony/console/Helper/Helper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\HelperInterface' => __DIR__ . '/..' . '/symfony/console/Helper/HelperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\HelperSet' => __DIR__ . '/..' . '/symfony/console/Helper/HelperSet.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\InputAwareHelper' => __DIR__ . '/..' . '/symfony/console/Helper/InputAwareHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProcessHelper' => __DIR__ . '/..' . '/symfony/console/Helper/ProcessHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProgressBar' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressBar.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\ProgressIndicator' => __DIR__ . '/..' . '/symfony/console/Helper/ProgressIndicator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\QuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/QuestionHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\SymfonyQuestionHelper' => __DIR__ . '/..' . '/symfony/console/Helper/SymfonyQuestionHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\Table' => __DIR__ . '/..' . '/symfony/console/Helper/Table.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableCell' => __DIR__ . '/..' . '/symfony/console/Helper/TableCell.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableCellStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableCellStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableRows' => __DIR__ . '/..' . '/symfony/console/Helper/TableRows.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableSeparator' => __DIR__ . '/..' . '/symfony/console/Helper/TableSeparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Helper\\TableStyle' => __DIR__ . '/..' . '/symfony/console/Helper/TableStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\ArgvInput' => __DIR__ . '/..' . '/symfony/console/Input/ArgvInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\ArrayInput' => __DIR__ . '/..' . '/symfony/console/Input/ArrayInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\Input' => __DIR__ . '/..' . '/symfony/console/Input/Input.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputArgument' => __DIR__ . '/..' . '/symfony/console/Input/InputArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputAwareInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputDefinition' => __DIR__ . '/..' . '/symfony/console/Input/InputDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputInterface' => __DIR__ . '/..' . '/symfony/console/Input/InputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\InputOption' => __DIR__ . '/..' . '/symfony/console/Input/InputOption.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\StreamableInputInterface' => __DIR__ . '/..' . '/symfony/console/Input/StreamableInputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Input\\StringInput' => __DIR__ . '/..' . '/symfony/console/Input/StringInput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Logger\\ConsoleLogger' => __DIR__ . '/..' . '/symfony/console/Logger/ConsoleLogger.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\BufferedOutput' => __DIR__ . '/..' . '/symfony/console/Output/BufferedOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleOutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleOutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\ConsoleSectionOutput' => __DIR__ . '/..' . '/symfony/console/Output/ConsoleSectionOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\NullOutput' => __DIR__ . '/..' . '/symfony/console/Output/NullOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\Output' => __DIR__ . '/..' . '/symfony/console/Output/Output.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\OutputInterface' => __DIR__ . '/..' . '/symfony/console/Output/OutputInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\StreamOutput' => __DIR__ . '/..' . '/symfony/console/Output/StreamOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Output\\TrimmedBufferOutput' => __DIR__ . '/..' . '/symfony/console/Output/TrimmedBufferOutput.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\ChoiceQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ChoiceQuestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\ConfirmationQuestion' => __DIR__ . '/..' . '/symfony/console/Question/ConfirmationQuestion.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Question\\Question' => __DIR__ . '/..' . '/symfony/console/Question/Question.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\SignalRegistry\\SignalRegistry' => __DIR__ . '/..' . '/symfony/console/SignalRegistry/SignalRegistry.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\SingleCommandApplication' => __DIR__ . '/..' . '/symfony/console/SingleCommandApplication.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\OutputStyle' => __DIR__ . '/..' . '/symfony/console/Style/OutputStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\StyleInterface' => __DIR__ . '/..' . '/symfony/console/Style/StyleInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Style\\SymfonyStyle' => __DIR__ . '/..' . '/symfony/console/Style/SymfonyStyle.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Terminal' => __DIR__ . '/..' . '/symfony/console/Terminal.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\ApplicationTester' => __DIR__ . '/..' . '/symfony/console/Tester/ApplicationTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\CommandCompletionTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandCompletionTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\CommandTester' => __DIR__ . '/..' . '/symfony/console/Tester/CommandTester.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\Constraint\\CommandIsSuccessful' => __DIR__ . '/..' . '/symfony/console/Tester/Constraint/CommandIsSuccessful.php', + 'RectorPrefix20211130\\Symfony\\Component\\Console\\Tester\\TesterTrait' => __DIR__ . '/..' . '/symfony/console/Tester/TesterTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Alias' => __DIR__ . '/..' . '/symfony/dependency-injection/Alias.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\AbstractArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/AbstractArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ArgumentInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ArgumentInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\BoundArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/BoundArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\IteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/IteratorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ReferenceSetArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\RewindableGenerator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/RewindableGenerator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceClosureArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceClosureArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\ServiceLocatorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/ServiceLocatorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Argument\\TaggedIteratorArgument' => __DIR__ . '/..' . '/symfony/dependency-injection/Argument/TaggedIteratorArgument.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\AsTaggedItem' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AsTaggedItem.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\Autoconfigure' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Autoconfigure.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\AutoconfigureTag' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/AutoconfigureTag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedIterator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\TaggedLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/TaggedLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\Target' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/Target.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Attribute\\When' => __DIR__ . '/..' . '/symfony/dependency-injection/Attribute/When.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ChildDefinition' => __DIR__ . '/..' . '/symfony/dependency-injection/ChildDefinition.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AbstractRecursivePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AbstractRecursivePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AliasDeprecatedPublicServicesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AnalyzeServiceReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AttributeAutoconfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutoAliasServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutoAliasServicePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowirePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowirePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredMethodsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\AutowireRequiredPropertiesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckArgumentsValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckCircularReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckDefinitionValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckExceptionOnInvalidReferenceBehaviorPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckReferenceValidityPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CheckTypeDeclarationsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\Compiler' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/Compiler.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\CompilerPassInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/CompilerPassInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\DecoratorServicePass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DecoratorServicePass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\DefinitionErrorExceptionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ExtensionCompilerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\InlineServiceDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\MergeExtensionConfigurationPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\PassConfig' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PassConfig.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\PriorityTaggedServiceTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterAutoconfigureAttributesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterEnvVarProcessorsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterReverseContainerPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RegisterServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveAbstractDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemovePrivateAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\RemoveUnusedDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ReplaceAliasByActualDefinitionPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveBindingsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveBindingsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveChildDefinitionsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveClassPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveDecoratorStackPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveFactoryClassPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveHotPathPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveHotPathPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInstanceofConditionalsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveInvalidReferencesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNamedArgumentsPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveNoPreloadPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveParameterPlaceHoldersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolvePrivatesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveReferencesToAliasesPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveServiceSubscribersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ResolveTaggedIteratorArgumentPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceLocatorTagPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraph' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphEdge' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ServiceReferenceGraphNode' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Compiler\\ValidateEnvPlaceholdersPass' => __DIR__ . '/..' . '/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResource' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResource.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Config\\ContainerParametersResourceChecker' => __DIR__ . '/..' . '/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Container' => __DIR__ . '/..' . '/symfony/dependency-injection/Container.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerAwareInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerAwareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerAwareTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerBuilder' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerBuilder.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ContainerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Definition' => __DIR__ . '/..' . '/symfony/dependency-injection/Definition.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\Dumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/DumperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\GraphvizDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/GraphvizDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\PhpDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/PhpDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/Preloader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\XmlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/XmlDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\YamlDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/Dumper/YamlDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarLoaderInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarLoaderInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarProcessor' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessor.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\EnvVarProcessorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/EnvVarProcessorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\AutowiringFailedException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/AutowiringFailedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\BadMethodCallException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/BadMethodCallException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\EnvNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\EnvParameterException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/EnvParameterException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\InvalidParameterTypeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/InvalidParameterTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\OutOfBoundsException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/OutOfBoundsException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ParameterNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ParameterNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceCircularReferenceException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Exception\\ServiceNotFoundException' => __DIR__ . '/..' . '/symfony/dependency-injection/Exception/ServiceNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ExpressionLanguage' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguage.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ExpressionLanguageProvider' => __DIR__ . '/..' . '/symfony/dependency-injection/ExpressionLanguageProvider.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\ConfigurationExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\Extension' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/Extension.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/ExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Extension\\PrependExtensionInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/Extension/PrependExtensionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\InstantiatorInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\Instantiator\\RealServiceInstantiator' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\DumperInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\PhpDumper\\NullDumper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\LazyProxy\\ProxyHelper' => __DIR__ . '/..' . '/symfony/dependency-injection/LazyProxy/ProxyHelper.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\ClosureLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/ClosureLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AbstractServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\AliasConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ClosureReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\DefaultsConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\EnvConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InlineServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\InstanceofConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ParametersConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\PrototypeConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ReferenceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServiceConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ServicesConfigurator' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AbstractTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ArgumentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutoconfigureTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\AutowireTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\BindTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\CallTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ClassTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ConfiguratorTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DecorateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\DeprecateTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FactoryTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\FileTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\LazyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ParentTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PropertyTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\PublicTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\ShareTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\SyntheticTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\Traits\\TagTrait' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\DirectoryLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/DirectoryLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\FileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/FileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\GlobFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/GlobFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\IniFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/IniFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\PhpFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/PhpFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\XmlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/XmlFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\YamlFileLoader' => __DIR__ . '/..' . '/symfony/dependency-injection/Loader/YamlFileLoader.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Parameter' => __DIR__ . '/..' . '/symfony/dependency-injection/Parameter.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ContainerBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\EnvPlaceholderParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\FrozenParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBag' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBag.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ParameterBag\\ParameterBagInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Reference' => __DIR__ . '/..' . '/symfony/dependency-injection/Reference.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ReverseContainer' => __DIR__ . '/..' . '/symfony/dependency-injection/ReverseContainer.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\ServiceLocator' => __DIR__ . '/..' . '/symfony/dependency-injection/ServiceLocator.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\TaggedContainerInterface' => __DIR__ . '/..' . '/symfony/dependency-injection/TaggedContainerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\TypedReference' => __DIR__ . '/..' . '/symfony/dependency-injection/TypedReference.php', + 'RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Variable' => __DIR__ . '/..' . '/symfony/dependency-injection/Variable.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/FileNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\IOException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\IOExceptionInterface' => __DIR__ . '/..' . '/symfony/filesystem/Exception/IOExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/filesystem/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Filesystem' => __DIR__ . '/..' . '/symfony/filesystem/Filesystem.php', + 'RectorPrefix20211130\\Symfony\\Component\\Filesystem\\Path' => __DIR__ . '/..' . '/symfony/filesystem/Path.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\Comparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/Comparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\DateComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/DateComparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Comparator\\NumberComparator' => __DIR__ . '/..' . '/symfony/finder/Comparator/NumberComparator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Exception\\AccessDeniedException' => __DIR__ . '/..' . '/symfony/finder/Exception/AccessDeniedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symfony/finder/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Finder' => __DIR__ . '/..' . '/symfony/finder/Finder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Gitignore' => __DIR__ . '/..' . '/symfony/finder/Gitignore.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Glob' => __DIR__ . '/..' . '/symfony/finder/Glob.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\CustomFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/CustomFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\DateRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DateRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\DepthRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/DepthRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\ExcludeDirectoryFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FileTypeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FileTypeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FilecontentFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilecontentFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\FilenameFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/FilenameFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\LazyIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/LazyIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\MultiplePcreFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/MultiplePcreFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\PathFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/PathFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\RecursiveDirectoryIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/RecursiveDirectoryIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\SizeRangeFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SizeRangeFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\SortableIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/SortableIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\Iterator\\VcsIgnoredFilterIterator' => __DIR__ . '/..' . '/symfony/finder/Iterator/VcsIgnoredFilterIterator.php', + 'RectorPrefix20211130\\Symfony\\Component\\Finder\\SplFileInfo' => __DIR__ . '/..' . '/symfony/finder/SplFileInfo.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/process/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/process/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\LogicException' => __DIR__ . '/..' . '/symfony/process/Exception/LogicException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessFailedException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessFailedException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessSignaledException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessSignaledException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\ProcessTimedOutException' => __DIR__ . '/..' . '/symfony/process/Exception/ProcessTimedOutException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/process/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\ExecutableFinder' => __DIR__ . '/..' . '/symfony/process/ExecutableFinder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\InputStream' => __DIR__ . '/..' . '/symfony/process/InputStream.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\PhpExecutableFinder' => __DIR__ . '/..' . '/symfony/process/PhpExecutableFinder.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\PhpProcess' => __DIR__ . '/..' . '/symfony/process/PhpProcess.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\AbstractPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/AbstractPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\PipesInterface' => __DIR__ . '/..' . '/symfony/process/Pipes/PipesInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\UnixPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/UnixPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Pipes\\WindowsPipes' => __DIR__ . '/..' . '/symfony/process/Pipes/WindowsPipes.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\Process' => __DIR__ . '/..' . '/symfony/process/Process.php', + 'RectorPrefix20211130\\Symfony\\Component\\Process\\ProcessUtils' => __DIR__ . '/..' . '/symfony/process/ProcessUtils.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\AbstractString' => __DIR__ . '/..' . '/symfony/string/AbstractString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\AbstractUnicodeString' => __DIR__ . '/..' . '/symfony/string/AbstractUnicodeString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\ByteString' => __DIR__ . '/..' . '/symfony/string/ByteString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\CodePointString' => __DIR__ . '/..' . '/symfony/string/CodePointString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/string/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\InvalidArgumentException' => __DIR__ . '/..' . '/symfony/string/Exception/InvalidArgumentException.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/string/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\EnglishInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/EnglishInflector.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\FrenchInflector' => __DIR__ . '/..' . '/symfony/string/Inflector/FrenchInflector.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Inflector\\InflectorInterface' => __DIR__ . '/..' . '/symfony/string/Inflector/InflectorInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\LazyString' => __DIR__ . '/..' . '/symfony/string/LazyString.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Slugger\\AsciiSlugger' => __DIR__ . '/..' . '/symfony/string/Slugger/AsciiSlugger.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\Slugger\\SluggerInterface' => __DIR__ . '/..' . '/symfony/string/Slugger/SluggerInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\String\\UnicodeString' => __DIR__ . '/..' . '/symfony/string/UnicodeString.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\ClassNotFoundException' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/ClassNotFoundException.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Exception\\NotInstantiableTypeException' => __DIR__ . '/..' . '/symfony/var-exporter/Exception/NotInstantiableTypeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Instantiator' => __DIR__ . '/..' . '/symfony/var-exporter/Instantiator.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Exporter' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Exporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Hydrator' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Hydrator.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Reference' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Reference.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Registry' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Registry.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\Internal\\Values' => __DIR__ . '/..' . '/symfony/var-exporter/Internal/Values.php', + 'RectorPrefix20211130\\Symfony\\Component\\VarExporter\\VarExporter' => __DIR__ . '/..' . '/symfony/var-exporter/VarExporter.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Command\\LintCommand' => __DIR__ . '/..' . '/symfony/yaml/Command/LintCommand.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Dumper' => __DIR__ . '/..' . '/symfony/yaml/Dumper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Escaper' => __DIR__ . '/..' . '/symfony/yaml/Escaper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\DumpException' => __DIR__ . '/..' . '/symfony/yaml/Exception/DumpException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/yaml/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\ParseException' => __DIR__ . '/..' . '/symfony/yaml/Exception/ParseException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Exception\\RuntimeException' => __DIR__ . '/..' . '/symfony/yaml/Exception/RuntimeException.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Inline' => __DIR__ . '/..' . '/symfony/yaml/Inline.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Parser' => __DIR__ . '/..' . '/symfony/yaml/Parser.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Tag\\TaggedValue' => __DIR__ . '/..' . '/symfony/yaml/Tag/TaggedValue.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Unescaper' => __DIR__ . '/..' . '/symfony/yaml/Unescaper.php', + 'RectorPrefix20211130\\Symfony\\Component\\Yaml\\Yaml' => __DIR__ . '/..' . '/symfony/yaml/Yaml.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CacheTrait' => __DIR__ . '/..' . '/symfony/contracts/Cache/CacheTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\CallbackInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/CallbackInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\ItemInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/ItemInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Cache\\TagAwareCacheInterface' => __DIR__ . '/..' . '/symfony/contracts/Cache/TagAwareCacheInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\EventDispatcher\\Event' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/Event.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\EventDispatcher\\EventDispatcherInterface' => __DIR__ . '/..' . '/symfony/contracts/EventDispatcher/EventDispatcherInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ChunkInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ChunkInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ClientExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\DecodingExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\HttpExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\RedirectionExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\ServerExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\TimeoutExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Exception\\TransportExceptionInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\HttpClientInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/HttpClientInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ResponseInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\ResponseStreamInterface' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/ResponseStreamInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Test\\HttpClientTestCase' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/HttpClientTestCase.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\Test\\TestHttpServer' => __DIR__ . '/..' . '/symfony/contracts/HttpClient/Test/TestHttpServer.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Attribute\\Required' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/Required.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Attribute\\SubscribedService' => __DIR__ . '/..' . '/symfony/contracts/Service/Attribute/SubscribedService.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ResetInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ResetInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceLocatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceLocatorTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceProviderInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceProviderInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceSubscriberInterface' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\ServiceSubscriberTrait' => __DIR__ . '/..' . '/symfony/contracts/Service/ServiceSubscriberTrait.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Service\\Test\\ServiceLocatorTest' => __DIR__ . '/..' . '/symfony/contracts/Service/Test/ServiceLocatorTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Cache\\CacheTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Cache/CacheTraitTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Fixtures\\TestServiceSubscriberUnion' => __DIR__ . '/..' . '/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Tests\\Service\\ServiceSubscriberTraitTest' => __DIR__ . '/..' . '/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\LocaleAwareInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/LocaleAwareInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\Test\\TranslatorTest' => __DIR__ . '/..' . '/symfony/contracts/Translation/Test/TranslatorTest.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatableInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatableInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatorInterface' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorInterface.php', + 'RectorPrefix20211130\\Symfony\\Contracts\\Translation\\TranslatorTrait' => __DIR__ . '/..' . '/symfony/contracts/Translation/TranslatorTrait.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\Ctype' => __DIR__ . '/..' . '/symfony/polyfill-ctype/Ctype.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\Grapheme' => __DIR__ . '/..' . '/symfony/polyfill-intl-grapheme/Grapheme.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\Normalizer' => __DIR__ . '/..' . '/symfony/polyfill-intl-normalizer/Normalizer.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\Mbstring' => __DIR__ . '/..' . '/symfony/polyfill-mbstring/Mbstring.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\Php73' => __DIR__ . '/..' . '/symfony/polyfill-php73/Php73.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\Php80' => __DIR__ . '/..' . '/symfony/polyfill-php80/Php80.php', + 'RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\Php81' => __DIR__ . '/..' . '/symfony/polyfill-php81/Php81.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Contract\\NodeNameResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeNameResolverInterface.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Contract\\NodeValueResolver\\NodeValueResolverInterface' => __DIR__ . '/..' . '/symplify/astral/src/Contract/NodeValueResolver/NodeValueResolverInterface.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/astral/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Naming\\SimpleNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/Naming/SimpleNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeAnalyzer\\NetteTypeAnalyzer' => __DIR__ . '/..' . '/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeFinder\\SimpleNodeFinder' => __DIR__ . '/..' . '/symplify/astral/src/NodeFinder/SimpleNodeFinder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ArgNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\AttributeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/AttributeNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ClassLikeNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassLikeNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ClassMethodNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ClassMethodNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ConstFetchNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ConstFetchNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\FuncCallNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/FuncCallNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\IdentifierNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/IdentifierNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\NamespaceNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/NamespaceNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\ParamNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/ParamNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeNameResolver\\PropertyNodeNameResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeNameResolver/PropertyNodeNameResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeTraverser\\SimpleCallableNodeTraverser' => __DIR__ . '/..' . '/symplify/astral/src/NodeTraverser/SimpleCallableNodeTraverser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ClassConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\ConstFetchValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\FuncCallValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\NodeValueResolver\\MagicConstValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeValue\\UnionTypeValueResolver' => __DIR__ . '/..' . '/symplify/astral/src/NodeValue/UnionTypeValueResolver.php', + 'RectorPrefix20211130\\Symplify\\Astral\\NodeVisitor\\CallableNodeVisitor' => __DIR__ . '/..' . '/symplify/astral/src/NodeVisitor/CallableNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\Astral\\PhpParser\\SmartPhpParser' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\PhpParser\\SmartPhpParserFactory' => __DIR__ . '/..' . '/symplify/astral/src/PhpParser/SmartPhpParserFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\Reflection\\ReflectionParser' => __DIR__ . '/..' . '/symplify/astral/src/Reflection/ReflectionParser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\StaticFactory\\NodeValueResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\StaticFactory\\SimpleNameResolverStaticFactory' => __DIR__ . '/..' . '/symplify/astral/src/StaticFactory/SimpleNameResolverStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\Astral\\TypeAnalyzer\\ContainsTypeAnalyser' => __DIR__ . '/..' . '/symplify/astral/src/TypeAnalyzer/ContainsTypeAnalyser.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\AstralConfig' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AstralConfig.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\AttributeKey' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/AttributeKey.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ClassBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ClassBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\MethodBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/MethodBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\NamespaceBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/NamespaceBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\ParamBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/ParamBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\PropertyBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/PropertyBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\TraitUseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/TraitUseBuilder.php', + 'RectorPrefix20211130\\Symplify\\Astral\\ValueObject\\NodeBuilder\\UseBuilder' => __DIR__ . '/..' . '/symplify/astral/src/ValueObject/NodeBuilder/UseBuilder.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DependencyInjection\\CompilerPass\\AutowireArrayParameterCompilerPass' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/CompilerPass/AutowireArrayParameterCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DependencyInjection\\DefinitionFinder' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\DocBlock\\ParamTypeDocBlockResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\Exception\\DependencyInjection\\DefinitionForTypeNotFoundException' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Exception/DependencyInjection/DefinitionForTypeNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\Skipper\\ParameterSkipper' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/Skipper/ParameterSkipper.php', + 'RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\TypeResolver\\ParameterTypeResolver' => __DIR__ . '/..' . '/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ComposerJsonFactory' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ComposerJsonFactory.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\FileSystem\\JsonFileManager' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Json\\JsonCleaner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonCleaner.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Json\\JsonInliner' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Json/JsonInliner.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Printer\\ComposerJsonPrinter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Sorter\\ComposerPackageSorter' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonManipulatorConfig' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJsonSection' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonSection.php', + 'RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/composer-json-manipulator/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Console\\Formatter\\ColorConsoleDiffFormatter' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Console\\Output\\ConsoleDiffer' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\Diff\\Output\\CompleteUnifiedDiffOutputBuilderFactory' => __DIR__ . '/..' . '/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php', + 'RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\ValueObject\\ConsoleColorDiffConfig' => __DIR__ . '/..' . '/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\CommandLine\\WorkerCommandLineFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Contract\\SerializableInterface' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Contract/SerializableInterface.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\CpuCoreCountProvider' => __DIR__ . '/..' . '/symplify/easy-parallel/src/CpuCoreCountProvider.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\Action' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Action.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\Content' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/Content.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\ReactCommand' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactCommand.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Enum\\ReactEvent' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Enum/ReactEvent.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Exception\\ParallelShouldNotHappenException' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Exception/ParallelShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\FileSystem\\FilePathNormalizer' => __DIR__ . '/..' . '/symplify/easy-parallel/src/FileSystem/FilePathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\Reflection\\CommandFromReflectionFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/Reflection/CommandFromReflectionFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ScheduleFactory' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ScheduleFactory.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\EasyParallelConfig' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\ParallelProcess' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ParallelProcess.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\ProcessPool' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/ProcessPool.php', + 'RectorPrefix20211130\\Symplify\\EasyParallel\\ValueObject\\Schedule' => __DIR__ . '/..' . '/symplify/easy-parallel/src/ValueObject/Schedule.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Command\\ValidateFixtureSkipNamingCommand' => __DIR__ . '/..' . '/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Console\\EasyTestingConsoleApplication' => __DIR__ . '/..' . '/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\DataProvider\\StaticFixtureUpdater' => __DIR__ . '/..' . '/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Finder\\FixtureFinder' => __DIR__ . '/..' . '/symplify/easy-testing/src/Finder/FixtureFinder.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\FixtureSplitter\\TrioFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\Kernel\\EasyTestingKernel' => __DIR__ . '/..' . '/symplify/easy-testing/src/Kernel/EasyTestingKernel.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\MissplacedSkipPrefixResolver' => __DIR__ . '/..' . '/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\PHPUnit\\Behavior\\DirectoryAssertableTrait' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\PHPUnit\\StaticPHPUnitEnvironment' => __DIR__ . '/..' . '/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\StaticFixtureSplitter' => __DIR__ . '/..' . '/symplify/easy-testing/src/StaticFixtureSplitter.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\EasyTestingConfig' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\ExpectedAndOutputFileInfoPair' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/ExpectedAndOutputFileInfoPair.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\FixtureSplit\\TrioContent' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputAndExpected.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpected' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpected.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\InputFileInfoAndExpectedFileInfo' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/InputFileInfoAndExpectedFileInfo.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\Prefix' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/Prefix.php', + 'RectorPrefix20211130\\Symplify\\EasyTesting\\ValueObject\\SplitLine' => __DIR__ . '/..' . '/symplify/easy-testing/src/ValueObject/SplitLine.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Composer\\VendorDirProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Composer/VendorDirProvider.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Configuration\\StaticEolConfiguration' => __DIR__ . '/..' . '/symplify/package-builder/src/Configuration/StaticEolConfiguration.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Command\\AbstractSymplifyCommand' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/AbstractSymplifyCommand.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Command\\CommandNaming' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Command/CommandNaming.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Input\\StaticInputDetector' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Input/StaticInputDetector.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Console\\Style\\SymfonyStyleFactory' => __DIR__ . '/..' . '/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\DependencyInjection\\CompilerPass\\AutowireInterfacesCompilerPass' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\DependencyInjection\\FileLoader\\ParameterMergingPhpFileLoader' => __DIR__ . '/..' . '/symplify/package-builder/src/DependencyInjection/FileLoader/ParameterMergingPhpFileLoader.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Exception\\HttpKernel\\MissingInterfaceException' => __DIR__ . '/..' . '/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Matcher\\ArrayStringAndFnMatcher' => __DIR__ . '/..' . '/symplify/package-builder/src/Matcher/ArrayStringAndFnMatcher.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Neon\\NeonPrinter' => __DIR__ . '/..' . '/symplify/package-builder/src/Neon/NeonPrinter.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Parameter\\ParameterProvider' => __DIR__ . '/..' . '/symplify/package-builder/src/Parameter/ParameterProvider.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Php\\TypeChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Php/TypeChecker.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\ClassLikeExistenceChecker' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/ClassLikeExistenceChecker.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\PrivatesAccessor' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesAccessor.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Reflection\\PrivatesCaller' => __DIR__ . '/..' . '/symplify/package-builder/src/Reflection/PrivatesCaller.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Strings\\StringFormatConverter' => __DIR__ . '/..' . '/symplify/package-builder/src/Strings/StringFormatConverter.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Testing\\AbstractKernelTestCase' => __DIR__ . '/..' . '/symplify/package-builder/src/Testing/AbstractKernelTestCase.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\ValueObject\\MethodName' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/MethodName.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/package-builder/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\PackageBuilder\\Yaml\\ParametersMerger' => __DIR__ . '/..' . '/symplify/package-builder/src/Yaml/ParametersMerger.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\Contract\\PhpDocNodeVisitorInterface' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\Exception\\InvalidTraverseException' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/Exception/InvalidTraverseException.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeTraverser' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeTraverser.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\AbstractPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CallablePhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\CloningPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/CloningPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\PhpDocNodeVisitor\\ParentConnectingPhpDocNodeVisitor' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\SimplePhpDocParser' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\StaticFactory\\SimplePhpDocParserStaticFactory' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\Ast\\PhpDoc\\SimplePhpDocNode' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/Ast/PhpDoc/SimplePhpDocNode.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\PhpDocAttributeKey' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/PhpDocAttributeKey.php', + 'RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\ValueObject\\SimplePhpDocParserConfig' => __DIR__ . '/..' . '/symplify/simple-php-doc-parser/src/ValueObject/SimplePhpDocParserConfig.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Contract\\SkipVoterInterface' => __DIR__ . '/..' . '/symplify/skipper/src/Contract/SkipVoterInterface.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\FileSystem\\FnMatchPathNormalizer' => __DIR__ . '/..' . '/symplify/skipper/src/FileSystem/FnMatchPathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Matcher\\FileInfoMatcher' => __DIR__ . '/..' . '/symplify/skipper/src/Matcher/FileInfoMatcher.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassAndCodesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedClassResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedMessagesResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipCriteriaResolver\\SkippedPathsResolver' => __DIR__ . '/..' . '/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\ClassAndCodeSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\ClassSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/ClassSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\MessageSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/MessageSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\SkipVoter\\PathSkipVoter' => __DIR__ . '/..' . '/symplify/skipper/src/SkipVoter/PathSkipVoter.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\OnlySkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/OnlySkipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\SkipSkipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/SkipSkipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\Skipper\\Skipper' => __DIR__ . '/..' . '/symplify/skipper/src/Skipper/Skipper.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\ValueObject\\Option' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/Option.php', + 'RectorPrefix20211130\\Symplify\\Skipper\\ValueObject\\SkipperConfig' => __DIR__ . '/..' . '/symplify/skipper/src/ValueObject/SkipperConfig.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Exception\\DirectoryNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/DirectoryNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Exception\\FileNotFoundException' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Exception/FileNotFoundException.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\FileSystemFilter' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemFilter.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\FileSystemGuard' => __DIR__ . '/..' . '/symplify/smart-file-system/src/FileSystemGuard.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Finder\\FinderSanitizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/FinderSanitizer.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Finder\\SmartFinder' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Finder/SmartFinder.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Json\\JsonFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Json/JsonFileSystem.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\Normalizer\\PathNormalizer' => __DIR__ . '/..' . '/symplify/smart-file-system/src/Normalizer/PathNormalizer.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\SmartFileInfo' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileInfo.php', + 'RectorPrefix20211130\\Symplify\\SmartFileSystem\\SmartFileSystem' => __DIR__ . '/..' . '/symplify/smart-file-system/src/SmartFileSystem.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Config\\Loader\\ParameterMergingLoaderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ContainerBuilderFactory' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ContainerBuilderFactory.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Contract\\Config\\LoaderFactoryInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Contract\\LightKernelInterface' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Contract/LightKernelInterface.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\DependencyInjection\\LoadExtensionConfigsCompilerPass' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/DependencyInjection/LoadExtensionConfigsCompilerPass.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Exception\\BootException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/BootException.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\Exception\\ShouldNotHappenException' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/Exception/ShouldNotHappenException.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\HttpKernel\\AbstractSymplifyKernel' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/HttpKernel/AbstractSymplifyKernel.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ValueObject\\KernelBootAndApplicationRun' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php', + 'RectorPrefix20211130\\Symplify\\SymplifyKernel\\ValueObject\\SymplifyKernelConfig' => __DIR__ . '/..' . '/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Command\\GenerateCommand' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Command/GenerateCommand.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Composer\\ComposerPatchesConfigurationUpdater' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Composer\\PackageNameResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Composer/PackageNameResolver.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Console\\GenerateCommandReporter' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/GenerateCommandReporter.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Console\\VendorPatchesConsoleApplication' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Differ\\PatchDiffer' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Differ/PatchDiffer.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\FileSystem\\PathResolver' => __DIR__ . '/..' . '/symplify/vendor-patches/src/FileSystem/PathResolver.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Finder\\OldToNewFilesFinder' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\Kernel\\VendorPatchesKernel' => __DIR__ . '/..' . '/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\PatchFileFactory' => __DIR__ . '/..' . '/symplify/vendor-patches/src/PatchFileFactory.php', + 'RectorPrefix20211130\\Symplify\\VendorPatches\\ValueObject\\OldAndNewFileInfo' => __DIR__ . '/..' . '/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php', + 'RectorPrefix20211130\\Tracy\\Bar' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/Bar.php', + 'RectorPrefix20211130\\Tracy\\BlueScreen' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\Bridge' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/Bridge.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\MailSender' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/MailSender.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Nette\\TracyExtension' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Nette/TracyExtension.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Psr\\PsrToTracyLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php', + 'RectorPrefix20211130\\Tracy\\Bridges\\Psr\\TracyToPsrLoggerAdapter' => __DIR__ . '/..' . '/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php', + 'RectorPrefix20211130\\Tracy\\Debugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Debugger/Debugger.php', + 'RectorPrefix20211130\\Tracy\\DefaultBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php', + 'RectorPrefix20211130\\Tracy\\Dumper' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Dumper.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Describer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Describer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Exposer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Exposer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Renderer' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Renderer.php', + 'RectorPrefix20211130\\Tracy\\Dumper\\Value' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Dumper/Value.php', + 'RectorPrefix20211130\\Tracy\\FireLogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/FireLogger.php', + 'RectorPrefix20211130\\Tracy\\Helpers' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Helpers.php', + 'RectorPrefix20211130\\Tracy\\IBarPanel' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Bar/IBarPanel.php', + 'RectorPrefix20211130\\Tracy\\ILogger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/ILogger.php', + 'RectorPrefix20211130\\Tracy\\Logger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/Logger/Logger.php', + 'RectorPrefix20211130\\Tracy\\OutputDebugger' => __DIR__ . '/..' . '/tracy/tracy/src/Tracy/OutputDebugger/OutputDebugger.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\Assert' => __DIR__ . '/..' . '/webmozart/assert/src/Assert.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\InvalidArgumentException' => __DIR__ . '/..' . '/webmozart/assert/src/InvalidArgumentException.php', + 'RectorPrefix20211130\\Webmozart\\Assert\\Mixin' => __DIR__ . '/..' . '/webmozart/assert/src/Mixin.php', + 'RectorPrefix20211130\\cweagans\\Composer\\PatchEvent' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvent.php', + 'RectorPrefix20211130\\cweagans\\Composer\\PatchEvents' => __DIR__ . '/..' . '/cweagans/composer-patches/src/PatchEvents.php', + 'RectorPrefix20211130\\cweagans\\Composer\\Patches' => __DIR__ . '/..' . '/cweagans/composer-patches/src/Patches.php', 'Rector\\Arguments\\ArgumentDefaultValueReplacer' => __DIR__ . '/../..' . '/rules/Arguments/ArgumentDefaultValueReplacer.php', 'Rector\\Arguments\\Contract\\ReplaceArgumentDefaultValueInterface' => __DIR__ . '/../..' . '/rules/Arguments/Contract/ReplaceArgumentDefaultValueInterface.php', 'Rector\\Arguments\\NodeAnalyzer\\ArgumentAddingScope' => __DIR__ . '/../..' . '/rules/Arguments/NodeAnalyzer/ArgumentAddingScope.php', @@ -2406,6 +2419,7 @@ class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 'Rector\\DowngradePhp80\\Rector\\FunctionLike\\DowngradeUnionTypeDeclarationRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/FunctionLike/DowngradeUnionTypeDeclarationRector.php', 'Rector\\DowngradePhp80\\Rector\\Instanceof_\\DowngradePhp80ResourceReturnToObjectRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/Instanceof_/DowngradePhp80ResourceReturnToObjectRector.php', 'Rector\\DowngradePhp80\\Rector\\MethodCall\\DowngradeNamedArgumentRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/MethodCall/DowngradeNamedArgumentRector.php', + 'Rector\\DowngradePhp80\\Rector\\New_\\DowngradeArbitraryExpressionsSupportRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/New_/DowngradeArbitraryExpressionsSupportRector.php', 'Rector\\DowngradePhp80\\Rector\\NullsafeMethodCall\\DowngradeNullsafeToTernaryOperatorRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/NullsafeMethodCall/DowngradeNullsafeToTernaryOperatorRector.php', 'Rector\\DowngradePhp80\\Rector\\Property\\DowngradeUnionTypeTypedPropertyRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/Property/DowngradeUnionTypeTypedPropertyRector.php', 'Rector\\DowngradePhp80\\Rector\\StaticCall\\DowngradePhpTokenRector' => __DIR__ . '/../..' . '/rules/DowngradePhp80/Rector/StaticCall/DowngradePhpTokenRector.php', @@ -3775,9 +3789,9 @@ class ComposerStaticInitff30269c2f4719ad9043c1ad4459d919 public static function getInitializer(ClassLoader $loader) { return \Closure::bind(function () use ($loader) { - $loader->prefixLengthsPsr4 = ComposerStaticInitff30269c2f4719ad9043c1ad4459d919::$prefixLengthsPsr4; - $loader->prefixDirsPsr4 = ComposerStaticInitff30269c2f4719ad9043c1ad4459d919::$prefixDirsPsr4; - $loader->classMap = ComposerStaticInitff30269c2f4719ad9043c1ad4459d919::$classMap; + $loader->prefixLengthsPsr4 = ComposerStaticInitb8d662794f5de5f0d235536c500a2811::$prefixLengthsPsr4; + $loader->prefixDirsPsr4 = ComposerStaticInitb8d662794f5de5f0d235536c500a2811::$prefixDirsPsr4; + $loader->classMap = ComposerStaticInitb8d662794f5de5f0d235536c500a2811::$classMap; }, null, ClassLoader::class); } diff --git a/vendor/composer/installed.json b/vendor/composer/installed.json index acdb53d30c1..d77899aa945 100644 --- a/vendor/composer/installed.json +++ b/vendor/composer/installed.json @@ -28,7 +28,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Clue\\React\\NDJson\\": "src\/" + "RectorPrefix20211130\\Clue\\React\\NDJson\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -99,7 +99,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Composer\\Semver\\": "src" + "RectorPrefix20211130\\Composer\\Semver\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -179,7 +179,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Composer\\XdebugHandler\\": "src" + "RectorPrefix20211130\\Composer\\XdebugHandler\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -249,7 +249,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\cweagans\\Composer\\": "src" + "RectorPrefix20211130\\cweagans\\Composer\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -296,7 +296,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Stringy\\": "src\/" + "RectorPrefix20211130\\Stringy\\": "src\/" }, "files": [ "src\/Create.php" @@ -363,7 +363,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" + "RectorPrefix20211130\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -466,7 +466,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Ergebnis\\Json\\Printer\\": "src\/" + "RectorPrefix20211130\\Ergebnis\\Json\\Printer\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -524,7 +524,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Evenement\\": "src\/Evenement\/" + "RectorPrefix20211130\\Evenement\\": "src\/Evenement\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -580,7 +580,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Helmich\\TypoScriptParser\\": "src\/" + "RectorPrefix20211130\\Helmich\\TypoScriptParser\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -644,7 +644,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\": "src" + "RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -693,7 +693,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\MyCLabs\\Enum\\": "src\/" + "RectorPrefix20211130\\MyCLabs\\Enum\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1150,7 +1150,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Psr\\Cache\\": "src\/" + "RectorPrefix20211130\\Psr\\Cache\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1197,7 +1197,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Psr\\Container\\": "src\/" + "RectorPrefix20211130\\Psr\\Container\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1253,7 +1253,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Psr\\EventDispatcher\\": "src\/" + "RectorPrefix20211130\\Psr\\EventDispatcher\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1306,7 +1306,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Psr\\Http\\Message\\": "src\/" + "RectorPrefix20211130\\Psr\\Http\\Message\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1362,7 +1362,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Psr\\Log\\": "src" + "RectorPrefix20211130\\Psr\\Log\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1414,7 +1414,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Cache\\": "src\/" + "RectorPrefix20211130\\React\\Cache\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1497,7 +1497,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\ChildProcess\\": "src" + "RectorPrefix20211130\\React\\ChildProcess\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1579,7 +1579,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Dns\\": "src" + "RectorPrefix20211130\\React\\Dns\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1662,7 +1662,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\EventLoop\\": "src" + "RectorPrefix20211130\\React\\EventLoop\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1738,7 +1738,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Promise\\": "src\/" + "RectorPrefix20211130\\React\\Promise\\": "src\/" }, "files": [ "src\/functions_include.php" @@ -1793,7 +1793,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Promise\\Timer\\": "src\/" + "RectorPrefix20211130\\React\\Promise\\Timer\\": "src\/" }, "files": [ "src\/functions_include.php" @@ -1885,7 +1885,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Socket\\": "src" + "RectorPrefix20211130\\React\\Socket\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -1967,7 +1967,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Stream\\": "src" + "RectorPrefix20211130\\React\\Stream\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -2690,23 +2690,23 @@ }, { "name": "symfony\/config", - "version": "v5.3.11", - "version_normalized": "5.3.11.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/config.git", - "reference": "f080af00c441f1df40cf5c269707fdebe5740557" + "reference": "e39cf688c80fd79ab0a6a2d05a9facac9b2d534b" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/config\/zipball\/f080af00c441f1df40cf5c269707fdebe5740557", - "reference": "f080af00c441f1df40cf5c269707fdebe5740557", + "url": "https:\/\/api.github.com\/repos\/symfony\/config\/zipball\/e39cf688c80fd79ab0a6a2d05a9facac9b2d534b", + "reference": "e39cf688c80fd79ab0a6a2d05a9facac9b2d534b", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", - "symfony\/filesystem": "^4.4|^5.0", + "symfony\/deprecation-contracts": "^2.1|^3", + "symfony\/filesystem": "^4.4|^5.0|^6.0", "symfony\/polyfill-ctype": "~1.8", "symfony\/polyfill-php80": "^1.16", "symfony\/polyfill-php81": "^1.22" @@ -2715,21 +2715,21 @@ "symfony\/finder": "<4.4" }, "require-dev": { - "symfony\/event-dispatcher": "^4.4|^5.0", - "symfony\/finder": "^4.4|^5.0", - "symfony\/messenger": "^4.4|^5.0", - "symfony\/service-contracts": "^1.1|^2", - "symfony\/yaml": "^4.4|^5.0" + "symfony\/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony\/finder": "^4.4|^5.0|^6.0", + "symfony\/messenger": "^4.4|^5.0|^6.0", + "symfony\/service-contracts": "^1.1|^2|^3", + "symfony\/yaml": "^4.4|^5.0|^6.0" }, "suggest": { "symfony\/yaml": "To use the yaml reference dumper" }, - "time": "2021-10-29T16:05:40+00:00", + "time": "2021-11-28T15:25:38+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Config\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Config\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -2752,7 +2752,7 @@ "description": "Helps you find, load, combine, autofill and validate configuration values of any kind", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/config\/tree\/v5.3.11" + "source": "https:\/\/github.com\/symfony\/config\/tree\/v5.4.0" }, "funding": [ { @@ -2772,29 +2772,30 @@ }, { "name": "symfony\/console", - "version": "v5.3.11", - "version_normalized": "5.3.11.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/console.git", - "reference": "3e7ab8f5905058984899b05a4648096f558bfeba" + "reference": "ec3661faca1d110d6c307e124b44f99ac54179e3" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/console\/zipball\/3e7ab8f5905058984899b05a4648096f558bfeba", - "reference": "3e7ab8f5905058984899b05a4648096f558bfeba", + "url": "https:\/\/api.github.com\/repos\/symfony\/console\/zipball\/ec3661faca1d110d6c307e124b44f99ac54179e3", + "reference": "ec3661faca1d110d6c307e124b44f99ac54179e3", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-mbstring": "~1.0", "symfony\/polyfill-php73": "^1.8", "symfony\/polyfill-php80": "^1.16", - "symfony\/service-contracts": "^1.1|^2", - "symfony\/string": "^5.1" + "symfony\/service-contracts": "^1.1|^2|^3", + "symfony\/string": "^5.1|^6.0" }, "conflict": { + "psr\/log": ">=3", "symfony\/dependency-injection": "<4.4", "symfony\/dotenv": "<5.1", "symfony\/event-dispatcher": "<4.4", @@ -2806,12 +2807,12 @@ }, "require-dev": { "psr\/log": "^1|^2", - "symfony\/config": "^4.4|^5.0", - "symfony\/dependency-injection": "^4.4|^5.0", - "symfony\/event-dispatcher": "^4.4|^5.0", - "symfony\/lock": "^4.4|^5.0", - "symfony\/process": "^4.4|^5.0", - "symfony\/var-dumper": "^4.4|^5.0" + "symfony\/config": "^4.4|^5.0|^6.0", + "symfony\/dependency-injection": "^4.4|^5.0|^6.0", + "symfony\/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony\/lock": "^4.4|^5.0|^6.0", + "symfony\/process": "^4.4|^5.0|^6.0", + "symfony\/var-dumper": "^4.4|^5.0|^6.0" }, "suggest": { "psr\/log": "For using the console logger", @@ -2819,12 +2820,12 @@ "symfony\/lock": "", "symfony\/process": "" }, - "time": "2021-11-21T19:41:05+00:00", + "time": "2021-11-29T15:30:56+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Console\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Console\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -2853,7 +2854,7 @@ "terminal" ], "support": { - "source": "https:\/\/github.com\/symfony\/console\/tree\/v5.3.11" + "source": "https:\/\/github.com\/symfony\/console\/tree\/v5.4.0" }, "funding": [ { @@ -2923,7 +2924,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\": "" }, "files": [ "Deprecation\/function.php" @@ -2977,24 +2978,25 @@ }, { "name": "symfony\/dependency-injection", - "version": "v5.3.11", - "version_normalized": "5.3.11.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/dependency-injection.git", - "reference": "3793617321eb39b2e8e708f6fd61f875ec5f0ed6" + "reference": "69c398723857bb19fdea78496cedea0f756decab" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/dependency-injection\/zipball\/3793617321eb39b2e8e708f6fd61f875ec5f0ed6", - "reference": "3793617321eb39b2e8e708f6fd61f875ec5f0ed6", + "url": "https:\/\/api.github.com\/repos\/symfony\/dependency-injection\/zipball\/69c398723857bb19fdea78496cedea0f756decab", + "reference": "69c398723857bb19fdea78496cedea0f756decab", "shasum": "" }, "require": { "php": ">=7.2.5", "psr\/container": "^1.1.1", - "symfony\/deprecation-contracts": "^2.1", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-php80": "^1.16", + "symfony\/polyfill-php81": "^1.22", "symfony\/service-contracts": "^1.1.6|^2" }, "conflict": { @@ -3009,9 +3011,9 @@ "symfony\/service-implementation": "1.0|2.0" }, "require-dev": { - "symfony\/config": "^5.3", - "symfony\/expression-language": "^4.4|^5.0", - "symfony\/yaml": "^4.4|^5.0" + "symfony\/config": "^5.3|^6.0", + "symfony\/expression-language": "^4.4|^5.0|^6.0", + "symfony\/yaml": "^4.4|^5.0|^6.0" }, "suggest": { "symfony\/config": "", @@ -3020,7 +3022,7 @@ "symfony\/proxy-manager-bridge": "Generate service proxies to lazy load them", "symfony\/yaml": "" }, - "time": "2021-11-17T12:16:12+00:00", + "time": "2021-11-29T15:30:56+00:00", "type": "library", "extra": { "patches_applied": [ @@ -3030,7 +3032,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\": "" + "RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3053,7 +3055,7 @@ "description": "Allows you to standardize and centralize the way objects are constructed in your application", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/dependency-injection\/tree\/v5.3.11" + "source": "https:\/\/github.com\/symfony\/dependency-injection\/tree\/v5.4.0" }, "funding": [ { @@ -3073,30 +3075,31 @@ }, { "name": "symfony\/filesystem", - "version": "v5.3.4", - "version_normalized": "5.3.4.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/filesystem.git", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32" + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/filesystem\/zipball\/343f4fe324383ca46792cae728a3b6e2f708fb32", - "reference": "343f4fe324383ca46792cae728a3b6e2f708fb32", + "url": "https:\/\/api.github.com\/repos\/symfony\/filesystem\/zipball\/731f917dc31edcffec2c6a777f3698c33bea8f01", + "reference": "731f917dc31edcffec2c6a777f3698c33bea8f01", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony\/polyfill-ctype": "~1.8", + "symfony\/polyfill-mbstring": "~1.8", "symfony\/polyfill-php80": "^1.16" }, - "time": "2021-07-21T12:40:44+00:00", + "time": "2021-10-28T13:39:27+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Filesystem\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3119,7 +3122,7 @@ "description": "Provides basic utilities for the filesystem", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/filesystem\/tree\/v5.3.4" + "source": "https:\/\/github.com\/symfony\/filesystem\/tree\/v5.4.0" }, "funding": [ { @@ -3139,29 +3142,30 @@ }, { "name": "symfony\/finder", - "version": "v5.3.7", - "version_normalized": "5.3.7.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/finder.git", - "reference": "a10000ada1e600d109a6c7632e9ac42e8bf2fb93" + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/finder\/zipball\/a10000ada1e600d109a6c7632e9ac42e8bf2fb93", - "reference": "a10000ada1e600d109a6c7632e9ac42e8bf2fb93", + "url": "https:\/\/api.github.com\/repos\/symfony\/finder\/zipball\/d2f29dac98e96a98be467627bd49c2efb1bc2590", + "reference": "d2f29dac98e96a98be467627bd49c2efb1bc2590", "shasum": "" }, "require": { "php": ">=7.2.5", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-php80": "^1.16" }, - "time": "2021-08-04T21:20:46+00:00", + "time": "2021-11-28T15:25:38+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Finder\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3184,7 +3188,7 @@ "description": "Finds files and directories via an intuitive fluent interface", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/finder\/tree\/v5.3.7" + "source": "https:\/\/github.com\/symfony\/finder\/tree\/v5.4.0" }, "funding": [ { @@ -3237,7 +3241,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\": "" }, "files": [ "bootstrap.php" @@ -3319,7 +3323,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, "files": [ "bootstrap.php" @@ -3403,7 +3407,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, "files": [ "bootstrap.php" @@ -3490,7 +3494,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\": "" }, "files": [ "bootstrap.php" @@ -3570,7 +3574,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\": "" }, "files": [ "bootstrap.php" @@ -3652,7 +3656,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" @@ -3738,7 +3742,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\": "" }, "files": [ "bootstrap.php" @@ -3790,29 +3794,29 @@ }, { "name": "symfony\/process", - "version": "v5.3.12", - "version_normalized": "5.3.12.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/process.git", - "reference": "e498803a6e95ede78e9d5646ad32a2255c033a6a" + "reference": "5be20b3830f726e019162b26223110c8f47cf274" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/process\/zipball\/e498803a6e95ede78e9d5646ad32a2255c033a6a", - "reference": "e498803a6e95ede78e9d5646ad32a2255c033a6a", + "url": "https:\/\/api.github.com\/repos\/symfony\/process\/zipball\/5be20b3830f726e019162b26223110c8f47cf274", + "reference": "5be20b3830f726e019162b26223110c8f47cf274", "shasum": "" }, "require": { "php": ">=7.2.5", "symfony\/polyfill-php80": "^1.16" }, - "time": "2021-11-22T22:39:13+00:00", + "time": "2021-11-28T15:25:38+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Process\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Process\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3835,7 +3839,7 @@ "description": "Executes commands in sub-processes", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/process\/tree\/v5.3.12" + "source": "https:\/\/github.com\/symfony\/process\/tree\/v5.4.0" }, "funding": [ { @@ -3855,39 +3859,41 @@ }, { "name": "symfony\/string", - "version": "v5.3.10", - "version_normalized": "5.3.10.0", + "version": "v6.0.0", + "version_normalized": "6.0.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/string.git", - "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c" + "reference": "ba727797426af0f587f4800566300bdc0cda0777" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/string\/zipball\/d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", - "reference": "d70c35bb20bbca71fc4ab7921e3c6bda1a82a60c", + "url": "https:\/\/api.github.com\/repos\/symfony\/string\/zipball\/ba727797426af0f587f4800566300bdc0cda0777", + "reference": "ba727797426af0f587f4800566300bdc0cda0777", "shasum": "" }, "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony\/polyfill-ctype": "~1.8", "symfony\/polyfill-intl-grapheme": "~1.0", "symfony\/polyfill-intl-normalizer": "~1.0", - "symfony\/polyfill-mbstring": "~1.0", - "symfony\/polyfill-php80": "~1.15" + "symfony\/polyfill-mbstring": "~1.0" + }, + "conflict": { + "symfony\/translation-contracts": "<2.0" }, "require-dev": { - "symfony\/error-handler": "^4.4|^5.0", - "symfony\/http-client": "^4.4|^5.0", - "symfony\/translation-contracts": "^1.1|^2", - "symfony\/var-exporter": "^4.4|^5.0" + "symfony\/error-handler": "^5.4|^6.0", + "symfony\/http-client": "^5.4|^6.0", + "symfony\/translation-contracts": "^2.0|^3.0", + "symfony\/var-exporter": "^5.4|^6.0" }, - "time": "2021-10-27T18:21:46+00:00", + "time": "2021-10-29T07:35:21+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\String\\": "" + "RectorPrefix20211130\\Symfony\\Component\\String\\": "" }, "files": [ "Resources\/functions.php" @@ -3921,7 +3927,7 @@ "utf8" ], "support": { - "source": "https:\/\/github.com\/symfony\/string\/tree\/v5.3.10" + "source": "https:\/\/github.com\/symfony\/string\/tree\/v6.0.0" }, "funding": [ { @@ -3941,17 +3947,17 @@ }, { "name": "symfony\/var-exporter", - "version": "v5.3.11", - "version_normalized": "5.3.11.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/var-exporter.git", - "reference": "b16fcf355b810bcbccc2c6eac1d016725dbf9002" + "reference": "d59446d6166b1643a8a3c30c2fa8e16e51cdbde7" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/var-exporter\/zipball\/b16fcf355b810bcbccc2c6eac1d016725dbf9002", - "reference": "b16fcf355b810bcbccc2c6eac1d016725dbf9002", + "url": "https:\/\/api.github.com\/repos\/symfony\/var-exporter\/zipball\/d59446d6166b1643a8a3c30c2fa8e16e51cdbde7", + "reference": "d59446d6166b1643a8a3c30c2fa8e16e51cdbde7", "shasum": "" }, "require": { @@ -3959,14 +3965,14 @@ "symfony\/polyfill-php80": "^1.16" }, "require-dev": { - "symfony\/var-dumper": "^4.4.9|^5.0.9" + "symfony\/var-dumper": "^4.4.9|^5.0.9|^6.0" }, - "time": "2021-11-22T10:43:59+00:00", + "time": "2021-11-22T10:44:13+00:00", "type": "library", "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\VarExporter\\": "" + "RectorPrefix20211130\\Symfony\\Component\\VarExporter\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -3997,7 +4003,7 @@ "serialize" ], "support": { - "source": "https:\/\/github.com\/symfony\/var-exporter\/tree\/v5.3.11" + "source": "https:\/\/github.com\/symfony\/var-exporter\/tree\/v5.4.0" }, "funding": [ { @@ -4017,34 +4023,34 @@ }, { "name": "symfony\/yaml", - "version": "v5.3.11", - "version_normalized": "5.3.11.0", + "version": "v5.4.0", + "version_normalized": "5.4.0.0", "source": { "type": "git", "url": "https:\/\/github.com\/symfony\/yaml.git", - "reference": "226638aa877bc4104e619a15f27d8141cd6b4e4a" + "reference": "034ccc0994f1ae3f7499fa5b1f2e75d5e7a94efc" }, "dist": { "type": "zip", - "url": "https:\/\/api.github.com\/repos\/symfony\/yaml\/zipball\/226638aa877bc4104e619a15f27d8141cd6b4e4a", - "reference": "226638aa877bc4104e619a15f27d8141cd6b4e4a", + "url": "https:\/\/api.github.com\/repos\/symfony\/yaml\/zipball\/034ccc0994f1ae3f7499fa5b1f2e75d5e7a94efc", + "reference": "034ccc0994f1ae3f7499fa5b1f2e75d5e7a94efc", "shasum": "" }, "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", - "symfony\/polyfill-ctype": "~1.8" + "symfony\/deprecation-contracts": "^2.1|^3", + "symfony\/polyfill-ctype": "^1.8" }, "conflict": { - "symfony\/console": "<4.4" + "symfony\/console": "<5.3" }, "require-dev": { - "symfony\/console": "^4.4|^5.0" + "symfony\/console": "^5.3|^6.0" }, "suggest": { "symfony\/console": "For validating YAML files using the lint command" }, - "time": "2021-11-20T16:42:42+00:00", + "time": "2021-11-28T15:25:38+00:00", "bin": [ "Resources\/bin\/yaml-lint" ], @@ -4052,7 +4058,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Yaml\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "\/Tests\/" @@ -4075,7 +4081,7 @@ "description": "Loads and dumps YAML files", "homepage": "https:\/\/symfony.com", "support": { - "source": "https:\/\/github.com\/symfony\/yaml\/tree\/v5.3.11" + "source": "https:\/\/github.com\/symfony\/yaml\/tree\/v5.4.0" }, "funding": [ { @@ -4169,7 +4175,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\Astral\\": "src" + "RectorPrefix20211130\\Symplify\\Astral\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4258,7 +4264,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\AutowireArrayParameter\\": "src" + "RectorPrefix20211130\\Symplify\\AutowireArrayParameter\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4350,7 +4356,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\": "src" + "RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4441,7 +4447,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\ConsoleColorDiff\\": "src" + "RectorPrefix20211130\\Symplify\\ConsoleColorDiff\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4533,7 +4539,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\EasyParallel\\": "src" + "RectorPrefix20211130\\Symplify\\EasyParallel\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4618,7 +4624,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\EasyTesting\\": "src" + "RectorPrefix20211130\\Symplify\\EasyTesting\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4712,7 +4718,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\PackageBuilder\\": "src" + "RectorPrefix20211130\\Symplify\\PackageBuilder\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4889,7 +4895,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\": "src" + "RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -4981,7 +4987,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\Skipper\\": "src" + "RectorPrefix20211130\\Symplify\\Skipper\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -5072,7 +5078,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SmartFileSystem\\": "src" + "RectorPrefix20211130\\Symplify\\SmartFileSystem\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -5243,7 +5249,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SymplifyKernel\\": "src" + "RectorPrefix20211130\\Symplify\\SymplifyKernel\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -5328,7 +5334,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\VendorPatches\\": "src" + "RectorPrefix20211130\\Symplify\\VendorPatches\\": "src" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", @@ -5454,7 +5460,7 @@ "installation-source": "dist", "autoload": { "psr-4": { - "RectorPrefix20211129\\Webmozart\\Assert\\": "src\/" + "RectorPrefix20211130\\Webmozart\\Assert\\": "src\/" } }, "notification-url": "https:\/\/packagist.org\/downloads\/", diff --git a/vendor/composer/installed.php b/vendor/composer/installed.php index 23fd639d871..5758bcae3a5 100644 --- a/vendor/composer/installed.php +++ b/vendor/composer/installed.php @@ -1,5 +1,5 @@ array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'name' => 'rector/rector-src', 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => '83e511e247de329283478496f7a1e114c9517506', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => '84674dd3a7575ba617f5a76d7e9e29a7d3891339', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.1', 'version' => '1.7.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => '9888dcc74993c030b75f3dd548bb5e20cdbd740c', 'dev_requirement' => \false), 'danielstjules/stringy' => array('pretty_version' => '3.1.0', 'version' => '3.1.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../danielstjules/stringy', 'aliases' => array(), 'reference' => 'df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e', 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', 'dev_requirement' => \false), 'ergebnis/json-printer' => array('pretty_version' => '3.1.1', 'version' => '3.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => 'e4190dadd9937a77d8afcaf2b6c42a528ab367d6', 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'dev_requirement' => \false), 'helmich/typo3-typoscript-parser' => array('pretty_version' => 'v2.3.1', 'version' => '2.3.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(), 'reference' => '366c38db68a83503ba4148cd77d77e08deae084e', 'dev_requirement' => \false), 'idiosyncratic/editorconfig' => array('pretty_version' => '0.1.3', 'version' => '0.1.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../idiosyncratic/editorconfig', 'aliases' => array(), 'reference' => '3445fa4a1e00f95630d4edc729c2effb116db19b', 'dev_requirement' => \false), 'myclabs/php-enum' => array('pretty_version' => '1.8.3', 'version' => '1.8.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../myclabs/php-enum', 'aliases' => array(), 'reference' => 'b942d263c641ddb5190929ff840c68f78713e937', 'dev_requirement' => \false), 'nette/neon' => array('pretty_version' => 'v3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '54b287d8c2cdbe577b02e28ca1713e275b05ece2', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '2f261e55bd6a12057442045bf2c249806abc1d02', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.1', 'version' => '4.13.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '63a79e8daa781cac14e5195e63ed8ae231dd10fd', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => 'dbc093d7af60eff5cd575d2ed761b15ed40bd08e', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => 'cbe085f9fdead5b6d62e4c022ca52dc9427a10ee', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '9eb88c9f689003a8a2a5ae9e010338ee94dc39b3', 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'dev_requirement' => \false), 'psr/http-message' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'reference' => 'ef29f6d262798707a9edd554e2b82517ef3a9376', 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.4', 'version' => '0.6.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '2a5a74ab751e53863b45fb87e1d3913884f88248', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => 'be6dee480fc4692cec0504e65eb486e3be1aa6f2', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.8.0', 'version' => '2.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => 'f3cff96a19736714524ca0dd1d4130de73dbbbc4', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.7.0', 'version' => '1.7.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '607dd79990e32fcb402cb0a176b4a4be12f97e7c', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'd132fde589ea97f4165f2d94b5296499eac125ec', 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.1', 'version' => '0.11.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '527fcbd19f7aeb79a6fd043e1edfeab7831b59af', 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.12.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => '0.11.7', 'version' => '0.11.7.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(), 'reference' => 'f26f66a9e1edfb98e16f0bf431a95b4e54fa1432', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => '0.11.40', 'version' => '0.11.40.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(), 'reference' => 'bc7998f8511f4c3a401e97c0baa075495397acc8', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => '0.11.13', 'version' => '0.11.13.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(), 'reference' => 'aabe2ef9f13d2bcb79cf423e2f5ffe1a6ab382ff', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => '0.11.54', 'version' => '0.11.54.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(), 'reference' => '0b165f270ec8f73b277ba988bb51b70f8a99a01e', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => '0.11.7', 'version' => '0.11.7.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(), 'reference' => 'e3b5ebd4302cca4134c17b38f3339953d6dcf660', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => '0.11.23', 'version' => '0.11.23.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(), 'reference' => '8e8c285cdc8937012ef27e785b0d94d4f4591327', 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => '0.11.43', 'version' => '0.11.43.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(), 'reference' => 'cb0a0d27190878e63d4851d257e1d97f0b78cae1', 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'dev_requirement' => \false), 'ssch/typo3-rector' => array('pretty_version' => 'v0.11.31', 'version' => '0.11.31.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(), 'reference' => 'ce3e55ebce3e70efb5d984d4f5951e2263440856', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/config' => array('pretty_version' => 'v5.3.11', 'version' => '5.3.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => 'f080af00c441f1df40cf5c269707fdebe5740557', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v5.3.11', 'version' => '5.3.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => '3e7ab8f5905058984899b05a4648096f558bfeba', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => '1f4c95d47bddf0c1579779d4b85602c923ed2f1c', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v5.3.11', 'version' => '5.3.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => '3793617321eb39b2e8e708f6fd61f875ec5f0ed6', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/filesystem' => array('pretty_version' => 'v5.3.4', 'version' => '5.3.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '343f4fe324383ca46792cae728a3b6e2f708fb32', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v5.3.7', 'version' => '5.3.7.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => 'a10000ada1e600d109a6c7632e9ac42e8bf2fb93', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '46cd95797e9df938fdd2b03693b5fca5e64b01ce', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '16880ba9c5ebe3642d1995ab866db29270b36535', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '9174a3d80210dca8daa7f31fec659150bbeabfc6', 'dev_requirement' => \false), 'symfony/polyfill-php73' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php73', 'aliases' => array(), 'reference' => 'fba8933c384d6476ab14fb7b8526e5287ca7e010', 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'reference' => '1100343ed1a92e3a38f9ae122fc0eb21602547be', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => 'e66119f3de95efc359483f810c4c3e6436279436', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v5.3.12', 'version' => '5.3.12.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => 'e498803a6e95ede78e9d5646ad32a2255c033a6a', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'symfony/string' => array('pretty_version' => 'v5.3.10', 'version' => '5.3.10.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'd70c35bb20bbca71fc4ab7921e3c6bda1a82a60c', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/var-exporter' => array('pretty_version' => 'v5.3.11', 'version' => '5.3.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/var-exporter', 'aliases' => array(), 'reference' => 'b16fcf355b810bcbccc2c6eac1d016725dbf9002', 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v5.3.11', 'version' => '5.3.11.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => '226638aa877bc4104e619a15f27d8141cd6b4e4a', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => 'a486d6c758ba0e55d7d937aceadd0dc432c78dfc', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => '3acbdc9f59fa62d01bfa87cc8dd6129a95e80e63', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => 'f336cdda76683531a586cdeb427852be3eca3891', 'dev_requirement' => \false), 'symplify/console-color-diff' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/console-color-diff', 'aliases' => array(), 'reference' => 'eea4bba3ec914c845276f3f6c76a207127afc76d', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => 'e4136bfe13508281ec285738ddd22b8a85dc0f4d', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => '1aeedea3b121e97384cddddbba645f92f1355116', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(0 => '10.0.x-dev'), 'reference' => 'ad8ad6b333a5ac0e056c71c53cfb4986d4c6a548', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => 'b7bde0bbe7cdcfaa581b75192f8794bc76e92de6', 'dev_requirement' => \false), 'symplify/simple-php-doc-parser' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/simple-php-doc-parser', 'aliases' => array(), 'reference' => '9ca8c4744af8378499bc90a6c9c5ebcdf0a262ec', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => '811020d793ecaf231dbc9ebe0fe1af5b65f16bbf', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => 'dad80ef0e49bffbd663017d93f8f522657333947', 'dev_requirement' => \false), 'symplify/symfony-php-config' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symfony-php-config', 'aliases' => array(0 => '10.0.x-dev'), 'reference' => '68a275f6e2816a389f29c7064e9e027e09775194', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => '542de8f22fe6f07ba744912ee339673ace27500b', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'bdb421f5ccd0036792d9ff6e7317e8f2fb3b5858', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.8.9', 'version' => '2.8.9.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '81c769040cd0396eabed3c6d5cebe68399531c7b', 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25', 'dev_requirement' => \false))); +return array('root' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'name' => 'rector/rector-src', 'dev' => \false), 'versions' => array('clue/ndjson-react' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../clue/ndjson-react', 'aliases' => array(), 'reference' => '708411c7e45ac85371a99d50f52284971494bede', 'dev_requirement' => \false), 'composer/semver' => array('pretty_version' => '3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/./semver', 'aliases' => array(), 'reference' => '83e511e247de329283478496f7a1e114c9517506', 'dev_requirement' => \false), 'composer/xdebug-handler' => array('pretty_version' => '2.0.2', 'version' => '2.0.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/./xdebug-handler', 'aliases' => array(), 'reference' => '84674dd3a7575ba617f5a76d7e9e29a7d3891339', 'dev_requirement' => \false), 'cweagans/composer-patches' => array('pretty_version' => '1.7.1', 'version' => '1.7.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../cweagans/composer-patches', 'aliases' => array(), 'reference' => '9888dcc74993c030b75f3dd548bb5e20cdbd740c', 'dev_requirement' => \false), 'danielstjules/stringy' => array('pretty_version' => '3.1.0', 'version' => '3.1.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../danielstjules/stringy', 'aliases' => array(), 'reference' => 'df24ab62d2d8213bbbe88cc36fc35a4503b4bd7e', 'dev_requirement' => \false), 'doctrine/inflector' => array('pretty_version' => '2.0.4', 'version' => '2.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../doctrine/inflector', 'aliases' => array(), 'reference' => '8b7ff3e4b7de6b2c84da85637b59fd2880ecaa89', 'dev_requirement' => \false), 'ergebnis/json-printer' => array('pretty_version' => '3.1.1', 'version' => '3.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../ergebnis/json-printer', 'aliases' => array(), 'reference' => 'e4190dadd9937a77d8afcaf2b6c42a528ab367d6', 'dev_requirement' => \false), 'evenement/evenement' => array('pretty_version' => 'v3.0.1', 'version' => '3.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../evenement/evenement', 'aliases' => array(), 'reference' => '531bfb9d15f8aa57454f5f0285b18bec903b8fb7', 'dev_requirement' => \false), 'helmich/typo3-typoscript-parser' => array('pretty_version' => 'v2.3.1', 'version' => '2.3.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../helmich/typo3-typoscript-parser', 'aliases' => array(), 'reference' => '366c38db68a83503ba4148cd77d77e08deae084e', 'dev_requirement' => \false), 'idiosyncratic/editorconfig' => array('pretty_version' => '0.1.3', 'version' => '0.1.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../idiosyncratic/editorconfig', 'aliases' => array(), 'reference' => '3445fa4a1e00f95630d4edc729c2effb116db19b', 'dev_requirement' => \false), 'myclabs/php-enum' => array('pretty_version' => '1.8.3', 'version' => '1.8.3.0', 'type' => 'library', 'install_path' => __DIR__ . '/../myclabs/php-enum', 'aliases' => array(), 'reference' => 'b942d263c641ddb5190929ff840c68f78713e937', 'dev_requirement' => \false), 'nette/neon' => array('pretty_version' => 'v3.3.2', 'version' => '3.3.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/neon', 'aliases' => array(), 'reference' => '54b287d8c2cdbe577b02e28ca1713e275b05ece2', 'dev_requirement' => \false), 'nette/utils' => array('pretty_version' => 'v3.2.6', 'version' => '3.2.6.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nette/utils', 'aliases' => array(), 'reference' => '2f261e55bd6a12057442045bf2c249806abc1d02', 'dev_requirement' => \false), 'nikic/php-parser' => array('pretty_version' => 'v4.13.1', 'version' => '4.13.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../nikic/php-parser', 'aliases' => array(), 'reference' => '63a79e8daa781cac14e5195e63ed8ae231dd10fd', 'dev_requirement' => \false), 'phpstan/phpdoc-parser' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpdoc-parser', 'aliases' => array(), 'reference' => 'dbc093d7af60eff5cd575d2ed761b15ed40bd08e', 'dev_requirement' => \false), 'phpstan/phpstan' => array('pretty_version' => '1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../phpstan/phpstan', 'aliases' => array(), 'reference' => 'cbe085f9fdead5b6d62e4c022ca52dc9427a10ee', 'dev_requirement' => \false), 'phpstan/phpstan-phpunit' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../phpstan/phpstan-phpunit', 'aliases' => array(), 'reference' => '9eb88c9f689003a8a2a5ae9e010338ee94dc39b3', 'dev_requirement' => \false), 'psr/cache' => array('pretty_version' => '3.0.0', 'version' => '3.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/cache', 'aliases' => array(), 'reference' => 'aa5030cfa5405eccfdcb1083ce040c2cb8d253bf', 'dev_requirement' => \false), 'psr/container' => array('pretty_version' => '1.1.2', 'version' => '1.1.2.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/container', 'aliases' => array(), 'reference' => '513e0666f7216c7459170d56df27dfcefe1689ea', 'dev_requirement' => \false), 'psr/container-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0')), 'psr/event-dispatcher' => array('pretty_version' => '1.0.0', 'version' => '1.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/event-dispatcher', 'aliases' => array(), 'reference' => 'dbefd12671e8a14ec7f180cab83036ed26714bb0', 'dev_requirement' => \false), 'psr/http-message' => array('pretty_version' => '1.0.1', 'version' => '1.0.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/http-message', 'aliases' => array(), 'reference' => 'f6561bf28d520154e4b0ec72be95418abe6d9363', 'dev_requirement' => \false), 'psr/log' => array('pretty_version' => '2.0.0', 'version' => '2.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../psr/log', 'aliases' => array(), 'reference' => 'ef29f6d262798707a9edd554e2b82517ef3a9376', 'dev_requirement' => \false), 'psr/log-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'react/cache' => array('pretty_version' => 'v1.1.1', 'version' => '1.1.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/cache', 'aliases' => array(), 'reference' => '4bf736a2cccec7298bdf745db77585966fc2ca7e', 'dev_requirement' => \false), 'react/child-process' => array('pretty_version' => 'v0.6.4', 'version' => '0.6.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/child-process', 'aliases' => array(), 'reference' => 'a778f3fb828d68caf8a9ab6567fd8342a86f12fe', 'dev_requirement' => \false), 'react/dns' => array('pretty_version' => 'v1.8.0', 'version' => '1.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/dns', 'aliases' => array(), 'reference' => '2a5a74ab751e53863b45fb87e1d3913884f88248', 'dev_requirement' => \false), 'react/event-loop' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/event-loop', 'aliases' => array(), 'reference' => 'be6dee480fc4692cec0504e65eb486e3be1aa6f2', 'dev_requirement' => \false), 'react/promise' => array('pretty_version' => 'v2.8.0', 'version' => '2.8.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise', 'aliases' => array(), 'reference' => 'f3cff96a19736714524ca0dd1d4130de73dbbbc4', 'dev_requirement' => \false), 'react/promise-timer' => array('pretty_version' => 'v1.7.0', 'version' => '1.7.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/promise-timer', 'aliases' => array(), 'reference' => '607dd79990e32fcb402cb0a176b4a4be12f97e7c', 'dev_requirement' => \false), 'react/socket' => array('pretty_version' => 'v1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/socket', 'aliases' => array(), 'reference' => 'd132fde589ea97f4165f2d94b5296499eac125ec', 'dev_requirement' => \false), 'react/stream' => array('pretty_version' => 'v1.2.0', 'version' => '1.2.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../react/stream', 'aliases' => array(), 'reference' => '7a423506ee1903e89f1e08ec5f0ed430ff784ae9', 'dev_requirement' => \false), 'rector/extension-installer' => array('pretty_version' => '0.11.1', 'version' => '0.11.1.0', 'type' => 'composer-plugin', 'install_path' => __DIR__ . '/../rector/extension-installer', 'aliases' => array(), 'reference' => '527fcbd19f7aeb79a6fd043e1edfeab7831b59af', 'dev_requirement' => \false), 'rector/rector' => array('dev_requirement' => \false, 'replaced' => array(0 => '0.12.x-dev', 1 => 'dev-main')), 'rector/rector-cakephp' => array('pretty_version' => '0.11.7', 'version' => '0.11.7.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-cakephp', 'aliases' => array(), 'reference' => 'f26f66a9e1edfb98e16f0bf431a95b4e54fa1432', 'dev_requirement' => \false), 'rector/rector-doctrine' => array('pretty_version' => '0.11.40', 'version' => '0.11.40.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-doctrine', 'aliases' => array(), 'reference' => 'bc7998f8511f4c3a401e97c0baa075495397acc8', 'dev_requirement' => \false), 'rector/rector-laravel' => array('pretty_version' => '0.11.13', 'version' => '0.11.13.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-laravel', 'aliases' => array(), 'reference' => 'aabe2ef9f13d2bcb79cf423e2f5ffe1a6ab382ff', 'dev_requirement' => \false), 'rector/rector-nette' => array('pretty_version' => '0.11.54', 'version' => '0.11.54.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-nette', 'aliases' => array(), 'reference' => '0b165f270ec8f73b277ba988bb51b70f8a99a01e', 'dev_requirement' => \false), 'rector/rector-phpoffice' => array('pretty_version' => '0.11.7', 'version' => '0.11.7.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpoffice', 'aliases' => array(), 'reference' => 'e3b5ebd4302cca4134c17b38f3339953d6dcf660', 'dev_requirement' => \false), 'rector/rector-phpunit' => array('pretty_version' => '0.11.23', 'version' => '0.11.23.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-phpunit', 'aliases' => array(), 'reference' => '8e8c285cdc8937012ef27e785b0d94d4f4591327', 'dev_requirement' => \false), 'rector/rector-src' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../../', 'aliases' => array(0 => '0.12.x-dev'), 'reference' => \NULL, 'dev_requirement' => \false), 'rector/rector-symfony' => array('pretty_version' => '0.11.43', 'version' => '0.11.43.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../rector/rector-symfony', 'aliases' => array(), 'reference' => 'cb0a0d27190878e63d4851d257e1d97f0b78cae1', 'dev_requirement' => \false), 'sebastian/diff' => array('pretty_version' => '4.0.4', 'version' => '4.0.4.0', 'type' => 'library', 'install_path' => __DIR__ . '/../sebastian/diff', 'aliases' => array(), 'reference' => '3461e3fccc7cfdfc2720be910d3bd73c69be590d', 'dev_requirement' => \false), 'ssch/typo3-rector' => array('pretty_version' => 'v0.11.31', 'version' => '0.11.31.0', 'type' => 'rector-extension', 'install_path' => __DIR__ . '/../ssch/typo3-rector', 'aliases' => array(), 'reference' => 'ce3e55ebce3e70efb5d984d4f5951e2263440856', 'dev_requirement' => \false), 'symfony/cache-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/config' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/config', 'aliases' => array(), 'reference' => 'e39cf688c80fd79ab0a6a2d05a9facac9b2d534b', 'dev_requirement' => \false), 'symfony/console' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/console', 'aliases' => array(), 'reference' => 'ec3661faca1d110d6c307e124b44f99ac54179e3', 'dev_requirement' => \false), 'symfony/contracts' => array('pretty_version' => 'v2.5.0', 'version' => '2.5.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/contracts', 'aliases' => array(), 'reference' => '1f4c95d47bddf0c1579779d4b85602c923ed2f1c', 'dev_requirement' => \false), 'symfony/dependency-injection' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/dependency-injection', 'aliases' => array(), 'reference' => '69c398723857bb19fdea78496cedea0f756decab', 'dev_requirement' => \false), 'symfony/deprecation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/event-dispatcher-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/filesystem' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/filesystem', 'aliases' => array(), 'reference' => '731f917dc31edcffec2c6a777f3698c33bea8f01', 'dev_requirement' => \false), 'symfony/finder' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/finder', 'aliases' => array(), 'reference' => 'd2f29dac98e96a98be467627bd49c2efb1bc2590', 'dev_requirement' => \false), 'symfony/http-client-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/polyfill-ctype' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-ctype', 'aliases' => array(), 'reference' => '46cd95797e9df938fdd2b03693b5fca5e64b01ce', 'dev_requirement' => \false), 'symfony/polyfill-intl-grapheme' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-grapheme', 'aliases' => array(), 'reference' => '16880ba9c5ebe3642d1995ab866db29270b36535', 'dev_requirement' => \false), 'symfony/polyfill-intl-normalizer' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-intl-normalizer', 'aliases' => array(), 'reference' => '8590a5f561694770bdcd3f9b5c69dde6945028e8', 'dev_requirement' => \false), 'symfony/polyfill-mbstring' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-mbstring', 'aliases' => array(), 'reference' => '9174a3d80210dca8daa7f31fec659150bbeabfc6', 'dev_requirement' => \false), 'symfony/polyfill-php73' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php73', 'aliases' => array(), 'reference' => 'fba8933c384d6476ab14fb7b8526e5287ca7e010', 'dev_requirement' => \false), 'symfony/polyfill-php80' => array('pretty_version' => 'v1.23.1', 'version' => '1.23.1.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php80', 'aliases' => array(), 'reference' => '1100343ed1a92e3a38f9ae122fc0eb21602547be', 'dev_requirement' => \false), 'symfony/polyfill-php81' => array('pretty_version' => 'v1.23.0', 'version' => '1.23.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/polyfill-php81', 'aliases' => array(), 'reference' => 'e66119f3de95efc359483f810c4c3e6436279436', 'dev_requirement' => \false), 'symfony/process' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/process', 'aliases' => array(), 'reference' => '5be20b3830f726e019162b26223110c8f47cf274', 'dev_requirement' => \false), 'symfony/service-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/service-implementation' => array('dev_requirement' => \false, 'provided' => array(0 => '1.0|2.0')), 'symfony/string' => array('pretty_version' => 'v6.0.0', 'version' => '6.0.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/string', 'aliases' => array(), 'reference' => 'ba727797426af0f587f4800566300bdc0cda0777', 'dev_requirement' => \false), 'symfony/translation-contracts' => array('dev_requirement' => \false, 'replaced' => array(0 => 'v2.5.0')), 'symfony/var-exporter' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/var-exporter', 'aliases' => array(), 'reference' => 'd59446d6166b1643a8a3c30c2fa8e16e51cdbde7', 'dev_requirement' => \false), 'symfony/yaml' => array('pretty_version' => 'v5.4.0', 'version' => '5.4.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../symfony/yaml', 'aliases' => array(), 'reference' => '034ccc0994f1ae3f7499fa5b1f2e75d5e7a94efc', 'dev_requirement' => \false), 'symplify/astral' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'phpstan-extension', 'install_path' => __DIR__ . '/../symplify/astral', 'aliases' => array(), 'reference' => 'a486d6c758ba0e55d7d937aceadd0dc432c78dfc', 'dev_requirement' => \false), 'symplify/autowire-array-parameter' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/autowire-array-parameter', 'aliases' => array(), 'reference' => '3acbdc9f59fa62d01bfa87cc8dd6129a95e80e63', 'dev_requirement' => \false), 'symplify/composer-json-manipulator' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/composer-json-manipulator', 'aliases' => array(), 'reference' => 'f336cdda76683531a586cdeb427852be3eca3891', 'dev_requirement' => \false), 'symplify/console-color-diff' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/console-color-diff', 'aliases' => array(), 'reference' => 'eea4bba3ec914c845276f3f6c76a207127afc76d', 'dev_requirement' => \false), 'symplify/easy-parallel' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/easy-parallel', 'aliases' => array(), 'reference' => 'e4136bfe13508281ec285738ddd22b8a85dc0f4d', 'dev_requirement' => \false), 'symplify/easy-testing' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'symfony-bundle', 'install_path' => __DIR__ . '/../symplify/easy-testing', 'aliases' => array(), 'reference' => '1aeedea3b121e97384cddddbba645f92f1355116', 'dev_requirement' => \false), 'symplify/package-builder' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/package-builder', 'aliases' => array(0 => '10.0.x-dev'), 'reference' => 'ad8ad6b333a5ac0e056c71c53cfb4986d4c6a548', 'dev_requirement' => \false), 'symplify/rule-doc-generator-contracts' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/rule-doc-generator-contracts', 'aliases' => array(), 'reference' => 'b7bde0bbe7cdcfaa581b75192f8794bc76e92de6', 'dev_requirement' => \false), 'symplify/simple-php-doc-parser' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/simple-php-doc-parser', 'aliases' => array(), 'reference' => '9ca8c4744af8378499bc90a6c9c5ebcdf0a262ec', 'dev_requirement' => \false), 'symplify/skipper' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/skipper', 'aliases' => array(), 'reference' => '811020d793ecaf231dbc9ebe0fe1af5b65f16bbf', 'dev_requirement' => \false), 'symplify/smart-file-system' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/smart-file-system', 'aliases' => array(), 'reference' => 'dad80ef0e49bffbd663017d93f8f522657333947', 'dev_requirement' => \false), 'symplify/symfony-php-config' => array('pretty_version' => 'dev-main', 'version' => 'dev-main', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symfony-php-config', 'aliases' => array(0 => '10.0.x-dev'), 'reference' => '68a275f6e2816a389f29c7064e9e027e09775194', 'dev_requirement' => \false), 'symplify/symplify-kernel' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/symplify-kernel', 'aliases' => array(), 'reference' => '542de8f22fe6f07ba744912ee339673ace27500b', 'dev_requirement' => \false), 'symplify/vendor-patches' => array('pretty_version' => '10.0.0-beta14', 'version' => '10.0.0.0-beta14', 'type' => 'library', 'install_path' => __DIR__ . '/../symplify/vendor-patches', 'aliases' => array(), 'reference' => 'bdb421f5ccd0036792d9ff6e7317e8f2fb3b5858', 'dev_requirement' => \false), 'tracy/tracy' => array('pretty_version' => 'v2.8.9', 'version' => '2.8.9.0', 'type' => 'library', 'install_path' => __DIR__ . '/../tracy/tracy', 'aliases' => array(), 'reference' => '81c769040cd0396eabed3c6d5cebe68399531c7b', 'dev_requirement' => \false), 'webmozart/assert' => array('pretty_version' => '1.10.0', 'version' => '1.10.0.0', 'type' => 'library', 'install_path' => __DIR__ . '/../webmozart/assert', 'aliases' => array(), 'reference' => '6964c76c7804814a842473e0c8fd15bab0f18e25', 'dev_requirement' => \false))); diff --git a/vendor/composer/semver/composer.json b/vendor/composer/semver/composer.json index 58cc11023aa..f8f63e02592 100644 --- a/vendor/composer/semver/composer.json +++ b/vendor/composer/semver/composer.json @@ -39,12 +39,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Composer\\Semver\\": "src" + "RectorPrefix20211130\\Composer\\Semver\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Composer\\Semver\\": "tests" + "RectorPrefix20211130\\Composer\\Semver\\": "tests" } }, "extra": { diff --git a/vendor/composer/semver/src/Comparator.php b/vendor/composer/semver/src/Comparator.php index 379802e1f29..7ad7c5e430e 100644 --- a/vendor/composer/semver/src/Comparator.php +++ b/vendor/composer/semver/src/Comparator.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; class Comparator { /** @@ -98,7 +98,7 @@ class Comparator */ public static function compare($version1, $operator, $version2) { - $constraint = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint($operator, $version2); - return $constraint->matchSpecific(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('==', $version1), \true); + $constraint = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint($operator, $version2); + return $constraint->matchSpecific(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('==', $version1), \true); } } diff --git a/vendor/composer/semver/src/CompilingMatcher.php b/vendor/composer/semver/src/CompilingMatcher.php index b96badb3a00..7eb77656f04 100644 --- a/vendor/composer/semver/src/CompilingMatcher.php +++ b/vendor/composer/semver/src/CompilingMatcher.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; -use RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface; /** * Helper class to evaluate constraint by compiling and reusing the code to evaluate */ @@ -27,7 +27,7 @@ class CompilingMatcher /** * @phpstan-var array */ - private static $transOpInt = array(\RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_EQ => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_EQ, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_LT => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_LT, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_LE => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_LE, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_GT => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_GT, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_GE => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_GE, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::OP_NE => \RectorPrefix20211129\Composer\Semver\Constraint\Constraint::STR_OP_NE); + private static $transOpInt = array(\RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_EQ => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_EQ, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_LT => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_LT, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_LE => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_LE, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_GT => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_GT, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_GE => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_GE, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::OP_NE => \RectorPrefix20211130\Composer\Semver\Constraint\Constraint::STR_OP_NE); /** * Evaluates the expression: $constraint match $operator $version * @@ -44,7 +44,7 @@ class CompilingMatcher self::$enabled = !\in_array('eval', \explode(',', (string) \ini_get('disable_functions')), \true); } if (!self::$enabled) { - return $constraint->matches(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint(self::$transOpInt[$operator], $version)); + return $constraint->matches(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint(self::$transOpInt[$operator], $version)); } $cacheKey = $operator . $constraint; if (!isset(self::$compiledCheckerCache[$cacheKey])) { diff --git a/vendor/composer/semver/src/Constraint/Bound.php b/vendor/composer/semver/src/Constraint/Bound.php index 268cf168347..073a448542f 100644 --- a/vendor/composer/semver/src/Constraint/Bound.php +++ b/vendor/composer/semver/src/Constraint/Bound.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; class Bound { @@ -91,13 +91,13 @@ class Bound */ public static function zero() { - return new \RectorPrefix20211129\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \true); + return new \RectorPrefix20211130\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \true); } /** * @return self */ public static function positiveInfinity() { - return new \RectorPrefix20211129\Composer\Semver\Constraint\Bound(\PHP_INT_MAX . '.0.0.0', \false); + return new \RectorPrefix20211130\Composer\Semver\Constraint\Bound(\PHP_INT_MAX . '.0.0.0', \false); } } diff --git a/vendor/composer/semver/src/Constraint/Constraint.php b/vendor/composer/semver/src/Constraint/Constraint.php index 7a1a9176a46..4b4a98c0306 100644 --- a/vendor/composer/semver/src/Constraint/Constraint.php +++ b/vendor/composer/semver/src/Constraint/Constraint.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; /** * Defines a constraint. */ -class Constraint implements \RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface +class Constraint implements \RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface { /* operator integer values */ const OP_EQ = 0; @@ -320,34 +320,34 @@ class Constraint implements \RectorPrefix20211129\Composer\Semver\Constraint\Con } // Branches if (\strpos($this->version, 'dev-') === 0) { - $this->lowerBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::positiveInfinity(); return; } switch ($this->operator) { case self::OP_EQ: - $this->lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \true); - $this->upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \true); + $this->lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \true); + $this->upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \true); break; case self::OP_LT: - $this->lowerBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \false); + $this->lowerBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \false); break; case self::OP_LE: - $this->lowerBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \true); + $this->lowerBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \true); break; case self::OP_GT: - $this->lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \false); - $this->upperBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \false); + $this->upperBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::positiveInfinity(); break; case self::OP_GE: - $this->lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Bound($this->version, \true); - $this->upperBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Bound($this->version, \true); + $this->upperBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::positiveInfinity(); break; case self::OP_NE: - $this->lowerBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::zero(); - $this->upperBound = \RectorPrefix20211129\Composer\Semver\Constraint\Bound::positiveInfinity(); + $this->lowerBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::zero(); + $this->upperBound = \RectorPrefix20211130\Composer\Semver\Constraint\Bound::positiveInfinity(); break; } } diff --git a/vendor/composer/semver/src/Constraint/ConstraintInterface.php b/vendor/composer/semver/src/Constraint/ConstraintInterface.php index a4cee3628bf..e28e14956c7 100644 --- a/vendor/composer/semver/src/Constraint/ConstraintInterface.php +++ b/vendor/composer/semver/src/Constraint/ConstraintInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; /** * DO NOT IMPLEMENT this interface. It is only meant for usage as a type hint diff --git a/vendor/composer/semver/src/Constraint/MatchAllConstraint.php b/vendor/composer/semver/src/Constraint/MatchAllConstraint.php index b22cdf561ea..ae7a4568c24 100644 --- a/vendor/composer/semver/src/Constraint/MatchAllConstraint.php +++ b/vendor/composer/semver/src/Constraint/MatchAllConstraint.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; /** * Defines the absence of a constraint. * * This constraint matches everything. */ -class MatchAllConstraint implements \RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface +class MatchAllConstraint implements \RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface { /** @var string|null */ protected $prettyString; @@ -64,13 +64,13 @@ class MatchAllConstraint implements \RectorPrefix20211129\Composer\Semver\Constr */ public function getUpperBound() { - return \RectorPrefix20211129\Composer\Semver\Constraint\Bound::positiveInfinity(); + return \RectorPrefix20211130\Composer\Semver\Constraint\Bound::positiveInfinity(); } /** * {@inheritDoc} */ public function getLowerBound() { - return \RectorPrefix20211129\Composer\Semver\Constraint\Bound::zero(); + return \RectorPrefix20211130\Composer\Semver\Constraint\Bound::zero(); } } diff --git a/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php b/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php index 1b4f92bcac0..e345e7a54e8 100644 --- a/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php +++ b/vendor/composer/semver/src/Constraint/MatchNoneConstraint.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; /** * Blackhole of constraints, nothing escapes it */ -class MatchNoneConstraint implements \RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface +class MatchNoneConstraint implements \RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface { /** @var string|null */ protected $prettyString; @@ -62,13 +62,13 @@ class MatchNoneConstraint implements \RectorPrefix20211129\Composer\Semver\Const */ public function getUpperBound() { - return new \RectorPrefix20211129\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); + return new \RectorPrefix20211130\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); } /** * {@inheritDoc} */ public function getLowerBound() { - return new \RectorPrefix20211129\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); + return new \RectorPrefix20211130\Composer\Semver\Constraint\Bound('0.0.0.0-dev', \false); } } diff --git a/vendor/composer/semver/src/Constraint/MultiConstraint.php b/vendor/composer/semver/src/Constraint/MultiConstraint.php index 0ec09f4eced..3450b75161f 100644 --- a/vendor/composer/semver/src/Constraint/MultiConstraint.php +++ b/vendor/composer/semver/src/Constraint/MultiConstraint.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver\Constraint; +namespace RectorPrefix20211130\Composer\Semver\Constraint; /** * Defines a conjunctive or disjunctive set of constraints. */ -class MultiConstraint implements \RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface +class MultiConstraint implements \RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface { /** * @var ConstraintInterface[] @@ -108,7 +108,7 @@ class MultiConstraint implements \RectorPrefix20211129\Composer\Semver\Constrain // when matching a conjunctive and a disjunctive multi constraint we have to iterate over the disjunctive one // otherwise we'd return true if different parts of the disjunctive constraint match the conjunctive one // which would lead to incorrect results, e.g. [>1 and <2] would match [<1 or >2] although they do not intersect - if ($provider instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint && $provider->isDisjunctive()) { + if ($provider instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint && $provider->isDisjunctive()) { return $provider->matches($this); } foreach ($this->constraints as $constraint) { @@ -185,7 +185,7 @@ class MultiConstraint implements \RectorPrefix20211129\Composer\Semver\Constrain public static function create($constraints, $conjunctive = \true) { if (0 === \count($constraints)) { - return new \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint(); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint(); } if (1 === \count($constraints)) { return $constraints[0]; @@ -219,7 +219,7 @@ class MultiConstraint implements \RectorPrefix20211129\Composer\Semver\Constrain $right = $constraints[$i]; if ($left instanceof self && $left->conjunctive && $right instanceof self && $right->conjunctive && \count($left->constraints) === 2 && \count($right->constraints) === 2 && ($left0 = (string) $left->constraints[0]) && $left0[0] === '>' && $left0[1] === '=' && ($left1 = (string) $left->constraints[1]) && $left1[0] === '<' && ($right0 = (string) $right->constraints[0]) && $right0[0] === '>' && $right0[1] === '=' && ($right1 = (string) $right->constraints[1]) && $right1[0] === '<' && \substr($left1, 2) === \substr($right0, 3)) { $optimized = \true; - $left = new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(array($left->constraints[0], $right->constraints[1]), \true); + $left = new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(array($left->constraints[0], $right->constraints[1]), \true); } else { $mergedConstraints[] = $left; $left = $right; diff --git a/vendor/composer/semver/src/Interval.php b/vendor/composer/semver/src/Interval.php index 666ac195e0d..cf37068a2ea 100644 --- a/vendor/composer/semver/src/Interval.php +++ b/vendor/composer/semver/src/Interval.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; class Interval { /** @var Constraint */ private $start; /** @var Constraint */ private $end; - public function __construct(\RectorPrefix20211129\Composer\Semver\Constraint\Constraint $start, \RectorPrefix20211129\Composer\Semver\Constraint\Constraint $end) + public function __construct(\RectorPrefix20211130\Composer\Semver\Constraint\Constraint $start, \RectorPrefix20211130\Composer\Semver\Constraint\Constraint $end) { $this->start = $start; $this->end = $end; @@ -43,7 +43,7 @@ class Interval { static $zero; if (null === $zero) { - $zero = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'); + $zero = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev'); } return $zero; } @@ -54,7 +54,7 @@ class Interval { static $positiveInfinity; if (null === $positiveInfinity) { - $positiveInfinity = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', \PHP_INT_MAX . '.0.0.0'); + $positiveInfinity = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', \PHP_INT_MAX . '.0.0.0'); } return $positiveInfinity; } diff --git a/vendor/composer/semver/src/Intervals.php b/vendor/composer/semver/src/Intervals.php index 34627b4c387..c14c0d3d0a9 100644 --- a/vendor/composer/semver/src/Intervals.php +++ b/vendor/composer/semver/src/Intervals.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; -use RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface; -use RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint; -use RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint; -use RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint; +use RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint; +use RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint; /** * Helper class generating intervals from constraints * @@ -55,13 +55,13 @@ class Intervals */ public static function isSubsetOf($candidate, $constraint) { - if ($constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint) { + if ($constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint) { return \true; } - if ($candidate instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint || $constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($candidate instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint || $constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint) { return \false; } - $intersectionIntervals = self::get(new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(array($candidate, $constraint), \true)); + $intersectionIntervals = self::get(new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(array($candidate, $constraint), \true)); $candidateIntervals = self::get($candidate); if (\count($intersectionIntervals['numeric']) !== \count($candidateIntervals['numeric'])) { return \false; @@ -99,13 +99,13 @@ class Intervals */ public static function haveIntersections($a, $b) { - if ($a instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint || $b instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint) { + if ($a instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint || $b instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint) { return \true; } - if ($a instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint || $b instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($a instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint || $b instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint) { return \false; } - $intersectionIntervals = self::generateIntervals(new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(array($a, $b), \true), \true); + $intersectionIntervals = self::generateIntervals(new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(array($a, $b), \true), \true); return \count($intersectionIntervals['numeric']) > 0 || $intersectionIntervals['branches']['exclude'] || \count($intersectionIntervals['branches']['names']) > 0; } /** @@ -121,13 +121,13 @@ class Intervals */ public static function compactConstraint($constraint) { - if (!$constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint) { + if (!$constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint) { return $constraint; } $intervals = self::generateIntervals($constraint); $constraints = array(); $hasNumericMatchAll = \false; - if (\count($intervals['numeric']) === 1 && (string) $intervals['numeric'][0]->getStart() === (string) \RectorPrefix20211129\Composer\Semver\Interval::fromZero() && (string) $intervals['numeric'][0]->getEnd() === (string) \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity()) { + if (\count($intervals['numeric']) === 1 && (string) $intervals['numeric'][0]->getStart() === (string) \RectorPrefix20211130\Composer\Semver\Interval::fromZero() && (string) $intervals['numeric'][0]->getEnd() === (string) \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity()) { $constraints[] = $intervals['numeric'][0]->getStart(); $hasNumericMatchAll = \true; } else { @@ -144,21 +144,21 @@ class Intervals // only add a start if we didn't already do so, can be skipped if we're looking at second // interval in [>=M, N, P, =M, !=N] already and we only want to add !=P right now - if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) \RectorPrefix20211129\Composer\Semver\Interval::fromZero()) { + if (\count($unEqualConstraints) === 0 && (string) $interval->getStart() !== (string) \RectorPrefix20211130\Composer\Semver\Interval::fromZero()) { $unEqualConstraints[] = $interval->getStart(); } - $unEqualConstraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('!=', $interval->getEnd()->getVersion()); + $unEqualConstraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('!=', $interval->getEnd()->getVersion()); continue; } } if (\count($unEqualConstraints) > 0) { // this is where the end of the following interval of a != constraint is added as explained above - if ((string) $interval->getEnd() !== (string) \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity()) { + if ((string) $interval->getEnd() !== (string) \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity()) { $unEqualConstraints[] = $interval->getEnd(); } // count is 1 if entire constraint is just one != expression if (\count($unEqualConstraints) > 1) { - $constraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true); + $constraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint($unEqualConstraints, \true); } else { $constraints[] = $unEqualConstraints[0]; } @@ -167,15 +167,15 @@ class Intervals } // convert back >= x - <= x intervals to == x if ($interval->getStart()->getVersion() === $interval->getEnd()->getVersion() && $interval->getStart()->getOperator() === '>=' && $interval->getEnd()->getOperator() === '<=') { - $constraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion()); + $constraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('==', $interval->getStart()->getVersion()); continue; } - if ((string) $interval->getStart() === (string) \RectorPrefix20211129\Composer\Semver\Interval::fromZero()) { + if ((string) $interval->getStart() === (string) \RectorPrefix20211130\Composer\Semver\Interval::fromZero()) { $constraints[] = $interval->getEnd(); - } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity()) { + } elseif ((string) $interval->getEnd() === (string) \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity()) { $constraints[] = $interval->getStart(); } else { - $constraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true); + $constraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(array($interval->getStart(), $interval->getEnd()), \true); } } } @@ -183,43 +183,43 @@ class Intervals if (0 === \count($intervals['branches']['names'])) { if ($intervals['branches']['exclude']) { if ($hasNumericMatchAll) { - return new \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint(); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint(); } // otherwise constraint should contain a != operator and already cover this } } else { foreach ($intervals['branches']['names'] as $branchName) { if ($intervals['branches']['exclude']) { - $devConstraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('!=', $branchName); + $devConstraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('!=', $branchName); } else { - $devConstraints[] = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('==', $branchName); + $devConstraints[] = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('==', $branchName); } } // excluded branches, e.g. != dev-foo are conjunctive with the interval, so // > 2.0 != dev-foo must return a conjunctive constraint if ($intervals['branches']['exclude']) { if (\count($constraints) > 1) { - return new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(\array_merge(array(new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint($constraints, \false)), $devConstraints), \true); } - if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20211129\Composer\Semver\Interval::fromZero()) { + if (\count($constraints) === 1 && (string) $constraints[0] === (string) \RectorPrefix20211130\Composer\Semver\Interval::fromZero()) { if (\count($devConstraints) > 1) { - return new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint($devConstraints, \true); } return $devConstraints[0]; } - return new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint(\array_merge($constraints, $devConstraints), \true); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint(\array_merge($constraints, $devConstraints), \true); } // otherwise devConstraints contains a list of == operators for branches which are disjunctive with the // rest of the constraint $constraints = \array_merge($constraints, $devConstraints); } if (\count($constraints) > 1) { - return new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint($constraints, \false); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint($constraints, \false); } if (\count($constraints) === 1) { return $constraints[0]; } - return new \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint(); + return new \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint(); } /** * Creates an array of numeric intervals and branch constraints representing a given constraint @@ -245,18 +245,18 @@ class Intervals * * @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}} */ - private static function generateIntervals(\RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false) + private static function generateIntervals(\RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface $constraint, $stopOnFirstValidInterval = \false) { - if ($constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint) { - return array('numeric' => array(new \RectorPrefix20211129\Composer\Semver\Interval(\RectorPrefix20211129\Composer\Semver\Interval::fromZero(), \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211129\Composer\Semver\Interval::anyDev()); + if ($constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint) { + return array('numeric' => array(new \RectorPrefix20211130\Composer\Semver\Interval(\RectorPrefix20211130\Composer\Semver\Interval::fromZero(), \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211130\Composer\Semver\Interval::anyDev()); } - if ($constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MatchNoneConstraint) { + if ($constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MatchNoneConstraint) { return array('numeric' => array(), 'branches' => array('names' => array(), 'exclude' => \false)); } - if ($constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\Constraint) { + if ($constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\Constraint) { return self::generateSingleConstraintIntervals($constraint); } - if (!$constraint instanceof \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint) { + if (!$constraint instanceof \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint) { throw new \UnexpectedValueException('The constraint passed in should be an MatchAllConstraint, Constraint or MultiConstraint instance, got ' . \get_class($constraint) . '.'); } $constraints = $constraint->getConstraints(); @@ -268,7 +268,7 @@ class Intervals $constraintBranches[] = $res['branches']; } if ($constraint->isDisjunctive()) { - $branches = \RectorPrefix20211129\Composer\Semver\Interval::noDev(); + $branches = \RectorPrefix20211130\Composer\Semver\Interval::noDev(); foreach ($constraintBranches as $b) { if ($b['exclude']) { if ($branches['exclude']) { @@ -294,7 +294,7 @@ class Intervals } } } else { - $branches = \RectorPrefix20211129\Composer\Semver\Interval::anyDev(); + $branches = \RectorPrefix20211130\Composer\Semver\Interval::anyDev(); foreach ($constraintBranches as $b) { if ($b['exclude']) { if ($branches['exclude']) { @@ -351,13 +351,13 @@ class Intervals $activeIntervals--; } if (!$start && $activeIntervals >= $activationThreshold) { - $start = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']); + $start = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint($border['operator'], $border['version']); } elseif ($start && $activeIntervals < $activationThreshold) { // filter out invalid intervals like > x - <= x, or >= x - < x if (\version_compare($start->getVersion(), $border['version'], '=') && ($start->getOperator() === '>' && $border['operator'] === '<=' || $start->getOperator() === '>=' && $border['operator'] === '<')) { unset($intervals[$index]); } else { - $intervals[$index] = new \RectorPrefix20211129\Composer\Semver\Interval($start, new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint($border['operator'], $border['version'])); + $intervals[$index] = new \RectorPrefix20211130\Composer\Semver\Interval($start, new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint($border['operator'], $border['version'])); $index++; if ($stopOnFirstValidInterval) { break; @@ -371,7 +371,7 @@ class Intervals /** * @phpstan-return array{'numeric': Interval[], 'branches': array{'names': string[], 'exclude': bool}}} */ - private static function generateSingleConstraintIntervals(\RectorPrefix20211129\Composer\Semver\Constraint\Constraint $constraint) + private static function generateSingleConstraintIntervals(\RectorPrefix20211130\Composer\Semver\Constraint\Constraint $constraint) { $op = $constraint->getOperator(); // handle branch constraints first @@ -380,7 +380,7 @@ class Intervals $branches = array('names' => array(), 'exclude' => \false); // != dev-foo means any numeric version may match, we treat >/< like != they are not really defined for branches if ($op === '!=') { - $intervals[] = new \RectorPrefix20211129\Composer\Semver\Interval(\RectorPrefix20211129\Composer\Semver\Interval::fromZero(), \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity()); + $intervals[] = new \RectorPrefix20211130\Composer\Semver\Interval(\RectorPrefix20211130\Composer\Semver\Interval::fromZero(), \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity()); $branches = array('names' => array($constraint->getVersion()), 'exclude' => \true); } elseif ($op === '==') { $branches['names'][] = $constraint->getVersion(); @@ -389,17 +389,17 @@ class Intervals } if ($op[0] === '>') { // > & >= - return array('numeric' => array(new \RectorPrefix20211129\Composer\Semver\Interval($constraint, \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211129\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20211130\Composer\Semver\Interval($constraint, \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211130\Composer\Semver\Interval::noDev()); } if ($op[0] === '<') { // < & <= - return array('numeric' => array(new \RectorPrefix20211129\Composer\Semver\Interval(\RectorPrefix20211129\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20211129\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20211130\Composer\Semver\Interval(\RectorPrefix20211130\Composer\Semver\Interval::fromZero(), $constraint)), 'branches' => \RectorPrefix20211130\Composer\Semver\Interval::noDev()); } if ($op === '!=') { // convert !=x to intervals of 0 - x - +inf + dev* - return array('numeric' => array(new \RectorPrefix20211129\Composer\Semver\Interval(\RectorPrefix20211129\Composer\Semver\Interval::fromZero(), new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20211129\Composer\Semver\Interval(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20211129\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211129\Composer\Semver\Interval::anyDev()); + return array('numeric' => array(new \RectorPrefix20211130\Composer\Semver\Interval(\RectorPrefix20211130\Composer\Semver\Interval::fromZero(), new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $constraint->getVersion())), new \RectorPrefix20211130\Composer\Semver\Interval(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>', $constraint->getVersion()), \RectorPrefix20211130\Composer\Semver\Interval::untilPositiveInfinity())), 'branches' => \RectorPrefix20211130\Composer\Semver\Interval::anyDev()); } // convert ==x to an interval of >=x - <=x - return array('numeric' => array(new \RectorPrefix20211129\Composer\Semver\Interval(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20211129\Composer\Semver\Interval::noDev()); + return array('numeric' => array(new \RectorPrefix20211130\Composer\Semver\Interval(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', $constraint->getVersion()), new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<=', $constraint->getVersion()))), 'branches' => \RectorPrefix20211130\Composer\Semver\Interval::noDev()); } } diff --git a/vendor/composer/semver/src/Semver.php b/vendor/composer/semver/src/Semver.php index 218f7e6148d..8f560fa05d5 100644 --- a/vendor/composer/semver/src/Semver.php +++ b/vendor/composer/semver/src/Semver.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; class Semver { const SORT_ASC = 1; @@ -28,10 +28,10 @@ class Semver public static function satisfies($version, $constraints) { if (null === self::$versionParser) { - self::$versionParser = new \RectorPrefix20211129\Composer\Semver\VersionParser(); + self::$versionParser = new \RectorPrefix20211130\Composer\Semver\VersionParser(); } $versionParser = self::$versionParser; - $provider = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('==', $versionParser->normalize($version)); + $provider = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('==', $versionParser->normalize($version)); $parsedConstraints = $versionParser->parseConstraints($constraints); return $parsedConstraints->matches($provider); } @@ -46,7 +46,7 @@ class Semver public static function satisfiedBy($versions, $constraints) { $versions = \array_filter($versions, function ($version) use($constraints) { - return \RectorPrefix20211129\Composer\Semver\Semver::satisfies($version, $constraints); + return \RectorPrefix20211130\Composer\Semver\Semver::satisfies($version, $constraints); }); return \array_values($versions); } @@ -81,7 +81,7 @@ class Semver private static function usort(array $versions, $direction) { if (null === self::$versionParser) { - self::$versionParser = new \RectorPrefix20211129\Composer\Semver\VersionParser(); + self::$versionParser = new \RectorPrefix20211130\Composer\Semver\VersionParser(); } $versionParser = self::$versionParser; $normalized = array(); @@ -96,7 +96,7 @@ class Semver if ($left[0] === $right[0]) { return 0; } - if (\RectorPrefix20211129\Composer\Semver\Comparator::lessThan($left[0], $right[0])) { + if (\RectorPrefix20211130\Composer\Semver\Comparator::lessThan($left[0], $right[0])) { return -$direction; } return $direction; diff --git a/vendor/composer/semver/src/VersionParser.php b/vendor/composer/semver/src/VersionParser.php index ac00eccf1ee..55620896067 100644 --- a/vendor/composer/semver/src/VersionParser.php +++ b/vendor/composer/semver/src/VersionParser.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\Semver; +namespace RectorPrefix20211130\Composer\Semver; -use RectorPrefix20211129\Composer\Semver\Constraint\ConstraintInterface; -use RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint; -use RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint; -use RectorPrefix20211129\Composer\Semver\Constraint\Constraint; +use RectorPrefix20211130\Composer\Semver\Constraint\ConstraintInterface; +use RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint; +use RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint; +use RectorPrefix20211130\Composer\Semver\Constraint\Constraint; /** * Version parser. * @@ -238,11 +238,11 @@ class VersionParser if (1 === \count($constraintObjects)) { $constraint = $constraintObjects[0]; } else { - $constraint = new \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint($constraintObjects); + $constraint = new \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint($constraintObjects); } $orGroups[] = $constraint; } - $constraint = \RectorPrefix20211129\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false); + $constraint = \RectorPrefix20211130\Composer\Semver\Constraint\MultiConstraint::create($orGroups, \false); $constraint->setPrettyString($prettyConstraint); return $constraint; } @@ -274,9 +274,9 @@ class VersionParser } if (\preg_match('{^(v)?[xX*](\\.[xX*])*$}i', $constraint, $match)) { if (!empty($match[1]) || !empty($match[2])) { - return array(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev')); + return array(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', '0.0.0.0-dev')); } - return array(new \RectorPrefix20211129\Composer\Semver\Constraint\MatchAllConstraint()); + return array(new \RectorPrefix20211130\Composer\Semver\Constraint\MatchAllConstraint()); } $versionRegex = 'v?(\\d++)(?:\\.(\\d++))?(?:\\.(\\d++))?(?:\\.(\\d++))?(?:' . self::$modifierRegex . '|\\.([xX*][.-]?dev))(?:\\+[^\\s]+)?'; // Tilde Range @@ -308,12 +308,12 @@ class VersionParser $stabilitySuffix .= '-dev'; } $lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1)); - $lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', $lowVersion); + $lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', $lowVersion); // For upper bound, we increment the position of one more significance, // but highPosition = 0 would be illegal $highPosition = \max(1, $position - 1); $highVersion = $this->manipulateVersionString($matches, $highPosition, 1) . '-dev'; - $upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $highVersion); return array($lowerBound, $upperBound); } // Caret Range @@ -336,11 +336,11 @@ class VersionParser $stabilitySuffix .= '-dev'; } $lowVersion = $this->normalize(\substr($constraint . $stabilitySuffix, 1)); - $lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', $lowVersion); + $lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', $lowVersion); // For upper bound, we increment the position of one more significance, // but highPosition = 0 would be illegal $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev'; - $upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $highVersion); return array($lowerBound, $upperBound); } // X Range @@ -358,9 +358,9 @@ class VersionParser $lowVersion = $this->manipulateVersionString($matches, $position) . '-dev'; $highVersion = $this->manipulateVersionString($matches, $position, 1) . '-dev'; if ($lowVersion === '0.0.0.0-dev') { - return array(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $highVersion)); + return array(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $highVersion)); } - return array(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $highVersion)); + return array(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', $lowVersion), new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $highVersion)); } // Hyphen Range // @@ -375,19 +375,19 @@ class VersionParser $lowStabilitySuffix = '-dev'; } $lowVersion = $this->normalize($matches['from']); - $lowerBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('>=', $lowVersion . $lowStabilitySuffix); + $lowerBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('>=', $lowVersion . $lowStabilitySuffix); $empty = function ($x) { return $x === 0 || $x === '0' ? \false : empty($x); }; if (!$empty($matches[12]) && !$empty($matches[13]) || !empty($matches[15]) || !empty($matches[17]) || !empty($matches[18])) { $highVersion = $this->normalize($matches['to']); - $upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<=', $highVersion); + $upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<=', $highVersion); } else { $highMatch = array('', $matches[11], $matches[12], $matches[13], $matches[14]); // validate to version $this->normalize($matches['to']); $highVersion = $this->manipulateVersionString($highMatch, $empty($matches[12]) ? 1 : 2, 1) . '-dev'; - $upperBound = new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint('<', $highVersion); + $upperBound = new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint('<', $highVersion); } return array($lowerBound, $upperBound); } @@ -415,7 +415,7 @@ class VersionParser } } } - return array(new \RectorPrefix20211129\Composer\Semver\Constraint\Constraint($matches[1] ?: '=', $version)); + return array(new \RectorPrefix20211130\Composer\Semver\Constraint\Constraint($matches[1] ?: '=', $version)); } catch (\Exception $e) { } } diff --git a/vendor/composer/xdebug-handler/composer.json b/vendor/composer/xdebug-handler/composer.json index fcdfc072655..79c5953c63d 100644 --- a/vendor/composer/xdebug-handler/composer.json +++ b/vendor/composer/xdebug-handler/composer.json @@ -27,12 +27,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Composer\\XdebugHandler\\": "src" + "RectorPrefix20211130\\Composer\\XdebugHandler\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Composer\\XdebugHandler\\": "tests" + "RectorPrefix20211130\\Composer\\XdebugHandler\\": "tests" } }, "scripts": { diff --git a/vendor/composer/xdebug-handler/src/PhpConfig.php b/vendor/composer/xdebug-handler/src/PhpConfig.php index 9270bf43dfe..2530d2a2d5d 100644 --- a/vendor/composer/xdebug-handler/src/PhpConfig.php +++ b/vendor/composer/xdebug-handler/src/PhpConfig.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\XdebugHandler; +namespace RectorPrefix20211130\Composer\XdebugHandler; /** * @author John Stevenson @@ -57,7 +57,7 @@ class PhpConfig */ private function getDataAndReset() { - if ($data = \RectorPrefix20211129\Composer\XdebugHandler\XdebugHandler::getRestartSettings()) { + if ($data = \RectorPrefix20211130\Composer\XdebugHandler\XdebugHandler::getRestartSettings()) { $this->updateEnv('PHPRC', $data['phprc']); $this->updateEnv('PHP_INI_SCAN_DIR', $data['scanDir']); } @@ -71,6 +71,6 @@ class PhpConfig */ private function updateEnv($name, $value) { - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv($name, \false !== $value ? $value : null); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv($name, \false !== $value ? $value : null); } } diff --git a/vendor/composer/xdebug-handler/src/Process.php b/vendor/composer/xdebug-handler/src/Process.php index 84dd7a8f281..0b12e724565 100644 --- a/vendor/composer/xdebug-handler/src/Process.php +++ b/vendor/composer/xdebug-handler/src/Process.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\XdebugHandler; +namespace RectorPrefix20211130\Composer\XdebugHandler; /** * Process utility functions diff --git a/vendor/composer/xdebug-handler/src/Status.php b/vendor/composer/xdebug-handler/src/Status.php index a3dfdcac5ed..214a9ffe932 100644 --- a/vendor/composer/xdebug-handler/src/Status.php +++ b/vendor/composer/xdebug-handler/src/Status.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\XdebugHandler; +namespace RectorPrefix20211130\Composer\XdebugHandler; -use RectorPrefix20211129\Psr\Log\LoggerInterface; -use RectorPrefix20211129\Psr\Log\LogLevel; +use RectorPrefix20211130\Psr\Log\LoggerInterface; +use RectorPrefix20211130\Psr\Log\LogLevel; /** * @author John Stevenson * @internal @@ -41,7 +41,7 @@ class Status public function __construct($envAllowXdebug, $debug) { $start = \getenv(self::ENV_RESTART); - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART); $this->time = $start ? \round((\microtime(\true) - $start) * 1000) : 0; $this->envAllowXdebug = $envAllowXdebug; $this->debug = $debug && \defined('STDERR'); @@ -74,7 +74,7 @@ class Status private function output($text, $level = null) { if ($this->logger) { - $this->logger->log($level ?: \RectorPrefix20211129\Psr\Log\LogLevel::DEBUG, $text); + $this->logger->log($level ?: \RectorPrefix20211130\Psr\Log\LogLevel::DEBUG, $text); } if ($this->debug) { \fwrite(\STDERR, \sprintf('xdebug-handler[%d] %s', \getmypid(), $text . \PHP_EOL)); @@ -91,7 +91,7 @@ class Status } private function reportError($error) { - $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20211129\Psr\Log\LogLevel::WARNING); + $this->output(\sprintf('No restart (%s)', $error), \RectorPrefix20211130\Psr\Log\LogLevel::WARNING); } private function reportInfo($info) { @@ -111,13 +111,13 @@ class Status private function reportRestart() { $this->output($this->getLoadedMessage()); - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true)); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv(self::ENV_RESTART, (string) \microtime(\true)); } private function reportRestarted() { $loaded = $this->getLoadedMessage(); $text = \sprintf('Restarted (%d ms). %s', $this->time, $loaded); - $level = $this->loaded ? \RectorPrefix20211129\Psr\Log\LogLevel::WARNING : null; + $level = $this->loaded ? \RectorPrefix20211130\Psr\Log\LogLevel::WARNING : null; $this->output($text, $level); } private function reportRestarting($command) diff --git a/vendor/composer/xdebug-handler/src/XdebugHandler.php b/vendor/composer/xdebug-handler/src/XdebugHandler.php index 8f04c8f0228..f0830f2ac8a 100644 --- a/vendor/composer/xdebug-handler/src/XdebugHandler.php +++ b/vendor/composer/xdebug-handler/src/XdebugHandler.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view * the LICENSE file that was distributed with this source code. */ -namespace RectorPrefix20211129\Composer\XdebugHandler; +namespace RectorPrefix20211130\Composer\XdebugHandler; -use RectorPrefix20211129\Psr\Log\LoggerInterface; +use RectorPrefix20211130\Psr\Log\LoggerInterface; /** * @author John Stevenson */ @@ -72,7 +72,7 @@ class XdebugHandler if ($this->cli = \PHP_SAPI === 'cli') { $this->debug = \getenv(self::DEBUG); } - $this->statusWriter = new \RectorPrefix20211129\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug); + $this->statusWriter = new \RectorPrefix20211130\Composer\XdebugHandler\Status($this->envAllowXdebug, (bool) $this->debug); } /** * Activates status message output to a PSR3 logger @@ -117,11 +117,11 @@ class XdebugHandler */ public function check() { - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::CHECK, $this->loaded . '|' . $this->mode); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::CHECK, $this->loaded . '|' . $this->mode); $envArgs = \explode('|', (string) \getenv($this->envAllowXdebug)); if (empty($envArgs[0]) && $this->requiresRestart(self::$xdebugActive)) { // Restart required - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::RESTART); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::RESTART); if ($this->prepareRestart()) { $command = $this->getCommand(); $this->restart($command); @@ -130,8 +130,8 @@ class XdebugHandler } if (self::RESTART_ID === $envArgs[0] && \count($envArgs) === 5) { // Restarted, so unset environment variable and use saved values - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::RESTARTED); - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::RESTARTED); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv($this->envAllowXdebug); self::$inRestart = \true; if (!$this->loaded) { // Skipped version is only set if Xdebug is not loaded @@ -142,7 +142,7 @@ class XdebugHandler $this->setEnvRestartSettings($envArgs); return; } - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::NORESTART); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::NORESTART); if ($settings = self::getRestartSettings()) { // Called with existing settings, so sync our settings $this->syncSettings($settings); @@ -240,11 +240,11 @@ class XdebugHandler private function doRestart(array $command) { $this->tryEnableSignals(); - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command)); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::RESTARTING, \implode(' ', $command)); if (\PHP_VERSION_ID >= 70400) { $cmd = $command; } else { - $cmd = \RectorPrefix20211129\Composer\XdebugHandler\Process::escapeShellCommand($command); + $cmd = \RectorPrefix20211130\Composer\XdebugHandler\Process::escapeShellCommand($command); if (\defined('PHP_WINDOWS_VERSION_BUILD')) { // Outer quotes required on cmd string below PHP 8 $cmd = '"' . $cmd . '"'; @@ -256,13 +256,13 @@ class XdebugHandler } if (!isset($exitCode)) { // Unlikely that php or the default shell cannot be invoked - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process'); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::ERROR, 'Unable to restart process'); $exitCode = -1; } else { - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::INFO, 'Restarted process exited ' . $exitCode); } if ($this->debug === '2') { - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::INFO, 'Temp ini saved: ' . $this->tmpIni); } else { @\unlink($this->tmpIni); } @@ -300,7 +300,7 @@ class XdebugHandler $error = 'Unable to set environment variables'; } if ($error) { - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::ERROR, $error); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::ERROR, $error); } return empty($error); } @@ -452,7 +452,7 @@ class XdebugHandler private function setEnvRestartSettings($envArgs) { $settings = array(\php_ini_loaded_file(), $envArgs[2], $envArgs[3], $envArgs[4], \getenv($this->envOriginalInis), self::$skipped); - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings)); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv(self::RESTART_SETTINGS, \implode('|', $settings)); } /** * Syncs settings and the environment if called with existing settings @@ -463,10 +463,10 @@ class XdebugHandler { if (\false === \getenv($this->envOriginalInis)) { // Called by another app, so make original inis available - \RectorPrefix20211129\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis'])); + \RectorPrefix20211130\Composer\XdebugHandler\Process::setEnv($this->envOriginalInis, \implode(\PATH_SEPARATOR, $settings['inis'])); } self::$skipped = $settings['skipped']; - $this->notify(\RectorPrefix20211129\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings'); + $this->notify(\RectorPrefix20211130\Composer\XdebugHandler\Status::INFO, 'Process called with existing restart settings'); } /** * Returns true if there are scanned inis and PHP is able to report them diff --git a/vendor/cweagans/composer-patches/composer.json b/vendor/cweagans/composer-patches/composer.json index ec3429f2615..584125887d4 100644 --- a/vendor/cweagans/composer-patches/composer.json +++ b/vendor/cweagans/composer-patches/composer.json @@ -23,12 +23,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\cweagans\\Composer\\": "src" + "RectorPrefix20211130\\cweagans\\Composer\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\cweagans\\Composer\\Tests\\": "tests" + "RectorPrefix20211130\\cweagans\\Composer\\Tests\\": "tests" } } } \ No newline at end of file diff --git a/vendor/cweagans/composer-patches/src/PatchEvent.php b/vendor/cweagans/composer-patches/src/PatchEvent.php index 6c59b5a79dd..b3afae65a6f 100644 --- a/vendor/cweagans/composer-patches/src/PatchEvent.php +++ b/vendor/cweagans/composer-patches/src/PatchEvent.php @@ -4,11 +4,11 @@ * @file * Dispatch events when patches are applied. */ -namespace RectorPrefix20211129\cweagans\Composer; +namespace RectorPrefix20211130\cweagans\Composer; -use RectorPrefix20211129\Composer\EventDispatcher\Event; -use RectorPrefix20211129\Composer\Package\PackageInterface; -class PatchEvent extends \RectorPrefix20211129\Composer\EventDispatcher\Event +use RectorPrefix20211130\Composer\EventDispatcher\Event; +use RectorPrefix20211130\Composer\Package\PackageInterface; +class PatchEvent extends \RectorPrefix20211130\Composer\EventDispatcher\Event { /** * @var PackageInterface $package @@ -30,7 +30,7 @@ class PatchEvent extends \RectorPrefix20211129\Composer\EventDispatcher\Event * @param string $url * @param string $description */ - public function __construct($eventName, \RectorPrefix20211129\Composer\Package\PackageInterface $package, $url, $description) + public function __construct($eventName, \RectorPrefix20211130\Composer\Package\PackageInterface $package, $url, $description) { parent::__construct($eventName); $this->package = $package; diff --git a/vendor/cweagans/composer-patches/src/PatchEvents.php b/vendor/cweagans/composer-patches/src/PatchEvents.php index 1880fcfe97a..fd94c5b2c03 100644 --- a/vendor/cweagans/composer-patches/src/PatchEvents.php +++ b/vendor/cweagans/composer-patches/src/PatchEvents.php @@ -4,7 +4,7 @@ * @file * Dispatch events when patches are applied. */ -namespace RectorPrefix20211129\cweagans\Composer; +namespace RectorPrefix20211130\cweagans\Composer; class PatchEvents { diff --git a/vendor/cweagans/composer-patches/src/Patches.php b/vendor/cweagans/composer-patches/src/Patches.php index 50c8a29e554..b8c3a59bf36 100644 --- a/vendor/cweagans/composer-patches/src/Patches.php +++ b/vendor/cweagans/composer-patches/src/Patches.php @@ -4,26 +4,26 @@ * @file * Provides a way to patch Composer packages after installation. */ -namespace RectorPrefix20211129\cweagans\Composer; +namespace RectorPrefix20211130\cweagans\Composer; -use RectorPrefix20211129\Composer\Composer; -use RectorPrefix20211129\Composer\DependencyResolver\Operation\InstallOperation; -use RectorPrefix20211129\Composer\DependencyResolver\Operation\UninstallOperation; -use RectorPrefix20211129\Composer\DependencyResolver\Operation\UpdateOperation; -use RectorPrefix20211129\Composer\DependencyResolver\Operation\OperationInterface; -use RectorPrefix20211129\Composer\EventDispatcher\EventSubscriberInterface; -use RectorPrefix20211129\Composer\IO\IOInterface; -use RectorPrefix20211129\Composer\Package\AliasPackage; -use RectorPrefix20211129\Composer\Package\PackageInterface; -use RectorPrefix20211129\Composer\Plugin\PluginInterface; -use RectorPrefix20211129\Composer\Installer\PackageEvents; -use RectorPrefix20211129\Composer\Script\Event; -use RectorPrefix20211129\Composer\Script\ScriptEvents; -use RectorPrefix20211129\Composer\Installer\PackageEvent; -use RectorPrefix20211129\Composer\Util\ProcessExecutor; -use RectorPrefix20211129\Composer\Util\RemoteFilesystem; -use RectorPrefix20211129\Symfony\Component\Process\Process; -class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, \RectorPrefix20211129\Composer\EventDispatcher\EventSubscriberInterface +use RectorPrefix20211130\Composer\Composer; +use RectorPrefix20211130\Composer\DependencyResolver\Operation\InstallOperation; +use RectorPrefix20211130\Composer\DependencyResolver\Operation\UninstallOperation; +use RectorPrefix20211130\Composer\DependencyResolver\Operation\UpdateOperation; +use RectorPrefix20211130\Composer\DependencyResolver\Operation\OperationInterface; +use RectorPrefix20211130\Composer\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20211130\Composer\IO\IOInterface; +use RectorPrefix20211130\Composer\Package\AliasPackage; +use RectorPrefix20211130\Composer\Package\PackageInterface; +use RectorPrefix20211130\Composer\Plugin\PluginInterface; +use RectorPrefix20211130\Composer\Installer\PackageEvents; +use RectorPrefix20211130\Composer\Script\Event; +use RectorPrefix20211130\Composer\Script\ScriptEvents; +use RectorPrefix20211130\Composer\Installer\PackageEvent; +use RectorPrefix20211130\Composer\Util\ProcessExecutor; +use RectorPrefix20211130\Composer\Util\RemoteFilesystem; +use RectorPrefix20211130\Symfony\Component\Process\Process; +class Patches implements \RectorPrefix20211130\Composer\Plugin\PluginInterface, \RectorPrefix20211130\Composer\EventDispatcher\EventSubscriberInterface { /** * @var Composer $composer @@ -51,12 +51,12 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, * @param Composer $composer * @param IOInterface $io */ - public function activate(\RectorPrefix20211129\Composer\Composer $composer, \RectorPrefix20211129\Composer\IO\IOInterface $io) + public function activate(\RectorPrefix20211130\Composer\Composer $composer, \RectorPrefix20211130\Composer\IO\IOInterface $io) { $this->composer = $composer; $this->io = $io; $this->eventDispatcher = $composer->getEventDispatcher(); - $this->executor = new \RectorPrefix20211129\Composer\Util\ProcessExecutor($this->io); + $this->executor = new \RectorPrefix20211130\Composer\Util\ProcessExecutor($this->io); $this->patches = array(); $this->installedPatches = array(); } @@ -66,25 +66,25 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, public static function getSubscribedEvents() { return array( - \RectorPrefix20211129\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'), - \RectorPrefix20211129\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'), - \RectorPrefix20211129\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'), - \RectorPrefix20211129\Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE => array('gatherPatches'), + \RectorPrefix20211130\Composer\Script\ScriptEvents::PRE_INSTALL_CMD => array('checkPatches'), + \RectorPrefix20211130\Composer\Script\ScriptEvents::PRE_UPDATE_CMD => array('checkPatches'), + \RectorPrefix20211130\Composer\Installer\PackageEvents::PRE_PACKAGE_INSTALL => array('gatherPatches'), + \RectorPrefix20211130\Composer\Installer\PackageEvents::PRE_PACKAGE_UPDATE => array('gatherPatches'), // The following is a higher weight for compatibility with // https://github.com/AydinHassan/magento-core-composer-installer and more generally for compatibility with // every Composer plugin which deploys downloaded packages to other locations. // In such cases you want that those plugins deploy patched files so they have to run after // the "composer-patches" plugin. // @see: https://github.com/cweagans/composer-patches/pull/153 - \RectorPrefix20211129\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10), - \RectorPrefix20211129\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10), + \RectorPrefix20211130\Composer\Installer\PackageEvents::POST_PACKAGE_INSTALL => array('postInstall', 10), + \RectorPrefix20211130\Composer\Installer\PackageEvents::POST_PACKAGE_UPDATE => array('postInstall', 10), ); } /** * Before running composer install, * @param Event $event */ - public function checkPatches(\RectorPrefix20211129\Composer\Script\Event $event) + public function checkPatches(\RectorPrefix20211130\Composer\Script\Event $event) { if (!$this->isPatchingEnabled()) { return; @@ -119,13 +119,13 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, // Remove packages for which the patch set has changed. $promises = array(); foreach ($packages as $package) { - if (!$package instanceof \RectorPrefix20211129\Composer\Package\AliasPackage) { + if (!$package instanceof \RectorPrefix20211130\Composer\Package\AliasPackage) { $package_name = $package->getName(); $extra = $package->getExtra(); $has_patches = isset($tmp_patches[$package_name]); $has_applied_patches = isset($extra['patches_applied']) && \count($extra['patches_applied']) > 0; if ($has_patches && !$has_applied_patches || !$has_patches && $has_applied_patches || $has_patches && $has_applied_patches && $tmp_patches[$package_name] !== $extra['patches_applied']) { - $uninstallOperation = new \RectorPrefix20211129\Composer\DependencyResolver\Operation\UninstallOperation($package, 'Removing package so it can be re-installed and re-patched.'); + $uninstallOperation = new \RectorPrefix20211130\Composer\DependencyResolver\Operation\UninstallOperation($package, 'Removing package so it can be re-installed and re-patched.'); $this->io->write('Removing package ' . $package_name . ' so that it can be re-installed and re-patched.'); $promises[] = $installationManager->uninstall($localRepository, $uninstallOperation); } @@ -144,14 +144,14 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, * * @param PackageEvent $event */ - public function gatherPatches(\RectorPrefix20211129\Composer\Installer\PackageEvent $event) + public function gatherPatches(\RectorPrefix20211130\Composer\Installer\PackageEvent $event) { // If we've already done this, then don't do it again. if (isset($this->patches['_patchesGathered'])) { - $this->io->write('Patches already gathered. Skipping', TRUE, \RectorPrefix20211129\Composer\IO\IOInterface::VERBOSE); + $this->io->write('Patches already gathered. Skipping', TRUE, \RectorPrefix20211130\Composer\IO\IOInterface::VERBOSE); return; } elseif (!$this->isPatchingEnabled()) { - $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20211129\Composer\IO\IOInterface::VERBOSE); + $this->io->write('Patching is disabled. Skipping.', TRUE, \RectorPrefix20211130\Composer\IO\IOInterface::VERBOSE); return; } $this->patches = $this->grabPatches(); @@ -164,7 +164,7 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, $operations = $event->getOperations(); $this->io->write('Gathering patches for dependencies. This might take a minute.'); foreach ($operations as $operation) { - if ($operation instanceof \RectorPrefix20211129\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20211129\Composer\DependencyResolver\Operation\UpdateOperation) { + if ($operation instanceof \RectorPrefix20211130\Composer\DependencyResolver\Operation\InstallOperation || $operation instanceof \RectorPrefix20211130\Composer\DependencyResolver\Operation\UpdateOperation) { $package = $this->getPackageFromOperation($operation); $extra = $package->getExtra(); if (isset($extra['patches'])) { @@ -253,7 +253,7 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, * @param PackageEvent $event * @throws \Exception */ - public function postInstall(\RectorPrefix20211129\Composer\Installer\PackageEvent $event) + public function postInstall(\RectorPrefix20211130\Composer\Installer\PackageEvent $event) { // Check if we should exit in failure. $extra = $this->composer->getPackage()->getExtra(); @@ -275,7 +275,7 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, $manager = $event->getComposer()->getInstallationManager(); $install_path = $manager->getInstaller($package->getType())->getInstallPath($package); // Set up a downloader. - $downloader = new \RectorPrefix20211129\Composer\Util\RemoteFilesystem($this->io, $this->composer->getConfig()); + $downloader = new \RectorPrefix20211130\Composer\Util\RemoteFilesystem($this->io, $this->composer->getConfig()); // Track applied patches in the package info in installed.json $localRepository = $this->composer->getRepositoryManager()->getLocalRepository(); $localPackage = $localRepository->findPackage($package_name, $package->getVersion()); @@ -284,9 +284,9 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, foreach ($this->patches[$package_name] as $description => $url) { $this->io->write(' ' . $url . ' (' . $description . ')'); try { - $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20211129\cweagans\Composer\PatchEvent(\RectorPrefix20211129\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description)); + $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20211130\cweagans\Composer\PatchEvent(\RectorPrefix20211130\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, $url, $description)); $this->getAndApplyPatch($downloader, $install_path, $url, $package); - $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20211129\cweagans\Composer\PatchEvent(\RectorPrefix20211129\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, $url, $description)); + $this->eventDispatcher->dispatch(NULL, new \RectorPrefix20211130\cweagans\Composer\PatchEvent(\RectorPrefix20211130\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, $url, $description)); $extra['patches_applied'][$description] = $url; } catch (\Exception $e) { $this->io->write(' Could not apply patch! Skipping. The error was: ' . $e->getMessage() . ''); @@ -308,11 +308,11 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, * @return PackageInterface * @throws \Exception */ - protected function getPackageFromOperation(\RectorPrefix20211129\Composer\DependencyResolver\Operation\OperationInterface $operation) + protected function getPackageFromOperation(\RectorPrefix20211130\Composer\DependencyResolver\Operation\OperationInterface $operation) { - if ($operation instanceof \RectorPrefix20211129\Composer\DependencyResolver\Operation\InstallOperation) { + if ($operation instanceof \RectorPrefix20211130\Composer\DependencyResolver\Operation\InstallOperation) { $package = $operation->getPackage(); - } elseif ($operation instanceof \RectorPrefix20211129\Composer\DependencyResolver\Operation\UpdateOperation) { + } elseif ($operation instanceof \RectorPrefix20211130\Composer\DependencyResolver\Operation\UpdateOperation) { $package = $operation->getTargetPackage(); } else { throw new \Exception('Unknown operation: ' . \get_class($operation)); @@ -328,7 +328,7 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, * @param PackageInterface $package * @throws \Exception */ - protected function getAndApplyPatch(\RectorPrefix20211129\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20211129\Composer\Package\PackageInterface $package) + protected function getAndApplyPatch(\RectorPrefix20211130\Composer\Util\RemoteFilesystem $downloader, $install_path, $patch_url, \RectorPrefix20211130\Composer\Package\PackageInterface $package) { // Local patch file. if (\file_exists($patch_url)) { @@ -433,7 +433,7 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, $this->io->write('' . $command . ''); $io = $this->io; $output = function ($type, $data) use($io) { - if ($type == \RectorPrefix20211129\Symfony\Component\Process\Process::ERR) { + if ($type == \RectorPrefix20211130\Symfony\Component\Process\Process::ERR) { $io->write('' . $data . ''); } else { $io->write('' . $data . ''); @@ -513,13 +513,13 @@ class Patches implements \RectorPrefix20211129\Composer\Plugin\PluginInterface, /** * {@inheritDoc} */ - public function deactivate(\RectorPrefix20211129\Composer\Composer $composer, \RectorPrefix20211129\Composer\IO\IOInterface $io) + public function deactivate(\RectorPrefix20211130\Composer\Composer $composer, \RectorPrefix20211130\Composer\IO\IOInterface $io) { } /** * {@inheritDoc} */ - public function uninstall(\RectorPrefix20211129\Composer\Composer $composer, \RectorPrefix20211129\Composer\IO\IOInterface $io) + public function uninstall(\RectorPrefix20211130\Composer\Composer $composer, \RectorPrefix20211130\Composer\IO\IOInterface $io) { } } diff --git a/vendor/cweagans/composer-patches/tests/PatchEventTest.php b/vendor/cweagans/composer-patches/tests/PatchEventTest.php index 38a8cbe1a51..92ef9e7195d 100644 --- a/vendor/cweagans/composer-patches/tests/PatchEventTest.php +++ b/vendor/cweagans/composer-patches/tests/PatchEventTest.php @@ -4,21 +4,21 @@ * @file * Tests event dispatching. */ -namespace RectorPrefix20211129\cweagans\Composer\Tests; +namespace RectorPrefix20211130\cweagans\Composer\Tests; -use RectorPrefix20211129\cweagans\Composer\PatchEvent; -use RectorPrefix20211129\cweagans\Composer\PatchEvents; -use RectorPrefix20211129\Composer\Package\PackageInterface; -class PatchEventTest extends \RectorPrefix20211129\PHPUnit_Framework_TestCase +use RectorPrefix20211130\cweagans\Composer\PatchEvent; +use RectorPrefix20211130\cweagans\Composer\PatchEvents; +use RectorPrefix20211130\Composer\Package\PackageInterface; +class PatchEventTest extends \RectorPrefix20211130\PHPUnit_Framework_TestCase { /** * Tests all the getters. * * @dataProvider patchEventDataProvider */ - public function testGetters($event_name, \RectorPrefix20211129\Composer\Package\PackageInterface $package, $url, $description) + public function testGetters($event_name, \RectorPrefix20211130\Composer\Package\PackageInterface $package, $url, $description) { - $patch_event = new \RectorPrefix20211129\cweagans\Composer\PatchEvent($event_name, $package, $url, $description); + $patch_event = new \RectorPrefix20211130\cweagans\Composer\PatchEvent($event_name, $package, $url, $description); $this->assertEquals($event_name, $patch_event->getName()); $this->assertEquals($package, $patch_event->getPackage()); $this->assertEquals($url, $patch_event->getUrl()); @@ -26,8 +26,8 @@ class PatchEventTest extends \RectorPrefix20211129\PHPUnit_Framework_TestCase } public function patchEventDataProvider() { - $prophecy = $this->prophesize('RectorPrefix20211129\\Composer\\Package\\PackageInterface'); + $prophecy = $this->prophesize('RectorPrefix20211130\\Composer\\Package\\PackageInterface'); $package = $prophecy->reveal(); - return array(array(\RectorPrefix20211129\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20211129\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch')); + return array(array(\RectorPrefix20211130\cweagans\Composer\PatchEvents::PRE_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch'), array(\RectorPrefix20211130\cweagans\Composer\PatchEvents::POST_PATCH_APPLY, $package, 'https://www.drupal.org', 'A test patch')); } } diff --git a/vendor/danielstjules/stringy/composer.json b/vendor/danielstjules/stringy/composer.json index 307389db14b..242464d99d4 100644 --- a/vendor/danielstjules/stringy/composer.json +++ b/vendor/danielstjules/stringy/composer.json @@ -34,7 +34,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Stringy\\": "src\/" + "RectorPrefix20211130\\Stringy\\": "src\/" }, "files": [ "src\/Create.php" diff --git a/vendor/danielstjules/stringy/src/Create.php b/vendor/danielstjules/stringy/src/Create.php index a806cad045a..8e653c8c8f3 100644 --- a/vendor/danielstjules/stringy/src/Create.php +++ b/vendor/danielstjules/stringy/src/Create.php @@ -1,8 +1,8 @@ getMethods(\ReflectionMethod::IS_PUBLIC); foreach ($methods as $method) { $params = $method->getNumberOfParameters() + 2; @@ -137,10 +137,10 @@ class StaticStringy $args = \array_slice($arguments, 1); $encoding = null; } - $stringy = \RectorPrefix20211129\Stringy\Stringy::create($str, $encoding); + $stringy = \RectorPrefix20211130\Stringy\Stringy::create($str, $encoding); $result = \call_user_func_array([$stringy, $name], $args); $cast = function ($val) { - if (\is_object($val) && $val instanceof \RectorPrefix20211129\Stringy\Stringy) { + if (\is_object($val) && $val instanceof \RectorPrefix20211130\Stringy\Stringy) { return (string) $val; } else { return $val; diff --git a/vendor/danielstjules/stringy/src/Stringy.php b/vendor/danielstjules/stringy/src/Stringy.php index 2df171670e2..38825bf3f02 100644 --- a/vendor/danielstjules/stringy/src/Stringy.php +++ b/vendor/danielstjules/stringy/src/Stringy.php @@ -1,6 +1,6 @@ toLowerCase()->upperCaseFirst(); }, $stringy->str); return $stringy; diff --git a/vendor/doctrine/inflector/composer.json b/vendor/doctrine/inflector/composer.json index aa507d616e8..9cb959d349e 100644 --- a/vendor/doctrine/inflector/composer.json +++ b/vendor/doctrine/inflector/composer.json @@ -51,12 +51,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" + "RectorPrefix20211130\\Doctrine\\Inflector\\": "lib\/Doctrine\/Inflector" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Doctrine\\Tests\\Inflector\\": "tests\/Doctrine\/Tests\/Inflector" + "RectorPrefix20211130\\Doctrine\\Tests\\Inflector\\": "tests\/Doctrine\/Tests\/Inflector" } } } \ No newline at end of file diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php index 7464f016952..fcaf71f5bdb 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/CachedWordInflector.php @@ -1,15 +1,15 @@ wordInflector = $wordInflector; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php index de39778db3e..059ae3afe5b 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/GenericLanguageInflectorFactory.php @@ -1,11 +1,11 @@ singularRulesets[] = $this->getSingularRuleset(); $this->pluralRulesets[] = $this->getPluralRuleset(); } - public final function build() : \RectorPrefix20211129\Doctrine\Inflector\Inflector + public final function build() : \RectorPrefix20211130\Doctrine\Inflector\Inflector { - return new \RectorPrefix20211129\Doctrine\Inflector\Inflector(new \RectorPrefix20211129\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20211129\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20211129\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20211129\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets))); + return new \RectorPrefix20211130\Doctrine\Inflector\Inflector(new \RectorPrefix20211130\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20211130\Doctrine\Inflector\RulesetInflector(...$this->singularRulesets)), new \RectorPrefix20211130\Doctrine\Inflector\CachedWordInflector(new \RectorPrefix20211130\Doctrine\Inflector\RulesetInflector(...$this->pluralRulesets))); } /** * @param \Doctrine\Inflector\Rules\Ruleset|null $singularRules * @param bool $reset */ - public final function withSingularRules($singularRules, $reset = \false) : \RectorPrefix20211129\Doctrine\Inflector\LanguageInflectorFactory + public final function withSingularRules($singularRules, $reset = \false) : \RectorPrefix20211130\Doctrine\Inflector\LanguageInflectorFactory { if ($reset) { $this->singularRulesets = []; } - if ($singularRules instanceof \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset) { + if ($singularRules instanceof \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset) { \array_unshift($this->singularRulesets, $singularRules); } return $this; @@ -38,16 +38,16 @@ abstract class GenericLanguageInflectorFactory implements \RectorPrefix20211129\ * @param \Doctrine\Inflector\Rules\Ruleset|null $pluralRules * @param bool $reset */ - public final function withPluralRules($pluralRules, $reset = \false) : \RectorPrefix20211129\Doctrine\Inflector\LanguageInflectorFactory + public final function withPluralRules($pluralRules, $reset = \false) : \RectorPrefix20211130\Doctrine\Inflector\LanguageInflectorFactory { if ($reset) { $this->pluralRulesets = []; } - if ($pluralRules instanceof \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset) { + if ($pluralRules instanceof \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset) { \array_unshift($this->pluralRulesets, $pluralRules); } return $this; } - protected abstract function getSingularRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset; - protected abstract function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset; + protected abstract function getSingularRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset; + protected abstract function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php index 472ffe8176b..7f5c01545ca 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Inflector.php @@ -1,7 +1,7 @@ singularizer = $singularizer; $this->pluralizer = $pluralizer; @@ -171,7 +171,7 @@ class Inflector } else { $lowered = \strtolower($unaccented); } - $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20211129\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20211129\\1_\\2', '/[^A-Z^a-z^0-9^\\/]+/' => '-']; + $replacements = ['/\\W/' => ' ', '/([A-Z]+)([A-Z][a-z])/' => 'RectorPrefix20211130\\1_\\2', '/([a-z\\d])([A-Z])/' => 'RectorPrefix20211130\\1_\\2', '/[^A-Z^a-z^0-9^\\/]+/' => '-']; $urlized = $lowered; foreach ($replacements as $pattern => $replacement) { $replaced = \preg_replace($pattern, $replacement, $urlized); diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php index fa38c84c6c4..243569479f3 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/InflectorFactory.php @@ -1,37 +1,37 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\English\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\English\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php index c529ecba8df..0556b1ff47f 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/English/Uninflected.php @@ -1,9 +1,9 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\French\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\French\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php index df2b13d30d4..b41b21a3423 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/French/Uninflected.php @@ -1,9 +1,9 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\NorwegianBokmal\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php index 19a6dee9b11..9f15875f7cb 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/NorwegianBokmal/Uninflected.php @@ -1,9 +1,9 @@ patterns = $patterns; - $patterns = \array_map(static function (\RectorPrefix20211129\Doctrine\Inflector\Rules\Pattern $pattern) : string { + $patterns = \array_map(static function (\RectorPrefix20211130\Doctrine\Inflector\Rules\Pattern $pattern) : string { return $pattern->getPattern(); }, $this->patterns); $this->regex = '/^(?:' . \implode('|', $patterns) . ')$/i'; diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php index 6fc2a4958ff..509be43b892 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Inflectible.php @@ -1,12 +1,12 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Portuguese\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php index 099ee71d07b..ee202db132e 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Portuguese/Uninflected.php @@ -1,9 +1,9 @@ regular = $regular; $this->uninflected = $uninflected; $this->irregular = $irregular; } - public function getRegular() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations + public function getRegular() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations { return $this->regular; } - public function getUninflected() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns + public function getUninflected() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns { return $this->uninflected; } - public function getIrregular() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions + public function getIrregular() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions { return $this->irregular; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php index 836a6b7bb11..cf0bb3e6aad 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Inflectible.php @@ -1,12 +1,12 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Spanish\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php index 65d0da5ae1b..1d251eba1e1 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Spanish/Uninflected.php @@ -1,9 +1,9 @@ from = $from; $this->to = $to; } - public function getFrom() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Word + public function getFrom() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Word { return $this->from; } - public function getTo() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Word + public function getTo() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Word { return $this->to; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php index e2f048c5912..20c7198acc2 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Substitutions.php @@ -1,29 +1,29 @@ substitutions[$substitution->getFrom()->getWord()] = $substitution; } } - public function getFlippedSubstitutions() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions + public function getFlippedSubstitutions() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions { $substitutions = []; foreach ($this->substitutions as $substitution) { - $substitutions[] = new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom()); + $substitutions[] = new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitution($substitution->getTo(), $substitution->getFrom()); } - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...$substitutions); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...$substitutions); } /** * @param string $word diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php index d9540ef4939..48068e0d77d 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformation.php @@ -1,22 +1,22 @@ pattern = $pattern; $this->replacement = $replacement; } - public function getPattern() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Pattern + public function getPattern() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Pattern { return $this->pattern; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php index dc71327b690..a6fd7ffe1a0 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Transformations.php @@ -1,14 +1,14 @@ transformations = $transformations; } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php index 815dd2268e5..46dcb3558ac 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Inflectible.php @@ -1,12 +1,12 @@ getFlippedSubstitutions()); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Inflectible::getSingular()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Uninflected::getSingular()), (new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular()))->getFlippedSubstitutions()); } - public static function getPluralRuleset() : \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset + public static function getPluralRuleset() : \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset { - return new \RectorPrefix20211129\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211129\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20211129\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211129\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular())); + return new \RectorPrefix20211130\Doctrine\Inflector\Rules\Ruleset(new \RectorPrefix20211130\Doctrine\Inflector\Rules\Transformations(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Inflectible::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Patterns(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Uninflected::getPlural()), new \RectorPrefix20211130\Doctrine\Inflector\Rules\Substitutions(...\RectorPrefix20211130\Doctrine\Inflector\Rules\Turkish\Inflectible::getIrregular())); } } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php index 99d6ede114c..71ea162fa13 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/Rules/Turkish/Uninflected.php @@ -1,9 +1,9 @@ rulesets = \array_merge([$ruleset], $rulesets); } diff --git a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php index 130073ffdcb..ccfb9958150 100644 --- a/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php +++ b/vendor/doctrine/inflector/lib/Doctrine/Inflector/WordInflector.php @@ -1,7 +1,7 @@ diff --git a/vendor/ergebnis/json-printer/src/PrinterInterface.php b/vendor/ergebnis/json-printer/src/PrinterInterface.php index daa97e34ea9..bb6376ce690 100644 --- a/vendor/ergebnis/json-printer/src/PrinterInterface.php +++ b/vendor/ergebnis/json-printer/src/PrinterInterface.php @@ -9,7 +9,7 @@ declare (strict_types=1); * * @see https://github.com/ergebnis/json-printer */ -namespace RectorPrefix20211129\Ergebnis\Json\Printer; +namespace RectorPrefix20211130\Ergebnis\Json\Printer; interface PrinterInterface { diff --git a/vendor/evenement/evenement/composer.json b/vendor/evenement/evenement/composer.json index a6840dfed6a..1b66cd697e1 100644 --- a/vendor/evenement/evenement/composer.json +++ b/vendor/evenement/evenement/composer.json @@ -20,7 +20,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Evenement\\": "src\/Evenement\/" + "RectorPrefix20211130\\Evenement\\": "src\/Evenement\/" } }, "autoload-dev": { @@ -28,7 +28,7 @@ "tests\/Evenement\/Tests\/functions.php" ], "psr-4": { - "RectorPrefix20211129\\Evenement\\": "tests\/Evenement\/" + "RectorPrefix20211130\\Evenement\\": "tests\/Evenement\/" } } } \ No newline at end of file diff --git a/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php b/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php index 8103d70b12c..0ea3355ef01 100644 --- a/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php +++ b/vendor/evenement/evenement/examples/benchmark-emit-no-arguments.php @@ -1,7 +1,7 @@ on('event', function () { }); $start = \microtime(\true); diff --git a/vendor/evenement/evenement/examples/benchmark-emit-once.php b/vendor/evenement/evenement/examples/benchmark-emit-once.php index a2ff4fcaea4..60fac77516d 100644 --- a/vendor/evenement/evenement/examples/benchmark-emit-once.php +++ b/vendor/evenement/evenement/examples/benchmark-emit-once.php @@ -1,7 +1,7 @@ once('event', function ($a, $b, $c) { }); diff --git a/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php b/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php index 0168292b2fa..09238669eeb 100644 --- a/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php +++ b/vendor/evenement/evenement/examples/benchmark-emit-one-argument.php @@ -1,7 +1,7 @@ on('event', function ($a) { }); $start = \microtime(\true); diff --git a/vendor/evenement/evenement/examples/benchmark-emit.php b/vendor/evenement/evenement/examples/benchmark-emit.php index 8ff1ed61ec5..c0df0b9635e 100644 --- a/vendor/evenement/evenement/examples/benchmark-emit.php +++ b/vendor/evenement/evenement/examples/benchmark-emit.php @@ -1,7 +1,7 @@ on('event', function ($a, $b, $c) { }); $start = \microtime(\true); diff --git a/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php b/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php index aeee7a3c633..ef3a87f03cc 100644 --- a/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php +++ b/vendor/evenement/evenement/examples/benchmark-remove-listener-once.php @@ -1,7 +1,7 @@ emitter = new \RectorPrefix20211129\Evenement\EventEmitter(); + $this->emitter = new \RectorPrefix20211130\Evenement\EventEmitter(); } public function testAddListenerWithLambda() { @@ -28,12 +28,12 @@ class EventEmitterTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase } public function testAddListenerWithMethod() { - $listener = new \RectorPrefix20211129\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20211130\Evenement\Tests\Listener(); $this->emitter->on('foo', [$listener, 'onFoo']); } public function testAddListenerWithStaticMethod() { - $this->emitter->on('bar', ['RectorPrefix20211129\\Evenement\\Tests\\Listener', 'onBar']); + $this->emitter->on('bar', ['RectorPrefix20211130\\Evenement\\Tests\\Listener', 'onBar']); } public function testAddListenerWithInvalidListener() { @@ -191,14 +191,14 @@ class EventEmitterTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase } public function testCallablesClass() { - $listener = new \RectorPrefix20211129\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20211130\Evenement\Tests\Listener(); $this->emitter->on('foo', [$listener, 'onFoo']); $this->emitter->emit('foo', ['bar']); self::assertSame(['bar'], $listener->getData()); } public function testCallablesClassInvoke() { - $listener = new \RectorPrefix20211129\Evenement\Tests\Listener(); + $listener = new \RectorPrefix20211130\Evenement\Tests\Listener(); $this->emitter->on('foo', $listener); $this->emitter->emit('foo', ['bar']); self::assertSame(['bar'], $listener->getMagicData()); @@ -207,11 +207,11 @@ class EventEmitterTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase { $this->emitter->on('foo', '\\Evenement\\Tests\\Listener::onBar'); $this->emitter->emit('foo', ['bar']); - self::assertSame(['bar'], \RectorPrefix20211129\Evenement\Tests\Listener::getStaticData()); + self::assertSame(['bar'], \RectorPrefix20211130\Evenement\Tests\Listener::getStaticData()); } public function testCallablesFunction() { - $this->emitter->on('foo', 'RectorPrefix20211129\\Evenement\\Tests\\setGlobalTestData'); + $this->emitter->on('foo', 'RectorPrefix20211130\\Evenement\\Tests\\setGlobalTestData'); $this->emitter->emit('foo', ['bar']); self::assertSame('bar', $GLOBALS['evenement-evenement-test-data']); unset($GLOBALS['evenement-evenement-test-data']); diff --git a/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php b/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php index 75c2a459253..e98c910443c 100644 --- a/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php +++ b/vendor/evenement/evenement/tests/Evenement/Tests/Listener.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Evenement\Tests; +namespace RectorPrefix20211130\Evenement\Tests; class Listener { diff --git a/vendor/evenement/evenement/tests/Evenement/Tests/functions.php b/vendor/evenement/evenement/tests/Evenement/Tests/functions.php index 3cb5bccb506..cbc49396ef8 100644 --- a/vendor/evenement/evenement/tests/Evenement/Tests/functions.php +++ b/vendor/evenement/evenement/tests/Evenement/Tests/functions.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Evenement\Tests; +namespace RectorPrefix20211130\Evenement\Tests; function setGlobalTestData($data) { diff --git a/vendor/helmich/typo3-typoscript-parser/composer.json b/vendor/helmich/typo3-typoscript-parser/composer.json index 323c7c66137..df598e71200 100644 --- a/vendor/helmich/typo3-typoscript-parser/composer.json +++ b/vendor/helmich/typo3-typoscript-parser/composer.json @@ -28,7 +28,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Helmich\\TypoScriptParser\\": "src\/" + "RectorPrefix20211130\\Helmich\\TypoScriptParser\\": "src\/" } }, "autoload-dev": { @@ -36,8 +36,8 @@ "vendor\/phpunit\/phpunit\/src\/Framework\/Assert\/Functions.php" ], "psr-4": { - "RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional", - "RectorPrefix20211129\\Helmich\\TypoScriptParser\\Tests\\Unit\\": "tests\/unit" + "RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tests\\Functional\\": "tests\/functional", + "RectorPrefix20211130\\Helmich\\TypoScriptParser\\Tests\\Unit\\": "tests\/unit" } } } \ No newline at end of file diff --git a/vendor/helmich/typo3-typoscript-parser/config/services.yml b/vendor/helmich/typo3-typoscript-parser/config/services.yml index 4e2b6143465..1dadadf99a3 100644 --- a/vendor/helmich/typo3-typoscript-parser/config/services.yml +++ b/vendor/helmich/typo3-typoscript-parser/config/services.yml @@ -1,10 +1,10 @@ services: tokenizer: - class: RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Tokenizer + class: RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Tokenizer token_printer_structured: - class: RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter + class: RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Printer\StructuredTokenPrinter token_printer_code: - class: RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter + class: RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Printer\CodeTokenPrinter parser: - class: RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Parser + class: RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Parser arguments: ['@tokenizer'] diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php index b01dd57ff03..47c8bdb78d4 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Builder.php @@ -1,7 +1,7 @@ operatorBuilder = new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Builder(); + $this->operatorBuilder = new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Builder(); } /** * @param string $condition @@ -28,32 +28,32 @@ class Builder * @param int $line * @return ConditionalStatement */ - public function condition($condition, $if, $else, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement + public function condition($condition, $if, $else, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement($condition, $if, $else, $line); } /** * @param string $comment * @param int $line */ - public function comment($comment, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Comment + public function comment($comment, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Comment { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Comment($comment, $line); } /** * @param string $comment * @param int $line */ - public function multilineComment($comment, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\MultilineComment + public function multilineComment($comment, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\MultilineComment { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\MultilineComment($comment, $line); } /** * @param int $line */ - public function nop($line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NopStatement + public function nop($line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NopStatement { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NopStatement($line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NopStatement($line); } /** * @param string $directory @@ -62,9 +62,9 @@ class Builder * @param int $line * @return DirectoryIncludeStatement */ - public function includeDirectory($directory, $extensions, $condition, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement + public function includeDirectory($directory, $extensions, $condition, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement($directory, $extensions, $condition, $line); } /** * @param string $file @@ -73,9 +73,9 @@ class Builder * @param int $line * @return FileIncludeStatement */ - public function includeFile($file, $newSyntax, $condition, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement + public function includeFile($file, $newSyntax, $condition, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement($file, $newSyntax, $condition, $line); } /** * @param ObjectPath $path @@ -83,31 +83,31 @@ class Builder * @param int $line * @return NestedAssignment */ - public function nested($path, $statements, $line) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NestedAssignment + public function nested($path, $statements, $line) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NestedAssignment { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NestedAssignment($path, $statements, $line); } /** * @param string $value * @return Scalar */ - public function scalar($value) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Scalar + public function scalar($value) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Scalar { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Scalar($value); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Scalar($value); } /** * @param string $absolute * @param string $relative * @return ObjectPath */ - public function path($absolute, $relative) : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ObjectPath + public function path($absolute, $relative) : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ObjectPath { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ObjectPath($absolute, $relative); } /** * @return Operator\Builder */ - public function op() : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Builder + public function op() : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Builder { return $this->operatorBuilder; } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php index 852c90127b9..f0dda7f4cad 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Comment.php @@ -1,7 +1,7 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php index fef85263270..8cf78bac202 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/NopStatement.php @@ -1,7 +1,7 @@ absoluteName); if (\count($components) === 1) { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); } \array_pop($components); return new self(\implode('.', $components), $components[\count($components) - 1]); diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php index 1712684d195..5edac9c5ff9 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Assignment.php @@ -1,10 +1,10 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php index 95869f25c4f..c73df330496 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/BinaryObjectOperator.php @@ -1,16 +1,16 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php index 1c2bfac98ea..051bd263af7 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/Delete.php @@ -1,7 +1,7 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php index c80b5ae4759..8cd973ed32c 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/ModificationCall.php @@ -1,7 +1,7 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php index 95898e0b5e9..478f8c4d2ee 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/Operator/UnaryOperator.php @@ -1,9 +1,9 @@ object = $object; diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php index 62d9dcbceaf..a7c0a74fbd0 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/AST/RootObjectPath.php @@ -1,7 +1,7 @@ tokenizer = $tokenizer; - $this->builder = $astBuilder ?: new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Builder(); + $this->builder = $astBuilder ?: new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Builder(); } /** * Parses a stream resource. @@ -66,12 +66,12 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa */ public function parseTokens($tokens) : array { - $stream = (new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized(); - $state = new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState($stream); + $stream = (new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\TokenStream($tokens))->normalized(); + $state = new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState($stream); for (; $state->hasNext(); $state->next()) { - if ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { $objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue()); - if ($state->token(1)->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { $state->next(2); $this->parseNestedStatements($state->withContext($objectPath)); } @@ -85,42 +85,42 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @return void * @throws ParseError */ - private function parseToken(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseToken(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token()->getType()) { - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER: $objectPath = $state->context()->append($state->token()->getValue()); $this->parseValueOperation($state->withContext($objectPath)); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION: $this->parseCondition($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE: - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW: $this->parseInclude($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE: $this->triggerParseErrorIf($state->context()->depth() === 0, \sprintf('Unexpected token %s when not in nested assignment in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011203, $state->token()->getLine()); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE: $state->statements()->append($this->builder->comment($state->token()->getValue(), $state->token()->getLine())); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE: $state->statements()->append($this->builder->multilineComment($state->token()->getValue(), $state->token()->getLine())); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: $state->statements()->append($this->builder->nop($state->token()->getLine())); break; default: - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError(\sprintf('Unexpected token %s in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011202, $state->token()->getLine()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError(\sprintf('Unexpected token %s in line %d.', $state->token()->getType(), $state->token()->getLine()), 1403011202, $state->token()->getLine()); } } private function triggerParseErrorIf(bool $condition, string $message, int $code, int $line) : void { if ($condition) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError($message, $code, $line); } } /** @@ -129,37 +129,37 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @return void * @throws ParseError */ - private function parseNestedStatements(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state, ?int $startLine = null) : void + private function parseNestedStatements(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state, ?int $startLine = null) : void { $startLine = $startLine ?: $state->token()->getLine(); $statements = new \ArrayObject(); $subContext = $state->withStatements($statements); for (; $state->hasNext(); $state->next()) { - if ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { $objectPath = $this->builder->path($state->context()->absoluteName . '.' . $state->token()->getValue(), $state->token()->getValue()); - if ($state->token(1)->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { $state->next(2); $this->parseNestedStatements($state->withContext($objectPath)->withStatements($statements)); continue; } } $this->parseToken($subContext); - if ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) { + if ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE) { $state->statements()->append($this->builder->nested($state->context(), $statements->getArrayCopy(), $startLine)); $state->next(); return; } } - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!'); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError('Unterminated nested statement!'); } /** * @param ParserState $state * @throws ParseError */ - private function parseCondition(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseCondition(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { if ($state->context()->depth() !== 0) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError('Found condition statement inside nested assignment.', 1403011203, $state->token()->getLine()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError('Found condition statement inside nested assignment.', 1403011203, $state->token()->getLine()); } $ifStatements = new \ArrayObject(); $elseStatements = new \ArrayObject(); @@ -169,23 +169,23 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa $subContext = $state->withStatements($ifStatements); $state->next(); for (; $state->hasNext(); $state->next()) { - if ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END) { + if ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END) { $state->statements()->append($this->builder->condition($condition, $ifStatements->getArrayCopy(), $elseStatements->getArrayCopy(), $conditionLine)); $state->next(); break; - } elseif ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE) { + } elseif ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE) { $this->triggerParseErrorIf($inElseBranch, \sprintf('Duplicate else in conditional statement in line %d.', $state->token()->getLine()), 1403011203, $state->token()->getLine()); $inElseBranch = \true; $subContext = $subContext->withStatements($elseStatements); $state->next(); - } elseif ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION) { + } elseif ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION) { $state->statements()->append($this->builder->condition($condition, $ifStatements->getArrayCopy(), $elseStatements->getArrayCopy(), $conditionLine)); $this->parseCondition($state); break; } - if ($state->token()->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + if ($state->token()->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { $objectPath = $this->builder->path($state->token()->getValue(), $state->token()->getValue()); - if ($state->token(1)->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { + if ($state->token(1)->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN) { $state->next(2); $this->parseNestedStatements($subContext->withContext($objectPath), $subContext->token(-2)->getLine()); } @@ -196,7 +196,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseInclude(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseInclude(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $token = $state->token(); $extensions = null; @@ -206,8 +206,8 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa if ($optional !== null) { list($extensions, $condition) = $this->parseIncludeOptionals($optional, $token); } - if ($token->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') { - $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW, $condition, $token->getLine()); + if ($token->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW || $token->getSubMatch('type') === 'FILE') { + $node = $this->builder->includeFile($filename, $token->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW, $condition, $token->getLine()); } else { $node = $this->builder->includeDirectory($filename, $extensions, $condition, $token->getLine()); } @@ -219,7 +219,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @return array * @throws ParseError */ - private function parseIncludeOptionals(string $optional, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : array + private function parseIncludeOptionals(string $optional, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : array { if (!\preg_match_all('/((?[a-z]+)="(?[^"]*)\\s*)+"/', $optional, $matches)) { return [null, null]; @@ -232,7 +232,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa switch ($key) { case "extensions": if ($token->getSubMatch('type') === 'FILE') { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError("FILE includes may not have an 'extension' attribute", 0, $token->getLine()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError("FILE includes may not have an 'extension' attribute", 0, $token->getLine()); } $extensions = $value; break; @@ -240,7 +240,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa $condition = $value; break; default: - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError("unknown attribute '{$key}' found in INCLUDE statement", 0, $token->getLine()); } } return [$extensions, $condition]; @@ -249,23 +249,23 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseValueOperation(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseValueOperation(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token(1)->getType()) { - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT: $this->parseAssignment($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY: - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE: $this->parseCopyOrReference($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY: $this->parseModification($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE: $this->parseDeletion($state); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE: $this->parseMultilineAssigment($state); break; } @@ -273,19 +273,19 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseAssignment(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseAssignment(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { switch ($state->token(2)->getType()) { - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR: $state->statements()->append($this->builder->op()->objectCreation($state->context(), $this->builder->scalar($state->token(2)->getValue()), $state->token(2)->getLine())); $state->next(2); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE: $state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar($state->token(2)->getValue()), $state->token(2)->getLine())); $state->next(2); break; - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: - case \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE: + case \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE: $state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar(''), $state->token()->getLine())); $state->next(); break; @@ -295,12 +295,12 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseCopyOrReference(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseCopyOrReference(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $targetToken = $state->token(2); $this->validateCopyOperatorRightValue($targetToken); $target = $state->context()->parent()->append($targetToken->getValue()); - $type = $state->token(1)->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY ? 'copy' : 'reference'; + $type = $state->token(1)->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY ? 'copy' : 'reference'; $node = $this->builder->op()->{$type}($state->context(), $target, $state->token(1)->getLine()); $state->statements()->append($node); $state->next(2); @@ -309,7 +309,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseModification(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseModification(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $token = $state->token(2); $this->validateModifyOperatorRightValue($token); @@ -322,11 +322,11 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @param ParserState $state * @throws ParseError */ - private function parseDeletion(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseDeletion(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { - $allowedTypesInDeletion = [\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE]; + $allowedTypesInDeletion = [\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE]; if (!\in_array($state->token(2)->getType(), $allowedTypesInDeletion, \true)) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $state->token(2)->getType() . ' after delete operator (expected line break).', 1403011201, $state->token()->getLine()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $state->token(2)->getType() . ' after delete operator (expected line break).', 1403011201, $state->token()->getLine()); } $state->statements()->append($this->builder->op()->delete($state->context(), $state->token(1)->getLine())); $state->next(1); @@ -334,7 +334,7 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa /** * @param ParserState $state */ - private function parseMultilineAssigment(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserState $state) : void + private function parseMultilineAssigment(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserState $state) : void { $state->statements()->append($this->builder->op()->assignment($state->context(), $this->builder->scalar($state->token(1)->getValue()), $state->token(1)->getLine())); $state->next(); @@ -343,20 +343,20 @@ class Parser implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Pa * @param TokenInterface $token * @throws ParseError */ - private function validateModifyOperatorRightValue(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void + private function validateModifyOperatorRightValue(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void { - if ($token->getType() !== \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine()); + if ($token->getType() !== \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER) { + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after modify operator.', 1403010294, $token->getLine()); } } /** * @param TokenInterface $token * @throws ParseError */ - private function validateCopyOperatorRightValue(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void + private function validateCopyOperatorRightValue(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface $token) : void { - if ($token->getType() !== \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after copy operator.', 1403010294, $token->getLine()); + if ($token->getType() !== \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER) { + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError('Unexpected token ' . $token->getType() . ' after copy operator.', 1403010294, $token->getLine()); } } } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php index efa9723280b..2b495f5bef9 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/ParserInterface.php @@ -1,7 +1,7 @@ statements = $statements; $this->tokens = $tokens; - $this->context = new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); + $this->context = new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\RootObjectPath(); } /** * @param \Helmich\TypoScriptParser\Parser\AST\ObjectPath $context @@ -46,7 +46,7 @@ class ParserState * @param int $lookAhead * @return TokenInterface */ - public function token($lookAhead = 0) : \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface + public function token($lookAhead = 0) : \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface { return $this->tokens->current($lookAhead); } @@ -68,7 +68,7 @@ class ParserState /** * @return ObjectPath */ - public function context() : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ObjectPath + public function context() : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ObjectPath { return $this->context; } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php index 6ee12bb3713..92a7467b794 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/ASTPrinterInterface.php @@ -1,9 +1,9 @@ prettyPrinterConfiguration = $prettyPrinterConfiguration ?? \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); + $this->prettyPrinterConfiguration = $prettyPrinterConfiguration ?? \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); } /** * @param \Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration $prettyPrinterConfiguration @@ -57,33 +57,33 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa * @param int $nesting * @return void */ - private function printStatementList(array $statements, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void + private function printStatementList(array $statements, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, int $nesting = 0) : void { $indent = $this->getIndent($nesting); $count = \count($statements); for ($i = 0; $i < $count; $i++) { $statement = $statements[$i]; - if ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { + if ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { $this->printNestedAssignment($output, $nesting, $statement); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { $this->printAssignment($output, $statement, $indent); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator) { $this->printBinaryObjectOperator($output, $statement, $nesting); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Delete) { $output->writeln($indent . $statement->object->relativeName . ' >'); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Modification) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Modification) { $output->writeln(\sprintf("%s%s := %s(%s)", $indent, $statement->object->relativeName, $statement->call->method, $statement->call->arguments)); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { $next = $i + 1 < $count ? $statements[$i + 1] : null; $previous = $i - 1 >= 0 ? $statements[$i - 1] : null; - $this->printConditionalStatement($output, $nesting, $statement, $next instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement, $previous instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) { + $this->printConditionalStatement($output, $nesting, $statement, $next instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement, $previous instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement); + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\IncludeStatement) { $this->printIncludeStatement($output, $statement); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Comment) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Comment) { $output->writeln($indent . $statement->comment); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\MultilineComment) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\MultilineComment) { $output->writeln($indent . $statement->comment); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NopStatement) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NopStatement) { $this->printNopStatement($output); } } @@ -92,24 +92,24 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa { return \str_repeat($this->prettyPrinterConfiguration->getIndentation(), $nesting); } - private function printBinaryObjectOperator(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void + private function printBinaryObjectOperator(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\BinaryObjectOperator $operator, int $nesting) : void { $targetObjectPath = $operator->target->relativeName; - if ($operator instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) { + if ($operator instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Copy) { $output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' < ' . $targetObjectPath); - } elseif ($operator instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) { + } elseif ($operator instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Reference) { $output->writeln($this->getIndent($nesting) . $operator->object->relativeName . ' =< ' . $targetObjectPath); } } - private function printIncludeStatement(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void + private function printIncludeStatement(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\IncludeStatement $statement) : void { - if ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { + if ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { $this->printFileIncludeStatement($output, $statement); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement) { $this->printDirectoryIncludeStatement($output, $statement); } } - private function printFileIncludeStatement(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void + private function printFileIncludeStatement(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement $statement) : void { if ($statement->newSyntax) { $output->writeln('@import \'' . $statement->filename . '\''); @@ -121,7 +121,7 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa $output->writeln(''); } } - private function printDirectoryIncludeStatement(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void + private function printDirectoryIncludeStatement(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\DirectoryIncludeStatement $statement) : void { $attributes = ""; if ($statement->extensions) { @@ -138,7 +138,7 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa * @param int $nesting * @param NestedAssignment $statement */ - private function printNestedAssignment(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void + private function printNestedAssignment(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, $nesting, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NestedAssignment $statement) : void { $output->writeln($this->getIndent($nesting) . $statement->object->relativeName . ' {'); $this->printStatementList($statement->statements, $output, $nesting + 1); @@ -151,7 +151,7 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa * @param bool $hasNext * @param bool $hasPrevious */ - private function printConditionalStatement(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false, bool $hasPrevious = \false) : void + private function printConditionalStatement(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, int $nesting, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement $statement, bool $hasNext = \false, bool $hasPrevious = \false) : void { if (!$hasPrevious) { $output->writeln(''); @@ -171,7 +171,7 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa * @param Assignment $statement * @param string $indent */ - private function printAssignment(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void + private function printAssignment(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement, string $indent) : void { if (\strpos($statement->value->value, "\n") !== \false) { $output->writeln($indent . $statement->object->relativeName . ' ('); @@ -181,7 +181,7 @@ class PrettyPrinter implements \RectorPrefix20211129\Helmich\TypoScriptParser\Pa } $output->writeln($indent . $statement->object->relativeName . ' = ' . $statement->value->value); } - private function printNopStatement(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) : void + private function printNopStatement(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) : void { if ($this->prettyPrinterConfiguration->shouldIncludeEmptyLineBreaks()) { $output->writeln(''); diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php index 329f62e5020..474216a74ef 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Printer/PrettyPrinterConfiguration.php @@ -1,11 +1,11 @@ index + $lookAhead]; } @@ -74,7 +74,7 @@ class TokenStream implements \Iterator, \ArrayAccess * @param int $offset * @return TokenInterface */ - public function offsetGet($offset) : \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface + public function offsetGet($offset) : \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface { return $this->tokens[$offset]; } @@ -108,17 +108,17 @@ class TokenStream implements \Iterator, \ArrayAccess * * @return TokenStream */ - public function normalized() : \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\TokenStream + public function normalized() : \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\TokenStream { $filteredTokens = []; $maxLine = 0; foreach ($this->tokens as $token) { $maxLine = (int) \max($token->getLine(), $maxLine); // Trim unnecessary whitespace, but leave line breaks! These are important! - if ($token->getType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) { + if ($token->getType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE) { $value = \trim($token->getValue(), "\t "); if (\strlen($value) > 0) { - $filteredTokens[] = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn()); + $filteredTokens[] = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $value, $token->getLine(), $token->getColumn()); } } else { $filteredTokens[] = $token; @@ -127,8 +127,8 @@ class TokenStream implements \Iterator, \ArrayAccess // Add two linebreak tokens; during parsing, we usually do not look more than two // tokens ahead; this hack ensures that there will always be at least two more tokens // present and we do not have to check whether these tokens exists. - $filteredTokens[] = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1); - $filteredTokens[] = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1); - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\TokenStream($filteredTokens); + $filteredTokens[] = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 1, 1); + $filteredTokens[] = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Token(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, "\n", $maxLine + 2, 1); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\TokenStream($filteredTokens); } } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php index 8cfc40eb0f8..61de664b4c3 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/AggregatingVisitor.php @@ -1,7 +1,7 @@ visitors[\spl_object_hash($visitor)] = $visitor; } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php index ceac14b0923..e8041564ff1 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Traverser.php @@ -1,10 +1,10 @@ statements = $statements; - $this->visitors = new \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor(); + $this->visitors = new \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\AggregatingVisitor(); } /** * @param Visitor $visitor @@ -50,9 +50,9 @@ class Traverser { foreach ($statements as $statement) { $this->visitors->enterNode($statement); - if ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { + if ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\NestedAssignment) { $statement->statements = $this->walkRecursive($statement->statements); - } elseif ($statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + } elseif ($statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { $statement->ifStatements = $this->walkRecursive($statement->ifStatements); $statement->elseStatements = $this->walkRecursive($statement->elseStatements); } @@ -67,4 +67,4 @@ class Traverser * @package Helmich\TypoScriptParser * @subpackage Parser\Traverser */ -\class_alias('RectorPrefix20211129\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', 'Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', \false); +\class_alias('RectorPrefix20211130\\Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', 'Helmich\\TypoScriptParser\\Parser\\Traverser\\Traverser', \false); diff --git a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php index 4ae203c5399..d5ce1ce4695 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Parser/Traverser/Visitor.php @@ -1,7 +1,7 @@ value ?? "") . $append; $type = $this->type; $startLine = $this->startLine; $startColumn = $this->startColumn; if ($type === null || $startLine === null || $startColumn === null) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"'); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerException('cannot call "endMultilineToken" before calling "startMultilineToken"'); } - $token = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Token($type, \rtrim($value), $startLine, $startColumn); + $token = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Token($type, \rtrim($value), $startLine, $startColumn); $this->reset(); return $token; } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php index b95e8b415eb..3dde46122f1 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/NoOpPreprocessor.php @@ -1,14 +1,14 @@ processors = [new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Preprocessing\RemoveTrailingWhitespacePreprocessor($eolChar)]; + $this->processors = [new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Preprocessing\UnifyLineEndingsPreprocessor($eolChar), new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Preprocessing\RemoveTrailingWhitespacePreprocessor($eolChar)]; } } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php index 6cf0ccef93a..df75e7d7612 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Preprocessing/UnifyLineEndingsPreprocessor.php @@ -1,14 +1,14 @@ yaml = $yaml ?: new \RectorPrefix20211129\Symfony\Component\Yaml\Yaml(); + $this->yaml = $yaml ?: new \RectorPrefix20211130\Symfony\Component\Yaml\Yaml(); } /** * @param TokenInterface[] $tokens diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php index c0bb9cf2438..83eaddf84c4 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Printer/TokenPrinterInterface.php @@ -1,9 +1,9 @@ lines = $lines; } - public function current() : \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine + public function current() : \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine { - return new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine($this->index + 1, $this->lines[$this->index]); + return new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine($this->index + 1, $this->lines[$this->index]); } public function next() : void { diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php index 70f4c97fa3d..25a24e9f469 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/ScannerLine.php @@ -1,7 +1,7 @@ currentLine = $line; $this->currentColumn = 1; } - $this->tokens->append(new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches)); + $this->tokens->append(new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Token($type, $value, $line, $this->currentColumn, $patternMatches)); $this->currentColumn += \strlen($value); } /** diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php index b8c1b313b70..b2f861540e4 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/Tokenizer.php @@ -1,11 +1,11 @@ eolChar = $eolChar; $this->preprocessor = $preprocessor; @@ -69,39 +69,39 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni public function tokenizeString($inputString) : array { $inputString = $this->preprocessor->preprocess($inputString); - $tokens = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder(); - $state = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder(); + $tokens = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder(); + $state = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder(); $lines = \explode($this->eolChar, $inputString); - $scanner = new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Scanner($lines); + $scanner = new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Scanner($lines); foreach ($scanner as $line) { $column = 1; if ($this->tokenizeMultilineToken($tokens, $state, $line)) { continue; } if (\trim($line->value()) === '') { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index()); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_EMPTY_LINE, $this->eolChar, $line->index()); continue; } if ($tokens->count() !== 0) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1)); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $this->eolChar, (int) ($line->index() - 1)); $column += 1; } if ($matches = $line->scan(self::TOKEN_WHITESPACE)) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index()); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[0], $line->index()); $column += \strlen($matches[0]); } if ($line->peek(self::TOKEN_COMMENT_MULTILINE_BEGIN)) { - $state->startMultilineToken(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE, $line->value(), $line->index(), $column); + $state->startMultilineToken(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE, $line->value(), $line->index(), $column); continue; } if ($this->tokenizeSimpleStatements($tokens, $line) || $this->tokenizeObjectOperation($tokens, $state, $line) || $line->length() === 0) { continue; } - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index()); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerException('Cannot tokenize line "' . $line . '"', 1403084444, null, $line->index()); } $currentTokenType = $state->currentTokenType(); if ($currentTokenType !== null) { - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerException("Unterminated {$currentTokenType}!", 1403084445, null, \count($lines) - 1); } return $tokens->build()->getArrayCopy(); } @@ -126,19 +126,19 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni { switch ($operator) { case '=': - return \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT; + return \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_ASSIGNMENT; case '<': - return \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY; + return \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_COPY; case '=<': - return \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE; + return \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_REFERENCE; case ':=': - return \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY; + return \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_MODIFY; case '>': - return \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE; + return \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OPERATOR_DELETE; } // It should not be possible in any case to reach this point // @codeCoverageIgnoreStart - throw new \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!'); + throw new \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\UnknownOperatorException('Unknown binary operator "' . $operator . '"!'); // @codeCoverageIgnoreEnd } /** @@ -147,30 +147,30 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param $currentLine * @throws UnknownOperatorException */ - private function tokenizeBinaryObjectOperation(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void + private function tokenizeBinaryObjectOperation(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, array $matches, int $currentLine) : void { $tokens->append($this->getTokenTypeForBinaryOperator($matches[3]), $matches[3], $currentLine); if ($matches[4]) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[4], $currentLine); } if (($matches[3] === '<' || $matches[3] === '=<') && \preg_match(self::TOKEN_OBJECT_REFERENCE, $matches[5])) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[5], $currentLine); return; } if ($matches[3] == ':=' && \preg_match(self::TOKEN_OBJECT_MODIFIER, $matches[5], $subMatches)) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_MODIFIER, $matches[5], $currentLine, $subMatches); return; } if (\preg_match(self::TOKEN_OBJECT_NAME, $matches[5])) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_CONSTRUCTOR, $matches[5], $currentLine); return; } if ($matches[3] == '>' && \preg_match(self::TOKEN_COMMENT_ONELINE, $matches[5])) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, $matches[5], $currentLine); return; } if (\strlen($matches[5])) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE, $matches[5], $currentLine); return; } } @@ -180,13 +180,13 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return bool */ - private function tokenizeMultilineToken(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeMultilineToken(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { - if ($state->currentTokenType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) { + if ($state->currentTokenType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_MULTILINE) { $this->tokenizeMultilineComment($tokens, $state, $line); return \true; } - if ($state->currentTokenType() === \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) { + if ($state->currentTokenType() === \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE) { $this->tokenizeMultilineAssignment($tokens, $state, $line); return \true; } @@ -198,7 +198,7 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return void */ - private function tokenizeMultilineComment(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void + private function tokenizeMultilineComment(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void { if ($matches = $line->scan(self::TOKEN_WHITESPACE)) { $state->appendToToken($matches[0]); @@ -215,7 +215,7 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param $state * @param $line */ - private function tokenizeMultilineAssignment(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void + private function tokenizeMultilineAssignment(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : void { if ($line->peek(',^\\s*\\),')) { $token = $state->endMultilineToken(); @@ -229,9 +229,9 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param ScannerLine $line * @return bool */ - private function tokenizeSimpleStatements(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeSimpleStatements(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { - $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW]; + $simpleTokens = [self::TOKEN_COMMENT_ONELINE => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_COMMENT_ONELINE, self::TOKEN_NESTING_END => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_CLOSE, self::TOKEN_CONDITION_ELSE => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_ELSE, self::TOKEN_CONDITION_END => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION_END, self::TOKEN_CONDITION => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_CONDITION, self::TOKEN_INCLUDE_STATEMENT => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE, self::TOKEN_INCLUDE_NEW_STATEMENT => \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_INCLUDE_NEW]; foreach ($simpleTokens as $pattern => $type) { if ($matches = $line->scan($pattern)) { $tokens->append($type, $matches[0], $line->index(), $matches); @@ -246,20 +246,20 @@ class Tokenizer implements \RectorPrefix20211129\Helmich\TypoScriptParser\Tokeni * @param $line * @return bool */ - private function tokenizeObjectOperation(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool + private function tokenizeObjectOperation(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenStreamBuilder $tokens, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\MultilineTokenBuilder $state, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\ScannerLine $line) : bool { if ($matches = $line->scan(self::TOKEN_OPERATOR_LINE)) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index()); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_OBJECT_IDENTIFIER, $matches[1], $line->index()); if ($matches[2]) { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[2], $line->index()); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_WHITESPACE, $matches[2], $line->index()); } $operators = ['=', ':=', '<', '<=', '>', '=<']; if (\in_array($matches[3], $operators)) { $this->tokenizeBinaryObjectOperation($tokens, $matches, $line->index()); } elseif ($matches[3] == '{') { - $tokens->append(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index()); + $tokens->append(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_BRACE_OPEN, $matches[3], $line->index()); } elseif ($matches[3] == '(') { - $state->startMultilineToken(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE, '', $line->index(), $tokens->currentColumn()); + $state->startMultilineToken(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenInterface::TYPE_RIGHTVALUE_MULTILINE, '', $line->index(), $tokens->currentColumn()); } return \true; } diff --git a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php index cb2ed6ab364..9f042a38e4d 100644 --- a/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php +++ b/vendor/helmich/typo3-typoscript-parser/src/Tokenizer/TokenizerException.php @@ -1,7 +1,7 @@ load('services.yml'); } /** diff --git a/vendor/idiosyncratic/editorconfig/composer.json b/vendor/idiosyncratic/editorconfig/composer.json index bc791d06ba1..adac12034c6 100644 --- a/vendor/idiosyncratic/editorconfig/composer.json +++ b/vendor/idiosyncratic/editorconfig/composer.json @@ -32,12 +32,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\": "src" + "RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Idiosyncratic\\EditorConfig\\": "tests" + "RectorPrefix20211130\\Idiosyncratic\\EditorConfig\\": "tests" } } } \ No newline at end of file diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php index a818747a6c5..a5e9019017d 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/BooleanDeclaration.php @@ -1,11 +1,11 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php index c5650f40cea..7c221d763f8 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Charset.php @@ -1,13 +1,13 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } public function getName() : string diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php index 5606ef80d90..c1562fa5e12 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Declaration.php @@ -1,7 +1,7 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } public function getName() : string diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php b/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php index 802a128545d..f7af9404a0d 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/Factory.php @@ -1,7 +1,7 @@ {$method}($value); } - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration($name, $value); } /** * @param mixed $value */ - public function getIndentStyle($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentStyle + public function getIndentStyle($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentStyle { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentStyle($value); } /** * @param mixed $value */ - public function getCharset($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Charset + public function getCharset($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Charset { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Charset($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Charset($value); } /** * @param mixed $value */ - public function getEndOfLine($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\EndOfLine + public function getEndOfLine($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\EndOfLine { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\EndOfLine($value); } /** * @param mixed $value */ - public function getInsertFinalNewline($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline + public function getInsertFinalNewline($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline($value); } /** * @param mixed $value */ - public function getTrimTrailingWhitespace($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace + public function getTrimTrailingWhitespace($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace($value); } /** * @param mixed $value */ - public function getIndentSize($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize + public function getIndentSize($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize($value); } /** * @param mixed $value */ - public function getTabWidth($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TabWidth + public function getTabWidth($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TabWidth { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TabWidth($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TabWidth($value); } /** * @param mixed $value */ - public function getMaxLineLength($value) : \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength + public function getMaxLineLength($value) : \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength { - return new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value); + return new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength($value); } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php b/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php index 295a1a70cfd..848e9142364 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/GenericDeclaration.php @@ -1,9 +1,9 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php b/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php index a2b1d50b5f5..dad2d998c67 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/IndentStyle.php @@ -1,13 +1,13 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php b/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php index c648fc348b1..59f476f3ed0 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/InsertFinalNewline.php @@ -1,9 +1,9 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php b/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php index 6077971a59f..c84fa9758b4 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/TabWidth.php @@ -1,11 +1,11 @@ getStringValue(), $this->getName()); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue($this->getStringValue(), $this->getName()); } } } diff --git a/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php b/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php index 3500ea7fc03..94dcb9fce7d 100644 --- a/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php +++ b/vendor/idiosyncratic/editorconfig/src/Declaration/TrimTrailingWhitespace.php @@ -1,9 +1,9 @@ configFiles[$path] ?? ($this->configFiles[$path] = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path)); + return $this->configFiles[$path] ?? ($this->configFiles[$path] = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path)); } } diff --git a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php index c817246b431..674801efcc7 100644 --- a/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php +++ b/vendor/idiosyncratic/editorconfig/src/EditorConfigFile.php @@ -1,10 +1,10 @@ declarationFactory = $declarationFactory ?? new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory(); + $this->declarationFactory = $declarationFactory ?? new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory(); if (\is_file($path) === \false || \is_readable($path) === \false) { throw new \RuntimeException(\sprintf('File %s does not exist or is not readable', $path)); } @@ -85,13 +85,13 @@ final class EditorConfigFile if (\is_array($declarations) === \false) { continue; } - $this->sections[] = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Section($this->getGlobPrefix($glob), $glob, $declarations, $this->declarationFactory); + $this->sections[] = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Section($this->getGlobPrefix($glob), $glob, $declarations, $this->declarationFactory); } } private function setIsRoot(string $isRoot) : void { if (\in_array($isRoot, ['true', 'false']) === \false) { - throw new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue('root', $isRoot); + throw new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue('root', $isRoot); } $this->isRoot = $isRoot === 'true'; } diff --git a/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php b/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php index a15766174c6..93b42e27b09 100644 --- a/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php +++ b/vendor/idiosyncratic/editorconfig/src/Exception/InvalidValue.php @@ -1,7 +1,7 @@ $declarations */ - public function __construct(string $globPrefix, string $glob, array $declarations, \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory $declarationFactory) + public function __construct(string $globPrefix, string $glob, array $declarations, \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory $declarationFactory) { $this->globPrefix = $globPrefix; $this->glob = $glob; diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php index ca5bf321bbf..4a128edc1fd 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/CharsetTest.php @@ -1,25 +1,25 @@ assertEquals(\sprintf('charset=%s', $charset), (string) $declaration); } } public function testInvalidValue() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Charset('true'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Charset('spaces'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Charset('true'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Charset('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php index 10c88b4e88d..da707126b0c 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/EndOfLineTest.php @@ -1,25 +1,25 @@ assertEquals(\sprintf('end_of_line=%s', $eol), (string) $declaration); } } public function testInvalidValues() { $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\EndOfLine('true'); $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\EndOfLine('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php index 55187a10b08..9ea2201d3d0 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/FactoryTest.php @@ -1,17 +1,17 @@ 'space', 'indent_size' => '4', 'tab_width' => '4', 'end_of_line' => 'lf', 'charset' => 'utf-8', 'trim_trailing_whitespace' => 'true', 'insert_final_newline' => 'false', 'max_line_length' => 'off']; - $factory = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory(); foreach ($declarations as $key => $value) { $declaration = $factory->getDeclaration($key, $value); $this->assertEquals($key, $declaration->getName()); @@ -19,14 +19,14 @@ class FactoryTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase } public function testUnsetDeclaration() { - $factory = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory(); $indentSize = $factory->getDeclaration('indent_size', 'unset'); - $this->assertInstanceOf(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize); + $this->assertInstanceOf(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\UnsetDeclaration::class, $indentSize); } public function testUnknownDeclaration() { - $factory = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory(); + $factory = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory(); $justification = $factory->getDeclaration('justification', 'left'); - $this->assertInstanceOf(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration::class, $justification); + $this->assertInstanceOf(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration::class, $justification); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php index 8f9a10bd2d0..b9be4b659dd 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/GenericDeclarationTest.php @@ -1,37 +1,37 @@ assertEquals('declaration', $declaration->getName()); } public function testGetValue() : void { - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); $this->assertIsString($declaration->getValue()); $this->assertEquals('string', $declaration->getValue()); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1'); $this->assertIsInt($declaration->getValue()); $this->assertSame(1, $declaration->getValue()); $this->assertSame('1', $declaration->getStringValue()); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'true'); $this->assertIsBool($declaration->getValue()); $this->assertTrue($declaration->getValue()); $this->assertSame('true', $declaration->getStringValue()); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1.1'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', '1.1'); $this->assertIsString($declaration->getValue()); $this->assertSame('1.1', $declaration->getValue()); $this->assertSame('1.1', $declaration->getStringValue()); } public function testToString() : void { - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\GenericDeclaration('declaration', 'string'); $this->assertEquals('declaration=string', (string) $declaration); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php index 378597fddbd..26ecc44ac50 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentSizeTest.php @@ -1,34 +1,34 @@ assertEquals('indent_size=tab', (string) $declaration); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize('4'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize('4'); $this->assertEquals('indent_size=4', (string) $declaration); $this->assertSame(4, $declaration->getValue()); } public function testInvalidValueType() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize('true'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize('true'); } public function testInvalidValueValue() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize('four'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize('four'); } public function testInvalidNegativeIntegerValue() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentSize('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php index 13b963ff0d4..d10bc8c440d 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/IndentStyleTest.php @@ -1,27 +1,27 @@ assertEquals('indent_style', $declaration->getName()); $this->assertEquals('tab', $declaration->getValue()); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentStyle('space'); $this->assertEquals('indent_style', $declaration->getName()); $this->assertEquals('space', $declaration->getValue()); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentStyle('true'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\IndentStyle('spaces'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php index a276e714535..307a7cf2b93 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/InsertFinalNewlineTest.php @@ -1,25 +1,25 @@ assertEquals('insert_final_newline=false', (string) $declaration); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('true'); $this->assertEquals('insert_final_newline=true', (string) $declaration); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('4'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\InsertFinalNewline('four'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php index c97e0b30d67..0c7b2547f56 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/MaxLineLengthTest.php @@ -1,27 +1,27 @@ assertEquals('max_line_length=off', (string) $declaration); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('4'); $this->assertEquals('max_line_length=4', (string) $declaration); $this->assertSame(4, $declaration->getValue()); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('true'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('four'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\MaxLineLength('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php index c8ed0b7b9b7..36784528986 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/TabWidthTest.php @@ -1,25 +1,25 @@ assertEquals('tab_width=4', (string) $declaration); $this->assertSame(4, $declaration->getValue()); } public function testInvalidValues() { - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TabWidth('true'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TabWidth('four'); - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TabWidth('true'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TabWidth('four'); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TabWidth('-1'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php index 962bade04e3..fe4cd5dc160 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/TrimTrailingWhitespaceTest.php @@ -1,28 +1,28 @@ assertEquals('trim_trailing_whitespace=false', (string) $declaration); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('true'); $this->assertEquals('trim_trailing_whitespace=true', (string) $declaration); } public function testInvalidIntValue() { $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('4'); } public function testInvalidStringValue() { $this->expectException(\DomainException::class); - $declaration = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four'); + $declaration = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\TrimTrailingWhitespace('four'); } } diff --git a/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php b/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php index 6ed6bd961e4..065758bd930 100644 --- a/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/Declaration/UnsetDeclarationTest.php @@ -1,17 +1,17 @@ assertEquals('indent_style', $declaration->getName()); $this->assertNull($declaration->getValue()); $this->assertEquals('indent_style=unset', (string) $declaration); diff --git a/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php b/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php index 9517168d049..98589b1037e 100644 --- a/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/EditorConfigFileTest.php @@ -1,55 +1,55 @@ assertInstanceOf(\RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $this->assertInstanceOf(\RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile::class, $file); $this->assertFalse($file->isRoot()); $this->assertEquals($path, $file->getPath()); } public function testGetPath() : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); $this->assertEquals($path, $file->getPath()); } public function testEmptyFile() : void { $path = __DIR__ . '/data/empty_editorconfig'; - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); $this->assertEquals('', \trim((string) $file)); } public function testRootFile() : void { $path = __DIR__ . '/data/root_editorconfig'; - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); $this->assertTrue($file->isRoot()); $this->assertTrue(\strpos((string) $file, 'root=true') === 0); } public function testInvalidRootValue() : void { $path = __DIR__ . '/data/invalid_root_editorconfig'; - $this->expectException(\RectorPrefix20211129\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $this->expectException(\RectorPrefix20211130\Idiosyncratic\EditorConfig\Exception\InvalidValue::class); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); } public function testFileDoesNotExist() : void { $this->expectException(\RuntimeException::class); - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile(__DIR__); } public function testEmptyIndentSize() : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); $config = $file->getConfigForPath(__DIR__); $this->assertFalse(isset($config['indent_size'])); } @@ -59,7 +59,7 @@ class EditorConfigFileTest extends \RectorPrefix20211129\PHPUnit\Framework\TestC public function testGetConfigForPath(string $pathToFile, int $expectedIndentSize) : void { $path = __DIR__ . '/data/editorconfig'; - $file = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\EditorConfigFile($path); + $file = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\EditorConfigFile($path); $config = $file->getConfigForPath($pathToFile); $this->assertEquals($expectedIndentSize, $config['indent_size']->getValue()); } diff --git a/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php b/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php index 255e56bdc91..4ff1a8c2024 100644 --- a/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/EditorConfigTest.php @@ -1,15 +1,15 @@ getConfigForPath(__FILE__); $this->assertEquals(4, $config['indent_size']->getValue()); $config = $ec->printConfigForPath(__DIR__ . '/data/testfile.php'); diff --git a/vendor/idiosyncratic/editorconfig/tests/SectionTest.php b/vendor/idiosyncratic/editorconfig/tests/SectionTest.php index a831f889de6..524f524854b 100644 --- a/vendor/idiosyncratic/editorconfig/tests/SectionTest.php +++ b/vendor/idiosyncratic/editorconfig/tests/SectionTest.php @@ -1,28 +1,28 @@ '4', 'indent_style' => 'space'], new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory()); $this->assertEquals('space', $section->indent_style->getValue()); $this->assertEquals(4, $section->indent_size->getValue()); $this->assertFalse(isset($section->tab_width)); } public function testMatchingWindowsPath() : void { - $section = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory()); $this->assertTrue($section->matches('my\\composer.php')); } public function testGetMissingDeclaration() : void { - $section = new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20211129\Idiosyncratic\EditorConfig\Declaration\Factory()); + $section = new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Section('**/', '*.php', ['indent_size' => '4', 'indent_style' => 'space'], new \RectorPrefix20211130\Idiosyncratic\EditorConfig\Declaration\Factory()); $this->expectException(\ErrorException::class); $section->tab_width; } diff --git a/vendor/idiosyncratic/editorconfig/tests/data/testfile.php b/vendor/idiosyncratic/editorconfig/tests/data/testfile.php index 9849f89089f..c67afd18686 100644 --- a/vendor/idiosyncratic/editorconfig/tests/data/testfile.php +++ b/vendor/idiosyncratic/editorconfig/tests/data/testfile.php @@ -1,5 +1,5 @@ register(new \MyCLabs\Enum\PHPUnit\Comparator()); */ -final class Comparator extends \RectorPrefix20211129\SebastianBergmann\Comparator\Comparator +final class Comparator extends \RectorPrefix20211130\SebastianBergmann\Comparator\Comparator { public function accepts($expected, $actual) { - return $expected instanceof \RectorPrefix20211129\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20211129\MyCLabs\Enum\Enum || $actual === null); + return $expected instanceof \RectorPrefix20211130\MyCLabs\Enum\Enum && ($actual instanceof \RectorPrefix20211130\MyCLabs\Enum\Enum || $actual === null); } /** * @param Enum $expected @@ -28,9 +28,9 @@ final class Comparator extends \RectorPrefix20211129\SebastianBergmann\Comparato if ($expected->equals($actual)) { return; } - throw new \RectorPrefix20211129\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.'); + throw new \RectorPrefix20211130\SebastianBergmann\Comparator\ComparisonFailure($expected, $actual, $this->formatEnum($expected), $this->formatEnum($actual), \false, 'Failed asserting that two Enums are equal.'); } - private function formatEnum(\RectorPrefix20211129\MyCLabs\Enum\Enum $enum = null) + private function formatEnum(\RectorPrefix20211130\MyCLabs\Enum\Enum $enum = null) { if ($enum === null) { return "null"; diff --git a/vendor/nette/neon/bin/neon-lint b/vendor/nette/neon/bin/neon-lint index 8908dec3d14..556c0c2eca1 100644 --- a/vendor/nette/neon/bin/neon-lint +++ b/vendor/nette/neon/bin/neon-lint @@ -1,7 +1,7 @@ #!/usr/bin/env php \n"; exit(1); } -$ok = \RectorPrefix20211129\scanPath($argv[1]); +$ok = \RectorPrefix20211130\scanPath($argv[1]); exit($ok ? 0 : 1); function scanPath(string $path) : bool { @@ -40,7 +40,7 @@ function scanPath(string $path) : bool $success = \true; foreach ($it as $file) { echo \str_pad(\str_repeat('.', $counter++ % 40), 40), "\r"; - $success = \RectorPrefix20211129\lintFile((string) $file) && $success; + $success = \RectorPrefix20211130\lintFile((string) $file) && $success; } echo \str_pad('', 40), "\r"; echo "Done.\n"; @@ -61,9 +61,9 @@ function lintFile(string $file) : bool $contents = \substr($s, 3); } try { - \RectorPrefix20211129\Nette\Neon\Neon::decode($s); + \RectorPrefix20211130\Nette\Neon\Neon::decode($s); return \true; - } catch (\RectorPrefix20211129\Nette\Neon\Exception $e) { + } catch (\RectorPrefix20211130\Nette\Neon\Exception $e) { \fwrite(\STDERR, "[ERROR] {$file} {$e->getMessage()}\n"); } finally { \restore_error_handler(); diff --git a/vendor/nette/neon/src/Neon/Decoder.php b/vendor/nette/neon/src/Neon/Decoder.php index ea8bdc2d6c4..1d5803466a5 100644 --- a/vendor/nette/neon/src/Neon/Decoder.php +++ b/vendor/nette/neon/src/Neon/Decoder.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** * Parser for Nette Object Notation. @@ -22,10 +22,10 @@ final class Decoder $node = $this->parseToNode($input); return $node->toValue(); } - public function parseToNode(string $input) : \RectorPrefix20211129\Nette\Neon\Node + public function parseToNode(string $input) : \RectorPrefix20211130\Nette\Neon\Node { - $lexer = new \RectorPrefix20211129\Nette\Neon\Lexer(); - $parser = new \RectorPrefix20211129\Nette\Neon\Parser(); + $lexer = new \RectorPrefix20211130\Nette\Neon\Lexer(); + $parser = new \RectorPrefix20211130\Nette\Neon\Parser(); $tokens = $lexer->tokenize($input); return $parser->parse($tokens); } diff --git a/vendor/nette/neon/src/Neon/Encoder.php b/vendor/nette/neon/src/Neon/Encoder.php index da85ea6c5ba..9f725bb17bf 100644 --- a/vendor/nette/neon/src/Neon/Encoder.php +++ b/vendor/nette/neon/src/Neon/Encoder.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** * Converts value to NEON format. @@ -27,31 +27,31 @@ final class Encoder $node = $this->valueToNode($val, $this->blockMode); return $node->toString(); } - public function valueToNode($val, bool $blockMode = \false) : \RectorPrefix20211129\Nette\Neon\Node + public function valueToNode($val, bool $blockMode = \false) : \RectorPrefix20211130\Nette\Neon\Node { if ($val instanceof \DateTimeInterface) { - return new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode($val); - } elseif ($val instanceof \RectorPrefix20211129\Nette\Neon\Entity && $val->value === \RectorPrefix20211129\Nette\Neon\Neon::CHAIN) { - $node = new \RectorPrefix20211129\Nette\Neon\Node\EntityChainNode(); + return new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode($val); + } elseif ($val instanceof \RectorPrefix20211130\Nette\Neon\Entity && $val->value === \RectorPrefix20211130\Nette\Neon\Neon::CHAIN) { + $node = new \RectorPrefix20211130\Nette\Neon\Node\EntityChainNode(); foreach ($val->attributes as $entity) { $node->chain[] = $this->valueToNode($entity); } return $node; - } elseif ($val instanceof \RectorPrefix20211129\Nette\Neon\Entity) { - return new \RectorPrefix20211129\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes)); + } elseif ($val instanceof \RectorPrefix20211130\Nette\Neon\Entity) { + return new \RectorPrefix20211130\Nette\Neon\Node\EntityNode($this->valueToNode($val->value), $this->arrayToNodes((array) $val->attributes)); } elseif (\is_object($val) || \is_array($val)) { if ($blockMode) { - $node = new \RectorPrefix20211129\Nette\Neon\Node\BlockArrayNode(); + $node = new \RectorPrefix20211130\Nette\Neon\Node\BlockArrayNode(); } else { $isList = \is_array($val) && (!$val || \array_keys($val) === \range(0, \count($val) - 1)); - $node = new \RectorPrefix20211129\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{'); + $node = new \RectorPrefix20211130\Nette\Neon\Node\InlineArrayNode($isList ? '[' : '{'); } $node->items = $this->arrayToNodes($val, $blockMode); return $node; - } elseif (\is_string($val) && \RectorPrefix20211129\Nette\Neon\Lexer::requiresDelimiters($val)) { - return new \RectorPrefix20211129\Nette\Neon\Node\StringNode($val); + } elseif (\is_string($val) && \RectorPrefix20211130\Nette\Neon\Lexer::requiresDelimiters($val)) { + return new \RectorPrefix20211130\Nette\Neon\Node\StringNode($val); } else { - return new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode($val); + return new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode($val); } } private function arrayToNodes($val, bool $blockMode = \false) : array @@ -60,10 +60,10 @@ final class Encoder $counter = 0; $hide = \true; foreach ($val as $k => $v) { - $res[] = $item = new \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode(); + $res[] = $item = new \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode(); $item->key = $hide && $k === $counter ? null : self::valueToNode($k); $item->value = self::valueToNode($v, $blockMode); - if ($item->value instanceof \RectorPrefix20211129\Nette\Neon\Node\BlockArrayNode) { + if ($item->value instanceof \RectorPrefix20211130\Nette\Neon\Node\BlockArrayNode) { $item->value->indentation = $this->indentation; } if ($hide && \is_int($k)) { diff --git a/vendor/nette/neon/src/Neon/Entity.php b/vendor/nette/neon/src/Neon/Entity.php index d98c25e50dd..10fa702f4d3 100644 --- a/vendor/nette/neon/src/Neon/Entity.php +++ b/vendor/nette/neon/src/Neon/Entity.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** * Representation of NEON entity 'foo(bar=1)' diff --git a/vendor/nette/neon/src/Neon/Exception.php b/vendor/nette/neon/src/Neon/Exception.php index 823f34d47b4..d1e6f9648af 100644 --- a/vendor/nette/neon/src/Neon/Exception.php +++ b/vendor/nette/neon/src/Neon/Exception.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** * The exception that indicates error of NEON processing. diff --git a/vendor/nette/neon/src/Neon/Lexer.php b/vendor/nette/neon/src/Neon/Lexer.php index ec1e7e52750..2f785051b82 100644 --- a/vendor/nette/neon/src/Neon/Lexer.php +++ b/vendor/nette/neon/src/Neon/Lexer.php @@ -5,21 +5,21 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ final class Lexer { public const PATTERNS = [ // strings - \RectorPrefix20211129\Nette\Neon\Token::STRING => ' + \RectorPrefix20211130\Nette\Neon\Token::STRING => ' \'\'\'\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+\'\'\') )*+ \\n)?[\\t\\ ]*+\'\'\' | """\\n (?:(?: [^\\n] | \\n(?![\\t\\ ]*+""") )*+ \\n)?[\\t\\ ]*+""" | \' (?: \'\' | [^\'\\n] )*+ \' | " (?: \\\\. | [^"\\\\\\n] )*+ " ', // literal / boolean / integer / float - \RectorPrefix20211129\Nette\Neon\Token::LITERAL => ' + \RectorPrefix20211130\Nette\Neon\Token::LITERAL => ' (?: [^#"\',:=[\\]{}()\\n\\t\\ `-] | (? '[,:=[\\]{}()-]', + \RectorPrefix20211130\Nette\Neon\Token::CHAR => '[,:=[\\]{}()-]', // comment - \RectorPrefix20211129\Nette\Neon\Token::COMMENT => '\\#.*+', + \RectorPrefix20211130\Nette\Neon\Token::COMMENT => '\\#.*+', // new line - \RectorPrefix20211129\Nette\Neon\Token::NEWLINE => '\\n++', + \RectorPrefix20211130\Nette\Neon\Token::NEWLINE => '\\n++', // whitespace - \RectorPrefix20211129\Nette\Neon\Token::WHITESPACE => '[\\t\\ ]++', + \RectorPrefix20211130\Nette\Neon\Token::WHITESPACE => '[\\t\\ ]++', ]; - public function tokenize(string $input) : \RectorPrefix20211129\Nette\Neon\TokenStream + public function tokenize(string $input) : \RectorPrefix20211130\Nette\Neon\TokenStream { $input = \str_replace("\r", '', $input); $pattern = '~(' . \implode(')|(', self::PATTERNS) . ')~Amixu'; $res = \preg_match_all($pattern, $input, $tokens, \PREG_SET_ORDER); if ($res === \false) { - throw new \RectorPrefix20211129\Nette\Neon\Exception('Invalid UTF-8 sequence.'); + throw new \RectorPrefix20211130\Nette\Neon\Exception('Invalid UTF-8 sequence.'); } $types = \array_keys(self::PATTERNS); $offset = 0; @@ -53,16 +53,16 @@ final class Lexer break; } elseif ($token[$i] !== '') { $type = $types[$i - 1]; - if ($type === \RectorPrefix20211129\Nette\Neon\Token::CHAR) { + if ($type === \RectorPrefix20211130\Nette\Neon\Token::CHAR) { $type = $token[0]; } break; } } - $token = new \RectorPrefix20211129\Nette\Neon\Token($token[0], $offset, $type); + $token = new \RectorPrefix20211130\Nette\Neon\Token($token[0], $offset, $type); $offset += \strlen($token->value); } - $stream = new \RectorPrefix20211129\Nette\Neon\TokenStream($tokens); + $stream = new \RectorPrefix20211130\Nette\Neon\TokenStream($tokens); if ($offset !== \strlen($input)) { $s = \str_replace("\n", '\\n', \substr($input, $offset, 40)); $stream->error("Unexpected '{$s}'", \count($tokens)); @@ -71,6 +71,6 @@ final class Lexer } public static function requiresDelimiters(string $s) : bool { - return \preg_match('~[\\x00-\\x1F]|^[+-.]?\\d|^(true|false|yes|no|on|off|null)$~Di', $s) || !\preg_match('~^' . self::PATTERNS[\RectorPrefix20211129\Nette\Neon\Token::LITERAL] . '$~Dx', $s); + return \preg_match('~[\\x00-\\x1F]|^[+-.]?\\d|^(true|false|yes|no|on|off|null)$~Di', $s) || !\preg_match('~^' . self::PATTERNS[\RectorPrefix20211130\Nette\Neon\Token::LITERAL] . '$~Dx', $s); } } diff --git a/vendor/nette/neon/src/Neon/Neon.php b/vendor/nette/neon/src/Neon/Neon.php index 7da6f6ec05e..e76517bc233 100644 --- a/vendor/nette/neon/src/Neon/Neon.php +++ b/vendor/nette/neon/src/Neon/Neon.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** * Simple parser & generator for Nette Object Notation. @@ -13,14 +13,14 @@ namespace RectorPrefix20211129\Nette\Neon; */ final class Neon { - public const BLOCK = \RectorPrefix20211129\Nette\Neon\Encoder::BLOCK; + public const BLOCK = \RectorPrefix20211130\Nette\Neon\Encoder::BLOCK; public const CHAIN = '!!chain'; /** * Returns value converted to NEON. */ public static function encode($value, bool $blockMode = \false, string $indentation = "\t") : string { - $encoder = new \RectorPrefix20211129\Nette\Neon\Encoder(); + $encoder = new \RectorPrefix20211130\Nette\Neon\Encoder(); $encoder->blockMode = $blockMode; $encoder->indentation = $indentation; return $encoder->encode($value); @@ -31,7 +31,7 @@ final class Neon */ public static function decode(string $input) { - $decoder = new \RectorPrefix20211129\Nette\Neon\Decoder(); + $decoder = new \RectorPrefix20211130\Nette\Neon\Decoder(); return $decoder->decode($input); } /** @@ -41,7 +41,7 @@ final class Neon public static function decodeFile(string $file) { if (!\is_file($file)) { - throw new \RectorPrefix20211129\Nette\Neon\Exception("File '{$file}' does not exist."); + throw new \RectorPrefix20211130\Nette\Neon\Exception("File '{$file}' does not exist."); } $input = \file_get_contents($file); if (\substr($input, 0, 3) === "") { diff --git a/vendor/nette/neon/src/Neon/Node.php b/vendor/nette/neon/src/Neon/Node.php index bb40aa8bb4d..d20ef83f04c 100644 --- a/vendor/nette/neon/src/Neon/Node.php +++ b/vendor/nette/neon/src/Neon/Node.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ abstract class Node diff --git a/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php b/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php index 37684a901d9..0a344598ac6 100644 --- a/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php +++ b/vendor/nette/neon/src/Neon/Node/ArrayItemNode.php @@ -5,11 +5,11 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class ArrayItemNode extends \RectorPrefix20211129\Nette\Neon\Node +final class ArrayItemNode extends \RectorPrefix20211130\Nette\Neon\Node { /** @var ?Node */ public $key; @@ -47,7 +47,7 @@ final class ArrayItemNode extends \RectorPrefix20211129\Nette\Neon\Node $res = ''; foreach ($items as $item) { $v = $item->value->toString(); - $res .= ($item->key ? $item->key->toString() . ':' : '-') . ($item->value instanceof \RectorPrefix20211129\Nette\Neon\Node\BlockArrayNode && $item->value->items ? "\n" . $v . (\substr($v, -2, 1) === "\n" ? '' : "\n") : ' ' . $v . "\n"); + $res .= ($item->key ? $item->key->toString() . ':' : '-') . ($item->value instanceof \RectorPrefix20211130\Nette\Neon\Node\BlockArrayNode && $item->value->items ? "\n" . $v . (\substr($v, -2, 1) === "\n" ? '' : "\n") : ' ' . $v . "\n"); } return $res; } diff --git a/vendor/nette/neon/src/Neon/Node/ArrayNode.php b/vendor/nette/neon/src/Neon/Node/ArrayNode.php index 82322b881e0..96d4c1bb7f5 100644 --- a/vendor/nette/neon/src/Neon/Node/ArrayNode.php +++ b/vendor/nette/neon/src/Neon/Node/ArrayNode.php @@ -5,17 +5,17 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -abstract class ArrayNode extends \RectorPrefix20211129\Nette\Neon\Node +abstract class ArrayNode extends \RectorPrefix20211130\Nette\Neon\Node { /** @var ArrayItemNode[] */ public $items = []; public function toValue() : array { - return \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items); + return \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->items); } public function getSubNodes() : array { diff --git a/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php b/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php index b257682b992..3d3478089c6 100644 --- a/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php +++ b/vendor/nette/neon/src/Neon/Node/BlockArrayNode.php @@ -5,10 +5,10 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class BlockArrayNode extends \RectorPrefix20211129\Nette\Neon\Node\ArrayNode +final class BlockArrayNode extends \RectorPrefix20211130\Nette\Neon\Node\ArrayNode { /** @var string */ public $indentation; @@ -22,7 +22,7 @@ final class BlockArrayNode extends \RectorPrefix20211129\Nette\Neon\Node\ArrayNo if (\count($this->items) === 0) { return '[]'; } - $res = \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode::itemsToBlockString($this->items); + $res = \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode::itemsToBlockString($this->items); return \preg_replace('#^(?=.)#m', $this->indentation, $res); } } diff --git a/vendor/nette/neon/src/Neon/Node/EntityChainNode.php b/vendor/nette/neon/src/Neon/Node/EntityChainNode.php index c9471071744..743a56c2ee8 100644 --- a/vendor/nette/neon/src/Neon/Node/EntityChainNode.php +++ b/vendor/nette/neon/src/Neon/Node/EntityChainNode.php @@ -5,12 +5,12 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class EntityChainNode extends \RectorPrefix20211129\Nette\Neon\Node +final class EntityChainNode extends \RectorPrefix20211130\Nette\Neon\Node { /** @var EntityNode[] */ public $chain = []; @@ -20,13 +20,13 @@ final class EntityChainNode extends \RectorPrefix20211129\Nette\Neon\Node $this->startPos = $startPos; $this->endPos = $endPos ?? $startPos; } - public function toValue() : \RectorPrefix20211129\Nette\Neon\Entity + public function toValue() : \RectorPrefix20211130\Nette\Neon\Entity { $entities = []; foreach ($this->chain as $item) { $entities[] = $item->toValue(); } - return new \RectorPrefix20211129\Nette\Neon\Entity(\RectorPrefix20211129\Nette\Neon\Neon::CHAIN, $entities); + return new \RectorPrefix20211130\Nette\Neon\Entity(\RectorPrefix20211130\Nette\Neon\Neon::CHAIN, $entities); } public function toString() : string { diff --git a/vendor/nette/neon/src/Neon/Node/EntityNode.php b/vendor/nette/neon/src/Neon/Node/EntityNode.php index bd330373d45..07d375c365e 100644 --- a/vendor/nette/neon/src/Neon/Node/EntityNode.php +++ b/vendor/nette/neon/src/Neon/Node/EntityNode.php @@ -5,31 +5,31 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Entity; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Entity; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class EntityNode extends \RectorPrefix20211129\Nette\Neon\Node +final class EntityNode extends \RectorPrefix20211130\Nette\Neon\Node { /** @var Node */ public $value; /** @var ArrayItemNode[] */ public $attributes = []; - public function __construct(\RectorPrefix20211129\Nette\Neon\Node $value, array $attributes, int $startPos = null, int $endPos = null) + public function __construct(\RectorPrefix20211130\Nette\Neon\Node $value, array $attributes, int $startPos = null, int $endPos = null) { $this->value = $value; $this->attributes = $attributes; $this->startPos = $startPos; $this->endPos = $endPos ?? $startPos; } - public function toValue() : \RectorPrefix20211129\Nette\Neon\Entity + public function toValue() : \RectorPrefix20211130\Nette\Neon\Entity { - return new \RectorPrefix20211129\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes)); + return new \RectorPrefix20211130\Nette\Neon\Entity($this->value->toValue(), \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode::itemsToArray($this->attributes)); } public function toString() : string { - return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')'; + return $this->value->toString() . '(' . ($this->attributes ? \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->attributes) : '') . ')'; } public function getSubNodes() : array { diff --git a/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php b/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php index 28ad7a081b6..15e64096bd2 100644 --- a/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php +++ b/vendor/nette/neon/src/Neon/Node/InlineArrayNode.php @@ -5,10 +5,10 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class InlineArrayNode extends \RectorPrefix20211129\Nette\Neon\Node\ArrayNode +final class InlineArrayNode extends \RectorPrefix20211130\Nette\Neon\Node\ArrayNode { /** @var string */ public $bracket; @@ -19,6 +19,6 @@ final class InlineArrayNode extends \RectorPrefix20211129\Nette\Neon\Node\ArrayN } public function toString() : string { - return $this->bracket . \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->items) . ['[' => ']', '{' => '}', '(' => ')'][$this->bracket]; + return $this->bracket . \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode::itemsToInlineString($this->items) . ['[' => ']', '{' => '}', '(' => ')'][$this->bracket]; } } diff --git a/vendor/nette/neon/src/Neon/Node/LiteralNode.php b/vendor/nette/neon/src/Neon/Node/LiteralNode.php index c4c3bde5a0e..c02d41a8941 100644 --- a/vendor/nette/neon/src/Neon/Node/LiteralNode.php +++ b/vendor/nette/neon/src/Neon/Node/LiteralNode.php @@ -5,11 +5,11 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class LiteralNode extends \RectorPrefix20211129\Nette\Neon\Node +final class LiteralNode extends \RectorPrefix20211130\Nette\Neon\Node { private const SIMPLE_TYPES = ['true' => \true, 'True' => \true, 'TRUE' => \true, 'yes' => \true, 'Yes' => \true, 'YES' => \true, 'on' => \true, 'On' => \true, 'ON' => \true, 'false' => \false, 'False' => \false, 'FALSE' => \false, 'no' => \false, 'No' => \false, 'NO' => \false, 'off' => \false, 'Off' => \false, 'OFF' => \false, 'null' => null, 'Null' => null, 'NULL' => null]; private const DEPRECATED_TYPES = ['on' => 1, 'On' => 1, 'ON' => 1, 'off' => 1, 'Off' => 1, 'OFF' => 1]; diff --git a/vendor/nette/neon/src/Neon/Node/StringNode.php b/vendor/nette/neon/src/Neon/Node/StringNode.php index baff6597122..0e86a0e55c7 100644 --- a/vendor/nette/neon/src/Neon/Node/StringNode.php +++ b/vendor/nette/neon/src/Neon/Node/StringNode.php @@ -5,12 +5,12 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon\Node; +namespace RectorPrefix20211130\Nette\Neon\Node; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Nette\Neon\Node; /** @internal */ -final class StringNode extends \RectorPrefix20211129\Nette\Neon\Node +final class StringNode extends \RectorPrefix20211130\Nette\Neon\Node { private const ESCAPE_SEQUENCES = ['t' => "\t", 'n' => "\n", 'r' => "\r", 'f' => "\f", 'b' => "\10", '"' => '"', '\\' => '\\', '/' => '/', '_' => " "]; /** @var string */ @@ -51,12 +51,12 @@ final class StringNode extends \RectorPrefix20211129\Nette\Neon\Node if (($res = \json_decode('"' . $sq . '"')) !== null) { return $res; } - throw new \RectorPrefix20211129\Nette\Neon\Exception("Invalid UTF-8 sequence {$sq}"); + throw new \RectorPrefix20211130\Nette\Neon\Exception("Invalid UTF-8 sequence {$sq}"); } elseif ($sq[1] === 'x' && \strlen($sq) === 4) { \trigger_error("Neon: '{$sq}' is deprecated, use '\\uXXXX' instead.", \E_USER_DEPRECATED); return \chr(\hexdec(\substr($sq, 2))); } else { - throw new \RectorPrefix20211129\Nette\Neon\Exception("Invalid escaping sequence {$sq}"); + throw new \RectorPrefix20211130\Nette\Neon\Exception("Invalid escaping sequence {$sq}"); } }, $res); } @@ -64,7 +64,7 @@ final class StringNode extends \RectorPrefix20211129\Nette\Neon\Node { $res = \json_encode($this->value, \JSON_UNESCAPED_UNICODE | \JSON_UNESCAPED_SLASHES); if ($res === \false) { - throw new \RectorPrefix20211129\Nette\Neon\Exception('Invalid UTF-8 sequence: ' . $this->value); + throw new \RectorPrefix20211130\Nette\Neon\Exception('Invalid UTF-8 sequence: ' . $this->value); } if (\strpos($this->value, "\n") !== \false) { $res = \preg_replace_callback('#[^\\\\]|\\\\(.)#s', function ($m) { diff --git a/vendor/nette/neon/src/Neon/Parser.php b/vendor/nette/neon/src/Neon/Parser.php index c290cf769f6..1be0bf5638c 100644 --- a/vendor/nette/neon/src/Neon/Parser.php +++ b/vendor/nette/neon/src/Neon/Parser.php @@ -5,36 +5,36 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ final class Parser { /** @var TokenStream */ private $tokens; - public function parse(\RectorPrefix20211129\Nette\Neon\TokenStream $tokens) : \RectorPrefix20211129\Nette\Neon\Node + public function parse(\RectorPrefix20211130\Nette\Neon\TokenStream $tokens) : \RectorPrefix20211130\Nette\Neon\Node { $this->tokens = $tokens; - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } $node = $this->parseBlock($this->tokens->getIndentation()); - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } if ($this->tokens->isNext()) { $this->tokens->error(); } return $node; } - private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20211129\Nette\Neon\Node + private function parseBlock(string $indent, bool $onlyBullets = \false) : \RectorPrefix20211130\Nette\Neon\Node { - $res = new \RectorPrefix20211129\Nette\Neon\Node\BlockArrayNode($indent, $this->tokens->getPos()); + $res = new \RectorPrefix20211130\Nette\Neon\Node\BlockArrayNode($indent, $this->tokens->getPos()); $keyCheck = []; loop: - $item = new \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos()); + $item = new \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos()); if ($this->tokens->consume('-')) { // continue } elseif (!$this->tokens->isNext() || $onlyBullets) { - return $res->items ? $res : new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()); + return $res->items ? $res : new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()); } else { $value = $this->parseValue(); if ($this->tokens->consume(':', '=')) { @@ -48,9 +48,9 @@ final class Parser } } $res->items[] = $item; - $item->value = new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()); - if ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + $item->value = new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()); + if ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } $nextIndent = $this->tokens->getIndentation(); if (\strncmp($nextIndent, $indent, \min(\strlen($nextIndent), \strlen($indent)))) { @@ -70,15 +70,15 @@ final class Parser // open new block after dash } elseif ($this->tokens->isNext()) { $item->value = $this->parseValue(); - if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + if ($this->tokens->isNext() && !$this->tokens->isNext(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { $this->tokens->error(); } } - if ($item->value instanceof \RectorPrefix20211129\Nette\Neon\Node\BlockArrayNode) { + if ($item->value instanceof \RectorPrefix20211130\Nette\Neon\Node\BlockArrayNode) { $item->value->indentation = \substr($item->value->indentation, \strlen($indent)); } $res->endPos = $item->endPos = $item->value->endPos; - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } if (!$this->tokens->isNext()) { return $res; @@ -94,17 +94,17 @@ final class Parser } goto loop; } - private function parseValue() : \RectorPrefix20211129\Nette\Neon\Node + private function parseValue() : \RectorPrefix20211130\Nette\Neon\Node { - if ($token = $this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::STRING)) { + if ($token = $this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::STRING)) { try { - $node = new \RectorPrefix20211129\Nette\Neon\Node\StringNode(\RectorPrefix20211129\Nette\Neon\Node\StringNode::parse($token->value), $this->tokens->getPos() - 1); - } catch (\RectorPrefix20211129\Nette\Neon\Exception $e) { + $node = new \RectorPrefix20211130\Nette\Neon\Node\StringNode(\RectorPrefix20211130\Nette\Neon\Node\StringNode::parse($token->value), $this->tokens->getPos() - 1); + } catch (\RectorPrefix20211130\Nette\Neon\Exception $e) { $this->tokens->error($e->getMessage(), $this->tokens->getPos() - 1); } - } elseif ($token = $this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::LITERAL)) { + } elseif ($token = $this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::LITERAL)) { $pos = $this->tokens->getPos() - 1; - $node = new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode(\RectorPrefix20211129\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '=')), $pos); + $node = new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode(\RectorPrefix20211130\Nette\Neon\Node\LiteralNode::parse($token->value, $this->tokens->isNext(':', '=')), $pos); } elseif ($this->tokens->isNext('[', '(', '{')) { $node = $this->parseBraces(); } else { @@ -112,61 +112,61 @@ final class Parser } return $this->parseEntity($node); } - private function parseEntity(\RectorPrefix20211129\Nette\Neon\Node $node) : \RectorPrefix20211129\Nette\Neon\Node + private function parseEntity(\RectorPrefix20211130\Nette\Neon\Node $node) : \RectorPrefix20211130\Nette\Neon\Node { if (!$this->tokens->isNext('(')) { return $node; } $attributes = $this->parseBraces(); - $entities[] = new \RectorPrefix20211129\Nette\Neon\Node\EntityNode($node, $attributes->items, $node->startPos, $attributes->endPos); - while ($token = $this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::LITERAL)) { - $valueNode = new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode(\RectorPrefix20211129\Nette\Neon\Node\LiteralNode::parse($token->value), $this->tokens->getPos() - 1); + $entities[] = new \RectorPrefix20211130\Nette\Neon\Node\EntityNode($node, $attributes->items, $node->startPos, $attributes->endPos); + while ($token = $this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::LITERAL)) { + $valueNode = new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode(\RectorPrefix20211130\Nette\Neon\Node\LiteralNode::parse($token->value), $this->tokens->getPos() - 1); if ($this->tokens->isNext('(')) { $attributes = $this->parseBraces(); - $entities[] = new \RectorPrefix20211129\Nette\Neon\Node\EntityNode($valueNode, $attributes->items, $valueNode->startPos, $attributes->endPos); + $entities[] = new \RectorPrefix20211130\Nette\Neon\Node\EntityNode($valueNode, $attributes->items, $valueNode->startPos, $attributes->endPos); } else { - $entities[] = new \RectorPrefix20211129\Nette\Neon\Node\EntityNode($valueNode, [], $valueNode->startPos); + $entities[] = new \RectorPrefix20211130\Nette\Neon\Node\EntityNode($valueNode, [], $valueNode->startPos); break; } } - return \count($entities) === 1 ? $entities[0] : new \RectorPrefix20211129\Nette\Neon\Node\EntityChainNode($entities, $node->startPos, \end($entities)->endPos); + return \count($entities) === 1 ? $entities[0] : new \RectorPrefix20211130\Nette\Neon\Node\EntityChainNode($entities, $node->startPos, \end($entities)->endPos); } - private function parseBraces() : \RectorPrefix20211129\Nette\Neon\Node\InlineArrayNode + private function parseBraces() : \RectorPrefix20211130\Nette\Neon\Node\InlineArrayNode { $token = $this->tokens->consume(); $endBrace = ['[' => ']', '{' => '}', '(' => ')'][$token->value]; - $res = new \RectorPrefix20211129\Nette\Neon\Node\InlineArrayNode($token->value, $this->tokens->getPos() - 1); + $res = new \RectorPrefix20211130\Nette\Neon\Node\InlineArrayNode($token->value, $this->tokens->getPos() - 1); $keyCheck = []; loop: - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } if ($this->tokens->consume($endBrace)) { $res->endPos = $this->tokens->getPos() - 1; return $res; } - $res->items[] = $item = new \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos()); + $res->items[] = $item = new \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode($this->tokens->getPos()); $value = $this->parseValue(); if ($this->tokens->consume(':', '=')) { $this->checkArrayKey($value, $keyCheck); $item->key = $value; - $item->value = $this->tokens->isNext(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE, ',', $endBrace) ? new \RectorPrefix20211129\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()) : $this->parseValue(); + $item->value = $this->tokens->isNext(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE, ',', $endBrace) ? new \RectorPrefix20211130\Nette\Neon\Node\LiteralNode(null, $this->tokens->getPos()) : $this->parseValue(); } else { $item->value = $value; } $item->endPos = $item->value->endPos; - if ($this->tokens->consume(',', \RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + if ($this->tokens->consume(',', \RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { goto loop; } - while ($this->tokens->consume(\RectorPrefix20211129\Nette\Neon\Token::NEWLINE)) { + while ($this->tokens->consume(\RectorPrefix20211130\Nette\Neon\Token::NEWLINE)) { } if (!$this->tokens->isNext($endBrace)) { $this->tokens->error(); } goto loop; } - private function checkArrayKey(\RectorPrefix20211129\Nette\Neon\Node $key, array &$arr) : void + private function checkArrayKey(\RectorPrefix20211130\Nette\Neon\Node $key, array &$arr) : void { - if (!$key instanceof \RectorPrefix20211129\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) { + if (!$key instanceof \RectorPrefix20211130\Nette\Neon\Node\StringNode && !$key instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode || !\is_scalar($key->value)) { $this->tokens->error('Unacceptable key', $key->startPos); } $k = (string) $key->value; diff --git a/vendor/nette/neon/src/Neon/Token.php b/vendor/nette/neon/src/Neon/Token.php index 7a72494594a..8d649ca003b 100644 --- a/vendor/nette/neon/src/Neon/Token.php +++ b/vendor/nette/neon/src/Neon/Token.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ final class Token diff --git a/vendor/nette/neon/src/Neon/TokenStream.php b/vendor/nette/neon/src/Neon/TokenStream.php index 8f219c7b79e..b31101b55c2 100644 --- a/vendor/nette/neon/src/Neon/TokenStream.php +++ b/vendor/nette/neon/src/Neon/TokenStream.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ final class TokenStream @@ -29,18 +29,18 @@ final class TokenStream } public function isNext(...$types) : bool { - while (\in_array($this->tokens[$this->pos]->type ?? null, [\RectorPrefix20211129\Nette\Neon\Token::COMMENT, \RectorPrefix20211129\Nette\Neon\Token::WHITESPACE], \true)) { + while (\in_array($this->tokens[$this->pos]->type ?? null, [\RectorPrefix20211130\Nette\Neon\Token::COMMENT, \RectorPrefix20211130\Nette\Neon\Token::WHITESPACE], \true)) { $this->pos++; } return $types ? \in_array($this->tokens[$this->pos]->type ?? null, $types, \true) : isset($this->tokens[$this->pos]); } - public function consume(...$types) : ?\RectorPrefix20211129\Nette\Neon\Token + public function consume(...$types) : ?\RectorPrefix20211130\Nette\Neon\Token { return $this->isNext(...$types) ? $this->tokens[$this->pos++] : null; } public function getIndentation() : string { - return \in_array($this->tokens[$this->pos - 2]->type ?? null, [\RectorPrefix20211129\Nette\Neon\Token::NEWLINE, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20211129\Nette\Neon\Token::WHITESPACE ? $this->tokens[$this->pos - 1]->value : ''; + return \in_array($this->tokens[$this->pos - 2]->type ?? null, [\RectorPrefix20211130\Nette\Neon\Token::NEWLINE, null], \true) && ($this->tokens[$this->pos - 1]->type ?? null) === \RectorPrefix20211130\Nette\Neon\Token::WHITESPACE ? $this->tokens[$this->pos - 1]->value : ''; } /** @return never */ public function error(string $message = null, int $pos = null) : void @@ -57,6 +57,6 @@ final class TokenStream $col = \strlen($input) - \strrpos("\n" . $input, "\n") + 1; $token = $this->tokens[$pos] ?? null; $message = $message ?? 'Unexpected ' . ($token === null ? 'end' : "'" . \str_replace("\n", '', \substr($this->tokens[$pos]->value, 0, 40)) . "'"); - throw new \RectorPrefix20211129\Nette\Neon\Exception("{$message} on line {$line}, column {$col}."); + throw new \RectorPrefix20211130\Nette\Neon\Exception("{$message} on line {$line}, column {$col}."); } } diff --git a/vendor/nette/neon/src/Neon/Traverser.php b/vendor/nette/neon/src/Neon/Traverser.php index b95591619be..7b78dea10fd 100644 --- a/vendor/nette/neon/src/Neon/Traverser.php +++ b/vendor/nette/neon/src/Neon/Traverser.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Neon; +namespace RectorPrefix20211130\Nette\Neon; /** @internal */ final class Traverser @@ -13,12 +13,12 @@ final class Traverser /** @var callable(Node): ?Node */ private $callback; /** @param callable(Node): ?Node $callback */ - public function traverse(\RectorPrefix20211129\Nette\Neon\Node $node, callable $callback) : \RectorPrefix20211129\Nette\Neon\Node + public function traverse(\RectorPrefix20211130\Nette\Neon\Node $node, callable $callback) : \RectorPrefix20211130\Nette\Neon\Node { $this->callback = $callback; return $this->traverseNode($node); } - private function traverseNode(\RectorPrefix20211129\Nette\Neon\Node $node) : \RectorPrefix20211129\Nette\Neon\Node + private function traverseNode(\RectorPrefix20211130\Nette\Neon\Node $node) : \RectorPrefix20211130\Nette\Neon\Node { $node = ($this->callback)($node) ?? $node; foreach ($node->getSubNodes() as &$subnode) { diff --git a/vendor/nette/utils/src/HtmlStringable.php b/vendor/nette/utils/src/HtmlStringable.php index f513ddd59da..abfb926146f 100644 --- a/vendor/nette/utils/src/HtmlStringable.php +++ b/vendor/nette/utils/src/HtmlStringable.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette; +namespace RectorPrefix20211130\Nette; interface HtmlStringable { @@ -14,4 +14,4 @@ interface HtmlStringable */ function __toString() : string; } -\interface_exists(\RectorPrefix20211129\Nette\Utils\IHtmlString::class); +\interface_exists(\RectorPrefix20211130\Nette\Utils\IHtmlString::class); diff --git a/vendor/nette/utils/src/Iterators/CachingIterator.php b/vendor/nette/utils/src/Iterators/CachingIterator.php index ba6f50b48cf..37a692a3c42 100644 --- a/vendor/nette/utils/src/Iterators/CachingIterator.php +++ b/vendor/nette/utils/src/Iterators/CachingIterator.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Iterators; +namespace RectorPrefix20211130\Nette\Iterators; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Smarter caching iterator. * @@ -38,7 +38,7 @@ class CachingIterator extends \CachingIterator implements \Countable } elseif ($iterator instanceof \Traversable) { $iterator = new \IteratorIterator($iterator); } else { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException(\sprintf('Invalid argument passed to %s; array or Traversable expected, %s given.', self::class, \is_object($iterator) ? \get_class($iterator) : \gettype($iterator))); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException(\sprintf('Invalid argument passed to %s; array or Traversable expected, %s given.', self::class, \is_object($iterator) ? \get_class($iterator) : \gettype($iterator))); } parent::__construct($iterator, 0); } @@ -95,7 +95,7 @@ class CachingIterator extends \CachingIterator implements \Countable if ($inner instanceof \Countable) { return $inner->count(); } else { - throw new \RectorPrefix20211129\Nette\NotSupportedException('Iterator is not countable.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException('Iterator is not countable.'); } } /** diff --git a/vendor/nette/utils/src/Iterators/Mapper.php b/vendor/nette/utils/src/Iterators/Mapper.php index 2f68366ab21..04b3ac65dd0 100644 --- a/vendor/nette/utils/src/Iterators/Mapper.php +++ b/vendor/nette/utils/src/Iterators/Mapper.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Iterators; +namespace RectorPrefix20211130\Nette\Iterators; /** * Applies the callback to the elements of the inner iterator. diff --git a/vendor/nette/utils/src/SmartObject.php b/vendor/nette/utils/src/SmartObject.php index a6b381200f9..1200857f4a7 100644 --- a/vendor/nette/utils/src/SmartObject.php +++ b/vendor/nette/utils/src/SmartObject.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette; +namespace RectorPrefix20211130\Nette; -use RectorPrefix20211129\Nette\Utils\ObjectHelpers; +use RectorPrefix20211130\Nette\Utils\ObjectHelpers; /** * Strict class for better experience. * - 'did you mean' hints @@ -23,7 +23,7 @@ trait SmartObject public function __call(string $name, array $args) { $class = static::class; - if (\RectorPrefix20211129\Nette\Utils\ObjectHelpers::hasProperty($class, $name) === 'event') { + if (\RectorPrefix20211130\Nette\Utils\ObjectHelpers::hasProperty($class, $name) === 'event') { // calling event handlers $handlers = $this->{$name} ?? null; if (\is_iterable($handlers)) { @@ -31,10 +31,10 @@ trait SmartObject $handler(...$args); } } elseif ($handlers !== null) { - throw new \RectorPrefix20211129\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.'); + throw new \RectorPrefix20211130\Nette\UnexpectedValueException("Property {$class}::\${$name} must be iterable or null, " . \gettype($handlers) . ' given.'); } } else { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictCall($class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictCall($class, $name); } } /** @@ -42,7 +42,7 @@ trait SmartObject */ public static function __callStatic(string $name, array $args) { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); } /** * @return mixed @@ -51,10 +51,10 @@ trait SmartObject public function &__get(string $name) { $class = static::class; - if ($prop = \RectorPrefix20211129\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { + if ($prop = \RectorPrefix20211130\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { // property getter if (!($prop & 0b1)) { - throw new \RectorPrefix20211129\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}."); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Cannot read a write-only property {$class}::\${$name}."); } $m = ($prop & 0b10 ? 'get' : 'is') . $name; if ($prop & 0b100) { @@ -65,7 +65,7 @@ trait SmartObject return $val; } } else { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictGet($class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictGet($class, $name); } } /** @@ -76,17 +76,17 @@ trait SmartObject public function __set(string $name, $value) { $class = static::class; - if (\RectorPrefix20211129\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { + if (\RectorPrefix20211130\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { // unsetted property $this->{$name} = $value; - } elseif ($prop = \RectorPrefix20211129\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { + } elseif ($prop = \RectorPrefix20211130\Nette\Utils\ObjectHelpers::getMagicProperties($class)[$name] ?? null) { // property setter if (!($prop & 0b1000)) { - throw new \RectorPrefix20211129\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}."); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Cannot write to a read-only property {$class}::\${$name}."); } $this->{'set' . $name}($value); } else { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictSet($class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictSet($class, $name); } } /** @@ -96,12 +96,12 @@ trait SmartObject public function __unset(string $name) { $class = static::class; - if (!\RectorPrefix20211129\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { - throw new \RectorPrefix20211129\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}."); + if (!\RectorPrefix20211130\Nette\Utils\ObjectHelpers::hasProperty($class, $name)) { + throw new \RectorPrefix20211130\Nette\MemberAccessException("Cannot unset the property {$class}::\${$name}."); } } public function __isset(string $name) : bool { - return isset(\RectorPrefix20211129\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]); + return isset(\RectorPrefix20211130\Nette\Utils\ObjectHelpers::getMagicProperties(static::class)[$name]); } } diff --git a/vendor/nette/utils/src/StaticClass.php b/vendor/nette/utils/src/StaticClass.php index 889814cad9e..ddad31ef554 100644 --- a/vendor/nette/utils/src/StaticClass.php +++ b/vendor/nette/utils/src/StaticClass.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette; +namespace RectorPrefix20211130\Nette; /** * Static class. @@ -27,6 +27,6 @@ trait StaticClass */ public static function __callStatic(string $name, array $args) { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictStaticCall(static::class, $name); } } diff --git a/vendor/nette/utils/src/Translator.php b/vendor/nette/utils/src/Translator.php index b06bbd0b21a..990a464c691 100644 --- a/vendor/nette/utils/src/Translator.php +++ b/vendor/nette/utils/src/Translator.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Localization; +namespace RectorPrefix20211130\Nette\Localization; /** * Translator adapter. @@ -19,4 +19,4 @@ interface Translator */ function translate($message, ...$parameters) : string; } -\interface_exists(\RectorPrefix20211129\Nette\Localization\ITranslator::class); +\interface_exists(\RectorPrefix20211130\Nette\Localization\ITranslator::class); diff --git a/vendor/nette/utils/src/Utils/ArrayHash.php b/vendor/nette/utils/src/Utils/ArrayHash.php index 48b9beb764f..7ead3b3b532 100644 --- a/vendor/nette/utils/src/Utils/ArrayHash.php +++ b/vendor/nette/utils/src/Utils/ArrayHash.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Provides objects to work as array. * @template T @@ -52,7 +52,7 @@ class ArrayHash extends \stdClass implements \ArrayAccess, \Countable, \Iterator { if (!\is_scalar($key)) { // prevents null - throw new \RectorPrefix20211129\Nette\InvalidArgumentException(\sprintf('Key must be either a string or an integer, %s given.', \gettype($key))); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException(\sprintf('Key must be either a string or an integer, %s given.', \gettype($key))); } $this->{$key} = $value; } diff --git a/vendor/nette/utils/src/Utils/ArrayList.php b/vendor/nette/utils/src/Utils/ArrayList.php index 49b1fd3d1e8..e723f6bfae7 100644 --- a/vendor/nette/utils/src/Utils/ArrayList.php +++ b/vendor/nette/utils/src/Utils/ArrayList.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Provides the base class for a generic list (items can be accessed by index). * @template T @@ -24,8 +24,8 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate */ public static function from($array) { - if (!\RectorPrefix20211129\Nette\Utils\Arrays::isList($array)) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Array is not valid list.'); + if (!\RectorPrefix20211130\Nette\Utils\Arrays::isList($array)) { + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Array is not valid list.'); } $obj = new static(); $obj->list = $array; @@ -57,7 +57,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate if ($index === null) { $this->list[] = $value; } elseif (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { - throw new \RectorPrefix20211129\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20211130\Nette\OutOfRangeException('Offset invalid or out of range'); } else { $this->list[$index] = $value; } @@ -72,7 +72,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate public function offsetGet($index) { if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { - throw new \RectorPrefix20211129\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20211130\Nette\OutOfRangeException('Offset invalid or out of range'); } return $this->list[$index]; } @@ -92,7 +92,7 @@ class ArrayList implements \ArrayAccess, \Countable, \IteratorAggregate public function offsetUnset($index) : void { if (!\is_int($index) || $index < 0 || $index >= \count($this->list)) { - throw new \RectorPrefix20211129\Nette\OutOfRangeException('Offset invalid or out of range'); + throw new \RectorPrefix20211130\Nette\OutOfRangeException('Offset invalid or out of range'); } \array_splice($this->list, $index, 1); } diff --git a/vendor/nette/utils/src/Utils/Arrays.php b/vendor/nette/utils/src/Utils/Arrays.php index 727787f4599..a485fb9b824 100644 --- a/vendor/nette/utils/src/Utils/Arrays.php +++ b/vendor/nette/utils/src/Utils/Arrays.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; use function is_array, is_int, is_object, count; /** * Array tools library. @@ -31,7 +31,7 @@ class Arrays $array = $array[$k]; } else { if (\func_num_args() < 3) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Missing item '{$k}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Missing item '{$k}'."); } return $default; } @@ -52,7 +52,7 @@ class Arrays if (\is_array($array) || $array === null) { $array =& $array[$k]; } else { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Traversed item is not an array.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Traversed item is not an array.'); } } return $array; @@ -85,7 +85,7 @@ class Arrays */ public static function getKeyOffset($array, $key) : ?int { - return \RectorPrefix20211129\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true)); + return \RectorPrefix20211130\Nette\Utils\Helpers::falseToNull(\array_search(self::toKey($key), \array_keys($array), \true)); } /** * @deprecated use getKeyOffset() @@ -178,7 +178,7 @@ class Arrays */ public static function grep($array, $pattern, $flags = 0) : array { - return \RectorPrefix20211129\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]); + return \RectorPrefix20211130\Nette\Utils\Strings::pcre('preg_grep', [$pattern, $array, $flags]); } /** * Transforms multidimensional array to flat array. @@ -214,7 +214,7 @@ class Arrays { $parts = \is_array($path) ? $path : \preg_split('#(\\[\\]|->|=|\\|)#', $path, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY); if (!$parts || $parts === ['->'] || $parts[0] === '=' || $parts[0] === '|') { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Invalid path '{$path}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Invalid path '{$path}'."); } $res = $parts[0] === '->' ? new \stdClass() : []; foreach ($array as $rowOrig) { @@ -278,7 +278,7 @@ class Arrays unset($array[$key]); return $value; } elseif (\func_num_args() < 3) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Missing item '{$key}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Missing item '{$key}'."); } else { return $default; } diff --git a/vendor/nette/utils/src/Utils/Callback.php b/vendor/nette/utils/src/Utils/Callback.php index f85f8afd567..e92ce279279 100644 --- a/vendor/nette/utils/src/Utils/Callback.php +++ b/vendor/nette/utils/src/Utils/Callback.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; use function is_array, is_object, is_string; /** * PHP callable tools. @@ -26,7 +26,7 @@ final class Callback try { return \Closure::fromCallable($method === null ? $callable : [$callable, $method]); } catch (\TypeError $e) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException($e->getMessage()); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException($e->getMessage()); } } /** @@ -63,7 +63,7 @@ final class Callback { $prev = \set_error_handler(function ($severity, $message, $file) use($onError, &$prev, $function) : ?bool { if ($file === __FILE__) { - $msg = \ini_get('html_errors') ? \RectorPrefix20211129\Nette\Utils\Html::htmlToText($message) : $message; + $msg = \ini_get('html_errors') ? \RectorPrefix20211130\Nette\Utils\Html::htmlToText($message) : $message; $msg = \preg_replace("#^{$function}\\(.*?\\): #", '', $msg); if ($onError($msg, $severity) !== \false) { return null; @@ -88,7 +88,7 @@ final class Callback public static function check($callable, $syntax = \false) { if (!\is_callable($callable, $syntax)) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException($syntax ? 'Given value is not a callable type.' : \sprintf("Callback '%s' is not callable.", self::toString($callable))); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException($syntax ? 'Given value is not a callable type.' : \sprintf("Callback '%s' is not callable.", self::toString($callable))); } return $callable; } diff --git a/vendor/nette/utils/src/Utils/DateTime.php b/vendor/nette/utils/src/Utils/DateTime.php index 8f88ae35fc1..18116567473 100644 --- a/vendor/nette/utils/src/Utils/DateTime.php +++ b/vendor/nette/utils/src/Utils/DateTime.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * DateTime. */ @@ -61,7 +61,7 @@ class DateTime extends \DateTime implements \JsonSerializable { $s = \sprintf('%04d-%02d-%02d %02d:%02d:%02.5F', $year, $month, $day, $hour, $minute, $second); if (!\checkdate($month, $day, $year) || $hour < 0 || $hour > 23 || $minute < 0 || $minute > 59 || $second < 0 || $second >= 60) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Invalid date '{$s}'"); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Invalid date '{$s}'"); } return new static($s); } @@ -80,7 +80,7 @@ class DateTime extends \DateTime implements \JsonSerializable } elseif (\is_string($timezone)) { $timezone = new \DateTimeZone($timezone); } elseif (!$timezone instanceof \DateTimeZone) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Invalid timezone given'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Invalid timezone given'); } $date = parent::createFromFormat($format, $time, $timezone); return $date ? static::from($date) : \false; diff --git a/vendor/nette/utils/src/Utils/FileSystem.php b/vendor/nette/utils/src/Utils/FileSystem.php index fb8c7744ea0..91b94fee8df 100644 --- a/vendor/nette/utils/src/Utils/FileSystem.php +++ b/vendor/nette/utils/src/Utils/FileSystem.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * File system tool. */ @@ -24,7 +24,7 @@ final class FileSystem { if (!\is_dir($dir) && !@\mkdir($dir, $mode, \true) && !\is_dir($dir)) { // @ - dir may already exist - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to create directory '%s' with mode %s. %s", self::normalizePath($dir), \decoct($mode), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } /** @@ -38,9 +38,9 @@ final class FileSystem public static function copy($origin, $target, $overwrite = \true) : void { if (\stream_is_local($origin) && !\file_exists($origin)) { - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); } elseif (!$overwrite && \file_exists($target)) { - throw new \RectorPrefix20211129\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); + throw new \RectorPrefix20211130\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); } elseif (\is_dir($origin)) { static::createDir($target); foreach (new \FilesystemIterator($target) as $item) { @@ -57,7 +57,7 @@ final class FileSystem static::createDir(\dirname($target)); if (($s = @\fopen($origin, 'rb')) && ($d = @\fopen($target, 'wb')) && @\stream_copy_to_stream($s, $d) === \false) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to copy file '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } } @@ -72,7 +72,7 @@ final class FileSystem $func = \DIRECTORY_SEPARATOR === '\\' && \is_dir($path) ? 'rmdir' : 'unlink'; if (!@$func($path)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to delete '%s'. %s", self::normalizePath($path), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } elseif (\is_dir($path)) { foreach (new \FilesystemIterator($path) as $item) { @@ -80,7 +80,7 @@ final class FileSystem } if (!@\rmdir($path)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to delete directory '%s'. %s", self::normalizePath($path), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } } @@ -95,9 +95,9 @@ final class FileSystem public static function rename($origin, $target, $overwrite = \true) : void { if (!$overwrite && \file_exists($target)) { - throw new \RectorPrefix20211129\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); + throw new \RectorPrefix20211130\Nette\InvalidStateException(\sprintf("File or directory '%s' already exists.", self::normalizePath($target))); } elseif (!\file_exists($origin)) { - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($origin))); } else { static::createDir(\dirname($target)); if (\realpath($origin) !== \realpath($target)) { @@ -105,7 +105,7 @@ final class FileSystem } if (!@\rename($origin, $target)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to rename file or directory '%s' to '%s'. %s", self::normalizePath($origin), self::normalizePath($target), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } } @@ -119,7 +119,7 @@ final class FileSystem $content = @\file_get_contents($file); // @ is escalated to exception if ($content === \false) { - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to read file '%s'. %s", self::normalizePath($file), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } return $content; } @@ -135,11 +135,11 @@ final class FileSystem static::createDir(\dirname($file)); if (@\file_put_contents($file, $content) === \false) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to write file '%s'. %s", self::normalizePath($file), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } if ($mode !== null && !@\chmod($file, $mode)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($file), \decoct($mode), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } /** @@ -154,7 +154,7 @@ final class FileSystem if (\is_file($path)) { if (!@\chmod($path, $fileMode)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to chmod file '%s' to mode %s. %s", self::normalizePath($path), \decoct($fileMode), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } elseif (\is_dir($path)) { foreach (new \FilesystemIterator($path) as $item) { @@ -162,10 +162,10 @@ final class FileSystem } if (!@\chmod($path, $dirMode)) { // @ is escalated to exception - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20211129\Nette\Utils\Helpers::getLastError())); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("Unable to chmod directory '%s' to mode %s. %s", self::normalizePath($path), \decoct($dirMode), \RectorPrefix20211130\Nette\Utils\Helpers::getLastError())); } } else { - throw new \RectorPrefix20211129\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($path))); + throw new \RectorPrefix20211130\Nette\IOException(\sprintf("File or directory '%s' not found.", self::normalizePath($path))); } } /** diff --git a/vendor/nette/utils/src/Utils/Floats.php b/vendor/nette/utils/src/Utils/Floats.php index d43ce7d991f..8275f3823d8 100644 --- a/vendor/nette/utils/src/Utils/Floats.php +++ b/vendor/nette/utils/src/Utils/Floats.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Floating-point numbers comparison. */ diff --git a/vendor/nette/utils/src/Utils/Helpers.php b/vendor/nette/utils/src/Utils/Helpers.php index 312db7f8b98..fcb784917e2 100644 --- a/vendor/nette/utils/src/Utils/Helpers.php +++ b/vendor/nette/utils/src/Utils/Helpers.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; class Helpers { @@ -32,7 +32,7 @@ class Helpers public static function getLastError() : string { $message = \error_get_last()['message'] ?? ''; - $message = \ini_get('html_errors') ? \RectorPrefix20211129\Nette\Utils\Html::htmlToText($message) : $message; + $message = \ini_get('html_errors') ? \RectorPrefix20211130\Nette\Utils\Html::htmlToText($message) : $message; $message = \preg_replace('#^\\w+\\(.*?\\): #', '', $message); return $message; } diff --git a/vendor/nette/utils/src/Utils/Html.php b/vendor/nette/utils/src/Utils/Html.php index d011edd219d..248918b7a22 100644 --- a/vendor/nette/utils/src/Utils/Html.php +++ b/vendor/nette/utils/src/Utils/Html.php @@ -5,10 +5,10 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Nette\HtmlStringable; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Nette\HtmlStringable; use function is_array, is_float, is_object, is_string; /** * HTML helper. @@ -227,7 +227,7 @@ use function is_array, is_float, is_object, is_string; * @method self width(?int $val) * @method self wrap(?string $val) */ -class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefix20211129\Nette\HtmlStringable +class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefix20211130\Nette\HtmlStringable { use Nette\SmartObject; /** @var array element's attributes */ @@ -259,7 +259,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi $el->setText($attrs); } if (isset($parts[1])) { - foreach (\RectorPrefix20211129\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) { + foreach (\RectorPrefix20211130\Nette\Utils\Strings::matchAll($parts[1] . ' ', '#([a-z0-9:-]+)(?:=(["\'])?(.*?)(?(2)\\2|\\s))?#i') as $m) { $el->attrs[$m[1]] = $m[3] ?? \true; } } @@ -517,7 +517,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi */ public final function setText($text) { - if (!$text instanceof \RectorPrefix20211129\Nette\HtmlStringable) { + if (!$text instanceof \RectorPrefix20211130\Nette\HtmlStringable) { $text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8'); } $this->children = [(string) $text]; @@ -546,7 +546,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi */ public function addText($text) { - if (!$text instanceof \RectorPrefix20211129\Nette\HtmlStringable) { + if (!$text instanceof \RectorPrefix20211130\Nette\HtmlStringable) { $text = \htmlspecialchars((string) $text, \ENT_NOQUOTES, 'UTF-8'); } return $this->insert(null, $text); @@ -723,7 +723,7 @@ class Html implements \ArrayAccess, \Countable, \IteratorAggregate, \RectorPrefi continue; } elseif (\is_array($value)) { if (\strncmp($key, 'data-', 5) === 0) { - $value = \RectorPrefix20211129\Nette\Utils\Json::encode($value); + $value = \RectorPrefix20211130\Nette\Utils\Json::encode($value); } else { $tmp = null; foreach ($value as $k => $v) { diff --git a/vendor/nette/utils/src/Utils/Image.php b/vendor/nette/utils/src/Utils/Image.php index 2f7f62a4d2a..907debacac9 100644 --- a/vendor/nette/utils/src/Utils/Image.php +++ b/vendor/nette/utils/src/Utils/Image.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Basic manipulation with images. Supported types are JPEG, PNG, GIF, WEBP and BMP. * @@ -131,15 +131,15 @@ class Image public static function fromFile($file, &$type = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException('PHP extension GD is not loaded.'); } $type = self::detectTypeFromFile($file); if (!$type) { - throw new \RectorPrefix20211129\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found."); + throw new \RectorPrefix20211130\Nette\Utils\UnknownImageFileException(\is_file($file) ? "Unknown type of file '{$file}'." : "File '{$file}' not found."); } $method = 'imagecreatefrom' . self::FORMATS[$type]; - return new static(\RectorPrefix20211129\Nette\Utils\Callback::invokeSafe($method, [$file], function (string $message) : void { - throw new \RectorPrefix20211129\Nette\Utils\ImageException($message); + return new static(\RectorPrefix20211130\Nette\Utils\Callback::invokeSafe($method, [$file], function (string $message) : void { + throw new \RectorPrefix20211130\Nette\Utils\ImageException($message); })); } /** @@ -153,14 +153,14 @@ class Image public static function fromString($s, &$type = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException('PHP extension GD is not loaded.'); } $type = self::detectTypeFromString($s); if (!$type) { - throw new \RectorPrefix20211129\Nette\Utils\UnknownImageFileException('Unknown type of image.'); + throw new \RectorPrefix20211130\Nette\Utils\UnknownImageFileException('Unknown type of image.'); } - return new static(\RectorPrefix20211129\Nette\Utils\Callback::invokeSafe('imagecreatefromstring', [$s], function (string $message) : void { - throw new \RectorPrefix20211129\Nette\Utils\ImageException($message); + return new static(\RectorPrefix20211130\Nette\Utils\Callback::invokeSafe('imagecreatefromstring', [$s], function (string $message) : void { + throw new \RectorPrefix20211130\Nette\Utils\ImageException($message); })); } /** @@ -174,10 +174,10 @@ class Image public static function fromBlank($width, $height, $color = null) { if (!\extension_loaded('gd')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException('PHP extension GD is not loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException('PHP extension GD is not loaded.'); } if ($width < 1 || $height < 1) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Image width and height must be greater than zero.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Image width and height must be greater than zero.'); } $image = \imagecreatetruecolor($width, $height); if ($color) { @@ -216,7 +216,7 @@ class Image public static function typeToExtension($type) : string { if (!isset(self::FORMATS[$type])) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); } return self::FORMATS[$type]; } @@ -259,7 +259,7 @@ class Image protected function setImageResource($image) { if (!$image instanceof \GdImage && !(\is_resource($image) && \get_resource_type($image) === 'gd')) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Image is not valid.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Image is not valid.'); } $this->image = $image; return $this; @@ -323,7 +323,7 @@ class Image if ($flags & self::STRETCH) { // non-proportional if (!$newWidth || !$newHeight) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('For stretching must be both width and height specified.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('For stretching must be both width and height specified.'); } if ($flags & self::SHRINK_ONLY) { $newWidth = (int) \round($srcWidth * \min(1, $newWidth / $srcWidth)); @@ -332,7 +332,7 @@ class Image } else { // proportional if (!$newWidth && !$newHeight) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('At least width or height must be specified.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('At least width or height must be specified.'); } $scale = []; if ($newWidth > 0) { @@ -485,7 +485,7 @@ class Image $extensions = \array_flip(self::FORMATS) + ['jpg' => self::JPEG]; $ext = \strtolower(\pathinfo($file, \PATHINFO_EXTENSION)); if (!isset($extensions[$ext])) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Unsupported file extension '{$ext}'."); } $type = $extensions[$ext]; } @@ -498,7 +498,7 @@ class Image */ public function toString($type = self::JPEG, $quality = null) : string { - return \RectorPrefix20211129\Nette\Utils\Helpers::capture(function () use($type, $quality) { + return \RectorPrefix20211130\Nette\Utils\Helpers::capture(function () use($type, $quality) { $this->output($type, $quality); }); } @@ -559,10 +559,10 @@ class Image // @ is escalated to exception break; default: - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Unsupported image type '{$type}'."); } if (!$success) { - throw new \RectorPrefix20211129\Nette\Utils\ImageException(\RectorPrefix20211129\Nette\Utils\Helpers::getLastError() ?: 'Unknown error'); + throw new \RectorPrefix20211130\Nette\Utils\ImageException(\RectorPrefix20211130\Nette\Utils\Helpers::getLastError() ?: 'Unknown error'); } } /** @@ -574,7 +574,7 @@ class Image { $function = 'image' . $name; if (!\function_exists($function)) { - \RectorPrefix20211129\Nette\Utils\ObjectHelpers::strictCall(static::class, $name); + \RectorPrefix20211130\Nette\Utils\ObjectHelpers::strictCall(static::class, $name); } foreach ($args as $key => $value) { if ($value instanceof self) { @@ -606,13 +606,13 @@ class Image $num = (int) $num; return \false; } - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Expected dimension in int|string, '{$num}' given."); } /** * Prevents serialization. */ public function __sleep() : array { - throw new \RectorPrefix20211129\Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException('You cannot serialize or unserialize ' . self::class . ' instances.'); } } diff --git a/vendor/nette/utils/src/Utils/Json.php b/vendor/nette/utils/src/Utils/Json.php index 87e9d565f27..5ae184bc3e9 100644 --- a/vendor/nette/utils/src/Utils/Json.php +++ b/vendor/nette/utils/src/Utils/Json.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * JSON encoder and decoder. */ @@ -30,7 +30,7 @@ final class Json // since PHP 5.6.6 & PECL JSON-C 1.3.7 $json = \json_encode($value, $flags); if ($error = \json_last_error()) { - throw new \RectorPrefix20211129\Nette\Utils\JsonException(\json_last_error_msg(), $error); + throw new \RectorPrefix20211130\Nette\Utils\JsonException(\json_last_error_msg(), $error); } return $json; } @@ -46,7 +46,7 @@ final class Json $forceArray = (bool) ($flags & self::FORCE_ARRAY); $value = \json_decode($json, $forceArray, 512, \JSON_BIGINT_AS_STRING); if ($error = \json_last_error()) { - throw new \RectorPrefix20211129\Nette\Utils\JsonException(\json_last_error_msg(), $error); + throw new \RectorPrefix20211130\Nette\Utils\JsonException(\json_last_error_msg(), $error); } return $value; } diff --git a/vendor/nette/utils/src/Utils/ObjectHelpers.php b/vendor/nette/utils/src/Utils/ObjectHelpers.php index 8e7df67686b..2103a2fd92f 100644 --- a/vendor/nette/utils/src/Utils/ObjectHelpers.php +++ b/vendor/nette/utils/src/Utils/ObjectHelpers.php @@ -5,10 +5,10 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Nette\MemberAccessException; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Nette\MemberAccessException; /** * Nette\SmartObject helpers. */ @@ -27,7 +27,7 @@ final class ObjectHelpers $hint = self::getSuggestion(\array_merge(\array_filter($rc->getProperties(\ReflectionProperty::IS_PUBLIC), function ($p) { return !$p->isStatic(); }), self::parseFullDoc($rc, '~^[ \\t*]*@property(?:-read)?[ \\t]+(?:\\S+[ \\t]+)??\\$(\\w+)~m')), $name); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Cannot read an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); } /** * @return never @@ -41,7 +41,7 @@ final class ObjectHelpers $hint = self::getSuggestion(\array_merge(\array_filter($rc->getProperties(\ReflectionProperty::IS_PUBLIC), function ($p) { return !$p->isStatic(); }), self::parseFullDoc($rc, '~^[ \\t*]*@property(?:-write)?[ \\t]+(?:\\S+[ \\t]+)??\\$(\\w+)~m')), $name); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Cannot write to an undeclared property {$class}::\${$name}" . ($hint ? ", did you mean \${$hint}?" : '.')); } /** * @return never @@ -63,10 +63,10 @@ final class ObjectHelpers // insufficient visibility $rm = new \ReflectionMethod($class, $method); $visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : ''); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); } else { $hint = self::getSuggestion(\array_merge(\get_class_methods($class), self::parseFullDoc(new \ReflectionClass($class), '~^[ \\t*]*@method[ \\t]+(?:\\S+[ \\t]+)??(\\w+)\\(~m'), $additionalMethods), $method); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Call to undefined method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); } } /** @@ -88,12 +88,12 @@ final class ObjectHelpers // insufficient visibility $rm = new \ReflectionMethod($class, $method); $visibility = $rm->isPrivate() ? 'private ' : ($rm->isProtected() ? 'protected ' : ''); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Call to {$visibility}method {$class}::{$method}() from " . ($context ? "scope {$context}." : 'global scope.')); } else { $hint = self::getSuggestion(\array_filter((new \ReflectionClass($class))->getMethods(\ReflectionMethod::IS_PUBLIC), function ($m) { return $m->isStatic(); }), $method); - throw new \RectorPrefix20211129\Nette\MemberAccessException("Call to undefined static method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); + throw new \RectorPrefix20211130\Nette\MemberAccessException("Call to undefined static method {$class}::{$method}()" . ($hint ? ", did you mean {$hint}()?" : '.')); } } /** diff --git a/vendor/nette/utils/src/Utils/ObjectMixin.php b/vendor/nette/utils/src/Utils/ObjectMixin.php index 87944c54281..0c0c1b30270 100644 --- a/vendor/nette/utils/src/Utils/ObjectMixin.php +++ b/vendor/nette/utils/src/Utils/ObjectMixin.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Nette\Object behaviour mixin. * @deprecated @@ -21,7 +21,7 @@ final class ObjectMixin public static function getSuggestion($possibilities, $value) : ?string { \trigger_error(__METHOD__ . '() has been renamed to Nette\\Utils\\ObjectHelpers::getSuggestion()', \E_USER_DEPRECATED); - return \RectorPrefix20211129\Nette\Utils\ObjectHelpers::getSuggestion($possibilities, $value); + return \RectorPrefix20211130\Nette\Utils\ObjectHelpers::getSuggestion($possibilities, $value); } public static function setExtensionMethod() : void { diff --git a/vendor/nette/utils/src/Utils/Paginator.php b/vendor/nette/utils/src/Utils/Paginator.php index 0d289fa0344..06eb4350939 100644 --- a/vendor/nette/utils/src/Utils/Paginator.php +++ b/vendor/nette/utils/src/Utils/Paginator.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Paginating math. * diff --git a/vendor/nette/utils/src/Utils/Random.php b/vendor/nette/utils/src/Utils/Random.php index 2a23e3187eb..6ce0980beb2 100644 --- a/vendor/nette/utils/src/Utils/Random.php +++ b/vendor/nette/utils/src/Utils/Random.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Secure random string generator. */ @@ -27,9 +27,9 @@ final class Random }, $charlist), 3); $chLen = \strlen($charlist); if ($length < 1) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Length must be greater than zero.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Length must be greater than zero.'); } elseif ($chLen < 2) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Character list must contain at least two chars.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Character list must contain at least two chars.'); } $res = ''; for ($i = 0; $i < $length; $i++) { diff --git a/vendor/nette/utils/src/Utils/Reflection.php b/vendor/nette/utils/src/Utils/Reflection.php index 1882da58884..14b2cd25316 100644 --- a/vendor/nette/utils/src/Utils/Reflection.php +++ b/vendor/nette/utils/src/Utils/Reflection.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * PHP reflection helpers. */ @@ -49,7 +49,7 @@ final class Reflection */ public static function getReturnTypes($func) : array { - $type = \RectorPrefix20211129\Nette\Utils\Type::fromReflection($func); + $type = \RectorPrefix20211130\Nette\Utils\Type::fromReflection($func); return $type ? $type->getNames() : []; } /** @@ -68,7 +68,7 @@ final class Reflection */ public static function getParameterTypes($param) : array { - $type = \RectorPrefix20211129\Nette\Utils\Type::fromReflection($param); + $type = \RectorPrefix20211130\Nette\Utils\Type::fromReflection($param); return $type ? $type->getNames() : []; } /** @@ -87,7 +87,7 @@ final class Reflection */ public static function getPropertyTypes($prop) : array { - $type = \RectorPrefix20211129\Nette\Utils\Type::fromReflection($prop); + $type = \RectorPrefix20211130\Nette\Utils\Type::fromReflection($prop); return $type ? $type->getNames() : []; } /** @@ -98,11 +98,11 @@ final class Reflection if ($type === null) { return null; } elseif ($type instanceof \ReflectionNamedType) { - return \RectorPrefix20211129\Nette\Utils\Type::resolve($type->getName(), $reflection); - } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20211129\ReflectionIntersectionType) { - throw new \RectorPrefix20211129\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.'); + return \RectorPrefix20211130\Nette\Utils\Type::resolve($type->getName(), $reflection); + } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20211130\ReflectionIntersectionType) { + throw new \RectorPrefix20211130\Nette\InvalidStateException('The ' . self::toString($reflection) . ' is not expected to have a union or intersection type.'); } else { - throw new \RectorPrefix20211129\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection)); + throw new \RectorPrefix20211130\Nette\InvalidStateException('Unexpected type of ' . self::toString($reflection)); } } /** @@ -117,7 +117,7 @@ final class Reflection $const = $orig = $param->getDefaultValueConstantName(); $pair = \explode('::', $const); if (isset($pair[1])) { - $pair[0] = \RectorPrefix20211129\Nette\Utils\Type::resolve($pair[0], $param); + $pair[0] = \RectorPrefix20211130\Nette\Utils\Type::resolve($pair[0], $param); try { $rcc = new \ReflectionClassConstant($pair[0], $pair[1]); } catch (\ReflectionException $e) { @@ -196,7 +196,7 @@ final class Reflection } elseif ($ref instanceof \ReflectionParameter) { return '$' . $ref->name . ' in ' . self::toString($ref->getDeclaringFunction()); } else { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException(); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException(); } } /** @@ -210,7 +210,7 @@ final class Reflection { $lower = \strtolower($name); if (empty($name)) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Class name must not be empty.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Class name must not be empty.'); } elseif (isset(self::BUILTIN_TYPES[$lower])) { return $lower; } elseif ($lower === 'self' || $lower === 'static') { @@ -237,7 +237,7 @@ final class Reflection public static function getUseStatements($class) : array { if ($class->isAnonymous()) { - throw new \RectorPrefix20211129\Nette\NotImplementedException('Anonymous classes are not supported.'); + throw new \RectorPrefix20211130\Nette\NotImplementedException('Anonymous classes are not supported.'); } static $cache = []; if (!isset($cache[$name = $class->name])) { diff --git a/vendor/nette/utils/src/Utils/Strings.php b/vendor/nette/utils/src/Utils/Strings.php index 9b84deba092..f33b106eeaf 100644 --- a/vendor/nette/utils/src/Utils/Strings.php +++ b/vendor/nette/utils/src/Utils/Strings.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; use function is_array, is_object, strlen; /** * String tools library. @@ -41,9 +41,9 @@ class Strings public static function chr($code) : string { if ($code < 0 || $code >= 0xd800 && $code <= 0xdfff || $code > 0x10ffff) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.'); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException('Code point must be in range 0x0 to 0xD7FF or 0xE000 to 0x10FFFF.'); } elseif (!\extension_loaded('iconv')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); } return \iconv('UTF-32BE', 'UTF-8//IGNORE', \pack('N', $code)); } @@ -87,7 +87,7 @@ class Strings return \mb_substr($s, $start, $length, 'UTF-8'); // MB is much faster } elseif (!\extension_loaded('iconv')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException(__METHOD__ . '() requires extension ICONV or MBSTRING, neither is loaded.'); } elseif ($length === null) { $length = self::length($s); } elseif ($start < 0 && $length < 0) { @@ -372,7 +372,7 @@ class Strings public static function reverse($s) : string { if (!\extension_loaded('iconv')) { - throw new \RectorPrefix20211129\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); + throw new \RectorPrefix20211130\Nette\NotSupportedException(__METHOD__ . '() requires ICONV extension that is not loaded.'); } return \iconv('UTF-32LE', 'UTF-8', \strrev(\iconv('UTF-8', 'UTF-32BE', $s))); } @@ -439,7 +439,7 @@ class Strings $pos--; } } - return \RectorPrefix20211129\Nette\Utils\Helpers::falseToNull($pos); + return \RectorPrefix20211130\Nette\Utils\Helpers::falseToNull($pos); } /** * Splits a string into array by the regular expression. Parenthesized expression in the delimiter are captured. @@ -494,7 +494,7 @@ class Strings { if (\is_object($replacement) || \is_array($replacement)) { if (!\is_callable($replacement, \false, $textual)) { - throw new \RectorPrefix20211129\Nette\InvalidStateException("Callback '{$textual}' is not callable."); + throw new \RectorPrefix20211130\Nette\InvalidStateException("Callback '{$textual}' is not callable."); } return self::pcre('preg_replace_callback', [$pattern, $replacement, $subject, $limit]); } elseif (\is_array($pattern) && \is_string(\key($pattern))) { @@ -508,12 +508,12 @@ class Strings * @param mixed[] $args */ public static function pcre($func, $args) { - $res = \RectorPrefix20211129\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void { + $res = \RectorPrefix20211130\Nette\Utils\Callback::invokeSafe($func, $args, function (string $message) use($args) : void { // compile-time error, not detectable by preg_last_error - throw new \RectorPrefix20211129\Nette\Utils\RegexpException($message . ' in pattern: ' . \implode(' or ', (array) $args[0])); + throw new \RectorPrefix20211130\Nette\Utils\RegexpException($message . ' in pattern: ' . \implode(' or ', (array) $args[0])); }); if (($code = \preg_last_error()) && ($res === null || !\in_array($func, ['preg_filter', 'preg_replace_callback', 'preg_replace'], \true))) { - throw new \RectorPrefix20211129\Nette\Utils\RegexpException((\RectorPrefix20211129\Nette\Utils\RegexpException::MESSAGES[$code] ?? 'Unknown error') . ' (pattern: ' . \implode(' or ', (array) $args[0]) . ')', $code); + throw new \RectorPrefix20211130\Nette\Utils\RegexpException((\RectorPrefix20211130\Nette\Utils\RegexpException::MESSAGES[$code] ?? 'Unknown error') . ' (pattern: ' . \implode(' or ', (array) $args[0]) . ')', $code); } return $res; } diff --git a/vendor/nette/utils/src/Utils/Type.php b/vendor/nette/utils/src/Utils/Type.php index e2e0725f2dc..2eec3e42f7b 100644 --- a/vendor/nette/utils/src/Utils/Type.php +++ b/vendor/nette/utils/src/Utils/Type.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * PHP type reflection. */ @@ -38,12 +38,12 @@ final class Type } elseif ($type instanceof \ReflectionNamedType) { $name = self::resolve($type->getName(), $reflection); return new self($type->allowsNull() && $type->getName() !== 'mixed' ? [$name, 'null'] : [$name]); - } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20211129\ReflectionIntersectionType) { + } elseif ($type instanceof \ReflectionUnionType || $type instanceof \RectorPrefix20211130\ReflectionIntersectionType) { return new self(\array_map(function ($t) use($reflection) { return self::resolve($t->getName(), $reflection); }, $type->getTypes()), $type instanceof \ReflectionUnionType ? '|' : '&'); } else { - throw new \RectorPrefix20211129\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20211129\Nette\Utils\Reflection::toString($reflection)); + throw new \RectorPrefix20211130\Nette\InvalidStateException('Unexpected type of ' . \RectorPrefix20211130\Nette\Utils\Reflection::toString($reflection)); } } /** @@ -56,7 +56,7 @@ final class Type \\?([\\w\\\\]+)| [\\w\\\\]+ (?: (&[\\w\\\\]+)* | (\\|[\\w\\\\]+)* ) )()$#xAD', $type, $m)) { - throw new \RectorPrefix20211129\Nette\InvalidArgumentException("Invalid type '{$type}'."); + throw new \RectorPrefix20211130\Nette\InvalidArgumentException("Invalid type '{$type}'."); } [, $nType, $iType] = $m; if ($nType) { @@ -150,21 +150,21 @@ final class Type */ public function isBuiltin() : bool { - return $this->single && \RectorPrefix20211129\Nette\Utils\Reflection::isBuiltinType($this->types[0]); + return $this->single && \RectorPrefix20211130\Nette\Utils\Reflection::isBuiltinType($this->types[0]); } /** * Returns true whether the type is both a single and a class name. */ public function isClass() : bool { - return $this->single && !\RectorPrefix20211129\Nette\Utils\Reflection::isBuiltinType($this->types[0]); + return $this->single && !\RectorPrefix20211130\Nette\Utils\Reflection::isBuiltinType($this->types[0]); } /** * Determines if type is special class name self/parent/static. */ public function isClassKeyword() : bool { - return $this->single && \RectorPrefix20211129\Nette\Utils\Reflection::isClassKeyword($this->types[0]); + return $this->single && \RectorPrefix20211130\Nette\Utils\Reflection::isClassKeyword($this->types[0]); } /** * Verifies type compatibility. For example, it checks if a value of a certain type could be passed as a parameter. @@ -180,17 +180,17 @@ final class Type if (!$type->isIntersection()) { return \false; } - return \RectorPrefix20211129\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) { - $builtin = \RectorPrefix20211129\Nette\Utils\Reflection::isBuiltinType($currentType); - return \RectorPrefix20211129\Nette\Utils\Arrays::some($type->types, function ($testedType) use($currentType, $builtin) { + return \RectorPrefix20211130\Nette\Utils\Arrays::every($this->types, function ($currentType) use($type) { + $builtin = \RectorPrefix20211130\Nette\Utils\Reflection::isBuiltinType($currentType); + return \RectorPrefix20211130\Nette\Utils\Arrays::some($type->types, function ($testedType) use($currentType, $builtin) { return $builtin ? \strcasecmp($currentType, $testedType) === 0 : \is_a($testedType, $currentType, \true); }); }); } $method = $type->isIntersection() ? 'some' : 'every'; - return \RectorPrefix20211129\Nette\Utils\Arrays::$method($type->types, function ($testedType) { - $builtin = \RectorPrefix20211129\Nette\Utils\Reflection::isBuiltinType($testedType); - return \RectorPrefix20211129\Nette\Utils\Arrays::some($this->types, function ($currentType) use($testedType, $builtin) { + return \RectorPrefix20211130\Nette\Utils\Arrays::$method($type->types, function ($testedType) { + $builtin = \RectorPrefix20211130\Nette\Utils\Reflection::isBuiltinType($testedType); + return \RectorPrefix20211130\Nette\Utils\Arrays::some($this->types, function ($currentType) use($testedType, $builtin) { return $builtin ? \strcasecmp($currentType, $testedType) === 0 : \is_a($testedType, $currentType, \true); }); }); diff --git a/vendor/nette/utils/src/Utils/Validators.php b/vendor/nette/utils/src/Utils/Validators.php index 51e00193653..f1ad397a208 100644 --- a/vendor/nette/utils/src/Utils/Validators.php +++ b/vendor/nette/utils/src/Utils/Validators.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; /** * Validation utilities. */ @@ -31,7 +31,7 @@ class Validators // pseudo-types 'callable' => [self::class, 'isCallable'], 'iterable' => 'is_iterable', - 'list' => [\RectorPrefix20211129\Nette\Utils\Arrays::class, 'isList'], + 'list' => [\RectorPrefix20211130\Nette\Utils\Arrays::class, 'isList'], 'mixed' => [self::class, 'isMixed'], 'none' => [self::class, 'isNone'], 'number' => [self::class, 'isNumber'], @@ -60,7 +60,7 @@ class Validators 'type' => [self::class, 'isType'], ]; /** @var array */ - protected static $counters = ['string' => 'strlen', 'unicode' => [\RectorPrefix20211129\Nette\Utils\Strings::class, 'length'], 'array' => 'count', 'list' => 'count', 'alnum' => 'strlen', 'alpha' => 'strlen', 'digit' => 'strlen', 'lower' => 'strlen', 'space' => 'strlen', 'upper' => 'strlen', 'xdigit' => 'strlen']; + protected static $counters = ['string' => 'strlen', 'unicode' => [\RectorPrefix20211130\Nette\Utils\Strings::class, 'length'], 'array' => 'count', 'list' => 'count', 'alnum' => 'strlen', 'alpha' => 'strlen', 'digit' => 'strlen', 'lower' => 'strlen', 'space' => 'strlen', 'upper' => 'strlen', 'xdigit' => 'strlen']; /** * Verifies that the value is of expected types separated by pipe. * @param mixed $value @@ -79,7 +79,7 @@ class Validators } elseif (\is_object($value)) { $type .= ' ' . \get_class($value); } - throw new \RectorPrefix20211129\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given."); + throw new \RectorPrefix20211130\Nette\Utils\AssertionException("The {$label} expects to be {$expected}, {$type} given."); } } /** @@ -93,7 +93,7 @@ class Validators public static function assertField($array, $key, $expected = null, $label = "item '%' in array") : void { if (!\array_key_exists($key, $array)) { - throw new \RectorPrefix20211129\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.'); + throw new \RectorPrefix20211130\Nette\Utils\AssertionException('Missing ' . \str_replace('%', $key, $label) . '.'); } elseif ($expected) { static::assert($array[$key], $expected, \str_replace('%', $key, $label)); } @@ -127,7 +127,7 @@ class Validators continue; } } elseif ($type === 'pattern') { - if (\RectorPrefix20211129\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) { + if (\RectorPrefix20211130\Nette\Utils\Strings::match($value, '|^' . ($item[1] ?? '') . '$|D')) { return \true; } continue; @@ -226,7 +226,7 @@ class Validators */ public static function isList($value) : bool { - return \RectorPrefix20211129\Nette\Utils\Arrays::isList($value); + return \RectorPrefix20211130\Nette\Utils\Arrays::isList($value); } /** * Checks if the value is in the given range [min, max], where the upper or lower limit can be omitted (null). diff --git a/vendor/nette/utils/src/Utils/exceptions.php b/vendor/nette/utils/src/Utils/exceptions.php index 422bcfabdb8..f40d1fceced 100644 --- a/vendor/nette/utils/src/Utils/exceptions.php +++ b/vendor/nette/utils/src/Utils/exceptions.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; /** * The exception that is thrown when an image error occurs. @@ -16,7 +16,7 @@ class ImageException extends \Exception /** * The exception that indicates invalid image file. */ -class UnknownImageFileException extends \RectorPrefix20211129\Nette\Utils\ImageException +class UnknownImageFileException extends \RectorPrefix20211130\Nette\Utils\ImageException { } /** diff --git a/vendor/nette/utils/src/compatibility.php b/vendor/nette/utils/src/compatibility.php index 044376a8da1..e3cfa7de41e 100644 --- a/vendor/nette/utils/src/compatibility.php +++ b/vendor/nette/utils/src/compatibility.php @@ -5,24 +5,24 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette\Utils; +namespace RectorPrefix20211130\Nette\Utils; -use RectorPrefix20211129\Nette; +use RectorPrefix20211130\Nette; if (\false) { /** @deprecated use Nette\HtmlStringable */ - interface IHtmlString extends \RectorPrefix20211129\Nette\HtmlStringable + interface IHtmlString extends \RectorPrefix20211130\Nette\HtmlStringable { } -} elseif (!\interface_exists(\RectorPrefix20211129\Nette\Utils\IHtmlString::class)) { - \class_alias(\RectorPrefix20211129\Nette\HtmlStringable::class, \RectorPrefix20211129\Nette\Utils\IHtmlString::class); +} elseif (!\interface_exists(\RectorPrefix20211130\Nette\Utils\IHtmlString::class)) { + \class_alias(\RectorPrefix20211130\Nette\HtmlStringable::class, \RectorPrefix20211130\Nette\Utils\IHtmlString::class); } -namespace RectorPrefix20211129\Nette\Localization; +namespace RectorPrefix20211130\Nette\Localization; if (\false) { /** @deprecated use Nette\Localization\Translator */ - interface ITranslator extends \RectorPrefix20211129\Nette\Localization\Translator + interface ITranslator extends \RectorPrefix20211130\Nette\Localization\Translator { } -} elseif (!\interface_exists(\RectorPrefix20211129\Nette\Localization\ITranslator::class)) { - \class_alias(\RectorPrefix20211129\Nette\Localization\Translator::class, \RectorPrefix20211129\Nette\Localization\ITranslator::class); +} elseif (!\interface_exists(\RectorPrefix20211130\Nette\Localization\ITranslator::class)) { + \class_alias(\RectorPrefix20211130\Nette\Localization\Translator::class, \RectorPrefix20211130\Nette\Localization\ITranslator::class); } diff --git a/vendor/nette/utils/src/exceptions.php b/vendor/nette/utils/src/exceptions.php index f59f81d4f1d..dfa3a183d29 100644 --- a/vendor/nette/utils/src/exceptions.php +++ b/vendor/nette/utils/src/exceptions.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Nette; +namespace RectorPrefix20211130\Nette; /** * The exception that is thrown when the value of an argument is @@ -37,7 +37,7 @@ class NotSupportedException extends \LogicException /** * The exception that is thrown when a requested method or operation is deprecated. */ -class DeprecatedException extends \RectorPrefix20211129\Nette\NotSupportedException +class DeprecatedException extends \RectorPrefix20211130\Nette\NotSupportedException { } /** @@ -55,13 +55,13 @@ class IOException extends \RuntimeException /** * The exception that is thrown when accessing a file that does not exist on disk. */ -class FileNotFoundException extends \RectorPrefix20211129\Nette\IOException +class FileNotFoundException extends \RectorPrefix20211130\Nette\IOException { } /** * The exception that is thrown when part of a file or directory cannot be found. */ -class DirectoryNotFoundException extends \RectorPrefix20211129\Nette\IOException +class DirectoryNotFoundException extends \RectorPrefix20211130\Nette\IOException { } /** diff --git a/vendor/nikic/php-parser/bin/php-parse b/vendor/nikic/php-parser/bin/php-parse index f7f590fa4f6..390c135e614 100644 --- a/vendor/nikic/php-parser/bin/php-parse +++ b/vendor/nikic/php-parser/bin/php-parse @@ -1,6 +1,6 @@ #!/usr/bin/env php ['startLine', 'endLine', 'startFilePos', 'endFilePos', 'comments']]); $parser = (new \PhpParser\ParserFactory())->create(\PhpParser\ParserFactory::PREFER_PHP7, $lexer); @@ -43,7 +43,7 @@ foreach ($files as $file) { $errorHandler = new \PhpParser\ErrorHandler\Collecting(); $stmts = $parser->parse($code, $errorHandler); foreach ($errorHandler->getErrors() as $error) { - $message = \RectorPrefix20211129\formatErrorMessage($error, $code, $attributes['with-column-info']); + $message = \RectorPrefix20211130\formatErrorMessage($error, $code, $attributes['with-column-info']); \fwrite(\STDERR, $message . "\n"); } if (null === $stmts) { @@ -53,7 +53,7 @@ foreach ($files as $file) { try { $stmts = $parser->parse($code); } catch (\PhpParser\Error $error) { - $message = \RectorPrefix20211129\formatErrorMessage($error, $code, $attributes['with-column-info']); + $message = \RectorPrefix20211130\formatErrorMessage($error, $code, $attributes['with-column-info']); \fwrite(\STDERR, $message . "\n"); exit(1); } @@ -163,14 +163,14 @@ function parseArgs($args) break; case '--help': case '-h': - \RectorPrefix20211129\showHelp(); + \RectorPrefix20211130\showHelp(); break; case '--': $parseOptions = \false; break; default: if ($arg[0] === '-') { - \RectorPrefix20211129\showHelp("Invalid operation {$arg}."); + \RectorPrefix20211130\showHelp("Invalid operation {$arg}."); } else { $files[] = $arg; } diff --git a/vendor/nikic/php-parser/grammar/phpyLang.php b/vendor/nikic/php-parser/grammar/phpyLang.php index e6b30c6f4a2..bb4c61e1fed 100644 --- a/vendor/nikic/php-parser/grammar/phpyLang.php +++ b/vendor/nikic/php-parser/grammar/phpyLang.php @@ -1,6 +1,6 @@ [^()]*+(?:\\((?&args)\\)[^()]*+)*+)\\)'; /////////////////////////////// function preprocessGrammar($code) { - $code = \RectorPrefix20211129\resolveNodes($code); - $code = \RectorPrefix20211129\resolveMacros($code); - $code = \RectorPrefix20211129\resolveStackAccess($code); + $code = \RectorPrefix20211130\resolveNodes($code); + $code = \RectorPrefix20211130\resolveMacros($code); + $code = \RectorPrefix20211130\resolveStackAccess($code); return $code; } function resolveNodes($code) { return \preg_replace_callback('~\\b(?[A-Z][a-zA-Z_\\\\]++)\\s*' . \PARAMS . '~', function ($matches) { // recurse - $matches['params'] = \RectorPrefix20211129\resolveNodes($matches['params']); - $params = \RectorPrefix20211129\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['params']); + $matches['params'] = \RectorPrefix20211130\resolveNodes($matches['params']); + $params = \RectorPrefix20211130\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['params']); $paramCode = ''; foreach ($params as $param) { $paramCode .= $param . ', '; @@ -41,54 +41,54 @@ function resolveMacros($code) { return \preg_replace_callback('~\\b(?)(?!array\\()(?[a-z][A-Za-z]++)' . \ARGS . '~', function ($matches) { // recurse - $matches['args'] = \RectorPrefix20211129\resolveMacros($matches['args']); + $matches['args'] = \RectorPrefix20211130\resolveMacros($matches['args']); $name = $matches['name']; - $args = \RectorPrefix20211129\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']); + $args = \RectorPrefix20211130\magicSplit('(?:' . \PARAMS . '|' . \ARGS . ')(*SKIP)(*FAIL)|,', $matches['args']); if ('attributes' === $name) { - \RectorPrefix20211129\assertArgs(0, $args, $name); + \RectorPrefix20211130\assertArgs(0, $args, $name); return '$this->startAttributeStack[#1] + $this->endAttributes'; } if ('stackAttributes' === $name) { - \RectorPrefix20211129\assertArgs(1, $args, $name); + \RectorPrefix20211130\assertArgs(1, $args, $name); return '$this->startAttributeStack[' . $args[0] . ']' . ' + $this->endAttributeStack[' . $args[0] . ']'; } if ('init' === $name) { return '$$ = array(' . \implode(', ', $args) . ')'; } if ('push' === $name) { - \RectorPrefix20211129\assertArgs(2, $args, $name); + \RectorPrefix20211130\assertArgs(2, $args, $name); return $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0]; } if ('pushNormalizing' === $name) { - \RectorPrefix20211129\assertArgs(2, $args, $name); + \RectorPrefix20211130\assertArgs(2, $args, $name); return 'if (is_array(' . $args[1] . ')) { $$ = array_merge(' . $args[0] . ', ' . $args[1] . '); }' . ' else { ' . $args[0] . '[] = ' . $args[1] . '; $$ = ' . $args[0] . '; }'; } if ('toArray' == $name) { - \RectorPrefix20211129\assertArgs(1, $args, $name); + \RectorPrefix20211130\assertArgs(1, $args, $name); return 'is_array(' . $args[0] . ') ? ' . $args[0] . ' : array(' . $args[0] . ')'; } if ('parseVar' === $name) { - \RectorPrefix20211129\assertArgs(1, $args, $name); + \RectorPrefix20211130\assertArgs(1, $args, $name); return 'substr(' . $args[0] . ', 1)'; } if ('parseEncapsed' === $name) { - \RectorPrefix20211129\assertArgs(3, $args, $name); + \RectorPrefix20211130\assertArgs(3, $args, $name); return 'foreach (' . $args[0] . ' as $s) { if ($s instanceof Node\\Scalar\\EncapsedStringPart) {' . ' $s->value = Node\\Scalar\\String_::parseEscapeSequences($s->value, ' . $args[1] . ', ' . $args[2] . '); } }'; } if ('makeNop' === $name) { - \RectorPrefix20211129\assertArgs(3, $args, $name); + \RectorPrefix20211130\assertArgs(3, $args, $name); return '$startAttributes = ' . $args[1] . ';' . ' if (isset($startAttributes[\'comments\']))' . ' { ' . $args[0] . ' = new Stmt\\Nop($startAttributes + ' . $args[2] . '); }' . ' else { ' . $args[0] . ' = null; }'; } if ('makeZeroLengthNop' == $name) { - \RectorPrefix20211129\assertArgs(2, $args, $name); + \RectorPrefix20211130\assertArgs(2, $args, $name); return '$startAttributes = ' . $args[1] . ';' . ' if (isset($startAttributes[\'comments\']))' . ' { ' . $args[0] . ' = new Stmt\\Nop($this->createCommentNopAttributes($startAttributes[\'comments\'])); }' . ' else { ' . $args[0] . ' = null; }'; } if ('strKind' === $name) { - \RectorPrefix20211129\assertArgs(1, $args, $name); + \RectorPrefix20211130\assertArgs(1, $args, $name); return '(' . $args[0] . '[0] === "\'" || (' . $args[0] . '[1] === "\'" && ' . '(' . $args[0] . '[0] === \'b\' || ' . $args[0] . '[0] === \'B\')) ' . '? Scalar\\String_::KIND_SINGLE_QUOTED : Scalar\\String_::KIND_DOUBLE_QUOTED)'; } if ('prependLeadingComments' === $name) { - \RectorPrefix20211129\assertArgs(1, $args, $name); + \RectorPrefix20211130\assertArgs(1, $args, $name); return '$attrs = $this->startAttributeStack[#1]; $stmts = ' . $args[0] . '; ' . 'if (!empty($attrs[\'comments\'])) {' . '$stmts[0]->setAttribute(\'comments\', ' . 'array_merge($attrs[\'comments\'], $stmts[0]->getAttribute(\'comments\', []))); }'; } return $matches[0]; @@ -121,7 +121,7 @@ function regex($regex) } function magicSplit($regex, $string) { - $pieces = \preg_split(\RectorPrefix20211129\regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string); + $pieces = \preg_split(\RectorPrefix20211130\regex('(?:(?&string)|(?&comment)|(?&code))(*SKIP)(*FAIL)|' . $regex), $string); foreach ($pieces as &$piece) { $piece = \trim($piece); } diff --git a/vendor/nikic/php-parser/grammar/rebuildParsers.php b/vendor/nikic/php-parser/grammar/rebuildParsers.php index af2415b3eca..df9289043e2 100644 --- a/vendor/nikic/php-parser/grammar/rebuildParsers.php +++ b/vendor/nikic/php-parser/grammar/rebuildParsers.php @@ -1,6 +1,6 @@ 'Php5', __DIR__ . '/php7.y' => 'Php7']; @@ -27,18 +27,18 @@ foreach ($grammarFileToName as $grammarFile => $name) { echo "Building temporary {$name} grammar file.\n"; $grammarCode = \file_get_contents($grammarFile); $grammarCode = \str_replace('%tokens', $tokens, $grammarCode); - $grammarCode = \RectorPrefix20211129\preprocessGrammar($grammarCode); + $grammarCode = \RectorPrefix20211130\preprocessGrammar($grammarCode); \file_put_contents($tmpGrammarFile, $grammarCode); $additionalArgs = $optionDebug ? '-t -v' : ''; echo "Building {$name} parser.\n"; - $output = \RectorPrefix20211129\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}"); + $output = \RectorPrefix20211130\execCmd("{$kmyacc} {$additionalArgs} -m {$skeletonFile} -p {$name} {$tmpGrammarFile}"); $resultCode = \file_get_contents($tmpResultFile); - $resultCode = \RectorPrefix20211129\removeTrailingWhitespace($resultCode); - \RectorPrefix20211129\ensureDirExists($resultDir); + $resultCode = \RectorPrefix20211130\removeTrailingWhitespace($resultCode); + \RectorPrefix20211130\ensureDirExists($resultDir); \file_put_contents("{$resultDir}/{$name}.php", $resultCode); \unlink($tmpResultFile); echo "Building token definition.\n"; - $output = \RectorPrefix20211129\execCmd("{$kmyacc} -m {$tokensTemplate} {$tmpGrammarFile}"); + $output = \RectorPrefix20211130\execCmd("{$kmyacc} -m {$tokensTemplate} {$tmpGrammarFile}"); \rename($tmpResultFile, $tokensResultsFile); if (!$optionKeepTmpGrammar) { \unlink($tmpGrammarFile); diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php index 829e013035d..61088f0cc6b 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/ClassConst.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Const_; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php index 130b678423f..49b6b914004 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Class_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Name; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php index 4febba28460..7c460e1b314 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Declaration.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; abstract class Declaration implements \PhpParser\Builder { diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php index 543fd77b939..ce09cc1085b 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Function_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Stmt; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php index c469679bb4a..eee4271a225 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Interface_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Name; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php index 485af00e429..f8c84cbb8b6 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Method.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Stmt; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php index 7d55d2965df..6301b92e3ec 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Namespace_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Stmt; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php index 0675f1def52..409eb060952 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Param.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; class Param implements \PhpParser\Builder diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php index 92590ee5863..2119499b90c 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Property.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Identifier; diff --git a/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php b/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php index 82f25ade005..807b538c7fc 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php +++ b/vendor/nikic/php-parser/lib/PhpParser/Builder/Trait_.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PhpParser\Builder; -use RectorPrefix20211129\PhpParser; +use RectorPrefix20211130\PhpParser; use PhpParser\BuilderHelpers; use PhpParser\Node; use PhpParser\Node\Stmt; diff --git a/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php b/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php index 8036a48c1f7..b269688191c 100644 --- a/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php +++ b/vendor/nikic/php-parser/lib/PhpParser/BuilderHelpers.php @@ -69,7 +69,7 @@ final class BuilderHelpers if (\is_string($name)) { return new \PhpParser\Node\Identifier($name); } - throw new \LogicException('RectorPrefix20211129\\Expected string or instance of Node\\Identifier'); + throw new \LogicException('RectorPrefix20211130\\Expected string or instance of Node\\Identifier'); } /** * Normalizes strings to Identifier, also allowing expressions. @@ -86,7 +86,7 @@ final class BuilderHelpers if (\is_string($name)) { return new \PhpParser\Node\Identifier($name); } - throw new \LogicException('RectorPrefix20211129\\Expected string or instance of Node\\Identifier or Node\\Expr'); + throw new \LogicException('RectorPrefix20211130\\Expected string or instance of Node\\Identifier or Node\\Expr'); } /** * Normalizes a name: Converts string names to Name nodes. @@ -112,7 +112,7 @@ final class BuilderHelpers } return new \PhpParser\Node\Name($name); } - throw new \LogicException('RectorPrefix20211129\\Name must be a string or an instance of Node\\Name'); + throw new \LogicException('RectorPrefix20211130\\Name must be a string or an instance of Node\\Name'); } /** * Normalizes a name: Converts string names to Name nodes, while also allowing expressions. @@ -127,7 +127,7 @@ final class BuilderHelpers return $name; } if (!\is_string($name) && !$name instanceof \PhpParser\Node\Name) { - throw new \LogicException('RectorPrefix20211129\\Name must be a string or an instance of Node\\Name or Node\\Expr'); + throw new \LogicException('RectorPrefix20211130\\Name must be a string or an instance of Node\\Name or Node\\Expr'); } return self::normalizeName($name); } @@ -226,7 +226,7 @@ final class BuilderHelpers if (\is_string($docComment)) { return new \PhpParser\Comment\Doc($docComment); } - throw new \LogicException('RectorPrefix20211129\\Doc comment must be a string or an instance of PhpParser\\Comment\\Doc'); + throw new \LogicException('RectorPrefix20211130\\Doc comment must be a string or an instance of PhpParser\\Comment\\Doc'); } /** * Normalizes a attribute: Converts attribute to the Attribute Group if needed. @@ -241,7 +241,7 @@ final class BuilderHelpers return $attribute; } if (!$attribute instanceof \PhpParser\Node\Attribute) { - throw new \LogicException('RectorPrefix20211129\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup'); + throw new \LogicException('RectorPrefix20211130\\Attribute must be an instance of PhpParser\\Node\\Attribute or PhpParser\\Node\\AttributeGroup'); } return new \PhpParser\Node\AttributeGroup([$attribute]); } diff --git a/vendor/phpstan/phpstan-phpunit/src/PhpDoc/PHPUnit/MockObjectTypeNodeResolverExtension.php b/vendor/phpstan/phpstan-phpunit/src/PhpDoc/PHPUnit/MockObjectTypeNodeResolverExtension.php index 982330cb896..a3f00d97eb8 100644 --- a/vendor/phpstan/phpstan-phpunit/src/PhpDoc/PHPUnit/MockObjectTypeNodeResolverExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/PhpDoc/PHPUnit/MockObjectTypeNodeResolverExtension.php @@ -28,7 +28,7 @@ class MockObjectTypeNodeResolverExtension implements \PHPStan\PhpDoc\TypeNodeRes if (!$typeNode instanceof \PHPStan\PhpDocParser\Ast\Type\UnionTypeNode) { return null; } - static $mockClassNames = ['PHPUnit_Framework_MockObject_MockObject' => \true, 'RectorPrefix20211129\\PHPUnit\\Framework\\MockObject\\MockObject' => \true]; + static $mockClassNames = ['PHPUnit_Framework_MockObject_MockObject' => \true, 'RectorPrefix20211130\\PHPUnit\\Framework\\MockObject\\MockObject' => \true]; $types = $this->typeNodeResolver->resolveMultiple($typeNode->types, $nameScope); foreach ($types as $type) { if (!$type instanceof \PHPStan\Type\TypeWithClassName) { diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php index 9576ae6d5b9..b23d3cfafc3 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/AssertRuleHelper.php @@ -10,7 +10,7 @@ class AssertRuleHelper { public static function isMethodOrStaticCallOnAssert(\PhpParser\Node $node, \PHPStan\Analyser\Scope $scope) : bool { - $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20211129\\PHPUnit\\Framework\\Assert'); + $testCaseType = new \PHPStan\Type\ObjectType('RectorPrefix20211130\\PHPUnit\\Framework\\Assert'); if ($node instanceof \PhpParser\Node\Expr\MethodCall) { $calledOnType = $scope->getType($node->var); } elseif ($node instanceof \PhpParser\Node\Expr\StaticCall) { diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php index ebfe1bff488..99adbf20828 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/MockMethodCallRule.php @@ -9,8 +9,8 @@ use PHPStan\Type\Constant\ConstantStringType; use PHPStan\Type\Generic\GenericObjectType; use PHPStan\Type\IntersectionType; use PHPStan\Type\ObjectType; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject; /** * @implements \PHPStan\Rules\Rule<\PhpParser\Node\Expr\MethodCall> */ @@ -36,13 +36,13 @@ class MockMethodCallRule implements \PHPStan\Rules\Rule } $method = $argType->getValue(); $type = $scope->getType($node->var); - if ($type instanceof \PHPStan\Type\IntersectionType && \in_array(\RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) && !$type->hasMethod($method)->yes()) { + if ($type instanceof \PHPStan\Type\IntersectionType && \in_array(\RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject::class, $type->getReferencedClasses(), \true) && !$type->hasMethod($method)->yes()) { $mockClass = \array_filter($type->getReferencedClasses(), function (string $class) : bool { - return $class !== \RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject::class; + return $class !== \RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject::class; }); return [\sprintf('Trying to mock an undefined method %s() on class %s.', $method, \implode('&', $mockClass))]; } - if ($type instanceof \PHPStan\Type\Generic\GenericObjectType && $type->getClassName() === \RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class && \count($type->getTypes()) > 0) { + if ($type instanceof \PHPStan\Type\Generic\GenericObjectType && $type->getClassName() === \RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class && \count($type->getTypes()) > 0) { $mockClass = $type->getTypes()[0]; if ($mockClass instanceof \PHPStan\Type\ObjectType && !$mockClass->hasMethod($method)->yes()) { return [\sprintf('Trying to mock an undefined method %s() on class %s.', $method, $mockClass->getClassName())]; diff --git a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php index dd78a8484ba..4aafc35f5dd 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php +++ b/vendor/phpstan/phpstan-phpunit/src/Rules/PHPUnit/ShouldCallParentMethodsRule.php @@ -7,7 +7,7 @@ use PhpParser\Node; use PHPStan\Analyser\Scope; use PHPStan\Node\InClassMethodNode; use PHPStan\Rules\RuleErrorBuilder; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\PHPUnit\Framework\TestCase; /** * @implements \PHPStan\Rules\Rule */ @@ -26,7 +26,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule if ($scope->getClassReflection() === null) { return []; } - if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20211129\PHPUnit\Framework\TestCase::class)) { + if (!$scope->getClassReflection()->isSubclassOf(\RectorPrefix20211130\PHPUnit\Framework\TestCase::class)) { return []; } $parentClass = $scope->getClassReflection()->getParentClass(); @@ -37,7 +37,7 @@ class ShouldCallParentMethodsRule implements \PHPStan\Rules\Rule return []; } $parentMethod = $parentClass->getNativeMethod($methodName); - if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20211129\PHPUnit\Framework\TestCase::class) { + if ($parentMethod->getDeclaringClass()->getName() === \RectorPrefix20211130\PHPUnit\Framework\TestCase::class) { return []; } $hasParentCall = $this->hasParentClassCall($node->getOriginalNode()->getStmts(), \strtolower($methodName)); diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php index 04fdb39d5c1..410722e9e5e 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertMethodTypeSpecifyingExtension.php @@ -21,7 +21,7 @@ class AssertMethodTypeSpecifyingExtension implements \PHPStan\Type\MethodTypeSpe } public function getClass() : string { - return 'RectorPrefix20211129\\PHPUnit\\Framework\\Assert'; + return 'RectorPrefix20211130\\PHPUnit\\Framework\\Assert'; } public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection, \PhpParser\Node\Expr\MethodCall $node, \PHPStan\Analyser\TypeSpecifierContext $context) : bool { diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php index 0623e27335c..32e66ea0dd1 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/Assert/AssertStaticMethodTypeSpecifyingExtension.php @@ -21,7 +21,7 @@ class AssertStaticMethodTypeSpecifyingExtension implements \PHPStan\Type\StaticM } public function getClass() : string { - return 'RectorPrefix20211129\\PHPUnit\\Framework\\Assert'; + return 'RectorPrefix20211130\\PHPUnit\\Framework\\Assert'; } public function isStaticMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection, \PhpParser\Node\Expr\StaticCall $node, \PHPStan\Analyser\TypeSpecifierContext $context) : bool { diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php index e105a57ef99..6bcc98d93ef 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/InvocationMockerDynamicReturnTypeExtension.php @@ -7,12 +7,12 @@ use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\Type; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker; class InvocationMockerDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension { public function getClass() : string { - return \RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class; + return \RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class; } public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool { diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php index 7bb8ab26db6..6554814cc26 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockBuilderDynamicReturnTypeExtension.php @@ -7,12 +7,12 @@ use PhpParser\Node\Expr\MethodCall; use PHPStan\Analyser\Scope; use PHPStan\Reflection\MethodReflection; use PHPStan\Type\Type; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\MockBuilder; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\MockBuilder; class MockBuilderDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension { public function getClass() : string { - return \RectorPrefix20211129\PHPUnit\Framework\MockObject\MockBuilder::class; + return \RectorPrefix20211130\PHPUnit\Framework\MockObject\MockBuilder::class; } public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool { diff --git a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php index 40e8dd24dc8..cca9acee428 100644 --- a/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php +++ b/vendor/phpstan/phpstan-phpunit/src/Type/PHPUnit/MockObjectDynamicReturnTypeExtension.php @@ -11,13 +11,13 @@ use PHPStan\Type\IntersectionType; use PHPStan\Type\ObjectType; use PHPStan\Type\Type; use PHPStan\Type\TypeWithClassName; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject; class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMethodReturnTypeExtension { public function getClass() : string { - return \RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject::class; + return \RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject::class; } public function isMethodSupported(\PHPStan\Reflection\MethodReflection $methodReflection) : bool { @@ -27,14 +27,14 @@ class MockObjectDynamicReturnTypeExtension implements \PHPStan\Type\DynamicMetho { $type = $scope->getType($methodCall->var); if (!$type instanceof \PHPStan\Type\IntersectionType) { - return new \PHPStan\Type\ObjectType(\RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); + return new \PHPStan\Type\ObjectType(\RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); } $mockClasses = \array_values(\array_filter($type->getTypes(), function (\PHPStan\Type\Type $type) : bool { - return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20211129\PHPUnit\Framework\MockObject\MockObject::class; + return !$type instanceof \PHPStan\Type\TypeWithClassName || $type->getClassName() !== \RectorPrefix20211130\PHPUnit\Framework\MockObject\MockObject::class; })); if (\count($mockClasses) !== 1) { - return new \PHPStan\Type\ObjectType(\RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); + return new \PHPStan\Type\ObjectType(\RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class); } - return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20211129\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses); + return new \PHPStan\Type\Generic\GenericObjectType(\RectorPrefix20211130\PHPUnit\Framework\MockObject\Builder\InvocationMocker::class, $mockClasses); } } diff --git a/vendor/phpstan/phpstan/bootstrap.php b/vendor/phpstan/phpstan/bootstrap.php index eb6e6047303..8c7ace8e352 100644 --- a/vendor/phpstan/phpstan/bootstrap.php +++ b/vendor/phpstan/phpstan/bootstrap.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace PHPStan; -use RectorPrefix20211129\Composer\Autoload\ClassLoader; +use RectorPrefix20211130\Composer\Autoload\ClassLoader; final class PharAutoloader { /** @var ClassLoader */ diff --git a/vendor/phpstan/phpstan/phpstan b/vendor/phpstan/phpstan/phpstan index b2856abbe04..94319e638c1 100644 --- a/vendor/phpstan/phpstan/phpstan +++ b/vendor/phpstan/phpstan/phpstan @@ -1,7 +1,7 @@ #!/usr/bin/env php log(\RectorPrefix20211129\Psr\Log\LogLevel::EMERGENCY, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::EMERGENCY, $message, $context); } /** * Action must be taken immediately. @@ -37,7 +37,7 @@ trait LoggerTrait */ public function alert($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::ALERT, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::ALERT, $message, $context); } /** * Critical conditions. @@ -51,7 +51,7 @@ trait LoggerTrait */ public function critical($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::CRITICAL, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::CRITICAL, $message, $context); } /** * Runtime errors that do not require immediate action but should typically @@ -64,7 +64,7 @@ trait LoggerTrait */ public function error($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::ERROR, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::ERROR, $message, $context); } /** * Exceptional occurrences that are not errors. @@ -79,7 +79,7 @@ trait LoggerTrait */ public function warning($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::WARNING, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::WARNING, $message, $context); } /** * Normal but significant events. @@ -91,7 +91,7 @@ trait LoggerTrait */ public function notice($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::NOTICE, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::NOTICE, $message, $context); } /** * Interesting events. @@ -105,7 +105,7 @@ trait LoggerTrait */ public function info($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::INFO, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::INFO, $message, $context); } /** * Detailed debug information. @@ -117,7 +117,7 @@ trait LoggerTrait */ public function debug($message, $context = []) { - $this->log(\RectorPrefix20211129\Psr\Log\LogLevel::DEBUG, $message, $context); + $this->log(\RectorPrefix20211130\Psr\Log\LogLevel::DEBUG, $message, $context); } /** * Logs with an arbitrary level. diff --git a/vendor/psr/log/src/NullLogger.php b/vendor/psr/log/src/NullLogger.php index 3763e56a5e8..f458147a9a6 100644 --- a/vendor/psr/log/src/NullLogger.php +++ b/vendor/psr/log/src/NullLogger.php @@ -1,6 +1,6 @@ logger) { }` * blocks. */ -class NullLogger extends \RectorPrefix20211129\Psr\Log\AbstractLogger +class NullLogger extends \RectorPrefix20211130\Psr\Log\AbstractLogger { /** * Logs with an arbitrary level. diff --git a/vendor/react/cache/composer.json b/vendor/react/cache/composer.json index fc5c3862902..9b9aed119ff 100644 --- a/vendor/react/cache/composer.json +++ b/vendor/react/cache/composer.json @@ -36,12 +36,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Cache\\": "src\/" + "RectorPrefix20211130\\React\\Cache\\": "src\/" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\React\\Tests\\Cache\\": "tests\/" + "RectorPrefix20211130\\React\\Tests\\Cache\\": "tests\/" } }, "require-dev": { diff --git a/vendor/react/cache/src/ArrayCache.php b/vendor/react/cache/src/ArrayCache.php index 62c98b61521..97a60ffb216 100644 --- a/vendor/react/cache/src/ArrayCache.php +++ b/vendor/react/cache/src/ArrayCache.php @@ -1,10 +1,10 @@ data[$key], $this->expires[$key]); } if (!\array_key_exists($key, $this->data)) { - return \RectorPrefix20211129\React\Promise\resolve($default); + return \RectorPrefix20211130\React\Promise\resolve($default); } // remove and append to end of array to keep track of LRU info $value = $this->data[$key]; unset($this->data[$key]); $this->data[$key] = $value; - return \RectorPrefix20211129\React\Promise\resolve($value); + return \RectorPrefix20211130\React\Promise\resolve($value); } public function set($key, $value, $ttl = null) { @@ -93,12 +93,12 @@ class ArrayCache implements \RectorPrefix20211129\React\Cache\CacheInterface } unset($this->data[$key], $this->expires[$key]); } - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } public function delete($key) { unset($this->data[$key], $this->expires[$key]); - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } /** * @param mixed[] $keys @@ -109,7 +109,7 @@ class ArrayCache implements \RectorPrefix20211129\React\Cache\CacheInterface foreach ($keys as $key) { $values[$key] = $this->get($key, $default); } - return \RectorPrefix20211129\React\Promise\all($values); + return \RectorPrefix20211130\React\Promise\all($values); } /** * @param mixed[] $values @@ -119,7 +119,7 @@ class ArrayCache implements \RectorPrefix20211129\React\Cache\CacheInterface foreach ($values as $key => $value) { $this->set($key, $value, $ttl); } - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } /** * @param mixed[] $keys @@ -129,13 +129,13 @@ class ArrayCache implements \RectorPrefix20211129\React\Cache\CacheInterface foreach ($keys as $key) { unset($this->data[$key], $this->expires[$key]); } - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } public function clear() { $this->data = array(); $this->expires = array(); - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } public function has($key) { @@ -144,13 +144,13 @@ class ArrayCache implements \RectorPrefix20211129\React\Cache\CacheInterface unset($this->data[$key], $this->expires[$key]); } if (!\array_key_exists($key, $this->data)) { - return \RectorPrefix20211129\React\Promise\resolve(\false); + return \RectorPrefix20211130\React\Promise\resolve(\false); } // remove and append to end of array to keep track of LRU info $value = $this->data[$key]; unset($this->data[$key]); $this->data[$key] = $value; - return \RectorPrefix20211129\React\Promise\resolve(\true); + return \RectorPrefix20211130\React\Promise\resolve(\true); } /** * @return float diff --git a/vendor/react/cache/src/CacheInterface.php b/vendor/react/cache/src/CacheInterface.php index 2de4b968901..441e7347c72 100644 --- a/vendor/react/cache/src/CacheInterface.php +++ b/vendor/react/cache/src/CacheInterface.php @@ -1,8 +1,8 @@ isRunning()) { throw new \RuntimeException('Process is already running'); } - $loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $cmd = $this->cmd; $fdSpec = $this->fds; $sigchild = null; @@ -217,13 +217,13 @@ class Process extends \RectorPrefix20211129\Evenement\EventEmitter $meta = \stream_get_meta_data($fd); $mode = $meta['mode'] === '' ? $this->fds[$n][1] === 'r' ? 'w' : 'r' : $meta['mode']; if ($mode === 'r+') { - $stream = new \RectorPrefix20211129\React\Stream\DuplexResourceStream($fd, $loop); + $stream = new \RectorPrefix20211130\React\Stream\DuplexResourceStream($fd, $loop); $stream->on('close', $streamCloseHandler); $closeCount++; } elseif ($mode === 'w') { - $stream = new \RectorPrefix20211129\React\Stream\WritableResourceStream($fd, $loop); + $stream = new \RectorPrefix20211130\React\Stream\WritableResourceStream($fd, $loop); } else { - $stream = new \RectorPrefix20211129\React\Stream\ReadableResourceStream($fd, $loop); + $stream = new \RectorPrefix20211130\React\Stream\ReadableResourceStream($fd, $loop); $stream->on('close', $streamCloseHandler); $closeCount++; } diff --git a/vendor/react/dns/composer.json b/vendor/react/dns/composer.json index 00c734f8947..630283db021 100644 --- a/vendor/react/dns/composer.json +++ b/vendor/react/dns/composer.json @@ -43,12 +43,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Dns\\": "src" + "RectorPrefix20211130\\React\\Dns\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\React\\Tests\\Dns\\": "tests" + "RectorPrefix20211130\\React\\Tests\\Dns\\": "tests" } } } \ No newline at end of file diff --git a/vendor/react/dns/src/BadServerException.php b/vendor/react/dns/src/BadServerException.php index 95ddb28695b..c5cfb3dd984 100644 --- a/vendor/react/dns/src/BadServerException.php +++ b/vendor/react/dns/src/BadServerException.php @@ -1,6 +1,6 @@ id = self::generateId(); $request->rd = \true; $request->questions[] = $query; @@ -92,9 +92,9 @@ final class Message * @param Record[] $answers * @return self */ - public static function createResponseWithAnswersForQuery(\RectorPrefix20211129\React\Dns\Query\Query $query, array $answers) + public static function createResponseWithAnswersForQuery(\RectorPrefix20211130\React\Dns\Query\Query $query, array $answers) { - $response = new \RectorPrefix20211129\React\Dns\Model\Message(); + $response = new \RectorPrefix20211130\React\Dns\Model\Message(); $response->id = self::generateId(); $response->qr = \true; $response->rd = \true; @@ -171,7 +171,7 @@ final class Message * @var int response code (4 bit), see self::RCODE_* constants * @see self::RCODE_OK */ - public $rcode = \RectorPrefix20211129\React\Dns\Model\Message::RCODE_OK; + public $rcode = \RectorPrefix20211130\React\Dns\Model\Message::RCODE_OK; /** * An array of Query objects * diff --git a/vendor/react/dns/src/Model/Record.php b/vendor/react/dns/src/Model/Record.php index 9f9c8a28945..d57b72506ae 100644 --- a/vendor/react/dns/src/Model/Record.php +++ b/vendor/react/dns/src/Model/Record.php @@ -1,6 +1,6 @@ headerToBinary($message); @@ -25,7 +25,7 @@ final class BinaryDumper * @param Message $message * @return string */ - private function headerToBinary(\RectorPrefix20211129\React\Dns\Model\Message $message) + private function headerToBinary(\RectorPrefix20211130\React\Dns\Model\Message $message) { $data = ''; $data .= \pack('n', $message->id); @@ -69,44 +69,44 @@ final class BinaryDumper foreach ($records as $record) { /* @var $record Record */ switch ($record->type) { - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_A: - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_A: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA: $binary = \inet_pton($record->data); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_CNAME: - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_NS: - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_PTR: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_CNAME: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_NS: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_PTR: $binary = $this->domainNameToBinary($record->data); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_TXT: - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_SPF: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_TXT: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_SPF: $binary = $this->textsToBinary($record->data); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_MX: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_MX: $binary = \pack('n', $record->data['priority']); $binary .= $this->domainNameToBinary($record->data['target']); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_SRV: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_SRV: $binary = \pack('n*', $record->data['priority'], $record->data['weight'], $record->data['port']); $binary .= $this->domainNameToBinary($record->data['target']); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_SOA: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_SOA: $binary = $this->domainNameToBinary($record->data['mname']); $binary .= $this->domainNameToBinary($record->data['rname']); $binary .= \pack('N*', $record->data['serial'], $record->data['refresh'], $record->data['retry'], $record->data['expire'], $record->data['minimum']); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_CAA: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_CAA: $binary = \pack('C*', $record->data['flag'], \strlen($record->data['tag'])); $binary .= $record->data['tag']; $binary .= $record->data['value']; break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_SSHFP: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_SSHFP: $binary = \pack('CCH*', $record->data['algorithm'], $record->data['type'], $record->data['fingerprint']); break; - case \RectorPrefix20211129\React\Dns\Model\Message::TYPE_OPT: + case \RectorPrefix20211130\React\Dns\Model\Message::TYPE_OPT: $binary = ''; foreach ($record->data as $opt => $value) { - if ($opt === \RectorPrefix20211129\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) { + if ($opt === \RectorPrefix20211130\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value !== null) { $value = \pack('n', \round($value * 10)); } $binary .= \pack('n*', $opt, \strlen($value)) . $value; diff --git a/vendor/react/dns/src/Protocol/Parser.php b/vendor/react/dns/src/Protocol/Parser.php index 5b11ae80a28..9a39fa112ef 100644 --- a/vendor/react/dns/src/Protocol/Parser.php +++ b/vendor/react/dns/src/Protocol/Parser.php @@ -1,10 +1,10 @@ data = $data; $message->consumed = null; if ($this->parse($data, $message) !== $message) { @@ -32,7 +32,7 @@ final class Parser unset($message->data, $message->consumed); return $message; } - private function parse($data, \RectorPrefix20211129\React\Dns\Model\Message $message) + private function parse($data, \RectorPrefix20211130\React\Dns\Model\Message $message) { if (!isset($message->data[12 - 1])) { return; @@ -89,7 +89,7 @@ final class Parser * @param Message $message * @return ?Query */ - private function parseQuestion(\RectorPrefix20211129\React\Dns\Model\Message $message) + private function parseQuestion(\RectorPrefix20211130\React\Dns\Model\Message $message) { $consumed = $message->consumed; list($labels, $consumed) = $this->readLabels($message->data, $consumed); @@ -99,13 +99,13 @@ final class Parser list($type, $class) = \array_values(\unpack('n*', \substr($message->data, $consumed, 4))); $consumed += 4; $message->consumed = $consumed; - return new \RectorPrefix20211129\React\Dns\Query\Query(\implode('.', $labels), $type, $class); + return new \RectorPrefix20211130\React\Dns\Query\Query(\implode('.', $labels), $type, $class); } /** * @param Message $message * @return ?Record returns parsed Record on success or null if data is invalid/incomplete */ - private function parseRecord(\RectorPrefix20211129\React\Dns\Model\Message $message) + private function parseRecord(\RectorPrefix20211130\React\Dns\Model\Message $message) { $consumed = $message->consumed; list($name, $consumed) = $this->readDomain($message->data, $consumed); @@ -127,45 +127,45 @@ final class Parser } $rdata = null; $expected = $consumed + $rdLength; - if (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_A === $type) { + if (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A === $type) { if ($rdLength === 4) { $rdata = \inet_ntop(\substr($message->data, $consumed, $rdLength)); $consumed += $rdLength; } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA === $type) { if ($rdLength === 16) { $rdata = \inet_ntop(\substr($message->data, $consumed, $rdLength)); $consumed += $rdLength; } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20211129\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20211129\React\Dns\Model\Message::TYPE_NS === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_CNAME === $type || \RectorPrefix20211130\React\Dns\Model\Message::TYPE_PTR === $type || \RectorPrefix20211130\React\Dns\Model\Message::TYPE_NS === $type) { list($rdata, $consumed) = $this->readDomain($message->data, $consumed); - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20211129\React\Dns\Model\Message::TYPE_SPF === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_TXT === $type || \RectorPrefix20211130\React\Dns\Model\Message::TYPE_SPF === $type) { $rdata = array(); while ($consumed < $expected) { $len = \ord($message->data[$consumed]); $rdata[] = (string) \substr($message->data, $consumed + 1, $len); $consumed += $len + 1; } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_MX === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_MX === $type) { if ($rdLength > 2) { list($priority) = \array_values(\unpack('n', \substr($message->data, $consumed, 2))); list($target, $consumed) = $this->readDomain($message->data, $consumed + 2); $rdata = array('priority' => $priority, 'target' => $target); } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_SRV === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_SRV === $type) { if ($rdLength > 6) { list($priority, $weight, $port) = \array_values(\unpack('n*', \substr($message->data, $consumed, 6))); list($target, $consumed) = $this->readDomain($message->data, $consumed + 6); $rdata = array('priority' => $priority, 'weight' => $weight, 'port' => $port, 'target' => $target); } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_SSHFP === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_SSHFP === $type) { if ($rdLength > 2) { list($algorithm, $hash) = \array_values(\unpack('C*', \substr($message->data, $consumed, 2))); $fingerprint = \bin2hex(\substr($message->data, $consumed + 2, $rdLength - 2)); $consumed += $rdLength; $rdata = array('algorithm' => $algorithm, 'type' => $hash, 'fingerprint' => $fingerprint); } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_SOA === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_SOA === $type) { list($mname, $consumed) = $this->readDomain($message->data, $consumed); list($rname, $consumed) = $this->readDomain($message->data, $consumed); if ($mname !== null && $rname !== null && isset($message->data[$consumed + 20 - 1])) { @@ -173,23 +173,23 @@ final class Parser $consumed += 20; $rdata = array('mname' => $mname, 'rname' => $rname, 'serial' => $serial, 'refresh' => $refresh, 'retry' => $retry, 'expire' => $expire, 'minimum' => $minimum); } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_OPT === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_OPT === $type) { $rdata = array(); while (isset($message->data[$consumed + 4 - 1])) { list($code, $length) = \array_values(\unpack('n*', \substr($message->data, $consumed, 4))); $value = (string) \substr($message->data, $consumed + 4, $length); - if ($code === \RectorPrefix20211129\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') { + if ($code === \RectorPrefix20211130\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $value === '') { $value = null; - } elseif ($code === \RectorPrefix20211129\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) { + } elseif ($code === \RectorPrefix20211130\React\Dns\Model\Message::OPT_TCP_KEEPALIVE && $length === 2) { list($value) = \array_values(\unpack('n', $value)); $value = \round($value * 0.1, 1); - } elseif ($code === \RectorPrefix20211129\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) { + } elseif ($code === \RectorPrefix20211130\React\Dns\Model\Message::OPT_TCP_KEEPALIVE) { break; } $rdata[$code] = $value; $consumed += 4 + $length; } - } elseif (\RectorPrefix20211129\React\Dns\Model\Message::TYPE_CAA === $type) { + } elseif (\RectorPrefix20211130\React\Dns\Model\Message::TYPE_CAA === $type) { if ($rdLength > 3) { list($flag, $tagLength) = \array_values(\unpack('C*', \substr($message->data, $consumed, 2))); if ($tagLength > 0 && $rdLength - 2 - $tagLength > 0) { @@ -209,7 +209,7 @@ final class Parser return null; } $message->consumed = $consumed; - return new \RectorPrefix20211129\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata); + return new \RectorPrefix20211130\React\Dns\Model\Record($name, $type, $class, $ttl, $rdata); } private function readDomain($data, $consumed) { diff --git a/vendor/react/dns/src/Query/CachingExecutor.php b/vendor/react/dns/src/Query/CachingExecutor.php index 16e2edee8f4..5b12d184518 100644 --- a/vendor/react/dns/src/Query/CachingExecutor.php +++ b/vendor/react/dns/src/Query/CachingExecutor.php @@ -1,11 +1,11 @@ executor = $executor; $this->cache = $cache; @@ -30,14 +30,14 @@ final class CachingExecutor implements \RectorPrefix20211129\React\Dns\Query\Exe $that = $this; $executor = $this->executor; $pending = $cache->get($id); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use($query, $id, $cache, $executor, &$pending, $that) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use($query, $id, $cache, $executor, &$pending, $that) { $pending->then(function ($message) use($query, $id, $cache, $executor, &$pending, $that) { // return cached response message on cache hit if ($message !== null) { return $message; } // perform DNS lookup if not already cached - return $pending = $executor->query($query)->then(function (\RectorPrefix20211129\React\Dns\Model\Message $message) use($cache, $id, $that) { + return $pending = $executor->query($query)->then(function (\RectorPrefix20211130\React\Dns\Model\Message $message) use($cache, $id, $that) { // DNS response message received => store in cache when not truncated and return if (!$message->tc) { $cache->set($id, $message, $that->ttl($message)); diff --git a/vendor/react/dns/src/Query/CancellationException.php b/vendor/react/dns/src/Query/CancellationException.php index afdcab7e010..fb4d1c7da1a 100644 --- a/vendor/react/dns/src/Query/CancellationException.php +++ b/vendor/react/dns/src/Query/CancellationException.php @@ -1,6 +1,6 @@ executor = $base; } @@ -70,7 +70,7 @@ final class CoopExecutor implements \RectorPrefix20211129\React\Dns\Query\Execut // when no other child promise is awaiting the same query. $pending =& $this->pending; $counts =& $this->counts; - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use($promise) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use($promise) { $promise->then($resolve, $reject); }, function () use(&$promise, $key, $query, &$pending, &$counts) { if (--$counts[$key] < 1) { @@ -81,7 +81,7 @@ final class CoopExecutor implements \RectorPrefix20211129\React\Dns\Query\Execut throw new \RuntimeException('DNS query for ' . $query->describe() . ' has been cancelled'); }); } - private function serializeQueryToIdentity(\RectorPrefix20211129\React\Dns\Query\Query $query) + private function serializeQueryToIdentity(\RectorPrefix20211130\React\Dns\Query\Query $query) { return \sprintf('%s:%s:%s', $query->name, $query->type, $query->class); } diff --git a/vendor/react/dns/src/Query/ExecutorInterface.php b/vendor/react/dns/src/Query/ExecutorInterface.php index 3063501bad2..7899851eb4f 100644 --- a/vendor/react/dns/src/Query/ExecutorInterface.php +++ b/vendor/react/dns/src/Query/ExecutorInterface.php @@ -1,6 +1,6 @@ executor = $executor; $this->fallback = $fallback; @@ -20,7 +20,7 @@ final class FallbackExecutor implements \RectorPrefix20211129\React\Dns\Query\Ex $cancelled = \false; $fallback = $this->fallback; $promise = $this->executor->query($query); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use(&$promise, $fallback, $query, &$cancelled) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use(&$promise, $fallback, $query, &$cancelled) { $promise->then($resolve, function (\Exception $e1) use($fallback, $query, $resolve, $reject, &$cancelled, &$promise) { // reject if primary resolution rejected due to cancellation if ($cancelled) { diff --git a/vendor/react/dns/src/Query/HostsFileExecutor.php b/vendor/react/dns/src/Query/HostsFileExecutor.php index f9c5d50001b..b146e872421 100644 --- a/vendor/react/dns/src/Query/HostsFileExecutor.php +++ b/vendor/react/dns/src/Query/HostsFileExecutor.php @@ -1,11 +1,11 @@ hosts = $hosts; $this->fallback = $fallback; @@ -27,29 +27,29 @@ final class HostsFileExecutor implements \RectorPrefix20211129\React\Dns\Query\E */ public function query($query) { - if ($query->class === \RectorPrefix20211129\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20211129\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA)) { + if ($query->class === \RectorPrefix20211130\React\Dns\Model\Message::CLASS_IN && ($query->type === \RectorPrefix20211130\React\Dns\Model\Message::TYPE_A || $query->type === \RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA)) { // forward lookup for type A or AAAA $records = array(); - $expectsColon = $query->type === \RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA; + $expectsColon = $query->type === \RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA; foreach ($this->hosts->getIpsForHost($query->name) as $ip) { // ensure this is an IPv4/IPV6 address according to query type if ((\strpos($ip, ':') !== \false) === $expectsColon) { - $records[] = new \RectorPrefix20211129\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip); + $records[] = new \RectorPrefix20211130\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $ip); } } if ($records) { - return \RectorPrefix20211129\React\Promise\resolve(\RectorPrefix20211129\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); + return \RectorPrefix20211130\React\Promise\resolve(\RectorPrefix20211130\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); } - } elseif ($query->class === \RectorPrefix20211129\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20211129\React\Dns\Model\Message::TYPE_PTR) { + } elseif ($query->class === \RectorPrefix20211130\React\Dns\Model\Message::CLASS_IN && $query->type === \RectorPrefix20211130\React\Dns\Model\Message::TYPE_PTR) { // reverse lookup: extract IPv4 or IPv6 from special `.arpa` domain $ip = $this->getIpFromHost($query->name); if ($ip !== null) { $records = array(); foreach ($this->hosts->getHostsForIp($ip) as $host) { - $records[] = new \RectorPrefix20211129\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host); + $records[] = new \RectorPrefix20211130\React\Dns\Model\Record($query->name, $query->type, $query->class, 0, $host); } if ($records) { - return \RectorPrefix20211129\React\Promise\resolve(\RectorPrefix20211129\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); + return \RectorPrefix20211130\React\Promise\resolve(\RectorPrefix20211130\React\Dns\Model\Message::createResponseWithAnswersForQuery($query, $records)); } } } diff --git a/vendor/react/dns/src/Query/Query.php b/vendor/react/dns/src/Query/Query.php index 6d3a5cfc8d9..9d82c7be6af 100644 --- a/vendor/react/dns/src/Query/Query.php +++ b/vendor/react/dns/src/Query/Query.php @@ -1,8 +1,8 @@ class !== \RectorPrefix20211129\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; + $class = $this->class !== \RectorPrefix20211130\React\Dns\Model\Message::CLASS_IN ? 'CLASS' . $this->class . ' ' : ''; $type = 'TYPE' . $this->type; - $ref = new \ReflectionClass('RectorPrefix20211129\\React\\Dns\\Model\\Message'); + $ref = new \ReflectionClass('RectorPrefix20211130\\React\\Dns\\Model\\Message'); foreach ($ref->getConstants() as $name => $value) { if ($value === $this->type && \strpos($name, 'TYPE_') === 0) { $type = \substr($name, 5); diff --git a/vendor/react/dns/src/Query/RetryExecutor.php b/vendor/react/dns/src/Query/RetryExecutor.php index 654d505a6a0..be5c7dc54ef 100644 --- a/vendor/react/dns/src/Query/RetryExecutor.php +++ b/vendor/react/dns/src/Query/RetryExecutor.php @@ -1,15 +1,15 @@ executor = $executor; $this->retries = $retries; @@ -26,8 +26,8 @@ final class RetryExecutor implements \RectorPrefix20211129\React\Dns\Query\Execu */ public function tryQuery($query, $retries) { - $deferred = new \RectorPrefix20211129\React\Promise\Deferred(function () use(&$promise) { - if ($promise instanceof \RectorPrefix20211129\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20211129\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { + $deferred = new \RectorPrefix20211130\React\Promise\Deferred(function () use(&$promise) { + if ($promise instanceof \RectorPrefix20211130\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20211130\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { $promise->cancel(); } }); @@ -37,7 +37,7 @@ final class RetryExecutor implements \RectorPrefix20211129\React\Dns\Query\Execu }; $executor = $this->executor; $errorback = function ($e) use($deferred, &$promise, $query, $success, &$errorback, &$retries, $executor) { - if (!$e instanceof \RectorPrefix20211129\React\Dns\Query\TimeoutException) { + if (!$e instanceof \RectorPrefix20211130\React\Dns\Query\TimeoutException) { $errorback = null; $deferred->reject($e); } elseif ($retries <= 0) { diff --git a/vendor/react/dns/src/Query/SelectiveTransportExecutor.php b/vendor/react/dns/src/Query/SelectiveTransportExecutor.php index 48ae74ac635..d43bbf9729f 100644 --- a/vendor/react/dns/src/Query/SelectiveTransportExecutor.php +++ b/vendor/react/dns/src/Query/SelectiveTransportExecutor.php @@ -1,8 +1,8 @@ datagramExecutor = $datagramExecutor; $this->streamExecutor = $streamExecutor; @@ -65,7 +65,7 @@ class SelectiveTransportExecutor implements \RectorPrefix20211129\React\Dns\Quer { $stream = $this->streamExecutor; $pending = $this->datagramExecutor->query($query); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use(&$pending, $stream, $query) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use(&$pending, $stream, $query) { $pending->then($resolve, function ($e) use(&$pending, $stream, $query, $resolve, $reject) { if ($e->getCode() === (\defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)) { $pending = $stream->query($query)->then($resolve, $reject); diff --git a/vendor/react/dns/src/Query/TcpTransportExecutor.php b/vendor/react/dns/src/Query/TcpTransportExecutor.php index 6eb8650e976..277aa51e27c 100644 --- a/vendor/react/dns/src/Query/TcpTransportExecutor.php +++ b/vendor/react/dns/src/Query/TcpTransportExecutor.php @@ -1,13 +1,13 @@ = 2 && \strpos($nameserver, '://') === \false) { // several colons, but not enclosed in square brackets => enclose IPv6 address in square brackets @@ -133,16 +133,16 @@ class TcpTransportExecutor implements \RectorPrefix20211129\React\Dns\Query\Exec throw new \InvalidArgumentException('Invalid nameserver address given'); } $this->nameserver = 'tcp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53); - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); - $this->parser = new \RectorPrefix20211129\React\Dns\Protocol\Parser(); - $this->dumper = new \RectorPrefix20211129\React\Dns\Protocol\BinaryDumper(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); + $this->parser = new \RectorPrefix20211130\React\Dns\Protocol\Parser(); + $this->dumper = new \RectorPrefix20211130\React\Dns\Protocol\BinaryDumper(); } /** * @param \React\Dns\Query\Query $query */ public function query($query) { - $request = \RectorPrefix20211129\React\Dns\Model\Message::createRequestForQuery($query); + $request = \RectorPrefix20211130\React\Dns\Model\Message::createRequestForQuery($query); // keep shuffing message ID to avoid using the same message ID for two pending queries at the same time while (isset($this->pending[$request->id])) { $request->id = \mt_rand(0, 0xffff); @@ -151,14 +151,14 @@ class TcpTransportExecutor implements \RectorPrefix20211129\React\Dns\Query\Exec $queryData = $this->dumper->toBinary($request); $length = \strlen($queryData); if ($length > 0xffff) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for TCP transport')); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for TCP transport')); } $queryData = \pack('n', $length) . $queryData; if ($this->socket === null) { // create async TCP/IP connection (may take a while) $socket = @\stream_socket_client($this->nameserver, $errno, $errstr, 0, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT); if ($socket === \false) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); } // set socket to non-blocking and wait for it to become writable (connection success/rejected) \stream_set_blocking($socket, \false); @@ -180,12 +180,12 @@ class TcpTransportExecutor implements \RectorPrefix20211129\React\Dns\Query\Exec } $names =& $this->names; $that = $this; - $deferred = new \RectorPrefix20211129\React\Promise\Deferred(function () use($that, &$names, $request) { + $deferred = new \RectorPrefix20211130\React\Promise\Deferred(function () use($that, &$names, $request) { // remove from list of pending names, but remember pending query $name = $names[$request->id]; unset($names[$request->id]); $that->checkIdle(); - throw new \RectorPrefix20211129\React\Dns\Query\CancellationException('DNS query for ' . $name . ' has been cancelled'); + throw new \RectorPrefix20211130\React\Dns\Query\CancellationException('DNS query for ' . $name . ' has been cancelled'); }); $this->pending[$request->id] = $deferred; $this->names[$request->id] = $query->describe(); diff --git a/vendor/react/dns/src/Query/TimeoutException.php b/vendor/react/dns/src/Query/TimeoutException.php index a91ac839b5a..f8906cbff3a 100644 --- a/vendor/react/dns/src/Query/TimeoutException.php +++ b/vendor/react/dns/src/Query/TimeoutException.php @@ -1,6 +1,6 @@ executor = $executor; - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->timeout = $timeout; } /** @@ -21,9 +21,9 @@ final class TimeoutExecutor implements \RectorPrefix20211129\React\Dns\Query\Exe */ public function query($query) { - return \RectorPrefix20211129\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) { - if ($e instanceof \RectorPrefix20211129\React\Promise\Timer\TimeoutException) { - $e = new \RectorPrefix20211129\React\Dns\Query\TimeoutException(\sprintf("DNS query for %s timed out", $query->describe()), 0, $e); + return \RectorPrefix20211130\React\Promise\Timer\timeout($this->executor->query($query), $this->timeout, $this->loop)->then(null, function ($e) use($query) { + if ($e instanceof \RectorPrefix20211130\React\Promise\Timer\TimeoutException) { + $e = new \RectorPrefix20211130\React\Dns\Query\TimeoutException(\sprintf("DNS query for %s timed out", $query->describe()), 0, $e); } throw $e; }); diff --git a/vendor/react/dns/src/Query/UdpTransportExecutor.php b/vendor/react/dns/src/Query/UdpTransportExecutor.php index 7fedf48b226..3d2ae5b05a9 100644 --- a/vendor/react/dns/src/Query/UdpTransportExecutor.php +++ b/vendor/react/dns/src/Query/UdpTransportExecutor.php @@ -1,13 +1,13 @@ = 2 && \strpos($nameserver, '://') === \false) { // several colons, but not enclosed in square brackets => enclose IPv6 address in square brackets @@ -106,24 +106,24 @@ final class UdpTransportExecutor implements \RectorPrefix20211129\React\Dns\Quer throw new \InvalidArgumentException('Invalid nameserver address given'); } $this->nameserver = 'udp://' . $parts['host'] . ':' . (isset($parts['port']) ? $parts['port'] : 53); - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); - $this->parser = new \RectorPrefix20211129\React\Dns\Protocol\Parser(); - $this->dumper = new \RectorPrefix20211129\React\Dns\Protocol\BinaryDumper(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); + $this->parser = new \RectorPrefix20211130\React\Dns\Protocol\Parser(); + $this->dumper = new \RectorPrefix20211130\React\Dns\Protocol\BinaryDumper(); } /** * @param \React\Dns\Query\Query $query */ public function query($query) { - $request = \RectorPrefix20211129\React\Dns\Model\Message::createRequestForQuery($query); + $request = \RectorPrefix20211130\React\Dns\Model\Message::createRequestForQuery($query); $queryData = $this->dumper->toBinary($request); if (isset($queryData[$this->maxPacketSize])) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for UDP transport', \defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Query too large for UDP transport', \defined('SOCKET_EMSGSIZE') ? \SOCKET_EMSGSIZE : 90)); } // UDP connections are instant, so try connection without a loop or timeout $socket = @\stream_socket_client($this->nameserver, $errno, $errstr, 0); if ($socket === \false) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to connect to DNS server ' . $this->nameserver . ' (' . $errstr . ')', $errno)); } // set socket to non-blocking and immediately try to send (fill write buffer) \stream_set_blocking($socket, \false); @@ -135,14 +135,14 @@ final class UdpTransportExecutor implements \RectorPrefix20211129\React\Dns\Quer // fwrite(): send of 8192 bytes failed with errno=111 Connection refused $error = \error_get_last(); \preg_match('/errno=(\\d+) (.+)/', $error['message'], $m); - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to send query to DNS server ' . $this->nameserver . ' (' . (isset($m[2]) ? $m[2] : $error['message']) . ')', isset($m[1]) ? (int) $m[1] : 0)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('DNS query for ' . $query->describe() . ' failed: Unable to send query to DNS server ' . $this->nameserver . ' (' . (isset($m[2]) ? $m[2] : $error['message']) . ')', isset($m[1]) ? (int) $m[1] : 0)); } $loop = $this->loop; - $deferred = new \RectorPrefix20211129\React\Promise\Deferred(function () use($loop, $socket, $query) { + $deferred = new \RectorPrefix20211130\React\Promise\Deferred(function () use($loop, $socket, $query) { // cancellation should remove socket from loop and close socket $loop->removeReadStream($socket); \fclose($socket); - throw new \RectorPrefix20211129\React\Dns\Query\CancellationException('DNS query for ' . $query->describe() . ' has been cancelled'); + throw new \RectorPrefix20211130\React\Dns\Query\CancellationException('DNS query for ' . $query->describe() . ' has been cancelled'); }); $max = $this->maxPacketSize; $parser = $this->parser; diff --git a/vendor/react/dns/src/RecordNotFoundException.php b/vendor/react/dns/src/RecordNotFoundException.php index f146419f574..5a6ff2e070c 100644 --- a/vendor/react/dns/src/RecordNotFoundException.php +++ b/vendor/react/dns/src/RecordNotFoundException.php @@ -1,6 +1,6 @@ decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get())); - return new \RectorPrefix20211129\React\Dns\Resolver\Resolver($executor); + $executor = $this->decorateHostsFileExecutor($this->createExecutor($config, $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get())); + return new \RectorPrefix20211130\React\Dns\Resolver\Resolver($executor); } /** * Creates a cached DNS resolver instance for the given DNS config and cache @@ -56,16 +56,16 @@ final class Factory * @throws \InvalidArgumentException for invalid DNS server address * @throws \UnderflowException when given DNS Config object has an empty list of nameservers */ - public function createCached($config, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20211129\React\Cache\CacheInterface $cache = null) + public function createCached($config, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop = null, \RectorPrefix20211130\React\Cache\CacheInterface $cache = null) { // default to keeping maximum of 256 responses in cache unless explicitly given - if (!$cache instanceof \RectorPrefix20211129\React\Cache\CacheInterface) { - $cache = new \RectorPrefix20211129\React\Cache\ArrayCache(256); + if (!$cache instanceof \RectorPrefix20211130\React\Cache\CacheInterface) { + $cache = new \RectorPrefix20211130\React\Cache\ArrayCache(256); } - $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get()); - $executor = new \RectorPrefix20211129\React\Dns\Query\CachingExecutor($executor, $cache); + $executor = $this->createExecutor($config, $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get()); + $executor = new \RectorPrefix20211130\React\Dns\Query\CachingExecutor($executor, $cache); $executor = $this->decorateHostsFileExecutor($executor); - return new \RectorPrefix20211129\React\Dns\Resolver\Resolver($executor); + return new \RectorPrefix20211130\React\Dns\Resolver\Resolver($executor); } /** * Tries to load the hosts file and decorates the given executor on success @@ -74,17 +74,17 @@ final class Factory * @return ExecutorInterface * @codeCoverageIgnore */ - private function decorateHostsFileExecutor(\RectorPrefix20211129\React\Dns\Query\ExecutorInterface $executor) + private function decorateHostsFileExecutor(\RectorPrefix20211130\React\Dns\Query\ExecutorInterface $executor) { try { - $executor = new \RectorPrefix20211129\React\Dns\Query\HostsFileExecutor(\RectorPrefix20211129\React\Dns\Config\HostsFile::loadFromPathBlocking(), $executor); + $executor = new \RectorPrefix20211130\React\Dns\Query\HostsFileExecutor(\RectorPrefix20211130\React\Dns\Config\HostsFile::loadFromPathBlocking(), $executor); } catch (\RuntimeException $e) { // ignore this file if it can not be loaded } // Windows does not store localhost in hosts file by default but handles this internally // To compensate for this, we explicitly use hard-coded defaults for localhost if (\DIRECTORY_SEPARATOR === '\\') { - $executor = new \RectorPrefix20211129\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20211129\React\Dns\Config\HostsFile("127.0.0.1 localhost\n::1 localhost"), $executor); + $executor = new \RectorPrefix20211130\React\Dns\Query\HostsFileExecutor(new \RectorPrefix20211130\React\Dns\Config\HostsFile("127.0.0.1 localhost\n::1 localhost"), $executor); } return $executor; } @@ -95,9 +95,9 @@ final class Factory * @throws \InvalidArgumentException for invalid DNS server address * @throws \UnderflowException when given DNS Config object has an empty list of nameservers */ - private function createExecutor($nameserver, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop) + private function createExecutor($nameserver, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop) { - if ($nameserver instanceof \RectorPrefix20211129\React\Dns\Config\Config) { + if ($nameserver instanceof \RectorPrefix20211130\React\Dns\Config\Config) { if (!$nameserver->nameservers) { throw new \UnderflowException('Empty config with no DNS servers'); } @@ -108,16 +108,16 @@ final class Factory $tertiary = \next($nameserver->nameservers); if ($tertiary !== \false) { // 3 DNS servers given => nest first with fallback for second and third - return new \RectorPrefix20211129\React\Dns\Query\CoopExecutor(new \RectorPrefix20211129\React\Dns\Query\RetryExecutor(new \RectorPrefix20211129\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20211129\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($secondary, $loop), $this->createSingleExecutor($tertiary, $loop))))); + return new \RectorPrefix20211130\React\Dns\Query\CoopExecutor(new \RectorPrefix20211130\React\Dns\Query\RetryExecutor(new \RectorPrefix20211130\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), new \RectorPrefix20211130\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($secondary, $loop), $this->createSingleExecutor($tertiary, $loop))))); } elseif ($secondary !== \false) { // 2 DNS servers given => fallback from first to second - return new \RectorPrefix20211129\React\Dns\Query\CoopExecutor(new \RectorPrefix20211129\React\Dns\Query\RetryExecutor(new \RectorPrefix20211129\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop)))); + return new \RectorPrefix20211130\React\Dns\Query\CoopExecutor(new \RectorPrefix20211130\React\Dns\Query\RetryExecutor(new \RectorPrefix20211130\React\Dns\Query\FallbackExecutor($this->createSingleExecutor($primary, $loop), $this->createSingleExecutor($secondary, $loop)))); } else { // 1 DNS server given => use single executor $nameserver = $primary; } } - return new \RectorPrefix20211129\React\Dns\Query\CoopExecutor(new \RectorPrefix20211129\React\Dns\Query\RetryExecutor($this->createSingleExecutor($nameserver, $loop))); + return new \RectorPrefix20211130\React\Dns\Query\CoopExecutor(new \RectorPrefix20211130\React\Dns\Query\RetryExecutor($this->createSingleExecutor($nameserver, $loop))); } /** * @param string $nameserver @@ -125,7 +125,7 @@ final class Factory * @return ExecutorInterface * @throws \InvalidArgumentException for invalid DNS server address */ - private function createSingleExecutor($nameserver, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop) + private function createSingleExecutor($nameserver, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop) { $parts = \parse_url($nameserver); if (isset($parts['scheme']) && $parts['scheme'] === 'tcp') { @@ -133,7 +133,7 @@ final class Factory } elseif (isset($parts['scheme']) && $parts['scheme'] === 'udp') { $executor = $this->createUdpExecutor($nameserver, $loop); } else { - $executor = new \RectorPrefix20211129\React\Dns\Query\SelectiveTransportExecutor($this->createUdpExecutor($nameserver, $loop), $this->createTcpExecutor($nameserver, $loop)); + $executor = new \RectorPrefix20211130\React\Dns\Query\SelectiveTransportExecutor($this->createUdpExecutor($nameserver, $loop), $this->createTcpExecutor($nameserver, $loop)); } return $executor; } @@ -143,9 +143,9 @@ final class Factory * @return TimeoutExecutor * @throws \InvalidArgumentException for invalid DNS server address */ - private function createTcpExecutor($nameserver, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop) + private function createTcpExecutor($nameserver, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop) { - return new \RectorPrefix20211129\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20211129\React\Dns\Query\TcpTransportExecutor($nameserver, $loop), 5.0, $loop); + return new \RectorPrefix20211130\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20211130\React\Dns\Query\TcpTransportExecutor($nameserver, $loop), 5.0, $loop); } /** * @param string $nameserver @@ -153,8 +153,8 @@ final class Factory * @return TimeoutExecutor * @throws \InvalidArgumentException for invalid DNS server address */ - private function createUdpExecutor($nameserver, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop) + private function createUdpExecutor($nameserver, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop) { - return new \RectorPrefix20211129\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20211129\React\Dns\Query\UdpTransportExecutor($nameserver, $loop), 5.0, $loop); + return new \RectorPrefix20211130\React\Dns\Query\TimeoutExecutor(new \RectorPrefix20211130\React\Dns\Query\UdpTransportExecutor($nameserver, $loop), 5.0, $loop); } } diff --git a/vendor/react/dns/src/Resolver/Resolver.php b/vendor/react/dns/src/Resolver/Resolver.php index 8c31ba5d03e..7d086339297 100644 --- a/vendor/react/dns/src/Resolver/Resolver.php +++ b/vendor/react/dns/src/Resolver/Resolver.php @@ -1,32 +1,32 @@ executor = $executor; } public function resolve($domain) { - return $this->resolveAll($domain, \RectorPrefix20211129\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) { + return $this->resolveAll($domain, \RectorPrefix20211130\React\Dns\Model\Message::TYPE_A)->then(function (array $ips) { return $ips[\array_rand($ips)]; }); } public function resolveAll($domain, $type) { - $query = new \RectorPrefix20211129\React\Dns\Query\Query($domain, $type, \RectorPrefix20211129\React\Dns\Model\Message::CLASS_IN); + $query = new \RectorPrefix20211130\React\Dns\Query\Query($domain, $type, \RectorPrefix20211130\React\Dns\Model\Message::CLASS_IN); $that = $this; - return $this->executor->query($query)->then(function (\RectorPrefix20211129\React\Dns\Model\Message $response) use($query, $that) { + return $this->executor->query($query)->then(function (\RectorPrefix20211130\React\Dns\Model\Message $response) use($query, $that) { return $that->extractValues($query, $response); }); } @@ -43,33 +43,33 @@ final class Resolver implements \RectorPrefix20211129\React\Dns\Resolver\Resolve { // reject if response code indicates this is an error response message $code = $response->rcode; - if ($code !== \RectorPrefix20211129\React\Dns\Model\Message::RCODE_OK) { + if ($code !== \RectorPrefix20211130\React\Dns\Model\Message::RCODE_OK) { switch ($code) { - case \RectorPrefix20211129\React\Dns\Model\Message::RCODE_FORMAT_ERROR: + case \RectorPrefix20211130\React\Dns\Model\Message::RCODE_FORMAT_ERROR: $message = 'Format Error'; break; - case \RectorPrefix20211129\React\Dns\Model\Message::RCODE_SERVER_FAILURE: + case \RectorPrefix20211130\React\Dns\Model\Message::RCODE_SERVER_FAILURE: $message = 'Server Failure'; break; - case \RectorPrefix20211129\React\Dns\Model\Message::RCODE_NAME_ERROR: + case \RectorPrefix20211130\React\Dns\Model\Message::RCODE_NAME_ERROR: $message = 'Non-Existent Domain / NXDOMAIN'; break; - case \RectorPrefix20211129\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED: + case \RectorPrefix20211130\React\Dns\Model\Message::RCODE_NOT_IMPLEMENTED: $message = 'Not Implemented'; break; - case \RectorPrefix20211129\React\Dns\Model\Message::RCODE_REFUSED: + case \RectorPrefix20211130\React\Dns\Model\Message::RCODE_REFUSED: $message = 'Refused'; break; default: $message = 'Unknown error response code ' . $code; } - throw new \RectorPrefix20211129\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' returned an error response (' . $message . ')', $code); + throw new \RectorPrefix20211130\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' returned an error response (' . $message . ')', $code); } $answers = $response->answers; $addresses = $this->valuesByNameAndType($answers, $query->name, $query->type); // reject if we did not receive a valid answer (domain is valid, but no record for this type could be found) if (0 === \count($addresses)) { - throw new \RectorPrefix20211129\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' did not return a valid answer (NOERROR / NODATA)'); + throw new \RectorPrefix20211130\React\Dns\RecordNotFoundException('DNS query for ' . $query->describe() . ' did not return a valid answer (NOERROR / NODATA)'); } return \array_values($addresses); } @@ -88,7 +88,7 @@ final class Resolver implements \RectorPrefix20211129\React\Dns\Resolver\Resolve return $this->mapRecordData($records); } // no matching records found? check if there are any matching CNAMEs instead - $cnameRecords = $this->filterByType($named, \RectorPrefix20211129\React\Dns\Model\Message::TYPE_CNAME); + $cnameRecords = $this->filterByType($named, \RectorPrefix20211130\React\Dns\Model\Message::TYPE_CNAME); if ($cnameRecords) { $cnames = $this->mapRecordData($cnameRecords); foreach ($cnames as $cname) { diff --git a/vendor/react/dns/src/Resolver/ResolverInterface.php b/vendor/react/dns/src/Resolver/ResolverInterface.php index b7811f6f746..c87f87bac7a 100644 --- a/vendor/react/dns/src/Resolver/ResolverInterface.php +++ b/vendor/react/dns/src/Resolver/ResolverInterface.php @@ -1,6 +1,6 @@ loop = new \EvLoop(); - $this->futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); $this->timers = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); } public function addReadStream($stream, $listener) { @@ -113,7 +113,7 @@ class ExtEvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInterface } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $that = $this; $timers = $this->timers; $callback = function () use($timer, $timers, $that) { @@ -128,7 +128,7 @@ class ExtEvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInterface } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; diff --git a/vendor/react/event-loop/src/ExtEventLoop.php b/vendor/react/event-loop/src/ExtEventLoop.php index bdc4457af49..61bb9ef1e51 100644 --- a/vendor/react/event-loop/src/ExtEventLoop.php +++ b/vendor/react/event-loop/src/ExtEventLoop.php @@ -1,12 +1,12 @@ requireFeatures(\EventConfig::FEATURE_FDS); } $this->eventBase = new \EventBase($config); - $this->futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); $this->createTimerCallback(); $this->createStreamCallback(); } @@ -113,13 +113,13 @@ final class ExtEventLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->scheduleTimer($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->scheduleTimer($timer); return $timer; } @@ -176,7 +176,7 @@ final class ExtEventLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn * * @param TimerInterface $timer */ - private function scheduleTimer(\RectorPrefix20211129\React\EventLoop\TimerInterface $timer) + private function scheduleTimer(\RectorPrefix20211130\React\EventLoop\TimerInterface $timer) { $flags = \Event::TIMEOUT; if ($timer->isPeriodic()) { diff --git a/vendor/react/event-loop/src/ExtLibevLoop.php b/vendor/react/event-loop/src/ExtLibevLoop.php index 4b6d2c43286..28eeeaa8fd5 100644 --- a/vendor/react/event-loop/src/ExtLibevLoop.php +++ b/vendor/react/event-loop/src/ExtLibevLoop.php @@ -1,14 +1,14 @@ loop = new \RectorPrefix20211129\libev\EventLoop(); - $this->futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); + $this->loop = new \RectorPrefix20211130\libev\EventLoop(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); } public function addReadStream($stream, $listener) { @@ -53,7 +53,7 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn $callback = function () use($stream, $listener) { \call_user_func($listener, $stream); }; - $event = new \RectorPrefix20211129\libev\IOEvent($callback, $stream, \RectorPrefix20211129\libev\IOEvent::READ); + $event = new \RectorPrefix20211130\libev\IOEvent($callback, $stream, \RectorPrefix20211130\libev\IOEvent::READ); $this->loop->add($event); $this->readEvents[(int) $stream] = $event; } @@ -65,7 +65,7 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn $callback = function () use($stream, $listener) { \call_user_func($listener, $stream); }; - $event = new \RectorPrefix20211129\libev\IOEvent($callback, $stream, \RectorPrefix20211129\libev\IOEvent::WRITE); + $event = new \RectorPrefix20211130\libev\IOEvent($callback, $stream, \RectorPrefix20211130\libev\IOEvent::WRITE); $this->loop->add($event); $this->writeEvents[(int) $stream] = $event; } @@ -89,7 +89,7 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $that = $this; $timers = $this->timerEvents; $callback = function () use($timer, $timers, $that) { @@ -98,18 +98,18 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn $that->cancelTimer($timer); } }; - $event = new \RectorPrefix20211129\libev\TimerEvent($callback, $timer->getInterval()); + $event = new \RectorPrefix20211130\libev\TimerEvent($callback, $timer->getInterval()); $this->timerEvents->attach($timer, $event); $this->loop->add($event); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; - $event = new \RectorPrefix20211129\libev\TimerEvent($callback, $interval, $interval); + $event = new \RectorPrefix20211130\libev\TimerEvent($callback, $interval, $interval); $this->timerEvents->attach($timer, $event); $this->loop->add($event); return $timer; @@ -133,7 +133,7 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn $this->signals->add($signal, $listener); if (!isset($this->signalEvents[$signal])) { $signals = $this->signals; - $this->signalEvents[$signal] = new \RectorPrefix20211129\libev\SignalEvent(function () use($signals, $signal) { + $this->signalEvents[$signal] = new \RectorPrefix20211130\libev\SignalEvent(function () use($signals, $signal) { $signals->call($signal); }, $signal); $this->loop->add($this->signalEvents[$signal]); @@ -153,9 +153,9 @@ final class ExtLibevLoop implements \RectorPrefix20211129\React\EventLoop\LoopIn $this->running = \true; while ($this->running) { $this->futureTickQueue->tick(); - $flags = \RectorPrefix20211129\libev\EventLoop::RUN_ONCE; + $flags = \RectorPrefix20211130\libev\EventLoop::RUN_ONCE; if (!$this->running || !$this->futureTickQueue->isEmpty()) { - $flags |= \RectorPrefix20211129\libev\EventLoop::RUN_NOWAIT; + $flags |= \RectorPrefix20211130\libev\EventLoop::RUN_NOWAIT; } elseif (!$this->readEvents && !$this->writeEvents && !$this->timerEvents->count() && $this->signals->isEmpty()) { break; } diff --git a/vendor/react/event-loop/src/ExtLibeventLoop.php b/vendor/react/event-loop/src/ExtLibeventLoop.php index 179f27995d9..3a4ed1d2d87 100644 --- a/vendor/react/event-loop/src/ExtLibeventLoop.php +++ b/vendor/react/event-loop/src/ExtLibeventLoop.php @@ -1,12 +1,12 @@ eventBase = \event_base_new(); - $this->futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); $this->timerEvents = new \SplObjectStorage(); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); $this->createTimerCallback(); $this->createStreamCallback(); } @@ -110,13 +110,13 @@ final class ExtLibeventLoop implements \RectorPrefix20211129\React\EventLoop\Loo } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->scheduleTimer($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->scheduleTimer($timer); return $timer; } @@ -178,7 +178,7 @@ final class ExtLibeventLoop implements \RectorPrefix20211129\React\EventLoop\Loo * * @param TimerInterface $timer */ - private function scheduleTimer(\RectorPrefix20211129\React\EventLoop\TimerInterface $timer) + private function scheduleTimer(\RectorPrefix20211130\React\EventLoop\TimerInterface $timer) { $this->timerEvents[$timer] = $event = \event_timer_new(); \event_timer_set($event, $this->timerCallback, $timer); @@ -204,7 +204,7 @@ final class ExtLibeventLoop implements \RectorPrefix20211129\React\EventLoop\Loo } // Reschedule periodic timers ... if ($timer->isPeriodic()) { - \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20211129\React\EventLoop\ExtLibeventLoop::MICROSECONDS_PER_SECOND); + \event_add($timers[$timer], $timer->getInterval() * \RectorPrefix20211130\React\EventLoop\ExtLibeventLoop::MICROSECONDS_PER_SECOND); // Clean-up one shot timers ... } else { $that->cancelTimer($timer); diff --git a/vendor/react/event-loop/src/ExtUvLoop.php b/vendor/react/event-loop/src/ExtUvLoop.php index d61d51ea4c3..9e8012d4d36 100644 --- a/vendor/react/event-loop/src/ExtUvLoop.php +++ b/vendor/react/event-loop/src/ExtUvLoop.php @@ -1,9 +1,9 @@ uv = \uv_loop_new(); - $this->futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); $this->timers = new \SplObjectStorage(); $this->streamListener = $this->createStreamListener(); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); } /** * Returns the underlying ext-uv event loop. (Internal ReactPHP use only.) @@ -99,7 +99,7 @@ final class ExtUvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInter */ public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $that = $this; $timers = $this->timers; $callback = function () use($timer, $timers, $that) { @@ -118,7 +118,7 @@ final class ExtUvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInter */ public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $callback = function () use($timer) { \call_user_func($timer->getCallback(), $timer); }; @@ -151,8 +151,8 @@ final class ExtUvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInter $this->signals->add($signal, $listener); if (!isset($this->signalEvents[$signal])) { $signals = $this->signals; - $this->signalEvents[$signal] = \RectorPrefix20211129\uv_signal_init($this->uv); - \RectorPrefix20211129\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) { + $this->signalEvents[$signal] = \RectorPrefix20211130\uv_signal_init($this->uv); + \RectorPrefix20211130\uv_signal_start($this->signalEvents[$signal], function () use($signals, $signal) { $signals->call($signal); }, $signal); } @@ -198,7 +198,7 @@ final class ExtUvLoop implements \RectorPrefix20211129\React\EventLoop\LoopInter private function addStream($stream) { if (!isset($this->streamEvents[(int) $stream])) { - $this->streamEvents[(int) $stream] = \RectorPrefix20211129\uv_poll_init_socket($this->uv, $stream); + $this->streamEvents[(int) $stream] = \RectorPrefix20211130\uv_poll_init_socket($this->uv, $stream); } if ($this->streamEvents[(int) $stream] !== \false) { $this->pollStream($stream); diff --git a/vendor/react/event-loop/src/Factory.php b/vendor/react/event-loop/src/Factory.php index 9a0f1d49602..af4108d88d3 100644 --- a/vendor/react/event-loop/src/Factory.php +++ b/vendor/react/event-loop/src/Factory.php @@ -1,6 +1,6 @@ cancelTimer($timer); } diff --git a/vendor/react/event-loop/src/LoopInterface.php b/vendor/react/event-loop/src/LoopInterface.php index 81117c59a02..2094288010b 100644 --- a/vendor/react/event-loop/src/LoopInterface.php +++ b/vendor/react/event-loop/src/LoopInterface.php @@ -1,6 +1,6 @@ futureTickQueue = new \RectorPrefix20211129\React\EventLoop\Tick\FutureTickQueue(); - $this->timers = new \RectorPrefix20211129\React\EventLoop\Timer\Timers(); + $this->futureTickQueue = new \RectorPrefix20211130\React\EventLoop\Tick\FutureTickQueue(); + $this->timers = new \RectorPrefix20211130\React\EventLoop\Timer\Timers(); $this->pcntl = \function_exists('pcntl_signal') && \function_exists('pcntl_signal_dispatch'); $this->pcntlPoll = $this->pcntl && !\function_exists('pcntl_async_signals'); - $this->signals = new \RectorPrefix20211129\React\EventLoop\SignalsHandler(); + $this->signals = new \RectorPrefix20211130\React\EventLoop\SignalsHandler(); // prefer async signals if available (PHP 7.1+) or fall back to dispatching on each tick if ($this->pcntl && !$this->pcntlPoll) { \pcntl_async_signals(\true); @@ -102,13 +102,13 @@ final class StreamSelectLoop implements \RectorPrefix20211129\React\EventLoop\Lo } public function addTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \false); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \false); $this->timers->add($timer); return $timer; } public function addPeriodicTimer($interval, $callback) { - $timer = new \RectorPrefix20211129\React\EventLoop\Timer\Timer($interval, $callback, \true); + $timer = new \RectorPrefix20211130\React\EventLoop\Timer\Timer($interval, $callback, \true); $this->timers->add($timer); return $timer; } diff --git a/vendor/react/event-loop/src/Tick/FutureTickQueue.php b/vendor/react/event-loop/src/Tick/FutureTickQueue.php index 5cd1e4efae1..c97bf28dc48 100644 --- a/vendor/react/event-loop/src/Tick/FutureTickQueue.php +++ b/vendor/react/event-loop/src/Tick/FutureTickQueue.php @@ -1,6 +1,6 @@ time ?: $this->updateTime(); } - public function add(\RectorPrefix20211129\React\EventLoop\TimerInterface $timer) + public function add(\RectorPrefix20211130\React\EventLoop\TimerInterface $timer) { $id = \spl_object_hash($timer); $this->timers[$id] = $timer; $this->schedule[$id] = $timer->getInterval() + $this->updateTime(); $this->sorted = \false; } - public function contains(\RectorPrefix20211129\React\EventLoop\TimerInterface $timer) + public function contains(\RectorPrefix20211130\React\EventLoop\TimerInterface $timer) { return isset($this->timers[\spl_object_hash($timer)]); } - public function cancel(\RectorPrefix20211129\React\EventLoop\TimerInterface $timer) + public function cancel(\RectorPrefix20211130\React\EventLoop\TimerInterface $timer) { $id = \spl_object_hash($timer); unset($this->timers[$id], $this->schedule[$id]); diff --git a/vendor/react/event-loop/src/TimerInterface.php b/vendor/react/event-loop/src/TimerInterface.php index b1280677434..96ee594af6d 100644 --- a/vendor/react/event-loop/src/TimerInterface.php +++ b/vendor/react/event-loop/src/TimerInterface.php @@ -1,6 +1,6 @@ then(function ($v) use(&$timer, $loop, $resolve) { if ($timer) { @@ -44,22 +44,22 @@ function timeout(\RectorPrefix20211129\React\Promise\PromiseInterface $promise, } // start timeout timer which will cancel the input promise $timer = $loop->addTimer($time, function () use($time, &$promise, $reject) { - $reject(new \RectorPrefix20211129\React\Promise\Timer\TimeoutException($time, 'Timed out after ' . $time . ' seconds')); + $reject(new \RectorPrefix20211130\React\Promise\Timer\TimeoutException($time, 'Timed out after ' . $time . ' seconds')); // try to invoke cancellation handler of input promise and then clean // reference in order to avoid garbage references in call stack. - if ($promise instanceof \RectorPrefix20211129\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20211129\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { + if ($promise instanceof \RectorPrefix20211130\React\Promise\CancellablePromiseInterface || !\interface_exists('RectorPrefix20211130\\React\\Promise\\CancellablePromiseInterface') && \method_exists($promise, 'cancel')) { $promise->cancel(); } $promise = null; }); }, $canceller); } -function resolve($time, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop = null) +function resolve($time, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop = null) { if ($loop === null) { - $loop = \RectorPrefix20211129\React\EventLoop\Loop::get(); + $loop = \RectorPrefix20211130\React\EventLoop\Loop::get(); } - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve) use($loop, $time, &$timer) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve) use($loop, $time, &$timer) { // resolve the promise when the timer fires in $time seconds $timer = $loop->addTimer($time, function () use($time, $resolve) { $resolve($time); @@ -72,9 +72,9 @@ function resolve($time, \RectorPrefix20211129\React\EventLoop\LoopInterface $loo throw new \RuntimeException('Timer cancelled'); }); } -function reject($time, \RectorPrefix20211129\React\EventLoop\LoopInterface $loop = null) +function reject($time, \RectorPrefix20211130\React\EventLoop\LoopInterface $loop = null) { return resolve($time, $loop)->then(function ($time) { - throw new \RectorPrefix20211129\React\Promise\Timer\TimeoutException($time, 'Timer expired after ' . $time . ' seconds'); + throw new \RectorPrefix20211130\React\Promise\Timer\TimeoutException($time, 'Timer expired after ' . $time . ' seconds'); }); } diff --git a/vendor/react/promise-timer/src/functions_include.php b/vendor/react/promise-timer/src/functions_include.php index f6b507e83bb..61adaec919d 100644 --- a/vendor/react/promise-timer/src/functions_include.php +++ b/vendor/react/promise-timer/src/functions_include.php @@ -1,7 +1,7 @@ promise) { - $this->promise = new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject, $notify) { + $this->promise = new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject, $notify) { $this->resolveCallback = $resolve; $this->rejectCallback = $reject; $this->notifyCallback = $notify; diff --git a/vendor/react/promise/src/Exception/LengthException.php b/vendor/react/promise/src/Exception/LengthException.php index 1ba4771030a..969ff2235a7 100644 --- a/vendor/react/promise/src/Exception/LengthException.php +++ b/vendor/react/promise/src/Exception/LengthException.php @@ -1,6 +1,6 @@ value = $value; @@ -28,9 +28,9 @@ class FulfilledPromise implements \RectorPrefix20211129\React\Promise\ExtendedPr try { return resolve($onFulfilled($this->value)); } catch (\Throwable $exception) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } } /** @@ -44,7 +44,7 @@ class FulfilledPromise implements \RectorPrefix20211129\React\Promise\ExtendedPr return; } $result = $onFulfilled($this->value); - if ($result instanceof \RectorPrefix20211129\React\Promise\ExtendedPromiseInterface) { + if ($result instanceof \RectorPrefix20211130\React\Promise\ExtendedPromiseInterface) { $result->done(); } } diff --git a/vendor/react/promise/src/LazyPromise.php b/vendor/react/promise/src/LazyPromise.php index 759213d7559..9a4a6c077ad 100644 --- a/vendor/react/promise/src/LazyPromise.php +++ b/vendor/react/promise/src/LazyPromise.php @@ -1,11 +1,11 @@ promise = resolve(\call_user_func($this->factory)); } catch (\Throwable $exception) { - $this->promise = new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + $this->promise = new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - $this->promise = new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + $this->promise = new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } } return $this->promise; diff --git a/vendor/react/promise/src/Promise.php b/vendor/react/promise/src/Promise.php index 897e6fafe18..5bdd512dc82 100644 --- a/vendor/react/promise/src/Promise.php +++ b/vendor/react/promise/src/Promise.php @@ -1,8 +1,8 @@ result) { return $this->result->done($onFulfilled, $onRejected, $onProgress); } - $this->handlers[] = static function (\RectorPrefix20211129\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) { + $this->handlers[] = static function (\RectorPrefix20211130\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected) { $promise->done($onFulfilled, $onRejected); }; if ($onProgress) { @@ -71,7 +71,7 @@ class Promise implements \RectorPrefix20211129\React\Promise\ExtendedPromiseInte { return $this->then(null, static function ($reason) use($onRejected) { if (!_checkTypehint($onRejected, $reason)) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($reason); } return $onRejected($reason); }); @@ -87,7 +87,7 @@ class Promise implements \RectorPrefix20211129\React\Promise\ExtendedPromiseInte }); }, static function ($reason) use($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use($reason) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($reason); }); }); } @@ -123,7 +123,7 @@ class Promise implements \RectorPrefix20211129\React\Promise\ExtendedPromiseInte } else { $progressHandler = $notify; } - $this->handlers[] = static function (\RectorPrefix20211129\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) { + $this->handlers[] = static function (\RectorPrefix20211130\React\Promise\ExtendedPromiseInterface $promise) use($onFulfilled, $onRejected, $resolve, $reject, $progressHandler) { $promise->then($onFulfilled, $onRejected)->done($resolve, $reject, $progressHandler); }; $this->progressHandlers[] = $progressHandler; @@ -136,11 +136,11 @@ class Promise implements \RectorPrefix20211129\React\Promise\ExtendedPromiseInte } $this->settle(reject($reason)); } - private function settle(\RectorPrefix20211129\React\Promise\ExtendedPromiseInterface $promise) + private function settle(\RectorPrefix20211130\React\Promise\ExtendedPromiseInterface $promise) { $promise = $this->unwrap($promise); if ($promise === $this) { - $promise = new \RectorPrefix20211129\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.')); + $promise = new \RectorPrefix20211130\React\Promise\RejectedPromise(new \LogicException('Cannot resolve a promise with itself.')); } $handlers = $this->handlers; $this->progressHandlers = $this->handlers = []; @@ -160,7 +160,7 @@ class Promise implements \RectorPrefix20211129\React\Promise\ExtendedPromiseInte } private function extract($promise) { - if ($promise instanceof \RectorPrefix20211129\React\Promise\LazyPromise) { + if ($promise instanceof \RectorPrefix20211130\React\Promise\LazyPromise) { $promise = $promise->promise(); } return $promise; diff --git a/vendor/react/promise/src/PromiseInterface.php b/vendor/react/promise/src/PromiseInterface.php index ae2bf3c6021..f981557b7af 100644 --- a/vendor/react/promise/src/PromiseInterface.php +++ b/vendor/react/promise/src/PromiseInterface.php @@ -1,6 +1,6 @@ reason = $reason; @@ -28,9 +28,9 @@ class RejectedPromise implements \RectorPrefix20211129\React\Promise\ExtendedPro try { return resolve($onRejected($this->reason)); } catch (\Throwable $exception) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } catch (\Exception $exception) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($exception); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($exception); } } /** @@ -41,13 +41,13 @@ class RejectedPromise implements \RectorPrefix20211129\React\Promise\ExtendedPro public function done($onFulfilled = null, $onRejected = null, $onProgress = null) { if (null === $onRejected) { - throw \RectorPrefix20211129\React\Promise\UnhandledRejectionException::resolve($this->reason); + throw \RectorPrefix20211130\React\Promise\UnhandledRejectionException::resolve($this->reason); } $result = $onRejected($this->reason); if ($result instanceof self) { - throw \RectorPrefix20211129\React\Promise\UnhandledRejectionException::resolve($result->reason); + throw \RectorPrefix20211130\React\Promise\UnhandledRejectionException::resolve($result->reason); } - if ($result instanceof \RectorPrefix20211129\React\Promise\ExtendedPromiseInterface) { + if ($result instanceof \RectorPrefix20211130\React\Promise\ExtendedPromiseInterface) { $result->done(); } } @@ -68,7 +68,7 @@ class RejectedPromise implements \RectorPrefix20211129\React\Promise\ExtendedPro { return $this->then(null, function ($reason) use($onFulfilledOrRejected) { return resolve($onFulfilledOrRejected())->then(function () use($reason) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($reason); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($reason); }); }); } diff --git a/vendor/react/promise/src/UnhandledRejectionException.php b/vendor/react/promise/src/UnhandledRejectionException.php index 48d47162afa..fb5e3d27eeb 100644 --- a/vendor/react/promise/src/UnhandledRejectionException.php +++ b/vendor/react/promise/src/UnhandledRejectionException.php @@ -1,6 +1,6 @@ then($resolve, $reject, $notify); }, $canceller); } - return new \RectorPrefix20211129\React\Promise\FulfilledPromise($promiseOrValue); + return new \RectorPrefix20211130\React\Promise\FulfilledPromise($promiseOrValue); } /** * Creates a rejected promise for the supplied `$promiseOrValue`. @@ -52,12 +52,12 @@ function resolve($promiseOrValue = null) */ function reject($promiseOrValue = null) { - if ($promiseOrValue instanceof \RectorPrefix20211129\React\Promise\PromiseInterface) { + if ($promiseOrValue instanceof \RectorPrefix20211130\React\Promise\PromiseInterface) { return resolve($promiseOrValue)->then(function ($value) { - return new \RectorPrefix20211129\React\Promise\RejectedPromise($value); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($value); }); } - return new \RectorPrefix20211129\React\Promise\RejectedPromise($promiseOrValue); + return new \RectorPrefix20211130\React\Promise\RejectedPromise($promiseOrValue); } /** * Returns a promise that will resolve only once all the items in @@ -86,9 +86,9 @@ function all($promisesOrValues) */ function race($promisesOrValues) { - $cancellationQueue = new \RectorPrefix20211129\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20211130\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $cancellationQueue) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $cancellationQueue) { resolve($promisesOrValues)->done(function ($array) use($cancellationQueue, $resolve, $reject, $notify) { if (!\is_array($array) || !$array) { $resolve(); @@ -141,9 +141,9 @@ function any($promisesOrValues) */ function some($promisesOrValues, $howMany) { - $cancellationQueue = new \RectorPrefix20211129\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20211130\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $howMany, $cancellationQueue) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $howMany, $cancellationQueue) { resolve($promisesOrValues)->done(function ($array) use($howMany, $cancellationQueue, $resolve, $reject, $notify) { if (!\is_array($array) || $howMany < 1) { $resolve([]); @@ -151,7 +151,7 @@ function some($promisesOrValues, $howMany) } $len = \count($array); if ($len < $howMany) { - throw new \RectorPrefix20211129\React\Promise\Exception\LengthException(\sprintf('Input array must contain at least %d item%s but contains only %s item%s.', $howMany, 1 === $howMany ? '' : 's', $len, 1 === $len ? '' : 's')); + throw new \RectorPrefix20211130\React\Promise\Exception\LengthException(\sprintf('Input array must contain at least %d item%s but contains only %s item%s.', $howMany, 1 === $howMany ? '' : 's', $len, 1 === $len ? '' : 's')); } $toResolve = $howMany; $toReject = $len - $toResolve + 1; @@ -195,9 +195,9 @@ function some($promisesOrValues, $howMany) */ function map($promisesOrValues, callable $mapFunc) { - $cancellationQueue = new \RectorPrefix20211129\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20211130\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $mapFunc, $cancellationQueue) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $mapFunc, $cancellationQueue) { resolve($promisesOrValues)->done(function ($array) use($mapFunc, $cancellationQueue, $resolve, $reject, $notify) { if (!\is_array($array) || !$array) { $resolve([]); @@ -231,9 +231,9 @@ function map($promisesOrValues, callable $mapFunc) */ function reduce($promisesOrValues, callable $reduceFunc, $initialValue = null) { - $cancellationQueue = new \RectorPrefix20211129\React\Promise\CancellationQueue(); + $cancellationQueue = new \RectorPrefix20211130\React\Promise\CancellationQueue(); $cancellationQueue->enqueue($promisesOrValues); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject, $notify) use($promisesOrValues, $reduceFunc, $initialValue, $cancellationQueue) { resolve($promisesOrValues)->done(function ($array) use($reduceFunc, $initialValue, $cancellationQueue, $resolve, $reject, $notify) { if (!\is_array($array)) { $array = []; diff --git a/vendor/react/promise/src/functions_include.php b/vendor/react/promise/src/functions_include.php index 163c6780d9a..ba858f887dc 100644 --- a/vendor/react/promise/src/functions_include.php +++ b/vendor/react/promise/src/functions_include.php @@ -1,7 +1,7 @@ = 70100 && \PHP_VERSION_ID < 70104; - $this->input = new \RectorPrefix20211129\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20211129\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null)); + $this->input = new \RectorPrefix20211130\React\Stream\DuplexResourceStream($resource, $loop, $clearCompleteBuffer ? -1 : null, new \RectorPrefix20211130\React\Stream\WritableResourceStream($resource, $loop, null, $limitWriteChunks ? 8192 : null)); $this->stream = $resource; - \RectorPrefix20211129\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain')); + \RectorPrefix20211130\React\Stream\Util::forwardEvents($this->input, $this, array('data', 'end', 'error', 'close', 'pipe', 'drain')); $this->input->on('close', array($this, 'close')); } public function isReadable() diff --git a/vendor/react/socket/src/ConnectionInterface.php b/vendor/react/socket/src/ConnectionInterface.php index 7b6a10b417f..c8ee7cb26bb 100644 --- a/vendor/react/socket/src/ConnectionInterface.php +++ b/vendor/react/socket/src/ConnectionInterface.php @@ -1,8 +1,8 @@ nameservers) { $config->nameservers[] = '8.8.8.8'; // @codeCoverageIgnore } } - $factory = new \RectorPrefix20211129\React\Dns\Resolver\Factory(); + $factory = new \RectorPrefix20211130\React\Dns\Resolver\Factory(); $resolver = $factory->createCached($config, $loop); } if ($context['happy_eyeballs'] === \true) { - $tcp = new \RectorPrefix20211129\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver); + $tcp = new \RectorPrefix20211130\React\Socket\HappyEyeBallsConnector($loop, $tcp, $resolver); } else { - $tcp = new \RectorPrefix20211129\React\Socket\DnsConnector($tcp, $resolver); + $tcp = new \RectorPrefix20211130\React\Socket\DnsConnector($tcp, $resolver); } } if ($context['tcp'] !== \false) { $context['tcp'] = $tcp; if ($context['timeout'] !== \false) { - $context['tcp'] = new \RectorPrefix20211129\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop); + $context['tcp'] = new \RectorPrefix20211130\React\Socket\TimeoutConnector($context['tcp'], $context['timeout'], $loop); } $this->connectors['tcp'] = $context['tcp']; } if ($context['tls'] !== \false) { - if (!$context['tls'] instanceof \RectorPrefix20211129\React\Socket\ConnectorInterface) { - $context['tls'] = new \RectorPrefix20211129\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array()); + if (!$context['tls'] instanceof \RectorPrefix20211130\React\Socket\ConnectorInterface) { + $context['tls'] = new \RectorPrefix20211130\React\Socket\SecureConnector($tcp, $loop, \is_array($context['tls']) ? $context['tls'] : array()); } if ($context['timeout'] !== \false) { - $context['tls'] = new \RectorPrefix20211129\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop); + $context['tls'] = new \RectorPrefix20211130\React\Socket\TimeoutConnector($context['tls'], $context['timeout'], $loop); } $this->connectors['tls'] = $context['tls']; } if ($context['unix'] !== \false) { - if (!$context['unix'] instanceof \RectorPrefix20211129\React\Socket\ConnectorInterface) { - $context['unix'] = new \RectorPrefix20211129\React\Socket\UnixConnector($loop); + if (!$context['unix'] instanceof \RectorPrefix20211130\React\Socket\ConnectorInterface) { + $context['unix'] = new \RectorPrefix20211130\React\Socket\UnixConnector($loop); } $this->connectors['unix'] = $context['unix']; } @@ -125,7 +125,7 @@ final class Connector implements \RectorPrefix20211129\React\Socket\ConnectorInt $scheme = (string) \substr($uri, 0, \strpos($uri, '://')); } if (!isset($this->connectors[$scheme])) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('No connector available for URI scheme "' . $scheme . '" (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('No connector available for URI scheme "' . $scheme . '" (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } return $this->connectors[$scheme]->connect($uri); } diff --git a/vendor/react/socket/src/ConnectorInterface.php b/vendor/react/socket/src/ConnectorInterface.php index 4c406f4b136..0ffa264555a 100644 --- a/vendor/react/socket/src/ConnectorInterface.php +++ b/vendor/react/socket/src/ConnectorInterface.php @@ -1,6 +1,6 @@ connector = $connector; $this->resolver = $resolver; @@ -25,7 +25,7 @@ final class DnsConnector implements \RectorPrefix20211129\React\Socket\Connector $parts = \parse_url($uri); } if (!$parts || !isset($parts['host'])) { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $host = \trim($parts['host'], '[]'); $connector = $this->connector; @@ -35,11 +35,11 @@ final class DnsConnector implements \RectorPrefix20211129\React\Socket\Connector } $promise = $this->resolver->resolve($host); $resolved = null; - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use(&$promise, &$resolved, $uri, $connector, $host, $parts) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use(&$promise, &$resolved, $uri, $connector, $host, $parts) { // resolve/reject with result of DNS lookup $promise->then(function ($ip) use(&$promise, &$resolved, $uri, $connector, $host, $parts) { $resolved = $ip; - return $promise = $connector->connect(\RectorPrefix20211129\React\Socket\Connector::uri($parts, $host, $ip))->then(null, function (\Exception $e) use($uri) { + return $promise = $connector->connect(\RectorPrefix20211130\React\Socket\Connector::uri($parts, $host, $ip))->then(null, function (\Exception $e) use($uri) { if ($e instanceof \RuntimeException) { $message = \preg_replace('/^(Connection to [^ ]+)[&?]hostname=[^ &]+/', '$1', $e->getMessage()); $e = new \RuntimeException('Connection to ' . $uri . ' failed: ' . $message, $e->getCode(), $e); @@ -74,7 +74,7 @@ final class DnsConnector implements \RectorPrefix20211129\React\Socket\Connector $reject(new \RuntimeException('Connection to ' . $uri . ' cancelled during DNS lookup (ECONNABORTED)', \defined('SOCKET_ECONNABORTED') ? \SOCKET_ECONNABORTED : 103)); } // (try to) cancel pending DNS lookup / connection attempt - if ($promise instanceof \RectorPrefix20211129\React\Promise\CancellablePromiseInterface) { + if ($promise instanceof \RectorPrefix20211130\React\Promise\CancellablePromiseInterface) { // overwrite callback arguments for PHP7+ only, so they do not show // up in the Exception trace and do not cause a possible cyclic reference. $_ = $reject = null; diff --git a/vendor/react/socket/src/FdServer.php b/vendor/react/socket/src/FdServer.php index aae3238d5da..0d6502432ce 100644 --- a/vendor/react/socket/src/FdServer.php +++ b/vendor/react/socket/src/FdServer.php @@ -1,10 +1,10 @@ = \PHP_INT_MAX) { throw new \InvalidArgumentException('Invalid FD number given (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22); } - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->master = @\fopen('php://fd/' . $fd, 'r+'); if (\false === $this->master) { // Match errstr from PHP's warning message. @@ -90,7 +90,7 @@ final class FdServer extends \RectorPrefix20211129\Evenement\EventEmitter implem \preg_match('/\\[(\\d+)\\]: (.*)/', $error['message'], $m); $errno = isset($m[1]) ? (int) $m[1] : 0; $errstr = isset($m[2]) ? $m[2] : $error['message']; - throw new \RuntimeException('Failed to listen on FD ' . $fd . ': ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on FD ' . $fd . ': ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno); } $meta = \stream_get_meta_data($this->master); if (!isset($meta['stream_type']) || $meta['stream_type'] !== 'tcp_socket') { @@ -146,7 +146,7 @@ final class FdServer extends \RectorPrefix20211129\Evenement\EventEmitter implem $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20211129\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20211130\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -167,7 +167,7 @@ final class FdServer extends \RectorPrefix20211129\Evenement\EventEmitter implem /** @internal */ public function handleConnection($socket) { - $connection = new \RectorPrefix20211129\React\Socket\Connection($socket, $this->loop); + $connection = new \RectorPrefix20211130\React\Socket\Connection($socket, $this->loop); $connection->unix = $this->unix; $this->emit('connection', array($connection)); } diff --git a/vendor/react/socket/src/FixedUriConnector.php b/vendor/react/socket/src/FixedUriConnector.php index a11c247159c..f041faad15e 100644 --- a/vendor/react/socket/src/FixedUriConnector.php +++ b/vendor/react/socket/src/FixedUriConnector.php @@ -1,6 +1,6 @@ connect('localhost:80'); * ``` */ -class FixedUriConnector implements \RectorPrefix20211129\React\Socket\ConnectorInterface +class FixedUriConnector implements \RectorPrefix20211130\React\Socket\ConnectorInterface { private $uri; private $connector; @@ -27,7 +27,7 @@ class FixedUriConnector implements \RectorPrefix20211129\React\Socket\ConnectorI * @param string $uri * @param ConnectorInterface $connector */ - public function __construct($uri, \RectorPrefix20211129\React\Socket\ConnectorInterface $connector) + public function __construct($uri, \RectorPrefix20211130\React\Socket\ConnectorInterface $connector) { $this->uri = $uri; $this->connector = $connector; diff --git a/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php b/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php index 5df9e3efcc9..f755d0a0f70 100644 --- a/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php +++ b/vendor/react/socket/src/HappyEyeBallsConnectionBuilder.php @@ -1,13 +1,13 @@ \false, \RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA => \false); + public $resolved = array(\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A => \false, \RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA => \false); public $resolverPromises = array(); public $connectionPromises = array(); public $connectQueue = array(); @@ -45,7 +45,7 @@ final class HappyEyeBallsConnectionBuilder public $lastErrorFamily; public $lastError6; public $lastError4; - public function __construct(\RectorPrefix20211129\React\EventLoop\LoopInterface $loop, \RectorPrefix20211129\React\Socket\ConnectorInterface $connector, \RectorPrefix20211129\React\Dns\Resolver\ResolverInterface $resolver, $uri, $host, $parts) + public function __construct(\RectorPrefix20211130\React\EventLoop\LoopInterface $loop, \RectorPrefix20211130\React\Socket\ConnectorInterface $connector, \RectorPrefix20211130\React\Dns\Resolver\ResolverInterface $resolver, $uri, $host, $parts) { $this->loop = $loop; $this->connector = $connector; @@ -58,7 +58,7 @@ final class HappyEyeBallsConnectionBuilder { $timer = null; $that = $this; - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use($that, &$timer) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use($that, &$timer) { $lookupResolve = function ($type) use($that, $resolve, $reject) { return function (array $ips) use($that, $type, $resolve, $reject) { unset($that->resolverPromises[$type]); @@ -70,28 +70,28 @@ final class HappyEyeBallsConnectionBuilder } }; }; - $that->resolverPromises[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA)); - $that->resolverPromises[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20211129\React\Dns\Model\Message::TYPE_A, $reject)->then(function (array $ips) use($that, &$timer) { + $that->resolverPromises[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA] = $that->resolve(\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA, $reject)->then($lookupResolve(\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA)); + $that->resolverPromises[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A] = $that->resolve(\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A, $reject)->then(function (array $ips) use($that, &$timer) { // happy path: IPv6 has resolved already (or could not resolve), continue with IPv4 addresses - if ($that->resolved[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA] === \true || !$ips) { + if ($that->resolved[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA] === \true || !$ips) { return $ips; } // Otherwise delay processing IPv4 lookup until short timer passes or IPv6 resolves in the meantime - $deferred = new \RectorPrefix20211129\React\Promise\Deferred(); + $deferred = new \RectorPrefix20211130\React\Promise\Deferred(); $timer = $that->loop->addTimer($that::RESOLUTION_DELAY, function () use($deferred, $ips) { $deferred->resolve($ips); }); - $that->resolverPromises[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA]->then(function () use($that, $timer, $deferred, $ips) { + $that->resolverPromises[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA]->then(function () use($that, $timer, $deferred, $ips) { $that->loop->cancelTimer($timer); $deferred->resolve($ips); }); return $deferred->promise(); - })->then($lookupResolve(\RectorPrefix20211129\React\Dns\Model\Message::TYPE_A)); + })->then($lookupResolve(\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A)); }, function ($_, $reject) use($that, &$timer) { $reject(new \RuntimeException('Connection to ' . $that->uri . ' cancelled' . (!$that->connectionPromises ? ' during DNS lookup' : '') . ' (ECONNABORTED)', \defined('SOCKET_ECONNABORTED') ? \SOCKET_ECONNABORTED : 103)); $_ = $reject = null; $that->cleanUp(); - if ($timer instanceof \RectorPrefix20211129\React\EventLoop\TimerInterface) { + if ($timer instanceof \RectorPrefix20211130\React\EventLoop\TimerInterface) { $that->loop->cancelTimer($timer); } }); @@ -110,7 +110,7 @@ final class HappyEyeBallsConnectionBuilder return $that->resolver->resolveAll($that->host, $type)->then(null, function (\Exception $e) use($type, $reject, $that) { unset($that->resolverPromises[$type]); $that->resolved[$type] = \true; - if ($type === \RectorPrefix20211129\React\Dns\Model\Message::TYPE_A) { + if ($type === \RectorPrefix20211130\React\Dns\Model\Message::TYPE_A) { $that->lastError4 = $e->getMessage(); $that->lastErrorFamily = 4; } else { @@ -173,7 +173,7 @@ final class HappyEyeBallsConnectionBuilder }); // Allow next connection attempt in 100ms: https://tools.ietf.org/html/rfc8305#section-5 // Only start timer when more IPs are queued or when DNS query is still pending (might add more IPs) - if ($this->nextAttemptTimer === null && (\count($this->connectQueue) > 0 || $this->resolved[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20211129\React\Dns\Model\Message::TYPE_AAAA] === \false)) { + if ($this->nextAttemptTimer === null && (\count($this->connectQueue) > 0 || $this->resolved[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_A] === \false || $this->resolved[\RectorPrefix20211130\React\Dns\Model\Message::TYPE_AAAA] === \false)) { $this->nextAttemptTimer = $this->loop->addTimer(self::CONNECTION_ATTEMPT_DELAY, function () use($that, $resolve, $reject) { $that->nextAttemptTimer = null; if ($that->connectQueue) { @@ -187,7 +187,7 @@ final class HappyEyeBallsConnectionBuilder */ public function attemptConnection($ip) { - $uri = \RectorPrefix20211129\React\Socket\Connector::uri($this->parts, $this->host, $ip); + $uri = \RectorPrefix20211130\React\Socket\Connector::uri($this->parts, $this->host, $ip); return $this->connector->connect($uri); } /** @@ -198,16 +198,16 @@ final class HappyEyeBallsConnectionBuilder // clear list of outstanding IPs to avoid creating new connections $this->connectQueue = array(); foreach ($this->connectionPromises as $connectionPromise) { - if ($connectionPromise instanceof \RectorPrefix20211129\React\Promise\CancellablePromiseInterface) { + if ($connectionPromise instanceof \RectorPrefix20211130\React\Promise\CancellablePromiseInterface) { $connectionPromise->cancel(); } } foreach ($this->resolverPromises as $resolverPromise) { - if ($resolverPromise instanceof \RectorPrefix20211129\React\Promise\CancellablePromiseInterface) { + if ($resolverPromise instanceof \RectorPrefix20211130\React\Promise\CancellablePromiseInterface) { $resolverPromise->cancel(); } } - if ($this->nextAttemptTimer instanceof \RectorPrefix20211129\React\EventLoop\TimerInterface) { + if ($this->nextAttemptTimer instanceof \RectorPrefix20211130\React\EventLoop\TimerInterface) { $this->loop->cancelTimer($this->nextAttemptTimer); $this->nextAttemptTimer = null; } diff --git a/vendor/react/socket/src/HappyEyeBallsConnector.php b/vendor/react/socket/src/HappyEyeBallsConnector.php index 2fe4b8d7b81..2e1e5cbefad 100644 --- a/vendor/react/socket/src/HappyEyeBallsConnector.php +++ b/vendor/react/socket/src/HappyEyeBallsConnector.php @@ -1,17 +1,17 @@ loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->connector = $connector; $this->resolver = $resolver; } @@ -36,14 +36,14 @@ final class HappyEyeBallsConnector implements \RectorPrefix20211129\React\Socket $parts = \parse_url($uri); } if (!$parts || !isset($parts['host'])) { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $original . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $host = \trim($parts['host'], '[]'); // skip DNS lookup / URI manipulation if this URI already contains an IP if (\false !== \filter_var($host, \FILTER_VALIDATE_IP)) { return $this->connector->connect($original); } - $builder = new \RectorPrefix20211129\React\Socket\HappyEyeBallsConnectionBuilder($this->loop, $this->connector, $this->resolver, $uri, $host, $parts); + $builder = new \RectorPrefix20211130\React\Socket\HappyEyeBallsConnectionBuilder($this->loop, $this->connector, $this->resolver, $uri, $host, $parts); return $builder->connect(); } } diff --git a/vendor/react/socket/src/LimitingServer.php b/vendor/react/socket/src/LimitingServer.php index 7070a00faca..d6e8ae0a9d6 100644 --- a/vendor/react/socket/src/LimitingServer.php +++ b/vendor/react/socket/src/LimitingServer.php @@ -1,8 +1,8 @@ server = $server; $this->limit = $connectionLimit; diff --git a/vendor/react/socket/src/SecureConnector.php b/vendor/react/socket/src/SecureConnector.php index 60823ac74ed..4c6f0e7fe6f 100644 --- a/vendor/react/socket/src/SecureConnector.php +++ b/vendor/react/socket/src/SecureConnector.php @@ -1,28 +1,28 @@ connector = $connector; - $this->streamEncryption = new \RectorPrefix20211129\React\Socket\StreamEncryption($loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(), \false); + $this->streamEncryption = new \RectorPrefix20211130\React\Socket\StreamEncryption($loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(), \false); $this->context = $context; } public function connect($uri) { if (!\function_exists('stream_socket_enable_crypto')) { - return \RectorPrefix20211129\React\Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)')); + return \RectorPrefix20211130\React\Promise\reject(new \BadMethodCallException('Encryption not supported on your platform (HHVM < 3.8?)')); // @codeCoverageIgnore } if (\strpos($uri, '://') === \false) { @@ -30,15 +30,15 @@ final class SecureConnector implements \RectorPrefix20211129\React\Socket\Connec } $parts = \parse_url($uri); if (!$parts || !isset($parts['scheme']) || $parts['scheme'] !== 'tls') { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $context = $this->context; $encryption = $this->streamEncryption; $connected = \false; - $promise = $this->connector->connect(\str_replace('tls://', '', $uri))->then(function (\RectorPrefix20211129\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) { + $promise = $this->connector->connect(\str_replace('tls://', '', $uri))->then(function (\RectorPrefix20211130\React\Socket\ConnectionInterface $connection) use($context, $encryption, $uri, &$promise, &$connected) { // (unencrypted) TCP/IP connection succeeded $connected = \true; - if (!$connection instanceof \RectorPrefix20211129\React\Socket\Connection) { + if (!$connection instanceof \RectorPrefix20211130\React\Socket\Connection) { $connection->close(); throw new \UnexpectedValueException('Base connector does not use internal Connection class exposing stream resource'); } @@ -77,7 +77,7 @@ final class SecureConnector implements \RectorPrefix20211129\React\Socket\Connec } throw $e; }); - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use($promise) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use($promise) { $promise->then($resolve, $reject); }, function ($_, $reject) use(&$promise, $uri, &$connected) { if ($connected) { diff --git a/vendor/react/socket/src/SecureServer.php b/vendor/react/socket/src/SecureServer.php index a6e8e5f2836..35a600159b4 100644 --- a/vendor/react/socket/src/SecureServer.php +++ b/vendor/react/socket/src/SecureServer.php @@ -1,10 +1,10 @@ ''); $this->tcp = $tcp; - $this->encryption = new \RectorPrefix20211129\React\Socket\StreamEncryption($loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get()); + $this->encryption = new \RectorPrefix20211130\React\Socket\StreamEncryption($loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get()); $this->context = $context; $that = $this; $this->tcp->on('connection', function ($connection) use($that) { @@ -163,7 +163,7 @@ final class SecureServer extends \RectorPrefix20211129\Evenement\EventEmitter im * @param \React\Socket\ConnectionInterface $connection */ public function handleConnection($connection) { - if (!$connection instanceof \RectorPrefix20211129\React\Socket\Connection) { + if (!$connection instanceof \RectorPrefix20211130\React\Socket\Connection) { $this->emit('error', array(new \UnexpectedValueException('Base server does not use internal Connection class exposing stream resource'))); $connection->close(); return; diff --git a/vendor/react/socket/src/Server.php b/vendor/react/socket/src/Server.php index f01bf2df4fd..37c08998fa8 100644 --- a/vendor/react/socket/src/Server.php +++ b/vendor/react/socket/src/Server.php @@ -1,16 +1,16 @@ $context); @@ -62,16 +62,16 @@ final class Server extends \RectorPrefix20211129\Evenement\EventEmitter implemen $scheme = \substr($uri, 0, $pos); } if ($scheme === 'unix') { - $server = new \RectorPrefix20211129\React\Socket\UnixServer($uri, $loop, $context['unix']); + $server = new \RectorPrefix20211130\React\Socket\UnixServer($uri, $loop, $context['unix']); } else { - $server = new \RectorPrefix20211129\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); + $server = new \RectorPrefix20211130\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); if ($scheme === 'tls') { - $server = new \RectorPrefix20211129\React\Socket\SecureServer($server, $loop, $context['tls']); + $server = new \RectorPrefix20211130\React\Socket\SecureServer($server, $loop, $context['tls']); } } $this->server = $server; $that = $this; - $server->on('connection', function (\RectorPrefix20211129\React\Socket\ConnectionInterface $conn) use($that) { + $server->on('connection', function (\RectorPrefix20211130\React\Socket\ConnectionInterface $conn) use($that) { $that->emit('connection', array($conn)); }); $server->on('error', function (\Exception $error) use($that) { diff --git a/vendor/react/socket/src/ServerInterface.php b/vendor/react/socket/src/ServerInterface.php index 48bc32f764b..c61935f2a80 100644 --- a/vendor/react/socket/src/ServerInterface.php +++ b/vendor/react/socket/src/ServerInterface.php @@ -1,8 +1,8 @@ array(), 'tls' => array(), 'unix' => array()); @@ -39,21 +39,21 @@ final class SocketServer extends \RectorPrefix20211129\Evenement\EventEmitter im $scheme = \substr($uri, 0, $pos); } if ($scheme === 'unix') { - $server = new \RectorPrefix20211129\React\Socket\UnixServer($uri, $loop, $context['unix']); + $server = new \RectorPrefix20211130\React\Socket\UnixServer($uri, $loop, $context['unix']); } elseif ($scheme === 'php') { - $server = new \RectorPrefix20211129\React\Socket\FdServer($uri, $loop); + $server = new \RectorPrefix20211130\React\Socket\FdServer($uri, $loop); } else { if (\preg_match('#^(?:\\w+://)?\\d+$#', $uri)) { throw new \InvalidArgumentException('Invalid URI given (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22); } - $server = new \RectorPrefix20211129\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); + $server = new \RectorPrefix20211130\React\Socket\TcpServer(\str_replace('tls://', '', $uri), $loop, $context['tcp']); if ($scheme === 'tls') { - $server = new \RectorPrefix20211129\React\Socket\SecureServer($server, $loop, $context['tls']); + $server = new \RectorPrefix20211130\React\Socket\SecureServer($server, $loop, $context['tls']); } } $this->server = $server; $that = $this; - $server->on('connection', function (\RectorPrefix20211129\React\Socket\ConnectionInterface $conn) use($that) { + $server->on('connection', function (\RectorPrefix20211130\React\Socket\ConnectionInterface $conn) use($that) { $that->emit('connection', array($conn)); }); $server->on('error', function (\Exception $error) use($that) { diff --git a/vendor/react/socket/src/StreamEncryption.php b/vendor/react/socket/src/StreamEncryption.php index 518b6a8685c..f8fd03397bc 100644 --- a/vendor/react/socket/src/StreamEncryption.php +++ b/vendor/react/socket/src/StreamEncryption.php @@ -1,9 +1,9 @@ loop = $loop; $this->server = $server; @@ -56,7 +56,7 @@ class StreamEncryption $stream->pause(); // TODO: add write() event to make sure we're not sending any excessive data // cancelling this leaves this stream in an inconsistent state… - $deferred = new \RectorPrefix20211129\React\Promise\Deferred(function () { + $deferred = new \RectorPrefix20211130\React\Promise\Deferred(function () { throw new \RuntimeException(); }); // get actual stream socket from stream instance diff --git a/vendor/react/socket/src/TcpConnector.php b/vendor/react/socket/src/TcpConnector.php index 3b472ee538d..b30a3fd4e94 100644 --- a/vendor/react/socket/src/TcpConnector.php +++ b/vendor/react/socket/src/TcpConnector.php @@ -1,19 +1,19 @@ loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->context = $context; } public function connect($uri) @@ -23,11 +23,11 @@ final class TcpConnector implements \RectorPrefix20211129\React\Socket\Connector } $parts = \parse_url($uri); if (!$parts || !isset($parts['scheme'], $parts['host'], $parts['port']) || $parts['scheme'] !== 'tcp') { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $ip = \trim($parts['host'], '[]'); if (\false === \filter_var($ip, \FILTER_VALIDATE_IP)) { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" does not contain a valid host IP (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $uri . '" does not contain a valid host IP (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } // use context given in constructor $context = array('socket' => $this->context); @@ -57,11 +57,11 @@ final class TcpConnector implements \RectorPrefix20211129\React\Socket\Connector $remote = 'tcp://' . $parts['host'] . ':' . $parts['port']; $stream = @\stream_socket_client($remote, $errno, $errstr, 0, \STREAM_CLIENT_CONNECT | \STREAM_CLIENT_ASYNC_CONNECT, \stream_context_create($context)); if (\false === $stream) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno)); } // wait for connection $loop = $this->loop; - return new \RectorPrefix20211129\React\Promise\Promise(function ($resolve, $reject) use($loop, $stream, $uri) { + return new \RectorPrefix20211130\React\Promise\Promise(function ($resolve, $reject) use($loop, $stream, $uri) { $loop->addWriteStream($stream, function ($stream) use($loop, $resolve, $reject, $uri) { $loop->removeWriteStream($stream); // The following hack looks like the only way to @@ -91,9 +91,9 @@ final class TcpConnector implements \RectorPrefix20211129\React\Socket\Connector } // @codeCoverageIgnoreEnd \fclose($stream); - $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno)); + $reject(new \RuntimeException('Connection to ' . $uri . ' failed: ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno)); } else { - $resolve(new \RectorPrefix20211129\React\Socket\Connection($stream, $loop)); + $resolve(new \RectorPrefix20211130\React\Socket\Connection($stream, $loop)); } }); }, function () use($loop, $stream, $uri) { diff --git a/vendor/react/socket/src/TcpServer.php b/vendor/react/socket/src/TcpServer.php index 896c6c92ab6..d8ffe46f363 100644 --- a/vendor/react/socket/src/TcpServer.php +++ b/vendor/react/socket/src/TcpServer.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); // a single port has been given => assume localhost if ((string) (int) $uri === (string) $uri) { $uri = '127.0.0.1:' . $uri; @@ -158,9 +158,9 @@ final class TcpServer extends \RectorPrefix20211129\Evenement\EventEmitter imple if ($errno === 0) { // PHP does not seem to report errno, so match errno from errstr // @link https://3v4l.org/3qOBl - $errno = \RectorPrefix20211129\React\Socket\SocketServer::errno($errstr); + $errno = \RectorPrefix20211130\React\Socket\SocketServer::errno($errstr); } - throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on "' . $uri . '": ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno); } \stream_set_blocking($this->master, \false); $this->resume(); @@ -195,7 +195,7 @@ final class TcpServer extends \RectorPrefix20211129\Evenement\EventEmitter imple $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20211129\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20211130\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -216,6 +216,6 @@ final class TcpServer extends \RectorPrefix20211129\Evenement\EventEmitter imple /** @internal */ public function handleConnection($socket) { - $this->emit('connection', array(new \RectorPrefix20211129\React\Socket\Connection($socket, $this->loop))); + $this->emit('connection', array(new \RectorPrefix20211130\React\Socket\Connection($socket, $this->loop))); } } diff --git a/vendor/react/socket/src/TimeoutConnector.php b/vendor/react/socket/src/TimeoutConnector.php index 44d04299eb3..282003e7482 100644 --- a/vendor/react/socket/src/TimeoutConnector.php +++ b/vendor/react/socket/src/TimeoutConnector.php @@ -1,25 +1,25 @@ connector = $connector; $this->timeout = $timeout; - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); } public function connect($uri) { - return \RectorPrefix20211129\React\Promise\Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop)->then(null, self::handler($uri)); + return \RectorPrefix20211130\React\Promise\Timer\timeout($this->connector->connect($uri), $this->timeout, $this->loop)->then(null, self::handler($uri)); } /** * Creates a static rejection handler that reports a proper error message in case of a timeout. @@ -34,7 +34,7 @@ final class TimeoutConnector implements \RectorPrefix20211129\React\Socket\Conne private static function handler($uri) { return function (\Exception $e) use($uri) { - if ($e instanceof \RectorPrefix20211129\React\Promise\Timer\TimeoutException) { + if ($e instanceof \RectorPrefix20211130\React\Promise\Timer\TimeoutException) { throw new \RuntimeException('Connection to ' . $uri . ' timed out after ' . $e->getTimeout() . ' seconds (ETIMEDOUT)', \defined('SOCKET_ETIMEDOUT') ? \SOCKET_ETIMEDOUT : 110); } throw $e; diff --git a/vendor/react/socket/src/UnixConnector.php b/vendor/react/socket/src/UnixConnector.php index 50658fde42b..9791ba6f69f 100644 --- a/vendor/react/socket/src/UnixConnector.php +++ b/vendor/react/socket/src/UnixConnector.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); } public function connect($path) { if (\strpos($path, '://') === \false) { $path = 'unix://' . $path; } elseif (\substr($path, 0, 7) !== 'unix://') { - return \RectorPrefix20211129\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); + return \RectorPrefix20211130\React\Promise\reject(new \InvalidArgumentException('Given URI "' . $path . '" is invalid (EINVAL)', \defined('SOCKET_EINVAL') ? \SOCKET_EINVAL : 22)); } $resource = @\stream_socket_client($path, $errno, $errstr, 1.0); if (!$resource) { - return \RectorPrefix20211129\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno)); + return \RectorPrefix20211130\React\Promise\reject(new \RuntimeException('Unable to connect to unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno)); } - $connection = new \RectorPrefix20211129\React\Socket\Connection($resource, $this->loop); + $connection = new \RectorPrefix20211130\React\Socket\Connection($resource, $this->loop); $connection->unix = \true; - return \RectorPrefix20211129\React\Promise\resolve($connection); + return \RectorPrefix20211130\React\Promise\resolve($connection); } } diff --git a/vendor/react/socket/src/UnixServer.php b/vendor/react/socket/src/UnixServer.php index 7c5d4baf573..fab0d409d76 100644 --- a/vendor/react/socket/src/UnixServer.php +++ b/vendor/react/socket/src/UnixServer.php @@ -1,10 +1,10 @@ loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); if (\strpos($path, '://') === \false) { $path = 'unix://' . $path; } elseif (\substr($path, 0, 7) !== 'unix://') { @@ -68,7 +68,7 @@ final class UnixServer extends \RectorPrefix20211129\Evenement\EventEmitter impl $errno = isset($match[2]) ? (int) $match[2] : 0; } } - throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20211129\React\Socket\SocketServer::errconst($errno), $errno); + throw new \RuntimeException('Failed to listen on Unix domain socket "' . $path . '": ' . $errstr . \RectorPrefix20211130\React\Socket\SocketServer::errconst($errno), $errno); } \stream_set_blocking($this->master, 0); $this->resume(); @@ -96,7 +96,7 @@ final class UnixServer extends \RectorPrefix20211129\Evenement\EventEmitter impl $that = $this; $this->loop->addReadStream($this->master, function ($master) use($that) { try { - $newSocket = \RectorPrefix20211129\React\Socket\SocketServer::accept($master); + $newSocket = \RectorPrefix20211130\React\Socket\SocketServer::accept($master); } catch (\RuntimeException $e) { $that->emit('error', array($e)); return; @@ -117,7 +117,7 @@ final class UnixServer extends \RectorPrefix20211129\Evenement\EventEmitter impl /** @internal */ public function handleConnection($socket) { - $connection = new \RectorPrefix20211129\React\Socket\Connection($socket, $this->loop); + $connection = new \RectorPrefix20211130\React\Socket\Connection($socket, $this->loop); $connection->unix = \true; $this->emit('connection', array($connection)); } diff --git a/vendor/react/stream/composer.json b/vendor/react/stream/composer.json index 9e8e47ef3ca..e4633f4e792 100644 --- a/vendor/react/stream/composer.json +++ b/vendor/react/stream/composer.json @@ -45,12 +45,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\React\\Stream\\": "src" + "RectorPrefix20211130\\React\\Stream\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\React\\Tests\\Stream\\": "tests" + "RectorPrefix20211130\\React\\Tests\\Stream\\": "tests" } } } \ No newline at end of file diff --git a/vendor/react/stream/src/CompositeStream.php b/vendor/react/stream/src/CompositeStream.php index f360ac25cb3..c8e4704cc53 100644 --- a/vendor/react/stream/src/CompositeStream.php +++ b/vendor/react/stream/src/CompositeStream.php @@ -1,14 +1,14 @@ readable = $readable; $this->writable = $writable; @@ -16,8 +16,8 @@ final class CompositeStream extends \RectorPrefix20211129\Evenement\EventEmitter $this->close(); return; } - \RectorPrefix20211129\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error')); - \RectorPrefix20211129\React\Stream\Util::forwardEvents($this->writable, $this, array('drain', 'error', 'pipe')); + \RectorPrefix20211130\React\Stream\Util::forwardEvents($this->readable, $this, array('data', 'end', 'error')); + \RectorPrefix20211130\React\Stream\Util::forwardEvents($this->writable, $this, array('drain', 'error', 'pipe')); $this->readable->on('close', array($this, 'close')); $this->writable->on('close', array($this, 'close')); } @@ -42,7 +42,7 @@ final class CompositeStream extends \RectorPrefix20211129\Evenement\EventEmitter */ public function pipe($dest, $options = array()) { - return \RectorPrefix20211129\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20211130\React\Stream\Util::pipe($this, $dest, $options); } public function isWritable() { diff --git a/vendor/react/stream/src/DuplexResourceStream.php b/vendor/react/stream/src/DuplexResourceStream.php index c255b95b6e9..f28223662d7 100644 --- a/vendor/react/stream/src/DuplexResourceStream.php +++ b/vendor/react/stream/src/DuplexResourceStream.php @@ -1,12 +1,12 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize; $this->buffer = $buffer; $that = $this; @@ -138,7 +138,7 @@ final class DuplexResourceStream extends \RectorPrefix20211129\Evenement\EventEm */ public function pipe($dest, $options = array()) { - return \RectorPrefix20211129\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20211130\React\Stream\Util::pipe($this, $dest, $options); } /** @internal */ public function handleData($stream) diff --git a/vendor/react/stream/src/DuplexStreamInterface.php b/vendor/react/stream/src/DuplexStreamInterface.php index 2f3dc54c57c..c9cddc81cf7 100644 --- a/vendor/react/stream/src/DuplexStreamInterface.php +++ b/vendor/react/stream/src/DuplexStreamInterface.php @@ -1,6 +1,6 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->bufferSize = $readChunkSize === null ? 65536 : (int) $readChunkSize; $this->resume(); } @@ -90,7 +90,7 @@ final class ReadableResourceStream extends \RectorPrefix20211129\Evenement\Event */ public function pipe($dest, $options = array()) { - return \RectorPrefix20211129\React\Stream\Util::pipe($this, $dest, $options); + return \RectorPrefix20211130\React\Stream\Util::pipe($this, $dest, $options); } public function close() { diff --git a/vendor/react/stream/src/ReadableStreamInterface.php b/vendor/react/stream/src/ReadableStreamInterface.php index 285341b8f9d..07036f8880b 100644 --- a/vendor/react/stream/src/ReadableStreamInterface.php +++ b/vendor/react/stream/src/ReadableStreamInterface.php @@ -1,8 +1,8 @@ NO-OP if (!$source->isReadable()) { diff --git a/vendor/react/stream/src/WritableResourceStream.php b/vendor/react/stream/src/WritableResourceStream.php index f37f6df8809..69a08dfbaa6 100644 --- a/vendor/react/stream/src/WritableResourceStream.php +++ b/vendor/react/stream/src/WritableResourceStream.php @@ -1,11 +1,11 @@ stream = $stream; - $this->loop = $loop ?: \RectorPrefix20211129\React\EventLoop\Loop::get(); + $this->loop = $loop ?: \RectorPrefix20211130\React\EventLoop\Loop::get(); $this->softLimit = $writeBufferSoftLimit === null ? 65536 : (int) $writeBufferSoftLimit; $this->writeChunkSize = $writeChunkSize === null ? -1 : (int) $writeChunkSize; } diff --git a/vendor/react/stream/src/WritableStreamInterface.php b/vendor/react/stream/src/WritableStreamInterface.php index 7e83a572f36..bd10f86c2a5 100644 --- a/vendor/react/stream/src/WritableStreamInterface.php +++ b/vendor/react/stream/src/WritableStreamInterface.php @@ -1,8 +1,8 @@ filesystem = $filesystem; $this->localRepository = $localRepository; @@ -106,7 +106,7 @@ CODE_SAMPLE; $this->io->write(\sprintf('> %s: installed', $name)); } } - private function shouldSkip(\RectorPrefix20211129\Composer\Package\PackageInterface $package) : bool + private function shouldSkip(\RectorPrefix20211130\Composer\Package\PackageInterface $package) : bool { if ($package->getType() === self::RECTOR_EXTENSION_TYPE) { return \false; diff --git a/vendor/rector/rector-cakephp/config/config.php b/vendor/rector/rector-cakephp/config/config.php index cb95adb9b6a..e1e98cea080 100644 --- a/vendor/rector/rector-cakephp/config/config.php +++ b/vendor/rector/rector-cakephp/config/config.php @@ -1,7 +1,7 @@ arraysToFluentCalls = $arraysToFluentCalls; $factoryMethods = $configuration[self::FACTORY_METHODS] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($factoryMethods, \Rector\CakePHP\ValueObject\FactoryMethod::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($factoryMethods, \Rector\CakePHP\ValueObject\FactoryMethod::class); $this->factoryMethods = $factoryMethods; } private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\FactoryMethod diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php index 2ef50ff4419..887e1933604 100644 --- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php +++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/ModalToGetSetRector.php @@ -12,7 +12,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://book.cakephp.org/3.0/en/appendices/3-4-migration-guide.html#deprecated-combined-get-set-methods * @see https://github.com/cakephp/cakephp/commit/326292688c5e6d08945a3cafa4b6ffb33e714eea#diff-e7c0f0d636ca50a0350e9be316d8b0f9 @@ -77,7 +77,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $unprefixedMethodsToGetSet = $configuration[self::UNPREFIXED_METHODS_TO_GET_SET] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($unprefixedMethodsToGetSet, \Rector\CakePHP\ValueObject\ModalToGetSet::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($unprefixedMethodsToGetSet, \Rector\CakePHP\ValueObject\ModalToGetSet::class); $this->unprefixedMethodsToGetSet = $unprefixedMethodsToGetSet; } private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\ModalToGetSet diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php index 6129d886164..5c19f918e26 100644 --- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php +++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RemoveIntermediaryMethodRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Defluent\NodeAnalyzer\FluentChainMethodCallNodeAnalyzer; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://book.cakephp.org/3.0/en/appendices/3-4-migration-guide.html#deprecated-combined-get-set-methods * @see https://github.com/cakephp/cakephp/commit/326292688c5e6d08945a3cafa4b6ffb33e714eea#diff-e7c0f0d636ca50a0350e9be316d8b0f9 @@ -73,7 +73,7 @@ CODE_SAMPLE { /** @var RemoveIntermediaryMethod[] $replacements */ $replacements = $configuration[self::REMOVE_INTERMEDIARY_METHOD] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($replacements, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($replacements, \Rector\CakePHP\ValueObject\RemoveIntermediaryMethod::class); $this->removeIntermediaryMethod = $replacements; } private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\RemoveIntermediaryMethod diff --git a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php index ceb736a2c8c..02dc5564e90 100644 --- a/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php +++ b/vendor/rector/rector-cakephp/src/Rector/MethodCall/RenameMethodCallBasedOnParameterRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://book.cakephp.org/4.0/en/appendices/4-0-migration-guide.html * @see https://github.com/cakephp/cakephp/commit/77017145961bb697b4256040b947029259f66a9b @@ -70,7 +70,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $callsWithParamRenames = $configuration[self::CALLS_WITH_PARAM_RENAMES] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($callsWithParamRenames, \Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($callsWithParamRenames, \Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter::class); $this->callsWithParamRenames = $callsWithParamRenames; } private function matchTypeAndMethodName(\PhpParser\Node\Expr\MethodCall $methodCall) : ?\Rector\CakePHP\ValueObject\RenameMethodCallBasedOnParameter diff --git a/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php b/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php index ce5506e12cf..6654d791c6a 100644 --- a/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php +++ b/vendor/rector/rector-cakephp/src/Rector/Property/ChangeSnakedFixtureNameToPascalRector.php @@ -12,7 +12,7 @@ use PhpParser\Node\Stmt\Property; use PhpParser\Node\Stmt\PropertyProperty; use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -90,7 +90,7 @@ CODE_SAMPLE [$prefix, $table] = \explode('.', $string->value); $tableParts = \explode('/', $table); $pascalCaseTableParts = \array_map(function (string $token) : string { - $stringy = new \RectorPrefix20211129\Stringy\Stringy($token); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($token); return (string) $stringy->upperCamelize(); }, $tableParts); $table = \implode('/', $pascalCaseTableParts); diff --git a/vendor/rector/rector-doctrine/config/config.php b/vendor/rector/rector-doctrine/config/config.php index 197122178f2..c6681e6a007 100644 --- a/vendor/rector/rector-doctrine/config/config.php +++ b/vendor/rector/rector-doctrine/config/config.php @@ -1,7 +1,7 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-doctrine/rector.php b/vendor/rector/rector-doctrine/rector.php index 8c56dc5b06b..f054190d2ed 100644 --- a/vendor/rector/rector-doctrine/rector.php +++ b/vendor/rector/rector-doctrine/rector.php @@ -1,7 +1,7 @@ nodeNameResolver = $nodeNameResolver; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php b/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php index 31f5fde9c23..b42ca447546 100644 --- a/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php +++ b/vendor/rector/rector-doctrine/src/NodeFactory/ConstructClassMethodFactory.php @@ -16,7 +16,7 @@ use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\NodeTypeResolver; use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; final class ConstructClassMethodFactory { /** @@ -51,7 +51,7 @@ final class ConstructClassMethodFactory $params[] = $this->createParam($publicProperty, $propertyName); $assigns[] = $this->createAssign($propertyName); } - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); $methodBuilder->makePublic(); $methodBuilder->addParams($params); $methodBuilder->addStmts($assigns); diff --git a/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php b/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php index 935d4150ce9..c70dfc94d77 100644 --- a/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php +++ b/vendor/rector/rector-doctrine/src/NodeManipulator/DependencyRemover.php @@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Property; use PhpParser\NodeTraverser; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeRemoval\NodeRemover; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class DependencyRemover { /** @@ -28,7 +28,7 @@ final class DependencyRemover * @var \Rector\NodeRemoval\NodeRemover */ private $nodeRemover; - public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover) + public function __construct(\Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\NodeRemoval\NodeRemover $nodeRemover) { $this->nodeNameResolver = $nodeNameResolver; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php b/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php index 609c105efd9..dff4a4ac584 100644 --- a/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/Class_/AddEntityIdByConditionRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Doctrine\NodeFactory\EntityIdNodeFactory; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Doctrine\Tests\Rector\Class_\AddEntityIdByConditionRector\AddEntityIdByConditionRectorTest */ @@ -105,8 +105,8 @@ CODE_SAMPLE public function configure(array $configuration) : void { $detectTraits = $configuration[self::DETECTED_TRAITS] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($detectTraits); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($detectTraits); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($detectTraits); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($detectTraits); $this->detectedTraits = $detectTraits; } private function shouldSkip(\PhpParser\Node\Stmt\Class_ $class) : bool diff --git a/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php b/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php index cd18a350c36..31da2bc1314 100644 --- a/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/Class_/LoggableBehaviorRector.php @@ -13,7 +13,7 @@ use Rector\Core\NodeManipulator\ClassInsertManipulator; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; +use RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser; /** * @see https://github.com/Atlantic18/DoctrineExtensions/blob/v2.4.x/doc/loggable.md * @see https://github.com/KnpLabs/DoctrineBehaviors/blob/4e0677379dd4adf84178f662d08454a9627781a8/docs/loggable.md @@ -94,7 +94,7 @@ CODE_SAMPLE // change the node $classPhpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($class); $hasLoggableAnnotation = \false; - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($classPhpDocInfo->getPhpDocNode(), '', function ($node) use(&$hasLoggableAnnotation) { if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) { return null; @@ -107,7 +107,7 @@ CODE_SAMPLE return null; } $hasLoggableAnnotation = \true; - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); if (!$hasLoggableAnnotation) { return null; @@ -123,7 +123,7 @@ CODE_SAMPLE // remove tag from properties $phpDocInfo = $this->phpDocInfoFactory->createFromNodeOrEmpty($property); $hasChanged = \false; - $phpDocNodeTraverser = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); + $phpDocNodeTraverser = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser(); $phpDocNodeTraverser->traverseWithCallable($phpDocInfo->getPhpDocNode(), '', function ($node) use($phpDocInfo, &$hasChanged) { if (!$node instanceof \Rector\BetterPhpDocParser\PhpDoc\SpacelessPhpDocTagNode) { return null; @@ -136,7 +136,7 @@ CODE_SAMPLE } $phpDocInfo->markAsChanged(); $hasChanged = \true; - return \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; + return \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeTraverser::NODE_REMOVE; }); if (!$hasChanged) { return null; diff --git a/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php b/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php index b5476101848..b25c22f24e0 100644 --- a/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/MethodCall/EntityAliasToClassConstantReferenceRector.php @@ -11,7 +11,7 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Doctrine\Tests\Rector\MethodCall\EntityAliasToClassConstantReferenceRector\EntityAliasToClassConstantReferenceRectorTest */ @@ -84,9 +84,9 @@ CODE_SAMPLE public function configure(array $configuration) : void { $aliasesToNamespaces = $configuration[self::ALIASES_TO_NAMESPACES] ?? $configuration; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($aliasesToNamespaces); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($aliasesToNamespaces); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($aliasesToNamespaces); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($aliasesToNamespaces)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($aliasesToNamespaces); $this->aliasesToNamespaces = $aliasesToNamespaces; } private function isAliasWithConfiguredEntity(string $name) : bool diff --git a/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php b/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php index 0ddc212fd2e..9bd6a73e713 100644 --- a/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php +++ b/vendor/rector/rector-doctrine/src/Rector/MethodCall/ReplaceParentRepositoryCallsByRepositoryPropertyRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Doctrine\Rector\MethodCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\ClassConstFetch; @@ -90,7 +90,7 @@ CODE_SAMPLE if (!\is_string($entityReferenceName)) { throw new \Rector\Core\Exception\ShouldNotHappenException(); } - $lastNamePart = (string) \RectorPrefix20211129\Nette\Utils\Strings::after($entityReferenceName, '\\', -1); + $lastNamePart = (string) \RectorPrefix20211130\Nette\Utils\Strings::after($entityReferenceName, '\\', -1); return \lcfirst($lastNamePart) . 'Repository'; } private function guessRepositoryType(\PhpParser\Node\Expr $expr) : string @@ -100,8 +100,8 @@ CODE_SAMPLE if ($entityClass === null) { return 'Unknown_Repository_Class'; } - $entityClassNamespace = (string) \RectorPrefix20211129\Nette\Utils\Strings::before($entityClass, '\\', -2); - $lastNamePart = (string) \RectorPrefix20211129\Nette\Utils\Strings::after($entityClass, '\\', -1); + $entityClassNamespace = (string) \RectorPrefix20211130\Nette\Utils\Strings::before($entityClass, '\\', -2); + $lastNamePart = (string) \RectorPrefix20211130\Nette\Utils\Strings::after($entityClass, '\\', -1); return $entityClassNamespace . '\\Repository\\' . $lastNamePart . 'Repository'; } return 'Unknown_Repository_Class'; diff --git a/vendor/rector/rector-laravel/config/config.php b/vendor/rector/rector-laravel/config/config.php index 2f7784ef43c..825a35dddb3 100644 --- a/vendor/rector/rector-laravel/config/config.php +++ b/vendor/rector/rector-laravel/config/config.php @@ -1,7 +1,7 @@ services(); $services->defaults()->autowire(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-laravel/rector.php b/vendor/rector/rector-laravel/rector.php index 50d2a83d63a..14a32750fb0 100644 --- a/vendor/rector/rector-laravel/rector.php +++ b/vendor/rector/rector-laravel/rector.php @@ -1,7 +1,7 @@ nodeNameResolver = $nodeNameResolver; $this->nodeFactory = $nodeFactory; @@ -56,7 +56,7 @@ final class ModelFactoryNodeFactory { $class = new \PhpParser\Node\Stmt\Class_($name . 'Factory'); $class->extends = new \PhpParser\Node\Name\FullyQualified('Illuminate\\Database\\Eloquent\\Factories\\Factory'); - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model'); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('model'); $propertyBuilder->makeProtected(); $propertyBuilder->setDefault($expr); $property = $propertyBuilder->getNode(); @@ -151,7 +151,7 @@ final class ModelFactoryNodeFactory */ private function createPublicMethod(string $name, array $stmts) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($name); $methodBuilder->makePublic(); $methodBuilder->addStmts($stmts); return $methodBuilder->getNode(); diff --git a/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php b/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php index 5cb19ffbfbf..f32bf7784c7 100644 --- a/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php +++ b/vendor/rector/rector-laravel/src/Rector/ClassMethod/AddArgumentDefaultValueRector.php @@ -12,7 +12,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\Laravel\ValueObject\AddArgumentDefaultValue; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Laravel\Tests\Rector\ClassMethod\AddArgumentDefaultValueRector\AddArgumentDefaultValueRectorTest */ @@ -83,7 +83,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $addedArguments = $configuration[self::ADDED_ARGUMENTS] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($addedArguments, \Rector\Laravel\ValueObject\AddArgumentDefaultValue::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($addedArguments, \Rector\Laravel\ValueObject\AddArgumentDefaultValue::class); $this->addedArguments = $addedArguments; } } diff --git a/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php b/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php index 453a03369f0..5a2a68ff634 100644 --- a/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php +++ b/vendor/rector/rector-laravel/src/Rector/Class_/UnifyModelDatesWithCastsRector.php @@ -12,10 +12,10 @@ use PhpParser\Node\Stmt\Property; use PHPStan\Type\ObjectType; use Rector\Core\NodeManipulator\ClassInsertManipulator; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://github.com/laravel/framework/pull/32856 * @@ -100,7 +100,7 @@ CODE_SAMPLE $casts = $this->valueResolver->getValue($castsPropertyProperty->default); // exclude attributes added in $casts $missingDates = \array_diff($dates, \array_keys($casts)); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($missingDates); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($missingDates); foreach ($missingDates as $missingDate) { $castsPropertyProperty->default->items[] = new \PhpParser\Node\Expr\ArrayItem(new \PhpParser\Node\Scalar\String_('datetime'), new \PhpParser\Node\Scalar\String_($missingDate)); } @@ -109,7 +109,7 @@ CODE_SAMPLE } private function createCastsProperty() : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('casts'); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder('casts'); $propertyBuilder->makeProtected(); $propertyBuilder->setDefault([]); $property = $propertyBuilder->getNode(); diff --git a/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php b/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php index da66caeb296..0f2da9115d7 100644 --- a/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php +++ b/vendor/rector/rector-laravel/src/Rector/MethodCall/FactoryApplyingStatesRector.php @@ -12,7 +12,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://laravel.com/docs/7.x/database-testing#creating-models * @see https://laravel.com/docs/8.x/database-testing#applying-states @@ -53,7 +53,7 @@ CODE_SAMPLE } $var = $node->var; $states = $this->getStatesFromArgs($node->args); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($states); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($states); foreach ($states as $state) { $var = $this->nodeFactory->createMethodCall($var, $state); } diff --git a/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php b/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php index 7640614dce7..8c972a725da 100644 --- a/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php +++ b/vendor/rector/rector-laravel/src/Rector/PropertyFetch/OptionalToNullsafeOperatorRector.php @@ -20,10 +20,10 @@ use Rector\Core\NodeAnalyzer\ArgsAnalyzer; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\PhpVersion; use Rector\VersionBonding\Contract\MinPhpVersionInterface; -use RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker; +use RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://github.com/laravel/laravel/pull/5670 * @see https://github.com/laravel/framework/pull/38868 @@ -53,7 +53,7 @@ final class OptionalToNullsafeOperatorRector extends \Rector\Core\Rector\Abstrac * @var \Rector\Core\NodeAnalyzer\ArgsAnalyzer */ private $argsAnalyzer; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker $typeChecker, \Rector\Core\NodeAnalyzer\ArgsAnalyzer $argsAnalyzer) { $this->typeChecker = $typeChecker; $this->argsAnalyzer = $argsAnalyzer; @@ -124,7 +124,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $excludeMethods = $configuration[self::EXCLUDE_METHODS] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($excludeMethods); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($excludeMethods); $this->excludeMethods = $excludeMethods; } private function hasCallback(\PhpParser\Node\Expr\FuncCall $funcCall) : bool diff --git a/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php b/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php index c4184b482eb..f3ce99a7e6f 100644 --- a/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php +++ b/vendor/rector/rector-laravel/src/Rector/StaticCall/RouteActionCallableRector.php @@ -19,7 +19,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://laravel.com/docs/8.x/upgrade#automatic-controller-namespace-prefixing * @@ -115,11 +115,11 @@ CODE_SAMPLE public function configure(array $configuration) : void { $routes = $configuration[self::ROUTES] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($routes); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString(\array_keys($routes)); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($routes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString(\array_keys($routes)); $this->routes = $routes; $namespace = $configuration[self::NAMESPACE] ?? self::DEFAULT_NAMESPACE; - \RectorPrefix20211129\Webmozart\Assert\Assert::string($namespace); + \RectorPrefix20211130\Webmozart\Assert\Assert::string($namespace); $this->namespace = $namespace; } /** diff --git a/vendor/rector/rector-nette/config/config.php b/vendor/rector/rector-nette/config/config.php index 90f213fcdb7..d5fcd9068a0 100644 --- a/vendor/rector/rector-nette/config/config.php +++ b/vendor/rector/rector-nette/config/config.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\Nette\\NeonParser\\', __DIR__ . '/../packages/NeonParser')->exclude([__DIR__ . '/../packages/NeonParser/NeonNodeTraverser.php', __DIR__ . '/../packages/NeonParser/Node']); - $services->set(\RectorPrefix20211129\Nette\Neon\Decoder::class); + $services->set(\RectorPrefix20211130\Nette\Neon\Decoder::class); }; diff --git a/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php b/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php index 6a148890e9b..34fbb38889f 100644 --- a/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php +++ b/vendor/rector/rector-nette/config/sets/contributte/apitte-attributes.php @@ -1,7 +1,7 @@ services(); $services->defaults()->autowire(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php b/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php index ee9f2b86047..62ca0eeeb0d 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Contract/NeonNodeVisitorInterface.php @@ -2,7 +2,7 @@ namespace Rector\Nette\NeonParser\Contract; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; interface NeonNodeVisitorInterface { /** @@ -12,5 +12,5 @@ interface NeonNodeVisitorInterface /** * @param \Nette\Neon\Node $node */ - public function enterNode($node) : \RectorPrefix20211129\Nette\Neon\Node; + public function enterNode($node) : \RectorPrefix20211130\Nette\Neon\Node; } diff --git a/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php b/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php index aade860e5ee..213b856b17d 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php +++ b/vendor/rector/rector-nette/packages/NeonParser/NeonNodeTraverser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; use Rector\Nette\Contract\Rector\NeonRectorInterface; use Rector\Nette\NeonParser\Contract\NeonNodeVisitorInterface; use Rector\Nette\NeonParser\Node\Service_; @@ -35,7 +35,7 @@ final class NeonNodeTraverser { $this->neonRectors[] = $neonRector; } - public function traverse(\RectorPrefix20211129\Nette\Neon\Node $node) : \RectorPrefix20211129\Nette\Neon\Node + public function traverse(\RectorPrefix20211130\Nette\Neon\Node $node) : \RectorPrefix20211130\Nette\Neon\Node { foreach ($this->neonRectors as $neonRector) { // is service node? diff --git a/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php b/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php index 4149e7589ab..36e7d5719cf 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php +++ b/vendor/rector/rector-nette/packages/NeonParser/NeonParser.php @@ -3,19 +3,19 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser; -use RectorPrefix20211129\Nette\Neon\Decoder; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Decoder; +use RectorPrefix20211130\Nette\Neon\Node; final class NeonParser { /** * @var \Nette\Neon\Decoder */ private $decoder; - public function __construct(\RectorPrefix20211129\Nette\Neon\Decoder $decoder) + public function __construct(\RectorPrefix20211130\Nette\Neon\Decoder $decoder) { $this->decoder = $decoder; } - public function parseString(string $neonContent) : \RectorPrefix20211129\Nette\Neon\Node + public function parseString(string $neonContent) : \RectorPrefix20211130\Nette\Neon\Node { return $this->decoder->parseToNode($neonContent); } diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php b/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php index 568fa011a61..4ee09a1d031 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Node/AbstractVirtualNode.php @@ -3,9 +3,9 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\Node; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; use Rector\Nette\NeonParser\Exception\UnusedVirtualMethodException; -abstract class AbstractVirtualNode extends \RectorPrefix20211129\Nette\Neon\Node +abstract class AbstractVirtualNode extends \RectorPrefix20211130\Nette\Neon\Node { /** * @return mixed diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php index c65632e869f..850f40cc755 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\Node; -use RectorPrefix20211129\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Node\LiteralNode; +use RectorPrefix20211130\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node\LiteralNode; use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall; /** * Metanode for easier subscribing @@ -63,10 +63,10 @@ final class Service_ extends \Rector\Nette\NeonParser\Node\AbstractVirtualNode public function getSubNodes() : array { $subNodes = []; - if ($this->classLiteralNode instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if ($this->classLiteralNode instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { $subNodes[] = $this->classLiteralNode; } - if ($this->factoryLiteralNode instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if ($this->factoryLiteralNode instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { $subNodes[] = $this->factoryLiteralNode; } return \array_merge($subNodes, $this->setupMethodCalls); diff --git a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php index 73d23dea9f9..6da5932decc 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Node/Service_/SetupMethodCall.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\Node\Service_; -use RectorPrefix20211129\Nette\Neon\Node\EntityNode; -use RectorPrefix20211129\Nette\Neon\Node\LiteralNode; +use RectorPrefix20211130\Nette\Neon\Node\EntityNode; +use RectorPrefix20211130\Nette\Neon\Node\LiteralNode; use Rector\Nette\NeonParser\Node\AbstractVirtualNode; final class SetupMethodCall extends \Rector\Nette\NeonParser\Node\AbstractVirtualNode { @@ -20,7 +20,7 @@ final class SetupMethodCall extends \Rector\Nette\NeonParser\Node\AbstractVirtua * @var \Nette\Neon\Node\EntityNode */ public $entityNode; - public function __construct(string $className, \RectorPrefix20211129\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20211129\Nette\Neon\Node\EntityNode $entityNode) + public function __construct(string $className, \RectorPrefix20211130\Nette\Neon\Node\LiteralNode $methodNameLiteralNode, \RectorPrefix20211130\Nette\Neon\Node\EntityNode $entityNode) { $this->className = $className; $this->methodNameLiteralNode = $methodNameLiteralNode; diff --git a/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php b/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php index 45f2487f860..f36d5509fad 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php +++ b/vendor/rector/rector-nette/packages/NeonParser/NodeFactory/ServiceFactory.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\NodeFactory; -use RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode; -use RectorPrefix20211129\Nette\Neon\Node\ArrayNode; -use RectorPrefix20211129\Nette\Neon\Node\EntityNode; -use RectorPrefix20211129\Nette\Neon\Node\LiteralNode; +use RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode; +use RectorPrefix20211130\Nette\Neon\Node\ArrayNode; +use RectorPrefix20211130\Nette\Neon\Node\EntityNode; +use RectorPrefix20211130\Nette\Neon\Node\LiteralNode; use Rector\Nette\NeonParser\Node\Service_; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall; final class ServiceFactory { @@ -27,9 +27,9 @@ final class ServiceFactory /** * @return \Rector\Nette\NeonParser\Node\Service_|null */ - public function create(\RectorPrefix20211129\Nette\Neon\Node $node) + public function create(\RectorPrefix20211130\Nette\Neon\Node $node) { - if (!$node instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode) { + if (!$node instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode) { return null; } $class = $this->resolveArrayItemByKeyword($node, self::CLASS_KEYWORD); @@ -45,23 +45,23 @@ final class ServiceFactory /** * @return \Nette\Neon\Node\LiteralNode|null */ - private function resolveArrayItemByKeyword(\RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword) + private function resolveArrayItemByKeyword(\RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode $arrayItemNode, string $keyword) { - if (!$arrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayNode) { return null; } $arrayNode = $arrayItemNode->value; foreach ($arrayNode->items as $arrayItemNode) { - if (!$arrayItemNode->key instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if (!$arrayItemNode->key instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { continue; } if ($arrayItemNode->key->toString() !== $keyword) { continue; } - if ($arrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\EntityNode) { + if ($arrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\EntityNode) { return $arrayItemNode->value->value; } - if ($arrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if ($arrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { return $arrayItemNode->value; } } @@ -70,26 +70,26 @@ final class ServiceFactory /** * @return SetupMethodCall[] */ - private function resolveSetupMethodCalls(string $className, \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array + private function resolveSetupMethodCalls(string $className, \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode $arrayItemNode) : array { - if (!$arrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayNode) { return []; } $setupMethodCalls = []; $arrayNode = $arrayItemNode->value; foreach ($arrayNode->items as $arrayItemNode) { - if ($arrayItemNode->key instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if ($arrayItemNode->key instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { if ($arrayItemNode->key->toString() !== self::SETUP_KEYWORD) { continue; } - if (!$arrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayNode) { + if (!$arrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayNode) { continue; } foreach ($arrayItemNode->value->items as $setupArrayItemNode) { - if ($setupArrayItemNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\EntityNode) { + if ($setupArrayItemNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\EntityNode) { // probably method call $entityNode = $setupArrayItemNode->value; - if ($entityNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\LiteralNode) { + if ($entityNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\LiteralNode) { // not a method call - probably property assign if (\strncmp($entityNode->value->toString(), '$', \strlen('$')) === 0) { continue; diff --git a/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php b/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php index 52e33094421..c3073d224c0 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Printer/FormatPreservingNeonPrinter.php @@ -3,8 +3,8 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\Printer; -use RectorPrefix20211129\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Utils\Strings; final class FormatPreservingNeonPrinter { /** @@ -15,20 +15,20 @@ final class FormatPreservingNeonPrinter * @var string */ private const INDENT_SPACES = 'spaces'; - public function printNode(\RectorPrefix20211129\Nette\Neon\Node $node, string $originalContenet) : string + public function printNode(\RectorPrefix20211130\Nette\Neon\Node $node, string $originalContenet) : string { $neonContent = $node->toString(); $indentType = $this->resolveIndentType($originalContenet); $neonContent = $this->formatIndent($neonContent, $indentType); // replace quotes - @todo resolve defaults - return \RectorPrefix20211129\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($neonContent, '#\\"#', '\''); } /** * Some files prefer tabs, some spaces. This will resolve first found space. */ private function resolveIndentType(string $neonContent) : string { - $indentMatch = \RectorPrefix20211129\Nette\Utils\Strings::match($neonContent, '#(\\t| )#ms'); + $indentMatch = \RectorPrefix20211130\Nette\Utils\Strings::match($neonContent, '#(\\t| )#ms'); if ($indentMatch[0] === "\t") { return self::INDENT_TABS; } @@ -37,7 +37,7 @@ final class FormatPreservingNeonPrinter private function formatIndent(string $neonContent, string $indentType) : string { if ($indentType === self::INDENT_SPACES) { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' '); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' '); } return $neonContent; } diff --git a/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php b/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php index 3399422b327..40de5a058c6 100644 --- a/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php +++ b/vendor/rector/rector-nette/packages/NeonParser/Services/ServiceTypeResolver.php @@ -3,10 +3,10 @@ declare (strict_types=1); namespace Rector\Nette\NeonParser\Services; -use RectorPrefix20211129\Nette\Neon\Node; -use RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode; -use RectorPrefix20211129\Nette\Neon\Node\ArrayNode; -use RectorPrefix20211129\Nette\Neon\Node\EntityNode; +use RectorPrefix20211130\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode; +use RectorPrefix20211130\Nette\Neon\Node\ArrayNode; +use RectorPrefix20211130\Nette\Neon\Node\EntityNode; final class ServiceTypeResolver { /** @@ -20,12 +20,12 @@ final class ServiceTypeResolver /** * @return string|null */ - public function resolve(\RectorPrefix20211129\Nette\Neon\Node $serviceNode) + public function resolve(\RectorPrefix20211130\Nette\Neon\Node $serviceNode) { - if (!$serviceNode instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayItemNode) { + if (!$serviceNode instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayItemNode) { return null; } - if (!$serviceNode->value instanceof \RectorPrefix20211129\Nette\Neon\Node\ArrayNode) { + if (!$serviceNode->value instanceof \RectorPrefix20211130\Nette\Neon\Node\ArrayNode) { return null; } foreach ($serviceNode->value->items as $serviceConfigurationItem) { @@ -33,13 +33,13 @@ final class ServiceTypeResolver continue; } if ($serviceConfigurationItem->key->toString() === self::FACTORY_KEYWORD) { - if ($serviceConfigurationItem->value instanceof \RectorPrefix20211129\Nette\Neon\Node\EntityNode) { + if ($serviceConfigurationItem->value instanceof \RectorPrefix20211130\Nette\Neon\Node\EntityNode) { return $serviceConfigurationItem->value->value->toString(); } return $serviceConfigurationItem->value->toString(); } if ($serviceConfigurationItem->key->toString() === self::CLASS_KEYWORD) { - if ($serviceConfigurationItem->value instanceof \RectorPrefix20211129\Nette\Neon\Node\EntityNode) { + if ($serviceConfigurationItem->value instanceof \RectorPrefix20211130\Nette\Neon\Node\EntityNode) { return $serviceConfigurationItem->value->value->toString(); } return $serviceConfigurationItem->value->toString(); diff --git a/vendor/rector/rector-nette/rector.php b/vendor/rector/rector-nette/rector.php index a286176e8b4..890660421b3 100644 --- a/vendor/rector/rector-nette/rector.php +++ b/vendor/rector/rector-nette/rector.php @@ -1,7 +1,7 @@ classNaming->getShortName($class); // "onMagic" => "Magic" - $shortPropertyName = \RectorPrefix20211129\Nette\Utils\Strings::substring($property, \strlen('on')); + $shortPropertyName = \RectorPrefix20211130\Nette\Utils\Strings::substring($property, \strlen('on')); return $shortClassName . $shortPropertyName . self::EVENT; } } diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php b/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php index 7f8403e8522..ea1a5dcd9b6 100644 --- a/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php +++ b/vendor/rector/rector-nette/src/Kdyby/NodeFactory/EventValueObjectClassFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Kdyby\NodeFactory; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Arg; use PhpParser\Node\Expr\Variable; use PhpParser\Node\Name\FullyQualified; @@ -20,9 +20,9 @@ use Rector\Core\ValueObject\MethodName; use Rector\Nette\Kdyby\BlueprintFactory\VariableWithTypesFactory; use Rector\Nette\Kdyby\ValueObject\VariableWithType; use Rector\NodeNameResolver\NodeNameResolver; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; /** * @todo decouple to generic object factory for better re-use, e.g. this is just value object pattern */ @@ -66,10 +66,10 @@ final class EventValueObjectClassFactory $nodeTraverser->traverse([$class]); return $this->wrapClassToNamespace($className, $class); } - private function createEventClassBuilder(string $className) : \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder + private function createEventClassBuilder(string $className) : \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder { $shortClassName = $this->classNaming->getShortName($className); - $classBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName); + $classBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($shortClassName); $classBuilder->makeFinal(); $classBuilder->extend(new \PhpParser\Node\Name\FullyQualified('Symfony\\Contracts\\EventDispatcher\\Event')); return $classBuilder; @@ -77,7 +77,7 @@ final class EventValueObjectClassFactory /** * @param Arg[] $args */ - private function decorateWithConstructorIfHasArgs(\RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void + private function decorateWithConstructorIfHasArgs(\RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder, array $args) : void { if ($args === []) { return; @@ -99,15 +99,15 @@ final class EventValueObjectClassFactory } private function wrapClassToNamespace(string $className, \PhpParser\Node\Stmt\Class_ $class) : \PhpParser\Node\Stmt\Namespace_ { - $namespace = \RectorPrefix20211129\Nette\Utils\Strings::before($className, '\\', -1); - $namespaceBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); + $namespace = \RectorPrefix20211130\Nette\Utils\Strings::before($className, '\\', -1); + $namespaceBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); $namespaceBuilder->addStmt($class); return $namespaceBuilder->getNode(); } /** * @param VariableWithType[] $variablesWithTypes */ - private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void + private function ensureVariablesAreUnique(array $variablesWithTypes, \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder $classBuilder) : void { $usedVariableNames = []; foreach ($variablesWithTypes as $variablesWithType) { @@ -124,7 +124,7 @@ final class EventValueObjectClassFactory */ private function createConstructClassMethod(array $variableWithTypes) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::CONSTRUCT); $methodBuilder->makePublic(); foreach ($variableWithTypes as $variableWithType) { $param = new \PhpParser\Node\Param(new \PhpParser\Node\Expr\Variable($variableWithType->getName())); diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php b/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php index 18a44f909f1..022b7149029 100644 --- a/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php +++ b/vendor/rector/rector-nette/src/Kdyby/NodeManipulator/GetSubscribedEventsArrayManipulator.php @@ -10,7 +10,7 @@ use PhpParser\Node\Expr\ClassConstFetch; use PhpParser\Node\Name\FullyQualified; use Rector\Core\PhpParser\Node\Value\ValueResolver; use Rector\Nette\Kdyby\ValueObject\NetteEventToContributeEventClass; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class GetSubscribedEventsArrayManipulator { /** @@ -21,7 +21,7 @@ final class GetSubscribedEventsArrayManipulator * @var \Rector\Core\PhpParser\Node\Value\ValueResolver */ private $valueResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->valueResolver = $valueResolver; diff --git a/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php b/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php index d6d9358ac62..4999fbda04b 100644 --- a/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php +++ b/vendor/rector/rector-nette/src/Kdyby/NodeResolver/ListeningMethodsCollector.php @@ -14,7 +14,7 @@ use Rector\Core\PhpParser\Node\Value\ValueResolver; use Rector\Nette\Kdyby\Naming\EventClassNaming; use Rector\Nette\Kdyby\ValueObject\EventClassAndClassMethod; use Rector\Nette\Kdyby\ValueObject\NetteEventToContributeEventClass; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ListeningMethodsCollector { /** @@ -45,7 +45,7 @@ final class ListeningMethodsCollector * @var \Rector\Core\PhpParser\Node\BetterNodeFinder */ private $betterNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Nette\Kdyby\Naming\EventClassNaming $eventClassNaming, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Nette\Kdyby\Naming\EventClassNaming $eventClassNaming, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->eventClassNaming = $eventClassNaming; diff --git a/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php b/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php index dc7f5d277c3..94bbca75c7a 100644 --- a/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php +++ b/vendor/rector/rector-nette/src/Kdyby/Rector/ClassMethod/ChangeNetteEventNamesInGetSubscribedEventsRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Kdyby\Rector\ClassMethod; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Array_; @@ -159,7 +159,7 @@ CODE_SAMPLE throw new \Rector\Core\Exception\ShouldNotHappenException(); } if (\strpos($kdybyEventName, '::') !== \false) { - return (string) \RectorPrefix20211129\Nette\Utils\Strings::after($kdybyEventName, '::', -1); + return (string) \RectorPrefix20211130\Nette\Utils\Strings::after($kdybyEventName, '::', -1); } throw new \Rector\Core\Exception\NotImplementedYetException($kdybyEventName); } diff --git a/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php b/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php index f6bf765707d..02cd774694a 100644 --- a/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php +++ b/vendor/rector/rector-nette/src/Latte/Parser/TemplateTypeParser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Latte\Parser; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PHPStan\BetterReflection\Reflection\ReflectionClass; use PHPStan\BetterReflection\Reflection\ReflectionNamedType; use PHPStan\BetterReflection\Reflector\Exception\IdentifierNotFound; @@ -20,7 +20,7 @@ final class TemplateTypeParser */ public function parse(string $content) : array { - $templateTypeMatch = \RectorPrefix20211129\Nette\Utils\Strings::match($content, self::TEMPLATE_TYPE_REGEX); + $templateTypeMatch = \RectorPrefix20211130\Nette\Utils\Strings::match($content, self::TEMPLATE_TYPE_REGEX); if (!isset($templateTypeMatch['template'])) { return []; } diff --git a/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php b/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php index 365fdc2a014..e03e62ba2b4 100644 --- a/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php +++ b/vendor/rector/rector-nette/src/Latte/Parser/VarTypeParser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Latte\Parser; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Nette\ValueObject\LatteVariableType; final class VarTypeParser { @@ -17,7 +17,7 @@ final class VarTypeParser */ public function parse(string $content) : array { - $matches = \RectorPrefix20211129\Nette\Utils\Strings::matchAll($content, self::VAR_TYPE_REGEX); + $matches = \RectorPrefix20211130\Nette\Utils\Strings::matchAll($content, self::VAR_TYPE_REGEX); $variableTypes = []; foreach ($matches as $match) { $variableTypes[] = new \Rector\Nette\ValueObject\LatteVariableType($match['variable'], $match['type']); diff --git a/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php b/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php index f109f9c5b10..9e2cbffec87 100644 --- a/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php +++ b/vendor/rector/rector-nette/src/Naming/NetteControlNaming.php @@ -3,12 +3,12 @@ declare (strict_types=1); namespace Rector\Nette\Naming; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; final class NetteControlNaming { public function createVariableName(string $shortName) : string { - $stringy = new \RectorPrefix20211129\Stringy\Stringy($shortName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($shortName); $variableName = (string) $stringy->camelize(); if (\substr_compare($variableName, 'Form', -\strlen('Form')) === 0) { return $variableName; @@ -17,7 +17,7 @@ final class NetteControlNaming } public function createCreateComponentClassMethodName(string $shortName) : string { - $stringy = new \RectorPrefix20211129\Stringy\Stringy($shortName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($shortName); $componentName = (string) $stringy->upperCamelize(); return 'createComponent' . $componentName; } diff --git a/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php b/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php index 677515721cb..d9e1da340ca 100644 --- a/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php +++ b/vendor/rector/rector-nette/src/NodeAnalyzer/ArrayDimFetchRenamer.php @@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Function_; use PhpParser\NodeTraverser; use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\Naming\VariableRenamer; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ArrayDimFetchRenamer { /** @@ -24,7 +24,7 @@ final class ArrayDimFetchRenamer * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; $this->nodeComparator = $nodeComparator; diff --git a/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php b/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php index 3ad503c5775..ce26389503d 100644 --- a/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php +++ b/vendor/rector/rector-nette/src/NodeFactory/CheckRequirementsClassMethodFactory.php @@ -10,8 +10,8 @@ use PhpParser\Node\Expr\Variable; use PhpParser\Node\Identifier; use PhpParser\Node\Name; use PhpParser\Node\Stmt\ClassMethod; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; final class CheckRequirementsClassMethodFactory { /** @@ -31,9 +31,9 @@ final class CheckRequirementsClassMethodFactory */ public function create(array $getUserStmts) : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::CHECK_REQUIREMENTS_METHOD_NAME); $methodBuilder->makePublic(); - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('element'); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('element'); $methodBuilder->addParam($paramBuilder); $methodBuilder->setReturnType('void'); $parentStaticCall = $this->creatParentStaticCall(); diff --git a/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php b/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php index 893e7dff2d9..80f0e560e91 100644 --- a/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php +++ b/vendor/rector/rector-nette/src/NodeFactory/ClassWithPublicPropertiesFactory.php @@ -6,10 +6,10 @@ namespace Rector\Nette\NodeFactory; use PhpParser\Node\NullableType; use PhpParser\Node\Stmt\Class_; use PhpParser\Node\Stmt\Namespace_; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder; /** * @see \Rector\Nette\Tests\NodeFactory\ClassWithPublicPropertiesFactory\ClassWithPublicPropertiesFactoryTest */ @@ -29,14 +29,14 @@ final class ClassWithPublicPropertiesFactory $namespace = \implode('\\', $namespaceParts); $namespaceBuilder = null; if ($namespace !== '') { - $namespaceBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); + $namespaceBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\NamespaceBuilder($namespace); } - $classBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className); + $classBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ClassBuilder($className); if ($parent !== null && $parent !== '') { $classBuilder->extend($this->fixFullyQualifiedName($parent)); } foreach ($traits as $trait) { - $classBuilder->addStmt(new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder($this->fixFullyQualifiedName($trait))); + $classBuilder->addStmt(new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\TraitUseBuilder($this->fixFullyQualifiedName($trait))); } foreach ($properties as $propertyName => $propertySettings) { $propertyType = $propertySettings['type']; @@ -44,7 +44,7 @@ final class ClassWithPublicPropertiesFactory if ($nullable) { $propertyType = new \PhpParser\Node\NullableType($propertyType); } - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($propertyName); $propertyBuilder->setType($propertyType); $classBuilder->addStmt($propertyBuilder); } diff --git a/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php b/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php index a1610b05b22..abb3c5ff3db 100644 --- a/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php +++ b/vendor/rector/rector-nette/src/NodeFactory/ParentGetterStmtsToExternalStmtsFactory.php @@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Return_; use PHPStan\Type\ObjectType; use Rector\Core\PhpParser\Comparing\NodeComparator; use Rector\NodeTypeResolver\NodeTypeResolver; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class ParentGetterStmtsToExternalStmtsFactory { /** @@ -28,7 +28,7 @@ final class ParentGetterStmtsToExternalStmtsFactory * @var \Rector\Core\PhpParser\Comparing\NodeComparator */ private $nodeComparator; - public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) + public function __construct(\Rector\NodeTypeResolver\NodeTypeResolver $nodeTypeResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Core\PhpParser\Comparing\NodeComparator $nodeComparator) { $this->nodeTypeResolver = $nodeTypeResolver; $this->simpleCallableNodeTraverser = $simpleCallableNodeTraverser; diff --git a/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php b/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php index f2a39280655..9968618ccc8 100644 --- a/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php +++ b/vendor/rector/rector-nette/src/Rector/Class_/FormDataRector.php @@ -16,7 +16,7 @@ use Rector\Nette\NodeFinder\FormOnSuccessCallbackValuesParamFinder; use Rector\Nette\NodeFinder\FormVariableFinder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see https://doc.nette.org/en/3.1/form-presenter#toc-mapping-to-classes * @see \Rector\Nette\Tests\Rector\Class_\FormDataRector\FormDataRectorTest @@ -112,13 +112,13 @@ CODE_SAMPLE { if (isset($configuration[self::FORM_DATA_CLASS_PARENT])) { $formDataClassParent = $configuration[self::FORM_DATA_CLASS_PARENT]; - \RectorPrefix20211129\Webmozart\Assert\Assert::string($formDataClassParent); + \RectorPrefix20211130\Webmozart\Assert\Assert::string($formDataClassParent); $this->formDataClassParent = $formDataClassParent; } if (isset($configuration[self::FORM_DATA_CLASS_TRAITS])) { $formDataClassTraits = $configuration[self::FORM_DATA_CLASS_TRAITS]; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($formDataClassTraits); - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($formDataClassTraits); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($formDataClassTraits); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($formDataClassTraits); $this->formDataClassTraits = $formDataClassTraits; } } diff --git a/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php b/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php index 73143221ac1..f48f7a40101 100644 --- a/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php +++ b/vendor/rector/rector-nette/src/Rector/Class_/TemplateTypeBasedOnPresenterTemplateParametersRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\Assign; use PhpParser\Node\Expr\PropertyFetch; @@ -19,7 +19,7 @@ use Rector\Nette\NodeFactory\ClassWithPublicPropertiesFactory; use Rector\Nette\ValueObject\LatteVariableType; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\Nette\Tests\Rector\Class_\TemplateTypeBasedOnPresenterTemplateParametersRector\TemplateTypeBasedOnPresenterTemplateParametersRectorTest */ @@ -109,12 +109,12 @@ CODE_SAMPLE { if (isset($configuration[self::TEMPLATE_CLASS_PARENT])) { $templateClassParent = $configuration[self::TEMPLATE_CLASS_PARENT]; - \RectorPrefix20211129\Webmozart\Assert\Assert::string($templateClassParent); + \RectorPrefix20211130\Webmozart\Assert\Assert::string($templateClassParent); $this->templateClassParent = $templateClassParent; } if (isset($configuration[self::TEMPLATE_CLASS_TRAITS])) { $templateClassTraits = $configuration[self::TEMPLATE_CLASS_TRAITS]; - \RectorPrefix20211129\Webmozart\Assert\Assert::isArray($templateClassTraits); + \RectorPrefix20211130\Webmozart\Assert\Assert::isArray($templateClassTraits); $this->templateClassTraits = $templateClassTraits; } } @@ -213,7 +213,7 @@ CODE_SAMPLE $upperCasedActionName = \ucfirst($actionName); $templateClassName = $presenterName . $upperCasedActionName . 'Template'; $presenterPattern = '#Presenter$#'; - $fullTemplateClassName = '\\' . \RectorPrefix20211129\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template'); + $fullTemplateClassName = '\\' . \RectorPrefix20211130\Nette\Utils\Strings::replace($fullPresenterName, $presenterPattern, $upperCasedActionName . 'Template'); $templateClass = $this->classWithPublicPropertiesFactory->createNode($fullTemplateClassName, $properties, $this->templateClassParent, $this->templateClassTraits); $printedClassContent = "betterStandardPrinter->print($templateClass) . "\n"; $smartFileInfo = $this->file->getSmartFileInfo(); diff --git a/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php b/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php index 5358da6bd1f..69b49deb50b 100644 --- a/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php +++ b/vendor/rector/rector-nette/src/Rector/FuncCall/PregFunctionToNetteUtilsStringsRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Rector\FuncCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr; @@ -178,7 +178,7 @@ CODE_SAMPLE if (!\is_string($patternValue)) { return; } - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($patternValue, self::SLASH_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($patternValue, self::SLASH_REGEX); if ($match === null) { return; } diff --git a/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php b/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php index 79d3d1a27da..65eccd3e65c 100644 --- a/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php +++ b/vendor/rector/rector-nette/src/Rector/LNumber/ReplaceTimeNumberWithDateTimeConstantRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Rector\LNumber; -use RectorPrefix20211129\Nette\Utils\DateTime; +use RectorPrefix20211130\Nette\Utils\DateTime; use PhpParser\Node; use PhpParser\Node\Scalar\LNumber; use Rector\Core\Rector\AbstractRector; @@ -18,7 +18,7 @@ final class ReplaceTimeNumberWithDateTimeConstantRector extends \Rector\Core\Rec * @noRector * @var array */ - private const NUMBER_TO_CONSTANT_NAME = [\RectorPrefix20211129\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20211129\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20211129\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20211129\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20211129\Nette\Utils\DateTime::YEAR => 'YEAR']; + private const NUMBER_TO_CONSTANT_NAME = [\RectorPrefix20211130\Nette\Utils\DateTime::HOUR => 'HOUR', \RectorPrefix20211130\Nette\Utils\DateTime::DAY => 'DAY', \RectorPrefix20211130\Nette\Utils\DateTime::WEEK => 'WEEK', \RectorPrefix20211130\Nette\Utils\DateTime::MONTH => 'MONTH', \RectorPrefix20211130\Nette\Utils\DateTime::YEAR => 'YEAR']; public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition { return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Replace time numbers with Nette\\Utils\\DateTime constants', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(<<<'CODE_SAMPLE' diff --git a/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php b/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php index 0dd8067d35b..0d662a95d11 100644 --- a/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php +++ b/vendor/rector/rector-nette/src/Rector/Neon/RenameMethodNeonRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Nette\Rector\Neon; -use RectorPrefix20211129\Nette\Neon\Node; +use RectorPrefix20211130\Nette\Neon\Node; use Rector\Nette\Contract\Rector\NeonRectorInterface; use Rector\Nette\NeonParser\Node\Service_\SetupMethodCall; use Rector\Renaming\Collector\MethodCallRenameCollector; @@ -50,7 +50,7 @@ CODE_SAMPLE * @param SetupMethodCall $node * @return \Nette\Neon\Node|null */ - public function enterNode(\RectorPrefix20211129\Nette\Neon\Node $node) + public function enterNode(\RectorPrefix20211130\Nette\Neon\Node $node) { foreach ($this->methodCallRenameCollector->getMethodCallRenames() as $methodCallRename) { if (!\is_a($node->className, $methodCallRename->getClass(), \true)) { diff --git a/vendor/rector/rector-phpoffice/config/config.php b/vendor/rector/rector-phpoffice/config/config.php index 8a5591b2429..10e41c80e83 100644 --- a/vendor/rector/rector-phpoffice/config/config.php +++ b/vendor/rector/rector-phpoffice/config/config.php @@ -1,7 +1,7 @@ args[0]]); } } diff --git a/vendor/rector/rector-phpunit/config/config.php b/vendor/rector/rector-phpunit/config/config.php index 0c1f935406f..73b533b8a10 100644 --- a/vendor/rector/rector-phpunit/config/config.php +++ b/vendor/rector/rector-phpunit/config/config.php @@ -1,7 +1,7 @@ getMethodName()); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($dataProviderClassMethodRecipe->getMethodName()); $methodBuilder->makePublic(); $classMethod = $methodBuilder->getNode(); foreach ($dataProviderClassMethodRecipe->getArgs() as $arg) { diff --git a/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php b/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php index be0186a36ca..c1c5a3da488 100644 --- a/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php +++ b/vendor/rector/rector-phpunit/src/NodeFactory/SetUpClassMethodFactory.php @@ -12,7 +12,7 @@ use Rector\Core\PhpParser\Node\NodeFactory; use Rector\Core\ValueObject\MethodName; use Rector\PhpSpecToPHPUnit\PHPUnitTypeDeclarationDecorator; use Rector\PHPUnit\NodeManipulator\StmtManipulator; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; final class SetUpClassMethodFactory { /** @@ -39,7 +39,7 @@ final class SetUpClassMethodFactory public function createSetUpMethod(array $stmts) : \PhpParser\Node\Stmt\ClassMethod { $stmts = $this->stmtManipulator->normalizeStmts($stmts); - $classMethodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::SET_UP); + $classMethodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(\Rector\Core\ValueObject\MethodName::SET_UP); $classMethodBuilder->makeProtected(); $classMethodBuilder->addStmt($this->createParentStaticCall()); $classMethodBuilder->addStmts($stmts); diff --git a/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php b/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php index c2a538d5569..07d54d6a1f4 100644 --- a/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php +++ b/vendor/rector/rector-phpunit/src/Rector/ClassMethod/AddDoesNotPerformAssertionToNonAssertingTestRector.php @@ -10,7 +10,7 @@ use PhpParser\Node\Stmt\ClassMethod; use PHPStan\PhpDocParser\Ast\PhpDoc\GenericTagValueNode; use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode; use PHPStan\Type\TypeWithClassName; -use RectorPrefix20211129\PHPUnit\Framework\MockObject\MockBuilder; +use RectorPrefix20211130\PHPUnit\Framework\MockObject\MockBuilder; use Rector\Core\PhpParser\AstResolver; use Rector\Core\Rector\AbstractRector; use Rector\PHPUnit\NodeAnalyzer\TestsNodeAnalyzer; @@ -145,7 +145,7 @@ CODE_SAMPLE return (bool) $this->betterNodeFinder->findFirst((array) $classMethod->stmts, function (\PhpParser\Node $node) : bool { if ($node instanceof \PhpParser\Node\Expr\MethodCall) { $type = $this->nodeTypeResolver->getType($node->var); - if ($type instanceof \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType && $type->getClassName() === \RectorPrefix20211129\PHPUnit\Framework\MockObject\MockBuilder::class) { + if ($type instanceof \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType && $type->getClassName() === \RectorPrefix20211130\PHPUnit\Framework\MockObject\MockBuilder::class) { return \true; } return $this->isNames($node->name, [ diff --git a/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php b/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php index 6c670d97e95..604195fc14d 100644 --- a/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php +++ b/vendor/rector/rector-phpunit/src/Rector/Class_/ArrayArgumentToDataProviderRector.php @@ -17,7 +17,7 @@ use PHPStan\PhpDocParser\Ast\PhpDoc\PhpDocTagNode; use PHPStan\PhpDocParser\Ast\Type\TypeNode; use PHPStan\Type\Type; use PHPStan\Type\UnionType; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\PHPUnit\Framework\TestCase; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Rector\AbstractRector; @@ -30,7 +30,7 @@ use Rector\PHPUnit\ValueObject\DataProviderClassMethodRecipe; use Rector\PHPUnit\ValueObject\ParamAndArg; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Rector\PHPUnit\Tests\Rector\Class_\ArrayArgumentToDataProviderRector\ArrayArgumentToDataProviderRectorTest * @@ -103,7 +103,7 @@ class SomeServiceTest extends TestCase } } CODE_SAMPLE -, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20211129\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]); +, [self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS => [new \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider(\RectorPrefix20211130\PHPUnit\Framework\TestCase::class, 'doTestMultiple', 'doTestSingle', 'number')]])]); } /** * @return array> @@ -143,7 +143,7 @@ CODE_SAMPLE public function configure(array $arrayArgumentsToDataProviders) : void { $arrayArgumentsToDataProviders = $arrayArgumentsToDataProviders[self::ARRAY_ARGUMENTS_TO_DATA_PROVIDERS] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allIsInstanceOf($arrayArgumentsToDataProviders, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider::class); + \RectorPrefix20211130\Webmozart\Assert\Assert::allIsInstanceOf($arrayArgumentsToDataProviders, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider::class); $this->arrayArgumentsToDataProviders = $arrayArgumentsToDataProviders; } private function refactorMethodCallWithConfiguration(\PhpParser\Node\Expr\MethodCall $methodCall, \Rector\PHPUnit\ValueObject\ArrayArgumentToDataProvider $arrayArgumentToDataProvider) : void diff --git a/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php b/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php index 2642b9855d4..e8d3135dd02 100644 --- a/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php +++ b/vendor/rector/rector-phpunit/src/Rector/Class_/RemoveDataProviderTestPrefixRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\PHPUnit\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\Class_; @@ -107,7 +107,7 @@ CODE_SAMPLE continue; } $newMethodName = $this->createNewMethodName($oldMethodName); - $dataProviderTagValueNode->value->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName); + $dataProviderTagValueNode->value->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($oldMethodName, '#' . \preg_quote($oldMethodName, '#') . '#', $newMethodName); // invoke reprint $dataProviderTagValueNode->setAttribute(\Rector\BetterPhpDocParser\ValueObject\PhpDocAttributeKey::START_AND_END, null); $phpDocInfo->markAsChanged(); @@ -130,7 +130,7 @@ CODE_SAMPLE } private function createNewMethodName(string $oldMethodName) : string { - $newMethodName = \RectorPrefix20211129\Nette\Utils\Strings::substring($oldMethodName, \strlen('test')); + $newMethodName = \RectorPrefix20211130\Nette\Utils\Strings::substring($oldMethodName, \strlen('test')); return \lcfirst($newMethodName); } } diff --git a/vendor/rector/rector-symfony/config/config.php b/vendor/rector/rector-symfony/config/config.php index 79af7b8b2f7..b9e9f9b1878 100644 --- a/vendor/rector/rector-symfony/config/config.php +++ b/vendor/rector/rector-symfony/config/config.php @@ -1,12 +1,12 @@ parameters(); $parameters->set(\Rector\Core\Configuration\Option::SYMFONY_CONTAINER_XML_PATH_PARAMETER, null); @@ -14,5 +14,5 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->defaults()->public()->autowire()->autoconfigure(); $services->load('Rector\\Symfony\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/{Rector,ValueObject}']); $services->set(\Rector\Core\NonPhpFile\Rector\RenameClassNonPhpRector::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem::class); }; diff --git a/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php b/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php index 960762a09b1..f80582993af 100644 --- a/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php +++ b/vendor/rector/rector-symfony/config/sets/jms/remove-jms-inject.php @@ -1,7 +1,7 @@ services(); // @see https://github.com/symplify/monorepo-builder#6-release-flow - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); - $services->set(\RectorPrefix20211129\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\TagVersionReleaseWorker::class); + $services->set(\RectorPrefix20211130\Symplify\MonorepoBuilder\Release\ReleaseWorker\PushTagReleaseWorker::class); }; diff --git a/vendor/rector/rector-symfony/rector.php b/vendor/rector/rector-symfony/rector.php index 287c44afa93..efafe6c49b9 100644 --- a/vendor/rector/rector-symfony/rector.php +++ b/vendor/rector/rector-symfony/rector.php @@ -1,7 +1,7 @@ parameterProvider = $parameterProvider; $this->serviceMapFactory = $serviceMapFactory; diff --git a/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php b/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php index 9127754e601..536a2f32458 100644 --- a/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php +++ b/vendor/rector/rector-symfony/src/FormHelper/FormTypeStringToTypeProvider.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\FormHelper; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Symfony\Contract\Tag\TagInterface; use Rector\Symfony\DataProvider\ServiceMapProvider; final class FormTypeStringToTypeProvider @@ -28,7 +28,7 @@ final class FormTypeStringToTypeProvider { $nameToTypeMap = $this->getNameToTypeMap(); if (\strncmp($name, 'form.type.', \strlen('form.type.')) === 0) { - $name = \RectorPrefix20211129\Nette\Utils\Strings::substring($name, \strlen('form.type.')); + $name = \RectorPrefix20211130\Nette\Utils\Strings::substring($name, \strlen('form.type.')); } return $nameToTypeMap[$name] ?? null; } diff --git a/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php b/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php index 68d4d7eb391..d93f4cf81cb 100644 --- a/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php +++ b/vendor/rector/rector-symfony/src/Helper/TemplateGuesser.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Helper; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node\Stmt\ClassMethod; use PHPStan\Analyser\Scope; use Rector\Core\Exception\ShouldNotHappenException; @@ -78,7 +78,7 @@ final class TemplateGuesser { $bundle = $this->resolveBundle($class, $namespace); $controller = $this->resolveController($class); - $action = \RectorPrefix20211129\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, ''); + $action = \RectorPrefix20211130\Nette\Utils\Strings::replace($method, self::ACTION_MATCH_REGEX, ''); $fullPath = ''; if ($bundle !== '') { $fullPath .= $bundle . '/'; @@ -94,17 +94,17 @@ final class TemplateGuesser if ($shortBundleClass !== null) { return '@' . $shortBundleClass; } - $bundle = \RectorPrefix20211129\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? ''; - $bundle = \RectorPrefix20211129\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, ''); + $bundle = \RectorPrefix20211130\Nette\Utils\Strings::match($namespace, self::BUNDLE_NAME_MATCHING_REGEX)['bundle'] ?? ''; + $bundle = \RectorPrefix20211130\Nette\Utils\Strings::replace($bundle, self::BUNDLE_SUFFIX_REGEX, ''); return $bundle !== '' ? '@' . $bundle : ''; } private function resolveController(string $class) : string { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($class, self::CONTROLLER_NAME_MATCH_REGEX); if ($match === null) { return ''; } - $controller = \RectorPrefix20211129\Nette\Utils\Strings::replace($match['class_name_without_suffix'], self::SMALL_LETTER_BIG_LETTER_REGEX, '1_\\2'); + $controller = \RectorPrefix20211130\Nette\Utils\Strings::replace($match['class_name_without_suffix'], self::SMALL_LETTER_BIG_LETTER_REGEX, '1_\\2'); return \str_replace('\\', '/', $controller); } } diff --git a/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php b/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php index 5cc1b596d00..93ebb8c0f24 100644 --- a/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php +++ b/vendor/rector/rector-symfony/src/NodeFactory/OnSuccessLogoutClassMethodFactory.php @@ -15,7 +15,7 @@ use PhpParser\Node\Stmt\Return_; use Rector\Core\PhpParser\Node\NodeFactory; use Rector\NodeNameResolver\NodeNameResolver; use Rector\NodeTypeResolver\Node\AttributeKey; -use RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; +use RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser; final class OnSuccessLogoutClassMethodFactory { /** @@ -38,7 +38,7 @@ final class OnSuccessLogoutClassMethodFactory * @var \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory */ private $bareLogoutClassMethodFactory; - public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory $bareLogoutClassMethodFactory) + public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeTraverser\SimpleCallableNodeTraverser $simpleCallableNodeTraverser, \Rector\Symfony\NodeFactory\BareLogoutClassMethodFactory $bareLogoutClassMethodFactory) { $this->nodeFactory = $nodeFactory; $this->nodeNameResolver = $nodeNameResolver; diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php index 08cbb10333b..49ebd93a194 100644 --- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php +++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/ActionSuffixRemoverRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\ClassMethod; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Stmt\ClassMethod; @@ -65,7 +65,7 @@ CODE_SAMPLE private function removeSuffix(\PhpParser\Node\Stmt\ClassMethod $classMethod, string $suffixToRemove) : void { $name = $this->nodeNameResolver->getName($classMethod); - $newName = \RectorPrefix20211129\Nette\Utils\Strings::replace($name, \sprintf('#%s$#', $suffixToRemove), ''); + $newName = \RectorPrefix20211130\Nette\Utils\Strings::replace($name, \sprintf('#%s$#', $suffixToRemove), ''); $classMethod->name = new \PhpParser\Node\Identifier($newName); } } diff --git a/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php b/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php index dd6832a0930..dcce18bdb83 100644 --- a/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php +++ b/vendor/rector/rector-symfony/src/Rector/ClassMethod/RemoveDefaultGetBlockPrefixRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\ClassMethod; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Stmt\Class_; @@ -13,7 +13,7 @@ use PhpParser\Node\Stmt\Return_; use PHPStan\Type\ObjectType; use Rector\Core\Exception\ShouldNotHappenException; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -75,9 +75,9 @@ CODE_SAMPLE } $shortClassName = $this->nodeNameResolver->getShortName($className); if (\substr_compare($shortClassName, 'Type', -\strlen('Type')) === 0) { - $shortClassName = (string) \RectorPrefix20211129\Nette\Utils\Strings::before($shortClassName, 'Type'); + $shortClassName = (string) \RectorPrefix20211130\Nette\Utils\Strings::before($shortClassName, 'Type'); } - $stringy = new \RectorPrefix20211129\Stringy\Stringy($shortClassName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($shortClassName); $underscoredClassShortName = (string) $stringy->underscored(); if ($underscoredClassShortName !== $returnedValue) { return null; diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php index a104f72d905..db87e6eb747 100644 --- a/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php +++ b/vendor/rector/rector-symfony/src/Rector/Class_/ChangeFileLoaderInExtensionAndKernelRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PhpParser\Node\Expr\New_; @@ -15,9 +15,9 @@ use PHPStan\Type\ObjectType; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Rector\Symfony\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\XmlFileLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\XmlFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -161,7 +161,7 @@ CODE_SAMPLE if (!$node instanceof \PhpParser\Node\Scalar\String_) { return null; } - $node->value = \RectorPrefix20211129\Nette\Utils\Strings::replace($node->value, '#\\.' . $from . '$#', '.' . $to); + $node->value = \RectorPrefix20211130\Nette\Utils\Strings::replace($node->value, '#\\.' . $from . '$#', '.' . $to); return $node; }); } diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php index 0d53529836a..678da24f584 100644 --- a/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php +++ b/vendor/rector/rector-symfony/src/Rector/Class_/EventListenerToEventSubscriberRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\Class_; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Identifier; use PhpParser\Node\Name\FullyQualified; @@ -154,7 +154,7 @@ CODE_SAMPLE $class->implements[] = new \PhpParser\Node\Name\FullyQualified(self::EVENT_SUBSCRIBER_INTERFACE); $classShortName = $this->nodeNameResolver->getShortName($class); // remove suffix - $classShortName = \RectorPrefix20211129\Nette\Utils\Strings::replace($classShortName, self::LISTENER_MATCH_REGEX, '$1'); + $classShortName = \RectorPrefix20211130\Nette\Utils\Strings::replace($classShortName, self::LISTENER_MATCH_REGEX, '$1'); $class->name = new \PhpParser\Node\Identifier($classShortName . 'EventSubscriber'); $classMethod = $this->getSubscribedEventsClassMethodFactory->createFromServiceDefinitionsAndEventsToMethods($eventsToMethods, $this->eventNamesToClassConstants); $class->stmts[] = $classMethod; diff --git a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php index 5c570ff6d51..e7ea25a0cf4 100644 --- a/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php +++ b/vendor/rector/rector-symfony/src/Rector/Class_/MakeCommandLazyRector.php @@ -17,7 +17,7 @@ use PHPStan\Type\StringType; use Rector\Core\NodeAnalyzer\ParamAnalyzer; use Rector\Core\Rector\AbstractRector; use Rector\Core\ValueObject\MethodName; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -186,7 +186,7 @@ CODE_SAMPLE } private function createStaticProtectedPropertyWithDefault(string $name, \PhpParser\Node $node) : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder($name); $propertyBuilder->makeProtected(); $propertyBuilder->makeStatic(); $propertyBuilder->setDefault($node); diff --git a/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php b/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php index c8b6876009b..20a553bc023 100644 --- a/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php +++ b/vendor/rector/rector-symfony/src/Rector/MethodCall/GetParameterToConstructorInjectionRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\MethodCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\MethodCall; @@ -102,7 +102,7 @@ CODE_SAMPLE return null; } $parameterName = $stringArgument->value; - $parameterName = \RectorPrefix20211129\Nette\Utils\Strings::replace($parameterName, '#\\.#', '_'); + $parameterName = \RectorPrefix20211130\Nette\Utils\Strings::replace($parameterName, '#\\.#', '_'); $propertyName = $this->propertyNaming->underscoreToName($parameterName); $class = $this->betterNodeFinder->findParentType($node, \PhpParser\Node\Stmt\Class_::class); if (!$class instanceof \PhpParser\Node\Stmt\Class_) { diff --git a/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php b/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php index 27f1d84fe4f..cb7cccac0db 100644 --- a/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php +++ b/vendor/rector/rector-symfony/src/Rector/New_/StringToArrayArgumentProcessRector.php @@ -17,8 +17,8 @@ use PHPStan\Type\ObjectType; use PHPStan\Type\StringType; use Rector\Core\PhpParser\NodeTransformer; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Symfony\Component\Console\Input\StringInput; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller; +use RectorPrefix20211130\Symfony\Component\Console\Input\StringInput; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -130,8 +130,8 @@ CODE_SAMPLE */ private function splitProcessCommandToItems(string $process) : array { - $privatesCaller = new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller(); - return $privatesCaller->callPrivateMethod(new \RectorPrefix20211129\Symfony\Component\Console\Input\StringInput(''), 'tokenize', [$process]); + $privatesCaller = new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + return $privatesCaller->callPrivateMethod(new \RectorPrefix20211130\Symfony\Component\Console\Input\StringInput(''), 'tokenize', [$process]); } private function processPreviousAssign(\PhpParser\Node $node, \PhpParser\Node\Expr $firstArgumentExpr) : void { diff --git a/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php b/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php index 9ef8c15c774..c3e6df7ab0d 100644 --- a/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php +++ b/vendor/rector/rector-symfony/src/Rector/StaticCall/ParseFileRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Rector\Symfony\Rector\StaticCall; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Arg; use PhpParser\Node\Expr\StaticCall; @@ -91,6 +91,6 @@ final class ParseFileRector extends \Rector\Core\Rector\AbstractRector if (!$nodeType instanceof \PHPStan\Type\Constant\ConstantStringType) { return \false; } - return (bool) \RectorPrefix20211129\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX); + return (bool) \RectorPrefix20211130\Nette\Utils\Strings::match($nodeType->getValue(), self::YAML_SUFFIX_REGEX); } } diff --git a/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php b/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php index 370ccaf6eae..37b93b8997c 100644 --- a/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php +++ b/vendor/rector/rector-symfony/src/ValueObjectFactory/ServiceMapFactory.php @@ -3,15 +3,15 @@ declare (strict_types=1); namespace Rector\Symfony\ValueObjectFactory; -use RectorPrefix20211129\Nette\Utils\Json; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Json; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Symfony\Exception\XmlContainerNotExistsException; use Rector\Symfony\ValueObject\ServiceDefinition; use Rector\Symfony\ValueObject\ServiceMap\ServiceMap; use Rector\Symfony\ValueObject\Tag; use Rector\Symfony\ValueObject\Tag\EventListenerTag; use SimpleXMLElement; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class ServiceMapFactory { /** @@ -22,7 +22,7 @@ final class ServiceMapFactory * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->smartFileSystem = $smartFileSystem; } @@ -85,7 +85,7 @@ final class ServiceMapFactory private function createServiceFromXmlAndTagsData(\SimpleXMLElement $attrs, array $tags) : \Rector\Symfony\ValueObject\ServiceDefinition { $tags = $this->createTagsFromData($tags); - return new \Rector\Symfony\ValueObject\ServiceDefinition(\strncmp((string) $attrs->id, '.', \strlen('.')) === 0 ? \RectorPrefix20211129\Nette\Utils\Strings::substring((string) $attrs->id, 1) : (string) $attrs->id, \property_exists($attrs, 'class') && $attrs->class !== null ? (string) $attrs->class : null, !(\property_exists($attrs, 'public') && $attrs->public !== null) || (string) $attrs->public !== 'false', \property_exists($attrs, 'synthetic') && $attrs->synthetic !== null && (string) $attrs->synthetic === 'true', \property_exists($attrs, 'alias') && $attrs->alias !== null ? (string) $attrs->alias : null, $tags); + return new \Rector\Symfony\ValueObject\ServiceDefinition(\strncmp((string) $attrs->id, '.', \strlen('.')) === 0 ? \RectorPrefix20211130\Nette\Utils\Strings::substring((string) $attrs->id, 1) : (string) $attrs->id, \property_exists($attrs, 'class') && $attrs->class !== null ? (string) $attrs->class : null, !(\property_exists($attrs, 'public') && $attrs->public !== null) || (string) $attrs->public !== 'false', \property_exists($attrs, 'synthetic') && $attrs->synthetic !== null && (string) $attrs->synthetic === 'true', \property_exists($attrs, 'alias') && $attrs->alias !== null ? (string) $attrs->alias : null, $tags); } /** * @param ServiceDefinition[] $aliases @@ -135,7 +135,7 @@ final class ServiceMapFactory */ private function convertXmlToArray(\SimpleXMLElement $simpleXMLElement) : array { - $data = \RectorPrefix20211129\Nette\Utils\Json::decode(\RectorPrefix20211129\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + $data = \RectorPrefix20211130\Nette\Utils\Json::decode(\RectorPrefix20211130\Nette\Utils\Json::encode((array) $simpleXMLElement), \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); $data = $this->unWrapAttributes($data); foreach ($data as $key => $value) { if (\is_array($value)) { diff --git a/vendor/scoper-autoload.php b/vendor/scoper-autoload.php index 857e1d0f01a..179d17f1de9 100644 --- a/vendor/scoper-autoload.php +++ b/vendor/scoper-autoload.php @@ -7,258 +7,258 @@ $loader = require_once __DIR__.'/autoload.php'; // Aliases for the whitelisted classes. For more information see: // https://github.com/humbug/php-scoper/blob/master/README.md#class-whitelisting if (!class_exists('GenerateChangelogCommand', false) && !interface_exists('GenerateChangelogCommand', false) && !trait_exists('GenerateChangelogCommand', false)) { - spl_autoload_call('RectorPrefix20211129\GenerateChangelogCommand'); + spl_autoload_call('RectorPrefix20211130\GenerateChangelogCommand'); } if (!class_exists('AutoloadIncluder', false) && !interface_exists('AutoloadIncluder', false) && !trait_exists('AutoloadIncluder', false)) { - spl_autoload_call('RectorPrefix20211129\AutoloadIncluder'); + spl_autoload_call('RectorPrefix20211130\AutoloadIncluder'); } -if (!class_exists('ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919', false) && !interface_exists('ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919', false) && !trait_exists('ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919', false)) { - spl_autoload_call('RectorPrefix20211129\ComposerAutoloaderInitff30269c2f4719ad9043c1ad4459d919'); +if (!class_exists('ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811', false) && !interface_exists('ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811', false) && !trait_exists('ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811', false)) { + spl_autoload_call('RectorPrefix20211130\ComposerAutoloaderInitb8d662794f5de5f0d235536c500a2811'); } 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('RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Statement'); + spl_autoload_call('RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Statement'); } if (!class_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !interface_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false) && !trait_exists('Helmich\TypoScriptParser\Parser\Traverser\Traverser', false)) { - spl_autoload_call('RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\Traverser'); + spl_autoload_call('RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\Traverser'); } if (!class_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !interface_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false) && !trait_exists('Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator', false)) { - spl_autoload_call('RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator'); + spl_autoload_call('RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator'); } if (!class_exists('Normalizer', false) && !interface_exists('Normalizer', false) && !trait_exists('Normalizer', false)) { - spl_autoload_call('RectorPrefix20211129\Normalizer'); + spl_autoload_call('RectorPrefix20211130\Normalizer'); } if (!class_exists('JsonException', false) && !interface_exists('JsonException', false) && !trait_exists('JsonException', false)) { - spl_autoload_call('RectorPrefix20211129\JsonException'); + spl_autoload_call('RectorPrefix20211130\JsonException'); } if (!class_exists('Attribute', false) && !interface_exists('Attribute', false) && !trait_exists('Attribute', false)) { - spl_autoload_call('RectorPrefix20211129\Attribute'); + spl_autoload_call('RectorPrefix20211130\Attribute'); } if (!class_exists('Stringable', false) && !interface_exists('Stringable', false) && !trait_exists('Stringable', false)) { - spl_autoload_call('RectorPrefix20211129\Stringable'); + spl_autoload_call('RectorPrefix20211130\Stringable'); } if (!class_exists('UnhandledMatchError', false) && !interface_exists('UnhandledMatchError', false) && !trait_exists('UnhandledMatchError', false)) { - spl_autoload_call('RectorPrefix20211129\UnhandledMatchError'); + spl_autoload_call('RectorPrefix20211130\UnhandledMatchError'); } if (!class_exists('ValueError', false) && !interface_exists('ValueError', false) && !trait_exists('ValueError', false)) { - spl_autoload_call('RectorPrefix20211129\ValueError'); + spl_autoload_call('RectorPrefix20211130\ValueError'); } if (!class_exists('ReturnTypeWillChange', false) && !interface_exists('ReturnTypeWillChange', false) && !trait_exists('ReturnTypeWillChange', false)) { - spl_autoload_call('RectorPrefix20211129\ReturnTypeWillChange'); + spl_autoload_call('RectorPrefix20211130\ReturnTypeWillChange'); } if (!class_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !interface_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false) && !trait_exists('Symplify\ComposerJsonManipulator\ValueObject\ComposerJson', false)) { - spl_autoload_call('RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson'); + spl_autoload_call('RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson'); } if (!class_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !interface_exists('Symplify\SmartFileSystem\SmartFileInfo', false) && !trait_exists('Symplify\SmartFileSystem\SmartFileInfo', false)) { - spl_autoload_call('RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileInfo'); + spl_autoload_call('RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileInfo'); } if (!class_exists('Test', false) && !interface_exists('Test', false) && !trait_exists('Test', false)) { - spl_autoload_call('RectorPrefix20211129\Test'); + spl_autoload_call('RectorPrefix20211130\Test'); } if (!class_exists('ParentClass', false) && !interface_exists('ParentClass', false) && !trait_exists('ParentClass', false)) { - spl_autoload_call('RectorPrefix20211129\ParentClass'); + spl_autoload_call('RectorPrefix20211130\ParentClass'); } if (!class_exists('ChildClass', false) && !interface_exists('ChildClass', false) && !trait_exists('ChildClass', false)) { - spl_autoload_call('RectorPrefix20211129\ChildClass'); + spl_autoload_call('RectorPrefix20211130\ChildClass'); } if (!class_exists('DemoClass', false) && !interface_exists('DemoClass', false) && !trait_exists('DemoClass', false)) { - spl_autoload_call('RectorPrefix20211129\DemoClass'); + spl_autoload_call('RectorPrefix20211130\DemoClass'); } // Functions whitelisting. For more information see: // https://github.com/humbug/php-scoper/blob/master/README.md#functions-whitelisting if (!function_exists('dn')) { function dn() { - return \RectorPrefix20211129\dn(...func_get_args()); + return \RectorPrefix20211130\dn(...func_get_args()); } } if (!function_exists('dump_node')) { function dump_node() { - return \RectorPrefix20211129\dump_node(...func_get_args()); + return \RectorPrefix20211130\dump_node(...func_get_args()); } } if (!function_exists('print_node')) { function print_node() { - return \RectorPrefix20211129\print_node(...func_get_args()); + return \RectorPrefix20211130\print_node(...func_get_args()); } } -if (!function_exists('composerRequireff30269c2f4719ad9043c1ad4459d919')) { - function composerRequireff30269c2f4719ad9043c1ad4459d919() { - return \RectorPrefix20211129\composerRequireff30269c2f4719ad9043c1ad4459d919(...func_get_args()); +if (!function_exists('composerRequireb8d662794f5de5f0d235536c500a2811')) { + function composerRequireb8d662794f5de5f0d235536c500a2811() { + return \RectorPrefix20211130\composerRequireb8d662794f5de5f0d235536c500a2811(...func_get_args()); } } if (!function_exists('scanPath')) { function scanPath() { - return \RectorPrefix20211129\scanPath(...func_get_args()); + return \RectorPrefix20211130\scanPath(...func_get_args()); } } if (!function_exists('lintFile')) { function lintFile() { - return \RectorPrefix20211129\lintFile(...func_get_args()); + return \RectorPrefix20211130\lintFile(...func_get_args()); } } if (!function_exists('parseArgs')) { function parseArgs() { - return \RectorPrefix20211129\parseArgs(...func_get_args()); + return \RectorPrefix20211130\parseArgs(...func_get_args()); } } if (!function_exists('showHelp')) { function showHelp() { - return \RectorPrefix20211129\showHelp(...func_get_args()); + return \RectorPrefix20211130\showHelp(...func_get_args()); } } if (!function_exists('formatErrorMessage')) { function formatErrorMessage() { - return \RectorPrefix20211129\formatErrorMessage(...func_get_args()); + return \RectorPrefix20211130\formatErrorMessage(...func_get_args()); } } if (!function_exists('preprocessGrammar')) { function preprocessGrammar() { - return \RectorPrefix20211129\preprocessGrammar(...func_get_args()); + return \RectorPrefix20211130\preprocessGrammar(...func_get_args()); } } if (!function_exists('resolveNodes')) { function resolveNodes() { - return \RectorPrefix20211129\resolveNodes(...func_get_args()); + return \RectorPrefix20211130\resolveNodes(...func_get_args()); } } if (!function_exists('resolveMacros')) { function resolveMacros() { - return \RectorPrefix20211129\resolveMacros(...func_get_args()); + return \RectorPrefix20211130\resolveMacros(...func_get_args()); } } if (!function_exists('resolveStackAccess')) { function resolveStackAccess() { - return \RectorPrefix20211129\resolveStackAccess(...func_get_args()); + return \RectorPrefix20211130\resolveStackAccess(...func_get_args()); } } if (!function_exists('magicSplit')) { function magicSplit() { - return \RectorPrefix20211129\magicSplit(...func_get_args()); + return \RectorPrefix20211130\magicSplit(...func_get_args()); } } if (!function_exists('assertArgs')) { function assertArgs() { - return \RectorPrefix20211129\assertArgs(...func_get_args()); + return \RectorPrefix20211130\assertArgs(...func_get_args()); } } if (!function_exists('removeTrailingWhitespace')) { function removeTrailingWhitespace() { - return \RectorPrefix20211129\removeTrailingWhitespace(...func_get_args()); + return \RectorPrefix20211130\removeTrailingWhitespace(...func_get_args()); } } if (!function_exists('regex')) { function regex() { - return \RectorPrefix20211129\regex(...func_get_args()); + return \RectorPrefix20211130\regex(...func_get_args()); } } if (!function_exists('execCmd')) { function execCmd() { - return \RectorPrefix20211129\execCmd(...func_get_args()); + return \RectorPrefix20211130\execCmd(...func_get_args()); } } if (!function_exists('ensureDirExists')) { function ensureDirExists() { - return \RectorPrefix20211129\ensureDirExists(...func_get_args()); + return \RectorPrefix20211130\ensureDirExists(...func_get_args()); } } if (!function_exists('uv_signal_init')) { function uv_signal_init() { - return \RectorPrefix20211129\uv_signal_init(...func_get_args()); + return \RectorPrefix20211130\uv_signal_init(...func_get_args()); } } if (!function_exists('uv_signal_start')) { function uv_signal_start() { - return \RectorPrefix20211129\uv_signal_start(...func_get_args()); + return \RectorPrefix20211130\uv_signal_start(...func_get_args()); } } if (!function_exists('uv_poll_init_socket')) { function uv_poll_init_socket() { - return \RectorPrefix20211129\uv_poll_init_socket(...func_get_args()); + return \RectorPrefix20211130\uv_poll_init_socket(...func_get_args()); } } if (!function_exists('setproctitle')) { function setproctitle() { - return \RectorPrefix20211129\setproctitle(...func_get_args()); + return \RectorPrefix20211130\setproctitle(...func_get_args()); } } if (!function_exists('trigger_deprecation')) { function trigger_deprecation() { - return \RectorPrefix20211129\trigger_deprecation(...func_get_args()); + return \RectorPrefix20211130\trigger_deprecation(...func_get_args()); } } if (!function_exists('array_is_list')) { function array_is_list() { - return \RectorPrefix20211129\array_is_list(...func_get_args()); + return \RectorPrefix20211130\array_is_list(...func_get_args()); } } if (!function_exists('enum_exists')) { function enum_exists() { - return \RectorPrefix20211129\enum_exists(...func_get_args()); + return \RectorPrefix20211130\enum_exists(...func_get_args()); } } if (!function_exists('includeIfExists')) { function includeIfExists() { - return \RectorPrefix20211129\includeIfExists(...func_get_args()); + return \RectorPrefix20211130\includeIfExists(...func_get_args()); } } if (!function_exists('bdump')) { function bdump() { - return \RectorPrefix20211129\bdump(...func_get_args()); + return \RectorPrefix20211130\bdump(...func_get_args()); } } if (!function_exists('this_is_fatal_error')) { function this_is_fatal_error() { - return \RectorPrefix20211129\this_is_fatal_error(...func_get_args()); + return \RectorPrefix20211130\this_is_fatal_error(...func_get_args()); } } if (!function_exists('dump')) { function dump() { - return \RectorPrefix20211129\dump(...func_get_args()); + return \RectorPrefix20211130\dump(...func_get_args()); } } if (!function_exists('demo')) { function demo() { - return \RectorPrefix20211129\demo(...func_get_args()); + return \RectorPrefix20211130\demo(...func_get_args()); } } if (!function_exists('first')) { function first() { - return \RectorPrefix20211129\first(...func_get_args()); + return \RectorPrefix20211130\first(...func_get_args()); } } if (!function_exists('second')) { function second() { - return \RectorPrefix20211129\second(...func_get_args()); + return \RectorPrefix20211130\second(...func_get_args()); } } if (!function_exists('third')) { function third() { - return \RectorPrefix20211129\third(...func_get_args()); + return \RectorPrefix20211130\third(...func_get_args()); } } if (!function_exists('foo')) { function foo() { - return \RectorPrefix20211129\foo(...func_get_args()); + return \RectorPrefix20211130\foo(...func_get_args()); } } if (!function_exists('head')) { function head() { - return \RectorPrefix20211129\head(...func_get_args()); + return \RectorPrefix20211130\head(...func_get_args()); } } if (!function_exists('dumpe')) { function dumpe() { - return \RectorPrefix20211129\dumpe(...func_get_args()); + return \RectorPrefix20211130\dumpe(...func_get_args()); } } if (!function_exists('compressJs')) { function compressJs() { - return \RectorPrefix20211129\compressJs(...func_get_args()); + return \RectorPrefix20211130\compressJs(...func_get_args()); } } if (!function_exists('compressCss')) { function compressCss() { - return \RectorPrefix20211129\compressCss(...func_get_args()); + return \RectorPrefix20211130\compressCss(...func_get_args()); } } diff --git a/vendor/sebastian/diff/src/Chunk.php b/vendor/sebastian/diff/src/Chunk.php index 76dda6e4c61..3005ef07d92 100644 --- a/vendor/sebastian/diff/src/Chunk.php +++ b/vendor/sebastian/diff/src/Chunk.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; final class Chunk { @@ -70,8 +70,8 @@ final class Chunk public function setLines(array $lines) : void { foreach ($lines as $line) { - if (!$line instanceof \RectorPrefix20211129\SebastianBergmann\Diff\Line) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\InvalidArgumentException(); + if (!$line instanceof \RectorPrefix20211130\SebastianBergmann\Diff\Line) { + throw new \RectorPrefix20211130\SebastianBergmann\Diff\InvalidArgumentException(); } } $this->lines = $lines; diff --git a/vendor/sebastian/diff/src/Diff.php b/vendor/sebastian/diff/src/Diff.php index 80d6556b7f7..4dffe8f1397 100644 --- a/vendor/sebastian/diff/src/Diff.php +++ b/vendor/sebastian/diff/src/Diff.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; final class Diff { diff --git a/vendor/sebastian/diff/src/Differ.php b/vendor/sebastian/diff/src/Differ.php index b8e6ca018af..7642d9aaf59 100644 --- a/vendor/sebastian/diff/src/Differ.php +++ b/vendor/sebastian/diff/src/Differ.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use const PHP_INT_SIZE; use const PREG_SPLIT_DELIM_CAPTURE; @@ -32,8 +32,8 @@ use function prev; use function reset; use function sprintf; use function substr; -use RectorPrefix20211129\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface; -use RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder; +use RectorPrefix20211130\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface; +use RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder; final class Differ { public const OLD = 0; @@ -52,17 +52,17 @@ final class Differ */ public function __construct($outputBuilder = null) { - if ($outputBuilder instanceof \RectorPrefix20211129\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) { + if ($outputBuilder instanceof \RectorPrefix20211130\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface) { $this->outputBuilder = $outputBuilder; } elseif (null === $outputBuilder) { - $this->outputBuilder = new \RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(); + $this->outputBuilder = new \RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(); } elseif (\is_string($outputBuilder)) { // PHPUnit 6.1.4, 6.2.0, 6.2.1, 6.2.2, and 6.2.3 support // @see https://github.com/sebastianbergmann/phpunit/issues/2734#issuecomment-314514056 // @deprecated - $this->outputBuilder = new \RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder); + $this->outputBuilder = new \RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder($outputBuilder); } else { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\InvalidArgumentException(\sprintf('Expected builder to be an instance of DiffOutputBuilderInterface, or a string, got %s.', \is_object($outputBuilder) ? 'instance of "' . \get_class($outputBuilder) . '"' : \gettype($outputBuilder) . ' "' . $outputBuilder . '"')); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\InvalidArgumentException(\sprintf('Expected builder to be an instance of DiffOutputBuilderInterface, or a string, got %s.', \is_object($outputBuilder) ? 'instance of "' . \get_class($outputBuilder) . '"' : \gettype($outputBuilder) . ' "' . $outputBuilder . '"')); } } /** @@ -71,7 +71,7 @@ final class Differ * @param array|string $from * @param array|string $to */ - public function diff($from, $to, \RectorPrefix20211129\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : string + public function diff($from, $to, \RectorPrefix20211130\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : string { $diff = $this->diffToArray($this->normalizeDiffInput($from), $this->normalizeDiffInput($to), $lcs); return $this->outputBuilder->getDiff($diff); @@ -91,17 +91,17 @@ final class Differ * @param array|string $to * @param LongestCommonSubsequenceCalculator $lcs */ - public function diffToArray($from, $to, \RectorPrefix20211129\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array + public function diffToArray($from, $to, \RectorPrefix20211130\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator $lcs = null) : array { if (\is_string($from)) { $from = $this->splitStringByLines($from); } elseif (!\is_array($from)) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.'); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\InvalidArgumentException('"from" must be an array or string.'); } if (\is_string($to)) { $to = $this->splitStringByLines($to); } elseif (!\is_array($to)) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\InvalidArgumentException('"to" must be an array or string.'); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\InvalidArgumentException('"to" must be an array or string.'); } [$from, $to, $start, $end] = self::getArrayDiffParted($from, $to); if ($lcs === null) { @@ -158,7 +158,7 @@ final class Differ { return \preg_split('/(.*\\R)/', $input, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY); } - private function selectLcsImplementation(array $from, array $to) : \RectorPrefix20211129\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator + private function selectLcsImplementation(array $from, array $to) : \RectorPrefix20211130\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator { // We do not want to use the time-efficient implementation if its memory // footprint will probably exceed this value. Note that the footprint @@ -166,9 +166,9 @@ final class Differ // will typically allocate a bit more memory than this. $memoryLimit = 100 * 1024 * 1024; if ($this->calculateEstimatedFootprint($from, $to) > $memoryLimit) { - return new \RectorPrefix20211129\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator(); + return new \RectorPrefix20211130\SebastianBergmann\Diff\MemoryEfficientLongestCommonSubsequenceCalculator(); } - return new \RectorPrefix20211129\SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator(); + return new \RectorPrefix20211130\SebastianBergmann\Diff\TimeEfficientLongestCommonSubsequenceCalculator(); } /** * Calculates the estimated memory footprint for the DP-based method. diff --git a/vendor/sebastian/diff/src/Exception/ConfigurationException.php b/vendor/sebastian/diff/src/Exception/ConfigurationException.php index b9333b88bf3..2c537a7dbd0 100644 --- a/vendor/sebastian/diff/src/Exception/ConfigurationException.php +++ b/vendor/sebastian/diff/src/Exception/ConfigurationException.php @@ -9,14 +9,14 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use function get_class; use function gettype; use function is_object; use function sprintf; use Exception; -final class ConfigurationException extends \RectorPrefix20211129\SebastianBergmann\Diff\InvalidArgumentException +final class ConfigurationException extends \RectorPrefix20211130\SebastianBergmann\Diff\InvalidArgumentException { public function __construct(string $option, string $expected, $value, int $code = 0, \Exception $previous = null) { diff --git a/vendor/sebastian/diff/src/Exception/Exception.php b/vendor/sebastian/diff/src/Exception/Exception.php index 0ae8843aaa0..b2512d11a54 100644 --- a/vendor/sebastian/diff/src/Exception/Exception.php +++ b/vendor/sebastian/diff/src/Exception/Exception.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use Throwable; interface Exception extends \Throwable diff --git a/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php b/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php index 578489878d7..5d87e64d34b 100644 --- a/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php +++ b/vendor/sebastian/diff/src/Exception/InvalidArgumentException.php @@ -9,8 +9,8 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\SebastianBergmann\Diff\Exception +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\SebastianBergmann\Diff\Exception { } diff --git a/vendor/sebastian/diff/src/Line.php b/vendor/sebastian/diff/src/Line.php index ad1c53799ad..919967594f3 100644 --- a/vendor/sebastian/diff/src/Line.php +++ b/vendor/sebastian/diff/src/Line.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; final class Line { diff --git a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php index d4f9a6f2bfa..92e4f7e5abf 100644 --- a/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php +++ b/vendor/sebastian/diff/src/LongestCommonSubsequenceCalculator.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; interface LongestCommonSubsequenceCalculator { diff --git a/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php index 19789b79a63..f32dbd7bc3d 100644 --- a/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php +++ b/vendor/sebastian/diff/src/MemoryEfficientLongestCommonSubsequenceCalculator.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use function array_fill; use function array_merge; @@ -18,7 +18,7 @@ use function array_slice; use function count; use function in_array; use function max; -final class MemoryEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20211129\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator +final class MemoryEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20211130\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator { /** * {@inheritdoc} diff --git a/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php b/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php index c378c51e797..9b1a0120d3a 100644 --- a/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php +++ b/vendor/sebastian/diff/src/Output/AbstractChunkOutputBuilder.php @@ -9,10 +9,10 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff\Output; +namespace RectorPrefix20211130\SebastianBergmann\Diff\Output; use function count; -abstract class AbstractChunkOutputBuilder implements \RectorPrefix20211129\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +abstract class AbstractChunkOutputBuilder implements \RectorPrefix20211130\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface { /** * Takes input of the diff array and returns the common parts. diff --git a/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php b/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php index bbdf2b5c62c..f9fbee7b535 100644 --- a/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php +++ b/vendor/sebastian/diff/src/Output/DiffOnlyOutputBuilder.php @@ -9,19 +9,19 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff\Output; +namespace RectorPrefix20211130\SebastianBergmann\Diff\Output; use function fclose; use function fopen; use function fwrite; use function stream_get_contents; use function substr; -use RectorPrefix20211129\SebastianBergmann\Diff\Differ; +use RectorPrefix20211130\SebastianBergmann\Diff\Differ; /** * Builds a diff string representation in a loose unified diff format * listing only changes lines. Does not include line numbers. */ -final class DiffOnlyOutputBuilder implements \RectorPrefix20211129\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +final class DiffOnlyOutputBuilder implements \RectorPrefix20211130\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface { /** * @var string @@ -44,11 +44,11 @@ final class DiffOnlyOutputBuilder implements \RectorPrefix20211129\SebastianBerg } } foreach ($diff as $diffEntry) { - if ($diffEntry[1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::ADDED) { + if ($diffEntry[1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::ADDED) { \fwrite($buffer, '+' . $diffEntry[0]); - } elseif ($diffEntry[1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diffEntry[1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::REMOVED) { \fwrite($buffer, '-' . $diffEntry[0]); - } elseif ($diffEntry[1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::DIFF_LINE_END_WARNING) { + } elseif ($diffEntry[1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::DIFF_LINE_END_WARNING) { \fwrite($buffer, ' ' . $diffEntry[0]); continue; // Warnings should not be tested for line break, it will always be there diff --git a/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php b/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php index 6f940d51c1a..5a5b3d111e8 100644 --- a/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php +++ b/vendor/sebastian/diff/src/Output/DiffOutputBuilderInterface.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff\Output; +namespace RectorPrefix20211130\SebastianBergmann\Diff\Output; /** * Defines how an output builder should take a generated diff --git a/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php b/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php index 46a9c0f3675..9edfebb60d8 100644 --- a/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php +++ b/vendor/sebastian/diff/src/Output/StrictUnifiedDiffOutputBuilder.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff\Output; +namespace RectorPrefix20211130\SebastianBergmann\Diff\Output; use function array_merge; use function array_splice; @@ -25,14 +25,14 @@ use function min; use function sprintf; use function stream_get_contents; use function substr; -use RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException; -use RectorPrefix20211129\SebastianBergmann\Diff\Differ; +use RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException; +use RectorPrefix20211130\SebastianBergmann\Diff\Differ; /** * Strict Unified diff output builder. * * Generates (strict) Unified diff's (unidiffs) with hunks. */ -final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface +final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211130\SebastianBergmann\Diff\Output\DiffOutputBuilderInterface { private static $default = [ 'collapseRanges' => \true, @@ -70,13 +70,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba { $options = \array_merge(self::$default, $options); if (!\is_bool($options['collapseRanges'])) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException('collapseRanges', 'a bool', $options['collapseRanges']); } if (!\is_int($options['contextLines']) || $options['contextLines'] < 0) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException('contextLines', 'an int >= 0', $options['contextLines']); } if (!\is_int($options['commonLineThreshold']) || $options['commonLineThreshold'] <= 0) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException('commonLineThreshold', 'an int > 0', $options['commonLineThreshold']); } $this->assertString($options, 'fromFile'); $this->assertString($options, 'toFile'); @@ -117,7 +117,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba if (0 === $diff[$upperLimit - 1][1]) { $lc = \substr($diff[$upperLimit - 1][0], -1); if ("\n" !== $lc) { - \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } } else { // search back for the last `+` and `-` line, @@ -128,7 +128,7 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba unset($toFind[$diff[$i][1]]); $lc = \substr($diff[$i][0], -1); if ("\n" !== $lc) { - \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } if (!\count($toFind)) { break; @@ -175,18 +175,18 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba continue; } $sameCount = 0; - if ($entry[1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + if ($entry[1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { continue; } $this->changed = \true; if (\false === $hunkCapture) { $hunkCapture = $i; } - if (\RectorPrefix20211129\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { + if (\RectorPrefix20211130\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { // added ++$toRange; } - if (\RectorPrefix20211129\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { + if (\RectorPrefix20211130\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { // removed ++$fromRange; } @@ -216,15 +216,15 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba } \fwrite($output, " @@\n"); for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) { - if ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::ADDED) { + if ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::ADDED) { $this->changed = \true; \fwrite($output, '+' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::REMOVED) { $this->changed = \true; \fwrite($output, '-' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::OLD) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::OLD) { \fwrite($output, ' ' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { $this->changed = \true; \fwrite($output, $diff[$i][0]); } @@ -238,13 +238,13 @@ final class StrictUnifiedDiffOutputBuilder implements \RectorPrefix20211129\Seba private function assertString(array $options, string $option) : void { if (!\is_string($options[$option])) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException($option, 'a string', $options[$option]); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException($option, 'a string', $options[$option]); } } private function assertStringOrNull(array $options, string $option) : void { if (null !== $options[$option] && !\is_string($options[$option])) { - throw new \RectorPrefix20211129\SebastianBergmann\Diff\ConfigurationException($option, 'a string or ', $options[$option]); + throw new \RectorPrefix20211130\SebastianBergmann\Diff\ConfigurationException($option, 'a string or ', $options[$option]); } } } diff --git a/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php b/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php index 46bf933636f..ee69e103d60 100644 --- a/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php +++ b/vendor/sebastian/diff/src/Output/UnifiedDiffOutputBuilder.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff\Output; +namespace RectorPrefix20211130\SebastianBergmann\Diff\Output; use function array_splice; use function count; @@ -21,11 +21,11 @@ use function min; use function stream_get_contents; use function strlen; use function substr; -use RectorPrefix20211129\SebastianBergmann\Diff\Differ; +use RectorPrefix20211130\SebastianBergmann\Diff\Differ; /** * Builds a diff string representation in unified diff format in chunks. */ -final class UnifiedDiffOutputBuilder extends \RectorPrefix20211129\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder +final class UnifiedDiffOutputBuilder extends \RectorPrefix20211130\SebastianBergmann\Diff\Output\AbstractChunkOutputBuilder { /** * @var bool @@ -81,7 +81,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20211129\SebastianBerg if (0 === $diff[$upperLimit - 1][1]) { $lc = \substr($diff[$upperLimit - 1][0], -1); if ("\n" !== $lc) { - \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $upperLimit, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } } else { // search back for the last `+` and `-` line, @@ -92,7 +92,7 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20211129\SebastianBerg unset($toFind[$diff[$i][1]]); $lc = \substr($diff[$i][0], -1); if ("\n" !== $lc) { - \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); + \array_splice($diff, $i + 1, 0, [["\n\\ No newline at end of file\n", \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING]]); } if (!\count($toFind)) { break; @@ -139,16 +139,16 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20211129\SebastianBerg continue; } $sameCount = 0; - if ($entry[1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + if ($entry[1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { continue; } if (\false === $hunkCapture) { $hunkCapture = $i; } - if (\RectorPrefix20211129\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { + if (\RectorPrefix20211130\SebastianBergmann\Diff\Differ::ADDED === $entry[1]) { ++$toRange; } - if (\RectorPrefix20211129\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { + if (\RectorPrefix20211130\SebastianBergmann\Diff\Differ::REMOVED === $entry[1]) { ++$fromRange; } } @@ -181,13 +181,13 @@ final class UnifiedDiffOutputBuilder extends \RectorPrefix20211129\SebastianBerg \fwrite($output, "@@ @@\n"); } for ($i = $diffStartIndex; $i < $diffEndIndex; ++$i) { - if ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::ADDED) { + if ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::ADDED) { \fwrite($output, '+' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::REMOVED) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::REMOVED) { \fwrite($output, '-' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::OLD) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::OLD) { \fwrite($output, ' ' . $diff[$i][0]); - } elseif ($diff[$i][1] === \RectorPrefix20211129\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { + } elseif ($diff[$i][1] === \RectorPrefix20211130\SebastianBergmann\Diff\Differ::NO_LINE_END_EOF_WARNING) { \fwrite($output, "\n"); // $diff[$i][0] } else { diff --git a/vendor/sebastian/diff/src/Parser.php b/vendor/sebastian/diff/src/Parser.php index bfab443c92c..97ac1d80fa5 100644 --- a/vendor/sebastian/diff/src/Parser.php +++ b/vendor/sebastian/diff/src/Parser.php @@ -9,7 +9,7 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use function array_pop; use function count; @@ -41,7 +41,7 @@ final class Parser $diffs[] = $diff; $collected = []; } - $diff = new \RectorPrefix20211129\SebastianBergmann\Diff\Diff($fromMatch['file'], $toMatch['file']); + $diff = new \RectorPrefix20211130\SebastianBergmann\Diff\Diff($fromMatch['file'], $toMatch['file']); ++$i; } else { if (\preg_match('/^(?:diff --git |index [\\da-f\\.]+|[+-]{3} [ab])/', $lines[$i])) { @@ -56,26 +56,26 @@ final class Parser } return $diffs; } - private function parseFileDiff(\RectorPrefix20211129\SebastianBergmann\Diff\Diff $diff, array $lines) : void + private function parseFileDiff(\RectorPrefix20211130\SebastianBergmann\Diff\Diff $diff, array $lines) : void { $chunks = []; $chunk = null; $diffLines = []; foreach ($lines as $line) { if (\preg_match('/^@@\\s+-(?P\\d+)(?:,\\s*(?P\\d+))?\\s+\\+(?P\\d+)(?:,\\s*(?P\\d+))?\\s+@@/', $line, $match)) { - $chunk = new \RectorPrefix20211129\SebastianBergmann\Diff\Chunk((int) $match['start'], isset($match['startrange']) ? \max(1, (int) $match['startrange']) : 1, (int) $match['end'], isset($match['endrange']) ? \max(1, (int) $match['endrange']) : 1); + $chunk = new \RectorPrefix20211130\SebastianBergmann\Diff\Chunk((int) $match['start'], isset($match['startrange']) ? \max(1, (int) $match['startrange']) : 1, (int) $match['end'], isset($match['endrange']) ? \max(1, (int) $match['endrange']) : 1); $chunks[] = $chunk; $diffLines = []; continue; } if (\preg_match('/^(?P[+ -])?(?P.*)/', $line, $match)) { - $type = \RectorPrefix20211129\SebastianBergmann\Diff\Line::UNCHANGED; + $type = \RectorPrefix20211130\SebastianBergmann\Diff\Line::UNCHANGED; if ($match['type'] === '+') { - $type = \RectorPrefix20211129\SebastianBergmann\Diff\Line::ADDED; + $type = \RectorPrefix20211130\SebastianBergmann\Diff\Line::ADDED; } elseif ($match['type'] === '-') { - $type = \RectorPrefix20211129\SebastianBergmann\Diff\Line::REMOVED; + $type = \RectorPrefix20211130\SebastianBergmann\Diff\Line::REMOVED; } - $diffLines[] = new \RectorPrefix20211129\SebastianBergmann\Diff\Line($type, $match['line']); + $diffLines[] = new \RectorPrefix20211130\SebastianBergmann\Diff\Line($type, $match['line']); if (null !== $chunk) { $chunk->setLines($diffLines); } diff --git a/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php b/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php index 37bb35996cb..052998030a0 100644 --- a/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php +++ b/vendor/sebastian/diff/src/TimeEfficientLongestCommonSubsequenceCalculator.php @@ -9,13 +9,13 @@ declare (strict_types=1); * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\SebastianBergmann\Diff; +namespace RectorPrefix20211130\SebastianBergmann\Diff; use function array_reverse; use function count; use function max; use SplFixedArray; -final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20211129\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator +final class TimeEfficientLongestCommonSubsequenceCalculator implements \RectorPrefix20211130\SebastianBergmann\Diff\LongestCommonSubsequenceCalculator { /** * {@inheritdoc} diff --git a/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php index 0359fdc8f2f..7fee6c78f62 100644 --- a/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\About\\Controller\\AboutController', 'Tx_About_Domain_Model_Extension' => 'TYPO3\\CMS\\About\\Domain\\Model\\Extension', 'Tx_About_Domain_Repository_ExtensionRepository' => 'TYPO3\\CMS\\About\\Domain\\Repository\\ExtensionRepository', 'Tx_Aboutmodules_Controller_ModulesController' => 'TYPO3\\CMS\\Aboutmodules\\Controller\\ModulesController', 'AjaxLogin' => 'TYPO3\\CMS\\Backend\\AjaxLoginHandler', 'clickMenu' => 'TYPO3\\CMS\\Backend\\ClickMenu\\ClickMenu', 't3lib_cli' => 'TYPO3\\CMS\\Core\\Controller\\CommandLineController', 't3lib_clipboard' => 'TYPO3\\CMS\\Backend\\Clipboard\\Clipboard', 't3lib_transl8tools' => 'TYPO3\\CMS\\Backend\\Configuration\\TranslationConfigurationProvider', 't3lib_TSparser' => 'TYPO3\\CMS\\Core\\TypoScript\\Parser\\TypoScriptParser', 't3lib_TSparser_TSconfig' => 'TYPO3\\CMS\\Backend\\Configuration\\TsConfigParser', 't3lib_matchCondition_backend' => 'TYPO3\\CMS\\Backend\\Configuration\\TypoScript\\ConditionMatching\\ConditionMatcher', 't3lib_contextmenu_AbstractContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\AbstractContextMenu', 't3lib_contextmenu_AbstractDataProvider' => 'TYPO3\\CMS\\Backend\\ContextMenu\\AbstractContextMenuDataProvider', 't3lib_contextmenu_Action' => 'TYPO3\\CMS\\Backend\\ContextMenu\\ContextMenuAction', 't3lib_contextmenu_ActionCollection' => 'TYPO3\\CMS\\Backend\\ContextMenu\\ContextMenuActionCollection', 't3lib_contextmenu_extdirect_ContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Extdirect\\AbstractExtdirectContextMenu', 't3lib_contextmenu_pagetree_DataProvider' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Pagetree\\ContextMenuDataProvider', 't3lib_contextmenu_pagetree_extdirect_ContextMenu' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Pagetree\\Extdirect\\ContextMenuConfiguration', 't3lib_contextmenu_renderer_Abstract' => 'TYPO3\\CMS\\Backend\\ContextMenu\\Renderer\\AbstractContextMenuRenderer', 't3lib_extMgm' => 'TYPO3\\CMS\\Core\\Utility\\ExtensionManagementUtility', 'TYPO3backend' => 'TYPO3\\CMS\\Backend\\Controller\\BackendController', 'SC_wizard_backend_layout' => 'TYPO3\\CMS\\Backend\\Controller\\BackendLayoutWizardController', 'SC_alt_clickmenu' => 'TYPO3\\CMS\\Backend\\Controller\\ClickMenuController', 'SC_show_rechis' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementHistoryController', 'SC_show_item' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\ElementInformationController', 'SC_move_el' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\MoveElementController', 'SC_db_new_content_el' => 'TYPO3\\CMS\\Backend\\Controller\\ContentElement\\NewContentElementController', 'SC_db_layout' => 'TYPO3\\CMS\\Backend\\Controller\\PageLayoutController', 'SC_dummy' => 'TYPO3\\CMS\\Backend\\Controller\\DummyController', 'SC_alt_doc' => 'TYPO3\\CMS\\Backend\\Controller\\EditDocumentController', 'SC_file_newfolder' => 'TYPO3\\CMS\\Backend\\Controller\\File\\CreateFolderController', 'SC_file_edit' => 'TYPO3\\CMS\\Backend\\Controller\\File\\EditFileController', 'TYPO3_tcefile' => 'TYPO3\\CMS\\Backend\\Controller\\File\\FileController', 'SC_file_upload' => 'TYPO3\\CMS\\Backend\\Controller\\File\\FileUploadController', 'SC_file_rename' => 'TYPO3\\CMS\\Backend\\Controller\\File\\RenameFileController', 'SC_alt_file_navframe' => 'TYPO3\\CMS\\Backend\\Controller\\FileSystemNavigationFrameController', 'SC_listframe_loader' => 'TYPO3\\CMS\\Backend\\Controller\\ListFrameLoaderController', 'SC_index' => 'TYPO3\\CMS\\Backend\\Controller\\LoginController', 'SC_login_frameset' => 'TYPO3\\CMS\\Backend\\Controller\\LoginFramesetController', 'SC_logout' => 'TYPO3\\CMS\\Backend\\Controller\\LogoutController', 'SC_db_new' => 'TYPO3\\CMS\\Backend\\Controller\\NewRecordController', 'SC_alt_db_navframe' => 'TYPO3\\CMS\\Backend\\Controller\\PageTreeNavigationController', 'SC_tce_db' => 'TYPO3\\CMS\\Backend\\Controller\\SimpleDataHandlerController', 'SC_wizard_add' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\AddController', 'SC_wizard_colorpicker' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ColorpickerController', 'SC_wizard_edit' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\EditController', 'SC_wizard_forms' => 'TYPO3\\CMS\\Compatibility6\\Controller\\Wizard\\FormsController', 'SC_wizard_list' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ListController', 'SC_wizard_rte' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\RteController', 'SC_wizard_table' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\TableController', 't3lib_tceformsInlineHook' => 'TYPO3\\CMS\\Backend\\Form\\Element\\InlineElementHookInterface', 't3lib_TCEforms_dbFileIconsHook' => 'TYPO3\\CMS\\Backend\\Form\\DatabaseFileIconsHookInterface', 't3lib_TCEforms_Suggest' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\SuggestWizard', 't3lib_TCEforms_Suggest_DefaultReceiver' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\SuggestWizardDefaultReceiver', 't3lib_TCEforms_ValueSlider' => 'TYPO3\\CMS\\Backend\\Form\\Wizard\\ValueSliderWizard', 't3lib_tsfeBeUserAuth' => 'TYPO3\\CMS\\Backend\\FrontendBackendUserAuthentication', 'recordHistory' => 'TYPO3\\CMS\\Backend\\History\\RecordHistory', 'extDirect_DataProvider_State' => 'TYPO3\\CMS\\Backend\\InterfaceState\\ExtDirect\\DataProvider', 't3lib_extobjbase' => 'TYPO3\\CMS\\Backend\\Module\\AbstractFunctionModule', 't3lib_SCbase' => 'TYPO3\\CMS\\Backend\\Module\\BaseScriptClass', 't3lib_loadModules' => 'TYPO3\\CMS\\Backend\\Module\\ModuleLoader', 'Typo3_ModuleStorage' => 'TYPO3\\CMS\\Backend\\Module\\ModuleStorage', 't3lib_modSettings' => 'TYPO3\\CMS\\Backend\\ModuleSettings', 't3lib_recordList' => 'TYPO3\\CMS\\Backend\\RecordList\\AbstractRecordList', 'TBE_browser_recordList' => 'TYPO3\\CMS\\Backend\\RecordList\\ElementBrowserRecordList', 't3lib_localRecordListGetTableHook' => 'TYPO3\\CMS\\Backend\\RecordList\\RecordListGetTableHookInterface', 't3lib_search_liveSearch' => 'TYPO3\\CMS\\Backend\\Search\\LiveSearch\\LiveSearch', 't3lib_search_liveSearch_queryParser' => 'TYPO3\\CMS\\Backend\\Search\\LiveSearch\\QueryParser', 't3lib_spritemanager_AbstractHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\AbstractSpriteHandler', 't3lib_spritemanager_SimpleHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\SimpleSpriteHandler', 't3lib_spritemanager_SpriteBuildingHandler' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteBuildingHandler', 't3lib_spritemanager_SpriteGenerator' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteGenerator', 't3lib_spritemanager_SpriteIconGenerator' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteIconGeneratorInterface', 't3lib_SpriteManager' => 'TYPO3\\CMS\\Backend\\Sprite\\SpriteManager', 'template' => 'TYPO3\\CMS\\Backend\\Template\\DocumentTemplate', 'frontendDoc' => 'TYPO3\\CMS\\Compatibility6\\Template\\FrontendDocumentTemplate', 'TYPO3\\CMS\\Backend\\Template\\FrontendDocumentTemplate' => 'TYPO3\\CMS\\Compatibility6\\Template\\FrontendDocumentTemplate', 't3lib_tree_ExtDirect_AbstractExtJsTree' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractExtJsTree', 't3lib_tree_AbstractTree' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTree', 't3lib_tree_AbstractDataProvider' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTreeDataProvider', 't3lib_tree_AbstractStateProvider' => 'TYPO3\\CMS\\Backend\\Tree\\AbstractTreeStateProvider', 't3lib_tree_ComparableNode' => 'TYPO3\\CMS\\Backend\\Tree\\ComparableNodeInterface', 't3lib_tree_DraggableAndDropable' => 'TYPO3\\CMS\\Backend\\Tree\\DraggableAndDropableNodeInterface', 't3lib_tree_LabelEditable' => 'TYPO3\\CMS\\Backend\\Tree\\EditableNodeLabelInterface', 't3lib_tree_extdirect_Node' => 'TYPO3\\CMS\\Backend\\Tree\\ExtDirectNode', 't3lib_tree_pagetree_interfaces_CollectionProcessor' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\CollectionProcessorInterface', 't3lib_tree_pagetree_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Commands', 't3lib_tree_pagetree_DataProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\DataProvider', 't3lib_tree_pagetree_extdirect_Commands' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeCommands', 't3lib_tree_pagetree_extdirect_Tree' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\ExtdirectTreeDataProvider', 't3lib_tree_pagetree_Indicator' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\Indicator', 't3lib_tree_pagetree_interfaces_IndicatorProvider' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\IndicatorProviderInterface', 't3lib_tree_pagetree_Node' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNode', 't3lib_tree_pagetree_NodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\Pagetree\\PagetreeNodeCollection', 't3lib_tree_Renderer_Abstract' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\AbstractTreeRenderer', 't3lib_tree_Renderer_ExtJsJson' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\ExtJsJsonTreeRenderer', 't3lib_tree_Renderer_UnorderedList' => 'TYPO3\\CMS\\Backend\\Tree\\Renderer\\UnorderedListTreeRenderer', 't3lib_tree_SortedNodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\SortedTreeNodeCollection', 't3lib_tree_Node' => 'TYPO3\\CMS\\Backend\\Tree\\TreeNode', 't3lib_tree_NodeCollection' => 'TYPO3\\CMS\\Backend\\Tree\\TreeNodeCollection', 't3lib_tree_RepresentationNode' => 'TYPO3\\CMS\\Backend\\Tree\\TreeRepresentationNode', 't3lib_treeView' => 'TYPO3\\CMS\\Backend\\Tree\\View\\AbstractTreeView', 't3lib_browseTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\BrowseTreeView', 't3lib_folderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\FolderTreeView', 't3lib_positionMap' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PagePositionMap', 't3lib_pageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PageTreeView', 't3lib_BEfunc' => 'TYPO3\\CMS\\Backend\\Utility\\BackendUtility', 't3lib_iconWorks' => 'TYPO3\\CMS\\Backend\\Utility\\IconUtility', 'tx_cms_BackendLayout' => 'TYPO3\\CMS\\Backend\\View\\BackendLayoutView', 'ModuleMenu' => 'TYPO3\\CMS\\Backend\\View\\ModuleMenuView', 'tx_cms_layout' => 'TYPO3\\CMS\\Backend\\View\\PageLayoutView', 'tx_cms_layout_tt_content_drawItemHook' => 'TYPO3\\CMS\\Backend\\View\\PageLayoutViewDrawItemHookInterface', 'webPageTree' => 'TYPO3\\CMS\\Backend\\View\\PageTreeView', 'SC_t3lib_thumbs' => 'TYPO3\\CMS\\Backend\\View\\ThumbnailView', 'TYPO3Logo' => 'TYPO3\\CMS\\Backend\\View\\LogoView', 'cms_newContentElementWizardsHook' => 'TYPO3\\CMS\\Backend\\Wizard\\NewContentElementWizardHookInterface', 't3lib_extjs_ExtDirectRouter' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectRouter', 't3lib_extjs_ExtDirectApi' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectApi', 't3lib_extjs_ExtDirectDebug' => 'TYPO3\\CMS\\Core\\ExtDirect\\ExtDirectDebug', 't3lib_userAuth' => 'TYPO3\\CMS\\Core\\Authentication\\AbstractUserAuthentication', 't3lib_beUserAuth' => 'TYPO3\\CMS\\Core\\Authentication\\BackendUserAuthentication', 't3lib_cache_backend_AbstractBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\AbstractBackend', 't3lib_cache_backend_ApcBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\ApcBackend', 't3lib_cache_backend_Backend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\BackendInterface', 't3lib_cache_backend_FileBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\FileBackend', 't3lib_cache_backend_MemcachedBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\MemcachedBackend', 't3lib_cache_backend_NullBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\NullBackend', 't3lib_cache_backend_PdoBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\PdoBackend', 't3lib_cache_backend_PhpCapableBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\PhpCapableBackendInterface', 't3lib_cache_backend_RedisBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\RedisBackend', 't3lib_cache_backend_TransientMemoryBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\TransientMemoryBackend', 't3lib_cache_backend_DbBackend' => 'TYPO3\\CMS\\Core\\Cache\\Backend\\Typo3DatabaseBackend', 't3lib_cache_Factory' => 'TYPO3\\CMS\\Core\\Cache\\CacheFactory', 't3lib_cache_Manager' => 'TYPO3\\CMS\\Core\\Cache\\CacheManager', 't3lib_cache_Exception' => 'TYPO3\\CMS\\Core\\Cache\\Exception', 't3lib_cache_exception_ClassAlreadyLoaded' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\ClassAlreadyLoadedException', 't3lib_cache_exception_DuplicateIdentifier' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\DuplicateIdentifierException', 't3lib_cache_exception_InvalidBackend' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidBackendException', 't3lib_cache_exception_InvalidCache' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidCacheException', 't3lib_cache_exception_InvalidData' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\InvalidDataException', 't3lib_cache_exception_NoSuchCache' => 'TYPO3\\CMS\\Core\\Cache\\Exception\\NoSuchCacheException', 't3lib_cache_frontend_AbstractFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\AbstractFrontend', 't3lib_cache_frontend_Frontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\FrontendInterface', 't3lib_cache_frontend_PhpFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\PhpFrontend', 't3lib_cache_frontend_StringFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\StringFrontend', 't3lib_cache_frontend_VariableFrontend' => 'TYPO3\\CMS\\Core\\Cache\\Frontend\\VariableFrontend', 't3lib_cs' => 'TYPO3\\CMS\\Core\\Charset\\CharsetConverter', 't3lib_collection_AbstractRecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\AbstractRecordCollection', 't3lib_collection_Collection' => 'TYPO3\\CMS\\Core\\Collection\\CollectionInterface', 't3lib_collection_Editable' => 'TYPO3\\CMS\\Core\\Collection\\EditableCollectionInterface', 't3lib_collection_Nameable' => 'TYPO3\\CMS\\Core\\Collection\\NameableCollectionInterface', 't3lib_collection_Persistable' => 'TYPO3\\CMS\\Core\\Collection\\PersistableCollectionInterface', 't3lib_collection_RecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\RecordCollectionInterface', 't3lib_collection_RecordCollectionRepository' => 'TYPO3\\CMS\\Core\\Collection\\RecordCollectionRepository', 't3lib_collection_Sortable' => 'TYPO3\\CMS\\Core\\Collection\\SortableCollectionInterface', 't3lib_collection_StaticRecordCollection' => 'TYPO3\\CMS\\Core\\Collection\\StaticRecordCollection', 't3lib_flexformtools' => 'TYPO3\\CMS\\Core\\Configuration\\FlexForm\\FlexFormTools', 't3lib_matchCondition_abstract' => 'TYPO3\\CMS\\Core\\Configuration\\TypoScript\\ConditionMatching\\AbstractConditionMatcher', 't3lib_DB' => 'TYPO3\\CMS\\Core\\Database\\DatabaseConnection', 't3lib_DB_postProcessQueryHook' => 'TYPO3\\CMS\\Core\\Database\\PostProcessQueryHookInterface', 't3lib_DB_preProcessQueryHook' => 'TYPO3\\CMS\\Core\\Database\\PreProcessQueryHookInterface', 't3lib_PdoHelper' => 'TYPO3\\CMS\\Core\\Database\\PdoHelper', 't3lib_db_PreparedStatement' => 'TYPO3\\CMS\\Core\\Database\\PreparedStatement', 't3lib_queryGenerator' => 'TYPO3\\CMS\\Core\\Database\\QueryGenerator', 't3lib_fullsearch' => 'TYPO3\\CMS\\Core\\Database\\QueryView', 't3lib_refindex' => 'TYPO3\\CMS\\Core\\Database\\ReferenceIndex', 't3lib_loadDBGroup' => 'TYPO3\\CMS\\Core\\Database\\RelationHandler', 't3lib_softrefproc' => 'TYPO3\\CMS\\Core\\Database\\SoftReferenceIndex', 't3lib_sqlparser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 'TYPO3\\CMS\\Core\\Database\\SqlParser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 't3lib_extTables_PostProcessingHook' => 'TYPO3\\CMS\\Core\\Database\\TableConfigurationPostProcessingHookInterface', 't3lib_TCEmain' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandler', 't3lib_TCEmain_checkModifyAccessListHook' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandlerCheckModifyAccessListHookInterface', 't3lib_TCEmain_processUploadHook' => 'TYPO3\\CMS\\Core\\DataHandling\\DataHandlerProcessUploadHookInterface', 't3lib_codec_JavaScriptEncoder' => 'TYPO3\\CMS\\Core\\Encoder\\JavaScriptEncoder', 't3lib_error_AbstractExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\AbstractExceptionHandler', 't3lib_error_DebugExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\DebugExceptionHandler', 't3lib_error_ErrorHandler' => 'TYPO3\\CMS\\Core\\Error\\ErrorHandler', 't3lib_error_ErrorHandlerInterface' => 'TYPO3\\CMS\\Core\\Error\\ErrorHandlerInterface', 't3lib_error_Exception' => 'TYPO3\\CMS\\Core\\Error\\Exception', 't3lib_error_ExceptionHandlerInterface' => 'TYPO3\\CMS\\Core\\Error\\ExceptionHandlerInterface', 't3lib_error_http_AbstractClientErrorException' => 'TYPO3\\CMS\\Core\\Error\\Http\\AbstractClientErrorException', 't3lib_error_http_AbstractServerErrorException' => 'TYPO3\\CMS\\Core\\Error\\Http\\AbstractServerErrorException', 't3lib_error_http_BadRequestException' => 'TYPO3\\CMS\\Core\\Error\\Http\\BadRequestException', 't3lib_error_http_ForbiddenException' => 'TYPO3\\CMS\\Core\\Error\\Http\\ForbiddenException', 't3lib_error_http_PageNotFoundException' => 'TYPO3\\CMS\\Core\\Error\\Http\\PageNotFoundException', 't3lib_error_http_ServiceUnavailableException' => 'TYPO3\\CMS\\Core\\Error\\Http\\ServiceUnavailableException', 't3lib_error_http_StatusException' => 'TYPO3\\CMS\\Core\\Error\\Http\\StatusException', 't3lib_error_http_UnauthorizedException' => 'TYPO3\\CMS\\Core\\Error\\Http\\UnauthorizedException', 't3lib_error_ProductionExceptionHandler' => 'TYPO3\\CMS\\Core\\Error\\ProductionExceptionHandler', 't3lib_exception' => 'TYPO3\\CMS\\Core\\Exception', 't3lib_formprotection_Abstract' => 'TYPO3\\CMS\\Core\\FormProtection\\AbstractFormProtection', 't3lib_formprotection_BackendFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\BackendFormProtection', 't3lib_formprotection_DisabledFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\DisabledFormProtection', 't3lib_formprotection_InvalidTokenException' => 'TYPO3\\CMS\\Core\\FormProtection\\Exception', 't3lib_formprotection_Factory' => 'TYPO3\\CMS\\Core\\FormProtection\\FormProtectionFactory', 't3lib_formprotection_InstallToolFormProtection' => 'TYPO3\\CMS\\Core\\FormProtection\\InstallToolFormProtection', 't3lib_frontendedit' => 'TYPO3\\CMS\\Core\\FrontendEditing\\FrontendEditingController', 't3lib_parsehtml' => 'TYPO3\\CMS\\Core\\Html\\HtmlParser', 't3lib_parsehtml_proc' => 'TYPO3\\CMS\\Core\\Html\\RteHtmlParser', 'TYPO3AJAX' => 'TYPO3\\CMS\\Core\\Http\\AjaxRequestHandler', 't3lib_http_Request' => 'TYPO3\\CMS\\Core\\Http\\HttpRequest', 't3lib_http_observer_Download' => 'TYPO3\\CMS\\Core\\Http\\Observer\\Download', 't3lib_stdGraphic' => 'TYPO3\\CMS\\Core\\Imaging\\GraphicalFunctions', 't3lib_admin' => 'TYPO3\\CMS\\Core\\Integrity\\DatabaseIntegrityCheck', 't3lib_l10n_exception_FileNotFound' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\FileNotFoundException', 't3lib_l10n_exception_InvalidParser' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\InvalidParserException', 't3lib_l10n_exception_InvalidXmlFile' => 'TYPO3\\CMS\\Core\\Localization\\Exception\\InvalidXmlFileException', 't3lib_l10n_Store' => 'TYPO3\\CMS\\Core\\Localization\\LanguageStore', 't3lib_l10n_Locales' => 'TYPO3\\CMS\\Core\\Localization\\Locales', 't3lib_l10n_Factory' => 'TYPO3\\CMS\\Core\\Localization\\LocalizationFactory', 't3lib_l10n_parser_AbstractXml' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\AbstractXmlParser', 't3lib_l10n_parser' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocalizationParserInterface', 't3lib_l10n_parser_Llphp' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocallangArrayParser', 't3lib_l10n_parser_Llxml' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\LocallangXmlParser', 't3lib_l10n_parser_Xliff' => 'TYPO3\\CMS\\Core\\Localization\\Parser\\XliffParser', 't3lib_lock' => 'TYPO3\\CMS\\Core\\Locking\\Locker', 't3lib_mail_Mailer' => 'TYPO3\\CMS\\Core\\Mail\\Mailer', 't3lib_mail_MailerAdapter' => 'TYPO3\\CMS\\Core\\Mail\\MailerAdapterInterface', 't3lib_mail_Message' => 'TYPO3\\CMS\\Core\\Mail\\MailMessage', 't3lib_mail_MboxTransport' => 'TYPO3\\CMS\\Core\\Mail\\MboxTransport', 't3lib_mail_Rfc822AddressesParser' => 'TYPO3\\CMS\\Core\\Mail\\Rfc822AddressesParser', 't3lib_message_AbstractMessage' => 'TYPO3\\CMS\\Core\\Messaging\\AbstractMessage', 't3lib_message_AbstractStandaloneMessage' => 'TYPO3\\CMS\\Core\\Messaging\\AbstractStandaloneMessage', 't3lib_message_ErrorpageMessage' => 'TYPO3\\CMS\\Core\\Messaging\\ErrorpageMessage', 't3lib_FlashMessage' => 'TYPO3\\CMS\\Core\\Messaging\\FlashMessage', 't3lib_FlashMessageQueue' => 'TYPO3\\CMS\\Core\\Messaging\\FlashMessageQueue', 't3lib_PageRenderer' => 'TYPO3\\CMS\\Core\\Page\\PageRenderer', 't3lib_Registry' => 'TYPO3\\CMS\\Core\\Registry', 't3lib_Compressor' => 'TYPO3\\CMS\\Core\\Resource\\ResourceCompressor', 't3lib_svbase' => 'TYPO3\\CMS\\Core\\Service\\AbstractService', 't3lib_Singleton' => 'TYPO3\\CMS\\Core\\SingletonInterface', 't3lib_TimeTrackNull' => 'TYPO3\\CMS\\Core\\TimeTracker\\NullTimeTracker', 't3lib_timeTrack' => 'TYPO3\\CMS\\Core\\TimeTracker\\TimeTracker', 't3lib_tree_Tca_AbstractTcaTreeDataProvider' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\AbstractTableConfigurationTreeDataProvider', 't3lib_tree_Tca_DatabaseTreeDataProvider' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\DatabaseTreeDataProvider', 't3lib_tree_Tca_DatabaseNode' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\DatabaseTreeNode', 't3lib_tree_Tca_ExtJsArrayRenderer' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ExtJsArrayTreeRenderer', 't3lib_tree_Tca_TcaTree' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\TableConfigurationTree', 't3lib_tree_Tca_DataProviderFactory' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\TreeDataProviderFactory', 't3lib_tsStyleConfig' => 'TYPO3\\CMS\\Core\\TypoScript\\ConfigurationForm', 't3lib_tsparser_ext' => 'TYPO3\\CMS\\Core\\TypoScript\\ExtendedTemplateService', 't3lib_TStemplate' => 'TYPO3\\CMS\\Core\\TypoScript\\TemplateService', 't3lib_utility_Array' => 'TYPO3\\CMS\\Core\\Utility\\ArrayUtility', 't3lib_utility_Client' => 'TYPO3\\CMS\\Core\\Utility\\ClientUtility', 't3lib_exec' => 'TYPO3\\CMS\\Core\\Utility\\CommandUtility', 't3lib_utility_Command' => 'TYPO3\\CMS\\Core\\Utility\\CommandUtility', 't3lib_utility_Debug' => 'TYPO3\\CMS\\Core\\Utility\\DebugUtility', 't3lib_diff' => 'TYPO3\\CMS\\Core\\Utility\\DiffUtility', 't3lib_basicFileFunctions' => 'TYPO3\\CMS\\Core\\Utility\\File\\BasicFileUtility', 't3lib_extFileFunctions' => 'TYPO3\\CMS\\Core\\Utility\\File\\ExtendedFileUtility', 't3lib_extFileFunctions_processDataHook' => 'TYPO3\\CMS\\Core\\Utility\\File\\ExtendedFileUtilityProcessDataHookInterface', 't3lib_div' => 'TYPO3\\CMS\\Core\\Utility\\GeneralUtility', 't3lib_utility_Http' => 'TYPO3\\CMS\\Core\\Utility\\HttpUtility', 't3lib_utility_Mail' => 'TYPO3\\CMS\\Core\\Utility\\MailUtility', 't3lib_utility_Math' => 'TYPO3\\CMS\\Core\\Utility\\MathUtility', 't3lib_utility_Monitor' => 'TYPO3\\CMS\\Core\\Utility\\MonitorUtility', 't3lib_utility_Path' => 'TYPO3\\CMS\\Core\\Utility\\PathUtility', 't3lib_utility_PhpOptions' => 'TYPO3\\CMS\\Core\\Utility\\PhpOptionsUtility', 't3lib_utility_VersionNumber' => 'TYPO3\\CMS\\Core\\Utility\\VersionNumberUtility', 'tx_cssstyledcontent_pi1' => 'TYPO3\\CMS\\CssStyledContent\\Controller\\CssStyledContentController', 'tx_dbal_module1' => 'TYPO3\\CMS\\Dbal\\Controller\\ModuleController', 'tx_dbal_querycache' => 'TYPO3\\CMS\\Dbal\\QueryCache', 'ux_t3lib_DB' => 'TYPO3\\CMS\\Dbal\\Database\\DatabaseConnection', 'ux_t3lib_sqlparser' => 'TYPO3\\CMS\\Dbal\\Database\\SqlParser', 'ux_localRecordList' => 'TYPO3\\CMS\\Dbal\\RecordList\\DatabaseRecordList', 'Tx_Extbase_Command_HelpCommandController' => 'TYPO3\\CMS\\Extbase\\Command\\HelpCommandController', 'Tx_Extbase_Configuration_AbstractConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\AbstractConfigurationManager', 'Tx_Extbase_Configuration_BackendConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\BackendConfigurationManager', 'Tx_Extbase_Configuration_ConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManager', 'Tx_Extbase_Configuration_ConfigurationManagerInterface' => 'TYPO3\\CMS\\Extbase\\Configuration\\ConfigurationManagerInterface', 'Tx_Extbase_Configuration_Exception' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception', 'Tx_Extbase_Configuration_Exception_ContainerIsLocked' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\ContainerIsLockedException', 'Tx_Extbase_Configuration_Exception_InvalidConfigurationType' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\InvalidConfigurationTypeException', 'Tx_Extbase_Configuration_Exception_NoSuchFile' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\NoSuchFileException', 'Tx_Extbase_Configuration_Exception_NoSuchOption' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\NoSuchOptionException', 'Tx_Extbase_Configuration_Exception_ParseError' => 'TYPO3\\CMS\\Extbase\\Configuration\\Exception\\ParseErrorException', 'Tx_Extbase_Configuration_FrontendConfigurationManager' => 'TYPO3\\CMS\\Extbase\\Configuration\\FrontendConfigurationManager', 'Tx_Extbase_Core_Bootstrap' => 'TYPO3\\CMS\\Extbase\\Core\\Bootstrap', 'Tx_Extbase_Core_BootstrapInterface' => 'TYPO3\\CMS\\Extbase\\Core\\BootstrapInterface', 'Tx_Extbase_Domain_Model_AbstractFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\AbstractFileCollection', 'Tx_Extbase_Domain_Model_AbstractFileFolder' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\AbstractFileFolder', 'Tx_Extbase_Domain_Model_BackendUser' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\BackendUser', 'Tx_Extbase_Domain_Model_BackendUserGroup' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\BackendUserGroup', 'Tx_Extbase_Domain_Model_Category' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\Category', 'Tx_Extbase_Domain_Model_File' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\File', 'Tx_Extbase_Domain_Model_FileMount' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FileMount', 'Tx_Extbase_Domain_Model_FileReference' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FileReference', 'Tx_Extbase_Domain_Model_Folder' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\Folder', 'Tx_Extbase_Domain_Model_FolderBasedFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FolderBasedFileCollection', 'Tx_Extbase_Domain_Model_FrontendUser' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUser', 'Tx_Extbase_Domain_Model_FrontendUserGroup' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\FrontendUserGroup', 'Tx_Extbase_Domain_Model_StaticFileCollection' => 'TYPO3\\CMS\\Extbase\\Domain\\Model\\StaticFileCollection', 'Tx_Extbase_Domain_Repository_BackendUserRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\BackendUserGroupRepository', 'Tx_Extbase_Domain_Repository_BackendUserGroupRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\BackendUserGroupRepository', 'Tx_Extbase_Domain_Repository_CategoryRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\CategoryRepository', 'Tx_Extbase_Domain_Repository_FileMountRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FileMountRepository', 'Tx_Extbase_Domain_Repository_FrontendUserGroupRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FrontendUserGroupRepository', 'Tx_Extbase_Domain_Repository_FrontendUserRepository' => 'TYPO3\\CMS\\Extbase\\Domain\\Repository\\FrontendUserRepository', 'Tx_Extbase_DomainObject_AbstractDomainObject' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractDomainObject', 'Tx_Extbase_DomainObject_AbstractEntity' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractEntity', 'Tx_Extbase_DomainObject_AbstractValueObject' => 'TYPO3\\CMS\\Extbase\\DomainObject\\AbstractValueObject', 'Tx_Extbase_DomainObject_DomainObjectInterface' => 'TYPO3\\CMS\\Extbase\\DomainObject\\DomainObjectInterface', 'Tx_Extbase_Error_Error' => 'TYPO3\\CMS\\Extbase\\Error\\Error', 'Tx_Extbase_Error_Message' => 'TYPO3\\CMS\\Extbase\\Error\\Message', 'Tx_Extbase_Error_Notice' => 'TYPO3\\CMS\\Extbase\\Error\\Notice', 'Tx_Extbase_Error_Result' => 'TYPO3\\CMS\\Extbase\\Error\\Result', 'Tx_Extbase_Error_Warning' => 'TYPO3\\CMS\\Extbase\\Error\\Warning', 'Tx_Extbase_Exception' => 'TYPO3\\CMS\\Extbase\\Exception', 'Tx_Extbase_MVC_CLI_Command' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Command', 'Tx_Extbase_MVC_CLI_CommandArgumentDefinition' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandArgumentDefinition', 'Tx_Extbase_MVC_CLI_CommandManager' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\CommandManager', 'Tx_Extbase_MVC_CLI_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Request', 'Tx_Extbase_MVC_CLI_RequestBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\RequestBuilder', 'Tx_Extbase_MVC_CLI_RequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\RequestHandler', 'Tx_Extbase_MVC_CLI_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Cli\\Response', 'Tx_Extbase_MVC_Controller_AbstractController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\AbstractController', 'Tx_Extbase_MVC_Controller_ActionController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ActionController', 'Tx_Extbase_MVC_Controller_Argument' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Argument', 'Tx_Extbase_MVC_Controller_Arguments' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Arguments', 'Tx_Extbase_MVC_Controller_CommandController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\CommandController', 'Tx_Extbase_MVC_Controller_CommandControllerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\CommandControllerInterface', 'Tx_Extbase_MVC_Controller_ControllerContext' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerContext', 'Tx_Extbase_MVC_Controller_ControllerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\ControllerInterface', 'Tx_Extbase_MVC_Controller_Exception_RequiredArgumentMissingException' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\Exception\\RequiredArgumentMissingException', 'Tx_Extbase_MVC_Controller_MvcPropertyMappingConfiguration' => 'TYPO3\\CMS\\Extbase\\Mvc\\Controller\\MvcPropertyMappingConfiguration', 'Tx_Extbase_MVC_Dispatcher' => 'TYPO3\\CMS\\Extbase\\Mvc\\Dispatcher', 'Tx_Extbase_MVC_Exception' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception', 'Tx_Extbase_MVC_Exception_AmbiguousCommandIdentifier' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\AmbiguousCommandIdentifierException', 'Tx_Extbase_MVC_Exception_Command' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\CommandException', 'Tx_Extbase_MVC_Exception_InfiniteLoop' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InfiniteLoopException', 'Tx_Extbase_MVC_Exception_InvalidActionName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidActionNameException', 'Tx_Extbase_MVC_Exception_InvalidArgumentMixing' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentMixingException', 'Tx_Extbase_MVC_Exception_InvalidArgumentName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentNameException', 'Tx_Extbase_MVC_Exception_InvalidArgumentType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentTypeException', 'Tx_Extbase_MVC_Exception_InvalidArgumentValue' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidArgumentValueException', 'Tx_Extbase_MVC_Exception_InvalidCommandIdentifier' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidCommandIdentifierException', 'Tx_Extbase_MVC_Exception_InvalidController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidControllerException', 'Tx_Extbase_MVC_Exception_InvalidControllerName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidControllerNameException', 'Tx_Extbase_MVC_Exception_InvalidExtensionName' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidExtensionNameException', 'Tx_Extbase_MVC_Exception_InvalidMarker' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidMarkerException', 'Tx_Extbase_MVC_Exception_InvalidOrNoRequestHash' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidOrNoRequestHashException', 'Tx_Extbase_MVC_Exception_InvalidRequestMethod' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidRequestMethodException', 'Tx_Extbase_MVC_Exception_InvalidRequestType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidRequestTypeException', 'Tx_Extbase_MVC_Exception_InvalidTemplateResource' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidTemplateResourceException', 'Tx_Extbase_MVC_Exception_InvalidUriPattern' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidUriPatternException', 'Tx_Extbase_MVC_Exception_InvalidViewHelper' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\InvalidViewHelperException', 'Tx_Extbase_MVC_Exception_NoSuchAction' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchActionException', 'Tx_Extbase_MVC_Exception_NoSuchArgument' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchArgumentException', 'Tx_Extbase_MVC_Exception_NoSuchCommand' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchCommandException', 'Tx_Extbase_MVC_Exception_NoSuchController' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\NoSuchControllerException', 'Tx_Extbase_MVC_Exception_RequiredArgumentMissing' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\RequiredArgumentMissingException', 'Tx_Extbase_MVC_Exception_StopAction' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\StopActionException', 'Tx_Extbase_MVC_Exception_UnsupportedRequestType' => 'TYPO3\\CMS\\Extbase\\Mvc\\Exception\\UnsupportedRequestTypeException', 'Tx_Extbase_MVC_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Request', 'Tx_Extbase_MVC_RequestHandlerInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestHandlerInterface', 'Tx_Extbase_MVC_RequestHandlerResolver' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestHandlerResolver', 'Tx_Extbase_MVC_RequestInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\RequestInterface', 'Tx_Extbase_MVC_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Response', 'Tx_Extbase_MVC_ResponseInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\ResponseInterface', 'Tx_Extbase_MVC_View_AbstractView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\AbstractView', 'Tx_Extbase_MVC_View_EmptyView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\EmptyView', 'Tx_Extbase_MVC_View_NotFoundView' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\NotFoundView', 'Tx_Extbase_MVC_View_ViewInterface' => 'TYPO3\\CMS\\Extbase\\Mvc\\View\\ViewInterface', 'Tx_Extbase_MVC_Web_AbstractRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\AbstractRequestHandler', 'Tx_Extbase_MVC_Web_BackendRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\BackendRequestHandler', 'Tx_Extbase_MVC_Web_FrontendRequestHandler' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\FrontendRequestHandler', 'Tx_Extbase_MVC_Web_Request' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Request', 'Tx_Extbase_MVC_Web_RequestBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\RequestBuilder', 'Tx_Extbase_MVC_Web_Response' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Response', 'Tx_Extbase_MVC_Web_Routing_UriBuilder' => 'TYPO3\\CMS\\Extbase\\Mvc\\Web\\Routing\\UriBuilder', 'Tx_Extbase_Object_Container_ClassInfo' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfo', 'Tx_Extbase_Object_Container_ClassInfoCache' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfoCache', 'Tx_Extbase_Object_Container_ClassInfoFactory' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\ClassInfoFactory', 'Tx_Extbase_Object_Container_Container' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Container', 'Tx_Extbase_Object_Container_Exception_CannotInitializeCacheException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\CannotInitializeCacheException', 'Tx_Extbase_Object_Container_Exception_TooManyRecursionLevelsException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\TooManyRecursionLevelsException', 'Tx_Extbase_Object_Container_Exception_UnknownObjectException' => 'TYPO3\\CMS\\Extbase\\Object\\Container\\Exception\\UnknownObjectException', 'Tx_Extbase_Object_Exception' => 'TYPO3\\CMS\\Extbase\\Object\\Exception', 'Tx_Extbase_Object_Exception_CannotBuildObject' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\CannotBuildObjectException', 'Tx_Extbase_Object_Exception_CannotReconstituteObject' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\CannotReconstituteObjectException', 'Tx_Extbase_Object_Exception_WrongScope' => 'TYPO3\\CMS\\Extbase\\Object\\Exception\\WrongScopeException', 'Tx_Extbase_Object_InvalidClass' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidClassException', 'Tx_Extbase_Object_InvalidObjectConfiguration' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidObjectConfigurationException', 'Tx_Extbase_Object_InvalidObject' => 'TYPO3\\CMS\\Extbase\\Object\\InvalidObjectException', 'Tx_Extbase_Object_ObjectAlreadyRegistered' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectAlreadyRegisteredException', 'Tx_Extbase_Object_ObjectManager' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectManager', 'Tx_Extbase_Object_ObjectManagerInterface' => 'TYPO3\\CMS\\Extbase\\Object\\ObjectManagerInterface', 'Tx_Extbase_Object_UnknownClass' => 'TYPO3\\CMS\\Extbase\\Object\\UnknownClassException', 'Tx_Extbase_Object_UnknownInterface' => 'TYPO3\\CMS\\Extbase\\Object\\UnknownInterfaceException', 'Tx_Extbase_Object_UnresolvedDependencies' => 'TYPO3\\CMS\\Extbase\\Object\\UnresolvedDependenciesException', 'Tx_Extbase_Persistence_Backend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Backend', 'Tx_Extbase_Persistence_BackendInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\BackendInterface', 'Tx_Extbase_Persistence_Exception' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception', 'Tx_Extbase_Persistence_Exception_CleanStateNotMemorized' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\CleanStateNotMemorizedException', 'Tx_Extbase_Persistence_Exception_IllegalObjectType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Exception\\IllegalObjectTypeException', 'Tx_Extbase_Persistence_Exception_InvalidClass' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidClassException', 'Tx_Extbase_Persistence_Exception_InvalidNumberOfConstraints' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidNumberOfConstraintsException', 'Tx_Extbase_Persistence_Exception_InvalidPropertyType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InvalidPropertyTypeException', 'Tx_Extbase_Persistence_Exception_MissingBackend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\MissingBackendException', 'Tx_Extbase_Persistence_Exception_RepositoryException' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\RepositoryException', 'Tx_Extbase_Persistence_Exception_TooDirty' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\TooDirtyException', 'Tx_Extbase_Persistence_Exception_UnexpectedTypeException' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnexpectedTypeException', 'Tx_Extbase_Persistence_Exception_UnknownObject' => 'TYPO3\\CMS\\Extbase\\Persistence\\Exception\\UnknownObjectException', 'Tx_Extbase_Persistence_Exception_UnsupportedMethod' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedMethodException', 'Tx_Extbase_Persistence_Exception_UnsupportedOrder' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedOrderException', 'Tx_Extbase_Persistence_Exception_UnsupportedRelation' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\UnsupportedRelationException', 'Tx_Extbase_Persistence_Generic_Exception_InconsistentQuerySettings' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Exception\\InconsistentQuerySettingsException', 'Tx_Extbase_Persistence_LazyLoadingProxy' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyLoadingProxy', 'Tx_Extbase_Persistence_LazyObjectStorage' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LazyObjectStorage', 'Tx_Extbase_Persistence_LoadingStrategyInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\LoadingStrategyInterface', 'Tx_Extbase_Persistence_Mapper_ColumnMap' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\ColumnMap', 'Tx_Extbase_Persistence_Mapper_DataMap' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMap', 'Tx_Extbase_Persistence_Mapper_DataMapFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMapFactory', 'Tx_Extbase_Persistence_Mapper_DataMapper' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Mapper\\DataMapper', 'Tx_Extbase_Persistence_ObjectMonitoringInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\ObjectMonitoringInterface', 'Tx_Extbase_Persistence_ObjectStorage' => 'TYPO3\\CMS\\Extbase\\Persistence\\ObjectStorage', 'Tx_Extbase_Persistence_Manager' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\PersistenceManager', 'Tx_Extbase_Persistence_PersistenceManagerInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\PersistenceManagerInterface', 'Tx_Extbase_Persistence_ManagerInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\PersistenceManagerInterface', 'Tx_Extbase_Persistence_PropertyType' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\PropertyType', 'Tx_Extbase_Persistence_QOM_AndInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\AndInterface', 'Tx_Extbase_Persistence_QOM_BindVariableValue' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\BindVariableValue', 'Tx_Extbase_Persistence_QOM_BindVariableValueInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\BindVariableValueInterface', 'Tx_Extbase_Persistence_QOM_Comparison' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Comparison', 'Tx_Extbase_Persistence_QOM_ComparisonInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\ComparisonInterface', 'Tx_Extbase_Persistence_QOM_ConstraintInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\ConstraintInterface', 'Tx_Extbase_Persistence_QOM_DynamicOperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\DynamicOperandInterface', 'Tx_Extbase_Persistence_QOM_EquiJoinCondition' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\EquiJoinCondition', 'Tx_Extbase_Persistence_QOM_EquiJoinConditionInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\EquiJoinConditionInterface', 'Tx_Extbase_Persistence_QOM_Join' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Join', 'Tx_Extbase_Persistence_QOM_JoinConditionInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\JoinConditionInterface', 'Tx_Extbase_Persistence_QOM_JoinInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\JoinInterface', 'Tx_Extbase_Persistence_QOM_LogicalAnd' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalAnd', 'Tx_Extbase_Persistence_QOM_LogicalNot' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalNot', 'Tx_Extbase_Persistence_QOM_LogicalOr' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LogicalOr', 'Tx_Extbase_Persistence_QOM_LowerCase' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LowerCase', 'Tx_Extbase_Persistence_QOM_LowerCaseInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\LowerCaseInterface', 'Tx_Extbase_Persistence_QOM_NotInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\NotInterface', 'Tx_Extbase_Persistence_QOM_OperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OperandInterface', 'Tx_Extbase_Persistence_QOM_Ordering' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Ordering', 'Tx_Extbase_Persistence_QOM_OrderingInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OrderingInterface', 'Tx_Extbase_Persistence_QOM_OrInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\OrInterface', 'Tx_Extbase_Persistence_QOM_PropertyValue' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\PropertyValue', 'Tx_Extbase_Persistence_QOM_PropertyValueInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\PropertyValueInterface', 'Tx_Extbase_Persistence_QOM_QueryObjectModelFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\QueryObjectModelFactory', 'Tx_Extbase_Persistence_QOM_Selector' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Selector', 'Tx_Extbase_Persistence_QOM_SelectorInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\SelectorInterface', 'Tx_Extbase_Persistence_QOM_SourceInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\SourceInterface', 'Tx_Extbase_Persistence_QOM_Statement' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\Statement', 'Tx_Extbase_Persistence_QOM_StaticOperandInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\StaticOperandInterface', 'Tx_Extbase_Persistence_QOM_UpperCase' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\UpperCase', 'Tx_Extbase_Persistence_QOM_UpperCaseInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Qom\\UpperCaseInterface', 'Tx_Extbase_Persistence_Query' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Query', 'Tx_Extbase_Persistence_QueryFactory' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryFactory', 'Tx_Extbase_Persistence_QueryFactoryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryFactoryInterface', 'Tx_Extbase_Persistence_QueryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\QueryInterface', 'Tx_Extbase_Persistence_QueryResult' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QueryResult', 'Tx_Extbase_Persistence_QueryResultInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\QueryResultInterface', 'Tx_Extbase_Persistence_QuerySettingsInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\QuerySettingsInterface', 'Tx_Extbase_Persistence_Repository' => 'TYPO3\\CMS\\Extbase\\Persistence\\Repository', 'Tx_Extbase_Persistence_RepositoryInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\RepositoryInterface', 'Tx_Extbase_Persistence_Session' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Session', 'Tx_Extbase_Persistence_Storage_BackendInterface' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\BackendInterface', 'Tx_Extbase_Persistence_Storage_Exception_BadConstraint' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Exception\\BadConstraintException', 'Tx_Extbase_Persistence_Storage_Exception_SqlError' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Exception\\SqlErrorException', 'Tx_Extbase_Persistence_Storage_Typo3DbBackend' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Storage\\Typo3DbBackend', 'Tx_Extbase_Persistence_Typo3QuerySettings' => 'TYPO3\\CMS\\Extbase\\Persistence\\Generic\\Typo3QuerySettings', 'Tx_Extbase_Property_Exception' => 'TYPO3\\CMS\\Extbase\\Property\\Exception', 'Tx_Extbase_Property_Exception_DuplicateObjectException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\DuplicateObjectException', 'Tx_Extbase_Property_Exception_DuplicateTypeConverterException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\DuplicateTypeConverterException', 'Tx_Extbase_Property_Exception_FormatNotSupportedException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\FormatNotSupportedException', 'Tx_Extbase_Property_Exception_InvalidDataTypeException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidDataTypeException', 'Tx_Extbase_Property_Exception_InvalidFormatException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidFormatException', 'Tx_Extbase_Property_Exception_InvalidPropertyException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidPropertyException', 'Tx_Extbase_Property_Exception_InvalidPropertyMappingConfigurationException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidPropertyMappingConfigurationException', 'Tx_Extbase_Property_Exception_InvalidSource' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidSourceException', 'Tx_Extbase_Property_Exception_InvalidSourceException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidSourceException', 'Tx_Extbase_Property_Exception_InvalidTarget' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidTargetException', 'Tx_Extbase_Property_Exception_InvalidTargetException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\InvalidTargetException', 'Tx_Extbase_Property_Exception_TargetNotFoundException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\TargetNotFoundException', 'Tx_Extbase_Property_Exception_TypeConverterException' => 'TYPO3\\CMS\\Extbase\\Property\\Exception\\TypeConverterException', 'Tx_Extbase_Property_PropertyMapper' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMapper', 'Tx_Extbase_Property_PropertyMappingConfiguration' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfiguration', 'Tx_Extbase_Property_PropertyMappingConfigurationBuilder' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfigurationBuilder', 'Tx_Extbase_Property_PropertyMappingConfigurationInterface' => 'TYPO3\\CMS\\Extbase\\Property\\PropertyMappingConfigurationInterface', 'Tx_Extbase_Property_TypeConverter_AbstractFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_AbstractFileFolderConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractFileFolderConverter', 'Tx_Extbase_Property_TypeConverter_AbstractTypeConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\AbstractTypeConverter', 'Tx_Extbase_Property_TypeConverter_ArrayConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\ArrayConverter', 'Tx_Extbase_Property_TypeConverter_BooleanConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\BooleanConverter', 'Tx_Extbase_Property_TypeConverter_DateTimeConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\DateTimeConverter', 'Tx_Extbase_Property_TypeConverter_FileConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FileConverter', 'Tx_Extbase_Property_TypeConverter_FileReferenceConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FileReferenceConverter', 'Tx_Extbase_Property_TypeConverter_FloatConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FloatConverter', 'Tx_Extbase_Property_TypeConverter_FolderBasedFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FolderBasedFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_FolderConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\FolderConverter', 'Tx_Extbase_Property_TypeConverter_IntegerConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\IntegerConverter', 'Tx_Extbase_Property_TypeConverter_ObjectStorageConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\ObjectStorageConverter', 'Tx_Extbase_Property_TypeConverter_PersistentObjectConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\PersistentObjectConverter', 'Tx_Extbase_Property_TypeConverter_StaticFileCollectionConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\StaticFileCollectionConverter', 'Tx_Extbase_Property_TypeConverter_StringConverter' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverter\\StringConverter', 'Tx_Extbase_Property_TypeConverterInterface' => 'TYPO3\\CMS\\Extbase\\Property\\TypeConverterInterface', 'Tx_Extbase_Reflection_ClassReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\ClassReflection', 'Tx_Extbase_Reflection_ClassSchema' => 'TYPO3\\CMS\\Extbase\\Reflection\\ClassSchema', 'Tx_Extbase_Reflection_DocCommentParser' => 'TYPO3\\CMS\\Extbase\\Reflection\\DocCommentParser', 'Tx_Extbase_Reflection_Exception' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception', 'Tx_Extbase_Reflection_Exception_InvalidPropertyType' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\InvalidPropertyTypeException', 'Tx_Extbase_Reflection_Exception_PropertyNotAccessibleException' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\PropertyNotAccessibleException', 'Tx_Extbase_Reflection_Exception_UnknownClass' => 'TYPO3\\CMS\\Extbase\\Reflection\\Exception\\UnknownClassException', 'Tx_Extbase_Reflection_MethodReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\MethodReflection', 'Tx_Extbase_Reflection_ObjectAccess' => 'TYPO3\\CMS\\Extbase\\Reflection\\ObjectAccess', 'Tx_Extbase_Reflection_ParameterReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\ParameterReflection', 'Tx_Extbase_Reflection_PropertyReflection' => 'TYPO3\\CMS\\Extbase\\Reflection\\PropertyReflection', 'Tx_Extbase_Reflection_Service' => 'TYPO3\\CMS\\Extbase\\Reflection\\ReflectionService', 'Tx_Extbase_Scheduler_FieldProvider' => 'TYPO3\\CMS\\Extbase\\Scheduler\\FieldProvider', 'Tx_Extbase_Scheduler_Task' => 'TYPO3\\CMS\\Extbase\\Scheduler\\Task', 'Tx_Extbase_Scheduler_TaskExecutor' => 'TYPO3\\CMS\\Extbase\\Scheduler\\TaskExecutor', 'Tx_Extbase_Security_Cryptography_HashService' => 'TYPO3\\CMS\\Extbase\\Security\\Cryptography\\HashService', 'Tx_Extbase_Security_Exception' => 'TYPO3\\CMS\\Extbase\\Security\\Exception', 'Tx_Extbase_Security_Exception_InvalidArgumentForHashGeneration' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidArgumentForHashGenerationException', 'Tx_Extbase_Security_Exception_InvalidArgumentForRequestHashGeneration' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidArgumentForRequestHashGenerationException', 'Tx_Extbase_Security_Exception_InvalidHash' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\InvalidHashException', 'Tx_Extbase_Security_Exception_SyntacticallyWrongRequestHash' => 'TYPO3\\CMS\\Extbase\\Security\\Exception\\SyntacticallyWrongRequestHashException', 'Tx_Extbase_Service_CacheService' => 'TYPO3\\CMS\\Extbase\\Service\\CacheService', 'Tx_Extbase_Service_ExtensionService' => 'TYPO3\\CMS\\Extbase\\Service\\ExtensionService', 'Tx_Extbase_Service_FlexFormService' => 'TYPO3\\CMS\\Extbase\\Service\\FlexFormService', 'Tx_Extbase_Service_TypoScriptService' => 'TYPO3\\CMS\\Extbase\\Service\\TypoScriptService', 'Tx_Extbase_SignalSlot_Dispatcher' => 'TYPO3\\CMS\\Extbase\\SignalSlot\\Dispatcher', 'Tx_Extbase_SignalSlot_Exception_InvalidSlotException' => 'TYPO3\\CMS\\Extbase\\SignalSlot\\Exception\\InvalidSlotException', 'Tx_Extbase_Tests_Unit_BaseTestCase' => 'TYPO3\\CMS\\Core\\Tests\\UnitTestCase', 'TYPO3\\CMS\\Extbase\\Tests\\Unit\\BaseTestCase' => 'TYPO3\\CMS\\Core\\Tests\\UnitTestCase', 'Tx_Extbase_Utility_Arrays' => 'TYPO3\\CMS\\Extbase\\Utility\\ArrayUtility', 'Tx_Extbase_Utility_Debugger' => 'TYPO3\\CMS\\Extbase\\Utility\\DebuggerUtility', 'Tx_Extbase_Utility_ExtbaseRequirementsCheck' => 'TYPO3\\CMS\\Extbase\\Utility\\ExtbaseRequirementsCheckUtility', 'Tx_Extbase_Utility_Extension' => 'TYPO3\\CMS\\Extbase\\Utility\\ExtensionUtility', 'Tx_Extbase_Utility_FrontendSimulator' => 'TYPO3\\CMS\\Extbase\\Utility\\FrontendSimulatorUtility', 'Tx_Extbase_Utility_Localization' => 'TYPO3\\CMS\\Extbase\\Utility\\LocalizationUtility', 'Tx_Extbase_Validation_Error' => 'TYPO3\\CMS\\Extbase\\Validation\\Error', 'Tx_Extbase_Validation_Exception' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception', 'Tx_Extbase_Validation_Exception_InvalidSubject' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidSubjectException', 'Tx_Extbase_Validation_Exception_InvalidValidationConfiguration' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidValidationConfigurationException', 'Tx_Extbase_Validation_Exception_InvalidValidationOptions' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\InvalidValidationOptionsException', 'Tx_Extbase_Validation_Exception_NoSuchValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\NoSuchValidatorException', 'Tx_Extbase_Validation_Exception_NoValidatorFound' => 'TYPO3\\CMS\\Extbase\\Validation\\Exception\\NoValidatorFoundException', 'Tx_Extbase_Validation_Validator_AbstractCompositeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AbstractCompositeValidator', 'Tx_Extbase_Validation_Validator_AbstractValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AbstractValidator', 'Tx_Extbase_Validation_Validator_AlphanumericValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\AlphanumericValidator', 'Tx_Extbase_Validation_Validator_ConjunctionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ConjunctionValidator', 'Tx_Extbase_Validation_Validator_DateTimeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\DateTimeValidator', 'Tx_Extbase_Validation_Validator_DisjunctionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\DisjunctionValidator', 'Tx_Extbase_Validation_Validator_EmailAddressValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\EmailAddressValidator', 'Tx_Extbase_Validation_Validator_FloatValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\FloatValidator', 'Tx_Extbase_Validation_Validator_GenericObjectValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\GenericObjectValidator', 'Tx_Extbase_Validation_Validator_IntegerValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\IntegerValidator', 'Tx_Extbase_Validation_Validator_NotEmptyValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NotEmptyValidator', 'Tx_Extbase_Validation_Validator_NumberRangeValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NumberRangeValidator', 'Tx_Extbase_Validation_Validator_NumberValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\NumberValidator', 'Tx_Extbase_Validation_Validator_ObjectValidatorInterface' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ObjectValidatorInterface', 'Tx_Extbase_Validation_Validator_RawValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\RawValidator', 'Tx_Extbase_Validation_Validator_RegularExpressionValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\RegularExpressionValidator', 'Tx_Extbase_Validation_Validator_StringLengthValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringLengthValidator', 'Tx_Extbase_Validation_Validator_StringValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\StringValidator', 'Tx_Extbase_Validation_Validator_TextValidator' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\TextValidator', 'Tx_Extbase_Validation_Validator_ValidatorInterface' => 'TYPO3\\CMS\\Extbase\\Validation\\Validator\\ValidatorInterface', 'Tx_Extbase_Validation_ValidatorResolver' => 'TYPO3\\CMS\\Extbase\\Validation\\ValidatorResolver', 'tx_em_Tasks_UpdateExtensionList' => 'TYPO3\\CMS\\Extensionmanager\\Task\\UpdateExtensionListTask', 'tx_feedit_editpanel' => 'TYPO3\\CMS\\Feedit\\FrontendEditPanel', 'SC_file_list' => 'TYPO3\\CMS\\Filelist\\Controller\\FileListController', 'fileList' => 'TYPO3\\CMS\\Filelist\\FileList', 'fileList_editIconHook' => 'TYPO3\\CMS\\Filelist\\FileListEditIconHookInterface', 'filelistFolderTree' => 'TYPO3\\CMS\\Filelist\\FileListFolderTree', 'Tx_Fluid_Compatibility_DocbookGeneratorService' => 'TYPO3\\CMS\\Fluid\\Compatibility\\DocbookGeneratorService', 'Tx_Fluid_Compatibility_TemplateParserBuilder' => 'TYPO3\\CMS\\Fluid\\Compatibility\\TemplateParserBuilder', 'Tx_Fluid_Core_Compiler_AbstractCompiledTemplate' => 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\AbstractCompiledTemplate', 'Tx_Fluid_Core_Compiler_TemplateCompiler' => 'TYPO3\\CMS\\Fluid\\Core\\Compiler\\TemplateCompiler', 'Tx_Fluid_Core_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Exception', 'Tx_Fluid_Core_Parser_Configuration' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Configuration', 'Tx_Fluid_Core_Parser_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Exception', 'Tx_Fluid_Core_Parser_Interceptor_Escape' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\Interceptor\\Escape', 'Tx_Fluid_Core_Parser_InterceptorInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\InterceptorInterface', 'Tx_Fluid_Core_Parser_ParsedTemplateInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\ParsedTemplateInterface', 'Tx_Fluid_Core_Parser_ParsingState' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\ParsingState', 'Tx_Fluid_Core_Parser_SyntaxTree_AbstractNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\AbstractNode', 'Tx_Fluid_Core_Parser_SyntaxTree_ArrayNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ArrayNode', 'Tx_Fluid_Core_Parser_SyntaxTree_BooleanNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\BooleanNode', 'Tx_Fluid_Core_Parser_SyntaxTree_NodeInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\NodeInterface', 'Tx_Fluid_Core_Parser_SyntaxTree_ObjectAccessorNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ObjectAccessorNode', 'Tx_Fluid_Core_Parser_SyntaxTree_RootNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\RootNode', 'Tx_Fluid_Core_Parser_SyntaxTree_TextNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\TextNode', 'Tx_Fluid_Core_Parser_SyntaxTree_ViewHelperNode' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\SyntaxTree\\ViewHelperNode', 'Tx_Fluid_Core_Parser_TemplateParser' => 'TYPO3\\CMS\\Fluid\\Core\\Parser\\TemplateParser', 'Tx_Fluid_Core_Rendering_RenderingContext' => 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContext', 'Tx_Fluid_Core_Rendering_RenderingContextInterface' => 'TYPO3\\CMS\\Fluid\\Core\\Rendering\\RenderingContextInterface', 'Tx_Fluid_Core_ViewHelper_AbstractConditionViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractConditionViewHelper', 'Tx_Fluid_Core_ViewHelper_AbstractTagBasedViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractTagBasedViewHelper', 'Tx_Fluid_Core_ViewHelper_AbstractViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\AbstractViewHelper', 'Tx_Fluid_Core_ViewHelper_ArgumentDefinition' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ArgumentDefinition', 'Tx_Fluid_Core_ViewHelper_Arguments' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Arguments', 'Tx_Fluid_Core_ViewHelper_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception', 'Tx_Fluid_Core_ViewHelper_Exception_InvalidVariableException' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception\\InvalidVariableException', 'Tx_Fluid_Core_ViewHelper_Exception_RenderingContextNotAccessibleException' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Exception\\RenderingContextNotAccessibleException', 'Tx_Fluid_Core_ViewHelper_Facets_ChildNodeAccessInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\ChildNodeAccessInterface', 'Tx_Fluid_Core_ViewHelper_Facets_CompilableInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\CompilableInterface', 'Tx_Fluid_Core_ViewHelper_Facets_PostParseInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\Facets\\PostParseInterface', 'Tx_Fluid_Core_ViewHelper_TagBuilder' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\TagBuilder', 'Tx_Fluid_Core_ViewHelper_TemplateVariableContainer' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\TemplateVariableContainer', 'Tx_Fluid_Core_ViewHelper_ViewHelperInterface' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ViewHelperInterface', 'Tx_Fluid_Core_ViewHelper_ViewHelperVariableContainer' => 'TYPO3\\CMS\\Fluid\\Core\\ViewHelper\\ViewHelperVariableContainer', 'Tx_Fluid_Core_Widget_AbstractWidgetController' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AbstractWidgetController', 'Tx_Fluid_Core_Widget_AbstractWidgetViewHelper' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AbstractWidgetViewHelper', 'Tx_Fluid_Core_Widget_AjaxWidgetContextHolder' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\AjaxWidgetContextHolder', 'Tx_Fluid_Core_Widget_Bootstrap' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Bootstrap', 'Tx_Fluid_Core_Widget_Exception' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception', 'Tx_Fluid_Core_Widget_Exception_MissingControllerException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\MissingControllerException', 'Tx_Fluid_Core_Widget_Exception_RenderingContextNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\RenderingContextNotFoundException', 'Tx_Fluid_Core_Widget_Exception_WidgetContextNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\WidgetContextNotFoundException', 'Tx_Fluid_Core_Widget_Exception_WidgetRequestNotFoundException' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\Exception\\WidgetRequestNotFoundException', 'Tx_Fluid_Core_Widget_WidgetContext' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetContext', 'Tx_Fluid_Core_Widget_WidgetRequest' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequest', 'Tx_Fluid_Core_Widget_WidgetRequestBuilder' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequestBuilder', 'Tx_Fluid_Core_Widget_WidgetRequestHandler' => 'TYPO3\\CMS\\Fluid\\Core\\Widget\\WidgetRequestHandler', 'Tx_Fluid_Exception' => 'TYPO3\\CMS\\Fluid\\Exception', 'Tx_Fluid_Fluid' => 'TYPO3\\CMS\\Fluid\\Fluid', 'Tx_Fluid_Service_DocbookGenerator' => 'TYPO3\\CMS\\Fluid\\Service\\DocbookGenerator', 'Tx_Fluid_View_AbstractTemplateView' => 'TYPO3\\CMS\\Fluid\\View\\AbstractTemplateView', 'Tx_Fluid_View_Exception' => 'TYPO3\\CMS\\Fluid\\View\\Exception', 'Tx_Fluid_View_Exception_InvalidSectionException' => 'TYPO3\\CMS\\Fluid\\View\\Exception\\InvalidSectionException', 'Tx_Fluid_View_Exception_InvalidTemplateResourceException' => 'TYPO3\\CMS\\Fluid\\View\\Exception\\InvalidTemplateResourceException', 'Tx_Fluid_View_StandaloneView' => 'TYPO3\\CMS\\Fluid\\View\\StandaloneView', 'Tx_Fluid_View_TemplateView' => 'TYPO3\\CMS\\Fluid\\View\\TemplateView', 'Tx_Fluid_ViewHelpers_AliasViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\AliasViewHelper', 'Tx_Fluid_ViewHelpers_BaseViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\BaseViewHelper', 'Tx_Fluid_ViewHelpers_Be_AbstractBackendViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\AbstractBackendViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_CshViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\CshViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_IconViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\IconViewHelper', 'Tx_Fluid_ViewHelpers_Be_Buttons_ShortcutViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Buttons\\ShortcutViewHelper', 'Tx_Fluid_ViewHelpers_Be_ContainerViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\ContainerViewHelper', 'Tx_Fluid_ViewHelpers_Be_Menus_ActionMenuItemViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Menus\\ActionMenuItemViewHelper', 'Tx_Fluid_ViewHelpers_Be_Menus_ActionMenuViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Menus\\ActionMenuViewHelper', 'Tx_Fluid_ViewHelpers_Be_PageInfoViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\PageInfoViewHelper', 'Tx_Fluid_ViewHelpers_Be_PagePathViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\PagePathViewHelper', 'Tx_Fluid_ViewHelpers_Be_Security_IfAuthenticatedViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Security\\IfAuthenticatedViewHelper', 'Tx_Fluid_ViewHelpers_Be_Security_IfHasRoleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\Security\\IfHasRoleViewHelper', 'Tx_Fluid_ViewHelpers_Be_TableListViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Be\\TableListViewHelper', 'Tx_Fluid_ViewHelpers_CObjectViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CObjectViewHelper', 'Tx_Fluid_ViewHelpers_CommentViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CommentViewHelper', 'Tx_Fluid_ViewHelpers_CountViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CountViewHelper', 'Tx_Fluid_ViewHelpers_CycleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\CycleViewHelper', 'Tx_Fluid_ViewHelpers_DebugViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\DebugViewHelper', 'Tx_Fluid_ViewHelpers_ElseViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ElseViewHelper', 'Tx_Fluid_ViewHelpers_FlashMessagesViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\FlashMessagesViewHelper', 'Tx_Fluid_ViewHelpers_Form_AbstractFormFieldViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\AbstractFormFieldViewHelper', 'Tx_Fluid_ViewHelpers_Form_AbstractFormViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\AbstractFormViewHelper', 'Tx_Fluid_ViewHelpers_Form_CheckboxViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\CheckboxViewHelper', 'Tx_Fluid_ViewHelpers_Form_HiddenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\HiddenViewHelper', 'Tx_Fluid_ViewHelpers_Form_PasswordViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\PasswordViewHelper', 'Tx_Fluid_ViewHelpers_Form_RadioViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\RadioViewHelper', 'Tx_Fluid_ViewHelpers_Form_SelectViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\SelectViewHelper', 'Tx_Fluid_ViewHelpers_Form_SubmitViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\SubmitViewHelper', 'Tx_Fluid_ViewHelpers_Form_TextareaViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\TextareaViewHelper', 'Tx_Fluid_ViewHelpers_Form_TextfieldViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\TextfieldViewHelper', 'Tx_Fluid_ViewHelpers_Form_UploadViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\UploadViewHelper', 'Tx_Fluid_ViewHelpers_Form_ValidationResultsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Form\\ValidationResultsViewHelper', 'Tx_Fluid_ViewHelpers_Format_AbstractEncodingViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\AbstractEncodingViewHelper', 'Tx_Fluid_ViewHelpers_Format_CdataViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CdataViewHelper', 'Tx_Fluid_ViewHelpers_Format_CropViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CropViewHelper', 'Tx_Fluid_ViewHelpers_Format_CurrencyViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\CurrencyViewHelper', 'Tx_Fluid_ViewHelpers_Format_DateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\DateViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlentitiesDecodeViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesDecodeViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlentitiesViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlentitiesViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlspecialcharsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlspecialcharsViewHelper', 'Tx_Fluid_ViewHelpers_Format_HtmlViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\HtmlViewHelper', 'Tx_Fluid_ViewHelpers_Format_Nl2brViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\Nl2brViewHelper', 'Tx_Fluid_ViewHelpers_Format_NumberViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\NumberViewHelper', 'Tx_Fluid_ViewHelpers_Format_PaddingViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\PaddingViewHelper', 'Tx_Fluid_ViewHelpers_Format_PrintfViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\PrintfViewHelper', 'Tx_Fluid_ViewHelpers_Format_RawViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\RawViewHelper', 'Tx_Fluid_ViewHelpers_Format_StripTagsViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\StripTagsViewHelper', 'Tx_Fluid_ViewHelpers_Format_UrlencodeViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Format\\UrlencodeViewHelper', 'Tx_Fluid_ViewHelpers_FormViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\FormViewHelper', 'Tx_Fluid_ViewHelpers_ForViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ForViewHelper', 'Tx_Fluid_ViewHelpers_GroupedForViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\GroupedForViewHelper', 'Tx_Fluid_ViewHelpers_IfViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\IfViewHelper', 'Tx_Fluid_ViewHelpers_ImageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ImageViewHelper', 'Tx_Fluid_ViewHelpers_LayoutViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\LayoutViewHelper', 'Tx_Fluid_ViewHelpers_Link_ActionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\ActionViewHelper', 'Tx_Fluid_ViewHelpers_Link_EmailViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\EmailViewHelper', 'Tx_Fluid_ViewHelpers_Link_ExternalViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\ExternalViewHelper', 'Tx_Fluid_ViewHelpers_Link_PageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Link\\PageViewHelper', 'Tx_Fluid_ViewHelpers_RenderChildrenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\RenderChildrenViewHelper', 'Tx_Fluid_ViewHelpers_RenderViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\RenderViewHelper', 'Tx_Fluid_ViewHelpers_SectionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\SectionViewHelper', 'Tx_Fluid_ViewHelpers_Security_IfAuthenticatedViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Security\\IfAuthenticatedViewHelper', 'Tx_Fluid_ViewHelpers_Security_IfHasRoleViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Security\\IfHasRoleViewHelper', 'Tx_Fluid_ViewHelpers_ThenViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\ThenViewHelper', 'Tx_Fluid_ViewHelpers_TranslateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\TranslateViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ActionViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ActionViewHelper', 'Tx_Fluid_ViewHelpers_Uri_EmailViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\EmailViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ExternalViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ExternalViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ImageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ImageViewHelper', 'Tx_Fluid_ViewHelpers_Uri_PageViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\PageViewHelper', 'Tx_Fluid_ViewHelpers_Uri_ResourceViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Uri\\ResourceViewHelper', 'Tx_Fluid_ViewHelpers_Widget_AutocompleteViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\AutocompleteViewHelper', 'Tx_Fluid_ViewHelpers_Widget_Controller_AutocompleteController' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\Controller\\AutocompleteController', 'Tx_Fluid_ViewHelpers_Widget_Controller_PaginateController' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\Controller\\PaginateController', 'Tx_Fluid_ViewHelpers_Widget_LinkViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\LinkViewHelper', 'Tx_Fluid_ViewHelpers_Widget_PaginateViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\PaginateViewHelper', 'Tx_Fluid_ViewHelpers_Widget_UriViewHelper' => 'TYPO3\\CMS\\Fluid\\ViewHelpers\\Widget\\UriViewHelper', 'tx_form_Controller_Form' => 'TYPO3\\CMS\\Form\\Controller\\FrontendController', 'tx_form_Controller_Wizard' => 'TYPO3\\CMS\\Form\\Controller\\WizardController', 'tx_form_Domain_Factory_JsonToTyposcript' => 'TYPO3\\CMS\\Form\\Domain\\Factory\\JsonToTypoScript', 'tx_form_Domain_Model_Content' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Content', 'tx_form_Domain_Model_JSON_Element' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\AbstractJsonElement', 'tx_form_Domain_Model_JSON_Button' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ButtonJsonElement', 'tx_form_Domain_Model_JSON_Checkboxgroup' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\CheckboxGroupJsonElement', 'tx_form_Domain_Model_JSON_Checkbox' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\CheckboxJsonElement', 'tx_form_Domain_Model_JSON_Container' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ContainerJsonElement', 'tx_form_Domain_Model_JSON_Fieldset' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FieldsetJsonElement', 'tx_form_Domain_Model_JSON_Fileupload' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FileuploadJsonElement', 'tx_form_Domain_Model_JSON_Form' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\FormJsonElement', 'tx_form_Domain_Model_JSON_Header' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\HeaderJsonElement', 'tx_form_Domain_Model_JSON_Hidden' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\HiddenJsonElement', 'tx_form_Domain_Model_JSON_Name' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\NameJsonElement', 'tx_form_Domain_Model_JSON_Password' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\PasswordJsonElement', 'tx_form_Domain_Model_JSON_Radiogroup' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\RadioGroupJsonElement', 'tx_form_Domain_Model_JSON_Radio' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\RadioJsonElement', 'tx_form_Domain_Model_JSON_Reset' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\ResetJsonElement', 'tx_form_Domain_Model_JSON_Select' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\SelectJsonElement', 'tx_form_Domain_Model_JSON_Submit' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\SubmitJsonElement', 'tx_form_Domain_Model_JSON_Textarea' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextareaJsonElement', 'tx_form_Domain_Model_JSON_Textblock' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextblockJsonElement', 'tx_form_Domain_Model_JSON_Textline' => 'TYPO3\\CMS\\Form\\Domain\\Model\\Json\\TextlineJsonElement', 'tx_form_Domain_Repository_Content' => 'TYPO3\\CMS\\Form\\Domain\\Repository\\ContentRepository', 'tx_form_Domain_Factory_TyposcriptToJson' => 'TYPO3\\CMS\\Form\\Utility\\TypoScriptToJsonConverter', 'tx_form_System_Elementcounter' => 'TYPO3\\CMS\\Form\\Utility\\ElementCounter', 'tx_form_System_Filter_Alphabetic' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\AlphabeticFilter', 'tx_form_System_Filter_Alphanumeric' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\AlphanumericFilter', 'tx_form_System_Filter_Currency' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\CurrencyFilter', 'tx_form_System_Filter_Digit' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\DigitFilter', 'tx_form_System_Filter_Interface' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\FilterInterface', 'tx_form_System_Filter_Integer' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\IntegerFilter', 'tx_form_System_Filter_Lowercase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\LowerCaseFilter', 'tx_form_System_Filter_Regexp' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\RegExpFilter', 'tx_form_System_Filter_Removexss' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\RemoveXssFilter', 'tx_form_System_Filter_Stripnewlines' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\StripNewLinesFilter', 'tx_form_System_Filter_Titlecase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\TitleCaseFilter', 'tx_form_System_Filter_Trim' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\TrimFilter', 'tx_form_System_Filter_Uppercase' => 'TYPO3\\CMS\\Form\\Domain\\Filter\\UpperCaseFilter', 'tx_form_System_Postprocessor_Mail' => 'TYPO3\\CMS\\Form\\PostProcess\\MailPostProcessor', 'tx_form_System_Postprocessor' => 'TYPO3\\CMS\\Form\\PostProcess\\PostProcessor', 'tx_form_System_Postprocessor_Interface' => 'TYPO3\\CMS\\Form\\PostProcess\\PostProcessorInterface', 'tx_form_Common' => 'TYPO3\\CMS\\Form\\Utility\\FormUtility', 'tx_form_System_Validate_Abstract' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AbstractValidator', 'tx_form_System_Validate_Alphabetic' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AlphabeticValidator', 'tx_form_System_Validate_Alphanumeric' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\AlphanumericValidator', 'tx_form_System_Validate_Between' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\BetweenValidator', 'tx_form_System_Validate_Date' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\DateValidator', 'tx_form_System_Validate_Digit' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\DigitValidator', 'tx_form_System_Validate_Email' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\EmailValidator', 'tx_form_System_Validate_Equals' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\EqualsValidator', 'tx_form_System_Validate_Fileallowedtypes' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileAllowedTypesValidator', 'tx_form_System_Validate_Filemaximumsize' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileMaximumSizeValidator', 'tx_form_System_Validate_Fileminimumsize' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FileMinimumSizeValidator', 'tx_form_System_Validate_Float' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\FloatValidator', 'tx_form_System_Validate_Greaterthan' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\GreaterThanValidator', 'tx_form_System_Validate_Inarray' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\InArrayValidator', 'tx_form_System_Validate_Integer' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\IntegerValidator', 'tx_form_System_Validate_Ip' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\IpValidator', 'tx_form_System_Validate_Length' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\LengthValidator', 'tx_form_System_Validate_Lessthan' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\LessthanValidator', 'tx_form_System_Validate_Regexp' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\RegExpValidator', 'tx_form_System_Validate_Required' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\RequiredValidator', 'tx_form_System_Validate_Uri' => 'TYPO3\\CMS\\Form\\Domain\\Validator\\UriValidator', 'tx_form_View_Wizard_Wizard' => 'TYPO3\\CMS\\Form\\View\\Wizard\\WizardView', 'tslib_feUserAuth' => 'TYPO3\\CMS\\Frontend\\Authentication\\FrontendUserAuthentication', 't3lib_matchCondition_frontend' => 'TYPO3\\CMS\\Frontend\\Configuration\\TypoScript\\ConditionMatching\\ConditionMatcher', 't3lib_formmail' => 'TYPO3\\CMS\\Compatibility6\\Controller\\FormDataSubmissionController', 'tslib_content_Abstract' => 'TYPO3\\CMS\\Frontend\\ContentObject\\AbstractContentObject', 'tslib_content_Case' => 'TYPO3\\CMS\\Frontend\\ContentObject\\CaseContentObject', 'tslib_content_ClearGif' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ClearGifContentObject', 'tslib_content_Columns' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ColumnsContentObject', 'tslib_content_Content' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentContentObject', 'tslib_content_ContentObjectArray' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectArrayContentObject', 'tslib_content_ContentObjectArrayInternal' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectArrayInternalContentObject', 'tslib_content_getDataHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetDataHookInterface', 'tslib_cObj_getImgResourceHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetImageResourceHookInterface', 'tslib_content_getPublicUrlForFileHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetPublicUrlForFileHookInterface', 'tslib_content_cObjGetSingleHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectGetSingleHookInterface', 'tslib_content_PostInitHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectPostInitHookInterface', 'tslib_cObj' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer', 'tslib_content_stdWrapHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectStdWrapHookInterface', 'tslib_content_ContentTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ContentTableContentObject', 'tslib_content_EditPanel' => 'TYPO3\\CMS\\Frontend\\ContentObject\\EditPanelContentObject', 'tslib_content_File' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FileContentObject', 'tslib_content_fileLinkHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FileLinkHookInterface', 'tslib_content_Files' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FilesContentObject', 'tslib_content_FluidTemplate' => 'TYPO3\\CMS\\Frontend\\ContentObject\\FluidTemplateContentObject', 'tslib_content_Form' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\FormContentObject', 'tslib_content_HierarchicalMenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\HierarchicalMenuContentObject', 'tslib_content_HorizontalRuler' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\HorizontalRulerContentObject', 'tslib_content_Image' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageContentObject', 'tslib_content_ImageResource' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageResourceContentObject', 'tslib_content_ImageText' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ImageTextContentObject', 'tslib_content_LoadRegister' => 'TYPO3\\CMS\\Frontend\\ContentObject\\LoadRegisterContentObject', 'tslib_content_OffsetTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'tslib_content_Records' => 'TYPO3\\CMS\\Frontend\\ContentObject\\RecordsContentObject', 'tslib_content_RestoreRegister' => 'TYPO3\\CMS\\Frontend\\ContentObject\\RestoreRegisterContentObject', 'tslib_content_ScalableVectorGraphics' => 'TYPO3\\CMS\\Frontend\\ContentObject\\ScalableVectorGraphicsContentObject', 'tslib_content_SearchResult' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'tslib_content_Template' => 'TYPO3\\CMS\\Frontend\\ContentObject\\TemplateContentObject', 'tslib_content_Text' => 'TYPO3\\CMS\\Frontend\\ContentObject\\TextContentObject', 'tslib_content_User' => 'TYPO3\\CMS\\Frontend\\ContentObject\\UserContentObject', 'tslib_content_UserInternal' => 'TYPO3\\CMS\\Frontend\\ContentObject\\UserInternalContentObject', 'tslib_menu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\AbstractMenuContentObject', 'tslib_menu_filterMenuPagesHook' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\AbstractMenuFilterPagesHookInterface', 'tslib_gmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\GraphicalMenuContentObject', 'tslib_imgmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\ImageMenuContentObject', 'tslib_jsmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\JavaScriptMenuContentObject', 'tslib_tmenu' => 'TYPO3\\CMS\\Frontend\\ContentObject\\Menu\\TextMenuContentObject', 'tslib_tableOffset' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'tslib_search' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'tslib_controlTable' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\TableRenderer', 'tslib_ExtDirectEid' => 'TYPO3\\CMS\\Frontend\\Controller\\ExtDirectEidController', 'tx_cms_webinfo_page' => 'TYPO3\\CMS\\Frontend\\Controller\\PageInformationController', 'SC_tslib_showpic' => 'TYPO3\\CMS\\Frontend\\Controller\\ShowImageController', 'tx_cms_webinfo_lang' => 'TYPO3\\CMS\\Frontend\\Controller\\TranslationStatusController', 'tslib_fe' => 'TYPO3\\CMS\\Frontend\\Controller\\TypoScriptFrontendController', 'tx_cms_fehooks' => 'TYPO3\\CMS\\Frontend\\Hooks\\FrontendHooks', 'tx_cms_mediaItems' => 'TYPO3\\CMS\\Frontend\\Hooks\\MediaItemHooks', 'tx_cms_treelistCacheUpdate' => 'TYPO3\\CMS\\Frontend\\Hooks\\TreelistCacheUpdateHooks', 'tslib_gifBuilder' => 'TYPO3\\CMS\\Frontend\\Imaging\\GifBuilder', 't3lib_cacheHash' => 'TYPO3\\CMS\\Frontend\\Page\\CacheHashCalculator', 'tslib_frameset' => 'TYPO3\\CMS\\Frontend\\Page\\FramesetRenderer', 'TSpagegen' => 'TYPO3\\CMS\\Frontend\\Page\\PageGenerator', 't3lib_pageSelect' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepository', 't3lib_pageSelect_getPageHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetPageHookInterface', 't3lib_pageSelect_getPageOverlayHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetPageOverlayHookInterface', 't3lib_pageSelect_getRecordOverlayHook' => 'TYPO3\\CMS\\Frontend\\Page\\PageRepositoryGetRecordOverlayHookInterface', 'tslib_pibase' => 'TYPO3\\CMS\\Frontend\\Plugin\\AbstractPlugin', 'tslib_fecompression' => 'TYPO3\\CMS\\Frontend\\Utility\\CompressionUtility', 'tslib_eidtools' => 'TYPO3\\CMS\\Frontend\\Utility\\EidUtility', 'tslib_AdminPanel' => 'TYPO3\\CMS\\Frontend\\View\\AdminPanelView', 'tslib_adminPanelHook' => 'TYPO3\\CMS\\Frontend\\View\\AdminPanelViewHookInterface', 'SC_mod_web_func_index' => 'TYPO3\\CMS\\Func\\Controller\\PageFunctionsController', 'tx_funcwizards_webfunc' => 'TYPO3\\CMS\\Compatibility6\\Controller\\WebFunctionWizardsBaseController', 'TYPO3\\CMS\\FuncWizards\\Controller\\WebFunctionWizardsBaseController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\WebFunctionWizardsBaseController', 'tx_impexp_clickmenu' => 'TYPO3\\CMS\\Impexp\\Clickmenu', 'SC_mod_tools_log_index' => 'TYPO3\\CMS\\Impexp\\Controller\\ImportExportController', 'tx_impexp' => 'TYPO3\\CMS\\Impexp\\ImportExport', 'tx_impexp_localPageTree' => 'TYPO3\\CMS\\Impexp\\View\\ExportPageTreeView', 'tx_impexp_task' => 'TYPO3\\CMS\\Impexp\\Task\\ImportExportTask', 'Tx_IndexedSearch_Domain_Repository_IndexSearchRepository' => 'TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'tx_indexedsearch_files' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\CrawlerFilesHook', 'tx_indexedsearch_crawler' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\CrawlerHook', 'tx_indexedsearch_mysql' => 'TYPO3\\CMS\\IndexedSearchMysql\\Hook\\MysqlFulltextIndexHook', 'tx_indexedsearch_tslib_fe_hook' => 'TYPO3\\CMS\\IndexedSearch\\Hook\\TypoScriptFrontendHook', 'tx_indexedsearch_indexer' => 'TYPO3\\CMS\\IndexedSearch\\Indexer', 'tx_indexedsearch_lexer' => 'TYPO3\\CMS\\IndexedSearch\\Lexer', 'tx_indexedsearch_util' => 'TYPO3\\CMS\\IndexedSearch\\Utility\\IndexedSearchUtility', 'tx_indexed_search_extparse' => 'TYPO3\\CMS\\IndexedSearch\\FileContentParser', 'user_DoubleMetaPhone' => 'TYPO3\\CMS\\IndexedSearch\\Utility\\DoubleMetaPhoneUtility', 'Tx_IndexedSearch_ViewHelpers_PageBrowsingResultsViewHelper' => 'TYPO3\\CMS\\IndexedSearch\\ViewHelpers\\PageBrowsingResultsViewHelper', 'Tx_IndexedSearch_ViewHelpers_PageBrowsingViewHelper' => 'TYPO3\\CMS\\IndexedSearch\\ViewHelpers\\PageBrowsingViewHelper', 'SC_mod_web_info_index' => 'TYPO3\\CMS\\Info\\Controller\\InfoModuleController', 'tx_infopagetsconfig_webinfo' => 'TYPO3\\CMS\\InfoPagetsconfig\\Controller\\InfoPageTyposcriptConfigController', 'Tx_Install_Service_BasicService' => 'TYPO3\\CMS\\Install\\Service\\EnableFileService', 'TYPO3\\CMS\\Install\\EnableFileService' => 'TYPO3\\CMS\\Install\\Service\\EnableFileService', 'tx_install_report_InstallStatus' => 'TYPO3\\CMS\\Install\\Report\\InstallStatusReport', 'tx_install_session' => 'TYPO3\\CMS\\Install\\Service\\SessionService', 'TYPO3\\CMS\\Install\\Session' => 'TYPO3\\CMS\\Install\\Service\\SessionService', 't3lib_install_Sql' => 'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService', 'TYPO3\\CMS\\Install\\Sql\\SchemaMigrator' => 'TYPO3\\CMS\\Install\\Service\\SqlSchemaMigrationService', 'Tx_Install_Updates_Base' => 'TYPO3\\CMS\\Install\\Updates\\AbstractUpdate', 'language' => 'TYPO3\\CMS\\Lang\\LanguageService', 'tx_felogin_pi1' => 'TYPO3\\CMS\\Felogin\\Controller\\FrontendLoginController', 'tx_linkvalidator_Processor' => 'TYPO3\\CMS\\Linkvalidator\\LinkAnalyzer', 'tx_linkvalidator_linktype_Abstract' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\AbstractLinktype', 'tx_linkvalidator_linktype_External' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\ExternalLinktype', 'tx_linkvalidator_linktype_File' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\FileLinktype', 'tx_linkvalidator_linktype_Internal' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\InternalLinktype', 'tx_linkvalidator_linktype_LinkHandler' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\LinkHandler', 'tx_linkvalidator_linktype_Interface' => 'TYPO3\\CMS\\Linkvalidator\\Linktype\\LinktypeInterface', 'tx_linkvalidator_ModFuncReport' => 'TYPO3\\CMS\\Linkvalidator\\Report\\LinkValidatorReport', 'tx_linkvalidator_tasks_Validator' => 'TYPO3\\CMS\\Linkvalidator\\Task\\ValidatorTask', 'tx_linkvalidator_tasks_ValidatorAdditionalFieldProvider' => 'TYPO3\\CMS\\Linkvalidator\\Task\\ValidatorTaskAdditionalFieldProvider', 'tx_lowlevel_admin_core' => 'TYPO3\\CMS\\Lowlevel\\AdminCommand', 'tx_lowlevel_cleaner_core' => 'TYPO3\\CMS\\Lowlevel\\CleanerCommand', 'tx_lowlevel_cleanflexform' => 'TYPO3\\CMS\\Lowlevel\\CleanFlexformCommand', 'tx_lowlevel_deleted' => 'TYPO3\\CMS\\Lowlevel\\DeletedRecordsCommand', 'tx_lowlevel_double_files' => 'TYPO3\\CMS\\Lowlevel\\DoubleFilesCommand', 'tx_lowlevel_lost_files' => 'TYPO3\\CMS\\Lowlevel\\LostFilesCommand', 'tx_lowlevel_missing_files' => 'TYPO3\\CMS\\Lowlevel\\MissingFilesCommand', 'tx_lowlevel_missing_relations' => 'TYPO3\\CMS\\Lowlevel\\MissingRelationsCommand', 'tx_lowlevel_orphan_records' => 'TYPO3\\CMS\\Lowlevel\\OrphanRecordsCommand', 'tx_lowlevel_rte_images' => 'TYPO3\\CMS\\Lowlevel\\RteImagesCommand', 'tx_lowlevel_syslog' => 'TYPO3\\CMS\\Lowlevel\\SyslogCommand', 'tx_lowlevel_versions' => 'TYPO3\\CMS\\Lowlevel\\VersionsCommand', 't3lib_arrayBrowser' => 'TYPO3\\CMS\\Lowlevel\\Utility\\ArrayBrowser', 'SC_mod_tools_config_index' => 'TYPO3\\CMS\\Lowlevel\\View\\ConfigurationView', 'SC_mod_tools_dbint_index' => 'TYPO3\\CMS\\Lowlevel\\View\\DatabaseIntegrityView', 'SC_mod_web_perm_ajax' => 'TYPO3\\CMS\\Beuser\\Controller\\PermissionAjaxController', 'SC_mod_web_perm_index' => 'TYPO3\\CMS\\Beuser\\Controller\\PermissionController', 'SC_browse_links' => 'TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserController', 'SC_browser' => 'TYPO3\\CMS\\Recordlist\\Controller\\ElementBrowserFramesetController', 'SC_db_list' => 'TYPO3\\CMS\\Recordlist\\RecordList', 'recordList' => 'TYPO3\\CMS\\Recordlist\\RecordList\\AbstractDatabaseRecordList', 'localRecordList' => 'TYPO3\\CMS\\Recordlist\\RecordList\\DatabaseRecordList', 'localRecordList_actionsHook' => 'TYPO3\\CMS\\Recordlist\\RecordList\\RecordListHookInterface', 'tx_recycler_view_deletedRecords' => 'TYPO3\\CMS\\Recycler\\Controller\\DeletedRecordsController', 'tx_recycler_controller_ajax' => 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerAjaxController', 'tx_recycler_module1' => 'TYPO3\\CMS\\Recycler\\Controller\\RecyclerModuleController', 'tx_recycler_model_deletedRecords' => 'TYPO3\\CMS\\Recycler\\Domain\\Model\\DeletedRecords', 'tx_recycler_model_tables' => 'TYPO3\\CMS\\Recycler\\Domain\\Model\\Tables', 'tx_recycler_helper' => 'TYPO3\\CMS\\Recycler\\Utility\\RecyclerUtility', 'Tx_Reports_Controller_ReportController' => 'TYPO3\\CMS\\Reports\\Controller\\ReportController', 'tx_reports_reports_status_ConfigurationStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\ConfigurationStatus', 'tx_reports_reports_status_SecurityStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\SecurityStatus', 'tx_reports_reports_Status' => 'TYPO3\\CMS\\Reports\\Report\\Status\\Status', 'tx_reports_reports_status_Status' => 'TYPO3\\CMS\\Reports\\Status', 'tx_reports_reports_status_SystemStatus' => 'TYPO3\\CMS\\Reports\\Report\\Status\\SystemStatus', 'tx_reports_reports_status_Typo3Status' => 'TYPO3\\CMS\\Reports\\Report\\Status\\Typo3Status', 'tx_reports_reports_status_WarningMessagePostProcessor' => 'TYPO3\\CMS\\Reports\\Report\\Status\\WarningMessagePostProcessor', 'tx_reports_Report' => 'TYPO3\\CMS\\Reports\\ReportInterface', 'tx_reports_StatusProvider' => 'TYPO3\\CMS\\Reports\\StatusProviderInterface', 'tx_reports_tasks_SystemStatusUpdateTask' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTask', 'tx_reports_tasks_SystemStatusUpdateTaskNotificationEmailField' => 'TYPO3\\CMS\\Reports\\Task\\SystemStatusUpdateTaskNotificationEmailField', 'Tx_Reports_ViewHelpers_IconViewHelper' => 'TYPO3\\CMS\\Reports\\ViewHelpers\\IconViewHelper', 'tx_rsaauth_abstract_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\AbstractBackend', 'tx_rsaauth_backendfactory' => 'TYPO3\\CMS\\Rsaauth\\Backend\\BackendFactory', 'tx_rsaauth_cmdline_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\CommandLineBackend', 'tx_rsaauth_php_backend' => 'TYPO3\\CMS\\Rsaauth\\Backend\\PhpBackend', 'tx_rsaauth_backendwarnings' => 'TYPO3\\CMS\\Rsaauth\\BackendWarnings', 'tx_rsaauth_feloginhook' => 'TYPO3\\CMS\\Rsaauth\\Hook\\FrontendLoginHook', 'tx_rsaauth_usersetuphook' => 'TYPO3\\CMS\\Rsaauth\\Hook\\UserSetupHook', 'tx_rsaauth_keypair' => 'TYPO3\\CMS\\Rsaauth\\Keypair', 'tx_rsaauth_sv1' => 'TYPO3\\CMS\\Rsaauth\\RsaAuthService', 'tx_rsaauth_abstract_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\AbstractStorage', 'tx_rsaauth_session_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\SessionStorage', 'tx_rsaauth_split_storage' => 'TYPO3\\CMS\\Rsaauth\\Storage\\SplitStorage', 'tx_rsaauth_storagefactory' => 'TYPO3\\CMS\\Rsaauth\\Storage\\StorageFactory', 'tx_rtehtmlarea_parse_html' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\ParseHtmlController', 'tx_rtehtmlarea_SC_browse_links' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\BrowseLinksController', 'tx_rtehtmlarea_pi3' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\CustomAttributeController', 'tx_rtehtmlarea_SC_select_image' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\SelectImageController', 'tx_rtehtmlarea_pi1' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\SpellCheckingController', 'tx_rtehtmlarea_abouteditor' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\AboutEditor', 'tx_rtehtmlarea_acronym' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Abbreviation', 'tx_rtehtmlarea_blockelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\BlockElements', 'tx_rtehtmlarea_blockstyle' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\BlockStyle', 'tx_rtehtmlarea_charactermap' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\CharacterMap', 'tx_rtehtmlarea_contextmenu' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\ContextMenu', 'tx_rtehtmlarea_copypaste' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\CopyPaste', 'tx_rtehtmlarea_defaultclean' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultClean', 'tx_rtehtmlarea_defaultimage' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultImage', 'tx_rtehtmlarea_defaultinline' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultInline', 'tx_rtehtmlarea_defaultlink' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefaultLink', 'tx_rtehtmlarea_definitionlist' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\DefinitionList', 'tx_rtehtmlarea_editelement' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\EditElement', 'tx_rtehtmlarea_editormode' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\EditorMode', 'tx_rtehtmlarea_findreplace' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\FindReplace', 'tx_rtehtmlarea_inlineelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\InlineElements', 'tx_rtehtmlarea_insertsmiley' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\InsertSmiley', 'tx_rtehtmlarea_language' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Language', 'tx_rtehtmlarea_microdataschema' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\MicroDataSchema', 'tx_rtehtmlarea_plaintext' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Plaintext', 'tx_rtehtmlarea_quicktag' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\QuickTag', 'tx_rtehtmlarea_removeformat' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\RemoveFormat', 'tx_rtehtmlarea_selectfont' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\SelectFont', 'tx_rtehtmlarea_spellchecker' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Spellchecker', 'tx_rtehtmlarea_tableoperations' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TableOperations', 'tx_rtehtmlarea_textindicator' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TextIndicator', 'tx_rtehtmlarea_textstyle' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\TextStyle', 'tx_rtehtmlarea_typo3color' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Color', 'tx_rtehtmlarea_typo3htmlparser' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3HtmlParser', 'tx_rtehtmlarea_typo3image' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Image', 'tx_rtehtmlarea_typo3link' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\Typo3Link', 'tx_rtehtmlarea_undoredo' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\UndoRedo', 'tx_rtehtmlarea_userelements' => 'TYPO3\\CMS\\Rtehtmlarea\\Extension\\UserElements', 'tx_rtehtmlarea_deprecatedRteProperties' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\Install\\DeprecatedRteProperties', 'tx_rtehtmlarea_softrefproc' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\SoftReferenceHook', 'tx_rtehtmlarea_statusReport_conflictsCheck' => 'TYPO3\\CMS\\Rtehtmlarea\\Hook\\StatusReportConflictsCheckHook', 'tx_rtehtmlarea_api' => 'TYPO3\\CMS\\Rtehtmlarea\\RteHtmlAreaApi', 'tx_rtehtmlarea_select_image' => 'TYPO3\\CMS\\Rtehtmlarea\\SelectImage', 'tx_rtehtmlarea_user' => 'TYPO3\\CMS\\Rtehtmlarea\\Controller\\UserElementsController', 'tx_saltedpasswords_eval_be' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\BackendEvaluator', 'tx_saltedpasswords_eval' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\Evaluator', 'tx_saltedpasswords_eval_fe' => 'TYPO3\\CMS\\Saltedpasswords\\Evaluation\\FrontendEvaluator', 'tx_saltedpasswords_abstract_salts' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractSalt', 'tx_saltedpasswords_salts_blowfish' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BlowfishSalt', 'tx_saltedpasswords_salts_md5' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Md5Salt', 'tx_saltedpasswords_salts_phpass' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt', 'tx_saltedpasswords_salts_factory' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltFactory', 'tx_saltedpasswords_salts' => 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltInterface', 'tx_saltedpasswords_sv1' => 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService', 'tx_saltedpasswords_Tasks_BulkUpdate_AdditionalFieldProvider' => 'TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateFieldProvider', 'tx_saltedpasswords_Tasks_BulkUpdate' => 'TYPO3\\CMS\\Saltedpasswords\\Task\\BulkUpdateTask', 'tx_saltedpasswords_emconfhelper' => 'TYPO3\\CMS\\Saltedpasswords\\Utility\\ExtensionManagerConfigurationUtility', 'tx_saltedpasswords_div' => 'TYPO3\\CMS\\Saltedpasswords\\Utility\\SaltedPasswordsUtility', 'tx_scheduler_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\AdditionalFieldProviderInterface', 'tx_scheduler_Module' => 'TYPO3\\CMS\\Scheduler\\Controller\\SchedulerModuleController', 'tx_scheduler_CronCmd' => 'TYPO3\\CMS\\Scheduler\\CronCommand\\CronCommand', 'tx_scheduler_CronCmd_Normalize' => 'TYPO3\\CMS\\Scheduler\\CronCommand\\NormalizeCommand', 'tx_scheduler_SleepTask' => 'TYPO3\\CMS\\Scheduler\\Example\\SleepTask', 'tx_scheduler_SleepTask_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Example\\SleepTaskAdditionalFieldProvider', 'tx_scheduler_Execution' => 'TYPO3\\CMS\\Scheduler\\Execution', 'tx_scheduler_FailedExecutionException' => 'TYPO3\\CMS\\Scheduler\\FailedExecutionException', 'tx_scheduler_ProgressProvider' => 'TYPO3\\CMS\\Scheduler\\ProgressProviderInterface', 'tx_scheduler' => 'TYPO3\\CMS\\Scheduler\\Scheduler', 'tx_scheduler_Task' => 'TYPO3\\CMS\\Scheduler\\Task\\AbstractTask', 'tx_scheduler_CachingFrameworkGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\CachingFrameworkGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_CachingFrameworkGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\CachingFrameworkGarbageCollectionTask', 'tx_scheduler_RecyclerGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\RecyclerGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_RecyclerGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\RecyclerGarbageCollectionTask', 'tx_scheduler_TableGarbageCollection_AdditionalFieldProvider' => 'TYPO3\\CMS\\Scheduler\\Task\\TableGarbageCollectionAdditionalFieldProvider', 'tx_scheduler_TableGarbageCollection' => 'TYPO3\\CMS\\Scheduler\\Task\\TableGarbageCollectionTask', 'SC_mod_user_setup_index' => 'TYPO3\\CMS\\Setup\\Controller\\SetupModuleController', 'tx_sv_authbase' => 'TYPO3\\CMS\\Sv\\AbstractAuthenticationService', 'tx_sv_auth' => 'TYPO3\\CMS\\Sv\\AuthenticationService', 'tx_sv_reports_ServicesList' => 'TYPO3\\CMS\\Sv\\Report\\ServicesListReport', 'tx_sysaction_list' => 'TYPO3\\CMS\\SysAction\\ActionList', 'tx_sysaction_task' => 'TYPO3\\CMS\\SysAction\\ActionTask', 'tx_t3editor_codecompletion' => 'TYPO3\\CMS\\T3editor\\CodeCompletion', 'tx_t3editor_hooks_fileedit' => 'TYPO3\\CMS\\T3editor\\Hook\\FileEditHook', 'tx_t3editor_hooks_tstemplateinfo' => 'TYPO3\\CMS\\T3editor\\Hook\\TypoScriptTemplateInfoHook', 'tx_t3editor' => 'TYPO3\\CMS\\T3editor\\T3editor', 'tx_t3editor_TSrefLoader' => 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader', 'SC_mod_user_task_index' => 'TYPO3\\CMS\\Taskcenter\\Controller\\TaskModuleController', 'tx_taskcenter_Task' => 'TYPO3\\CMS\\Taskcenter\\TaskInterface', 'tx_taskcenter_status' => 'TYPO3\\CMS\\Taskcenter\\TaskStatus', 'SC_mod_web_ts_index' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateModuleController', 'tx_tstemplateanalyzer' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TemplateAnalyzerModuleFunctionController', 'tx_tstemplateceditor' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateConstantEditorModuleFunctionController', 'tx_tstemplateinfo' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateInformationModuleFunctionController', 'tx_tstemplateobjbrowser' => 'TYPO3\\CMS\\Tstemplate\\Controller\\TypoScriptTemplateObjectBrowserModuleFunctionController', 'tx_version_cm1' => 'TYPO3\\CMS\\Version\\Controller\\VersionModuleController', 'tx_version_tcemain_CommandMap' => 'TYPO3\\CMS\\Version\\DataHandler\\CommandMap', 'tx_version_tcemain' => 'TYPO3\\CMS\\Version\\Hook\\DataHandlerHook', 'Tx_Version_Preview' => 'TYPO3\\CMS\\Version\\Hook\\PreviewHook', 'tx_version_tasks_AutoPublish' => 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask', 't3lib_utility_Dependency_Factory' => 'TYPO3\\CMS\\Version\\Dependency\\DependencyEntityFactory', 't3lib_utility_Dependency' => 'TYPO3\\CMS\\Version\\Dependency\\DependencyResolver', 't3lib_utility_Dependency_Element' => 'TYPO3\\CMS\\Version\\Dependency\\ElementEntity', 't3lib_utility_Dependency_Callback' => 'TYPO3\\CMS\\Version\\Dependency\\EventCallback', 't3lib_utility_Dependency_Reference' => 'TYPO3\\CMS\\Version\\Dependency\\ReferenceEntity', 'wslib' => 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility', 'tx_version_gui' => 'TYPO3\\CMS\\Version\\View\\VersionView', 'tx_wizardcrpages_webfunc_2' => 'TYPO3\\CMS\\WizardCrpages\\Controller\\CreatePagesWizardModuleFunctionController', 'tx_wizardsortpages_webfunc_2' => 'TYPO3\\CMS\\WizardSortPages\\View\\SortPagesWizardModuleFunction', 'Tx_Workspaces_Controller_AbstractController' => 'TYPO3\\CMS\\Workspaces\\Controller\\AbstractController', 'Tx_Workspaces_Controller_PreviewController' => 'TYPO3\\CMS\\Workspaces\\Controller\\PreviewController', 'Tx_Workspaces_Controller_ReviewController' => 'TYPO3\\CMS\\Workspaces\\Controller\\ReviewController', 'Tx_Workspaces_Domain_Model_CombinedRecord' => 'TYPO3\\CMS\\Workspaces\\Domain\\Model\\CombinedRecord', 'Tx_Workspaces_Domain_Model_DatabaseRecord' => 'TYPO3\\CMS\\Workspaces\\Domain\\Model\\DatabaseRecord', 'Tx_Workspaces_ExtDirect_AbstractHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\AbstractHandler', 'Tx_Workspaces_ExtDirect_ActionHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\ActionHandler', 'Tx_Workspaces_ExtDirect_Server' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\ExtDirectServer', 'Tx_Workspaces_ExtDirect_MassActionHandler' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\MassActionHandler', 'Tx_Workspaces_ExtDirect_PagetreeCollectionsProcessor' => 'TYPO3\\CMS\\Workspaces\\ExtDirect\\PagetreeCollectionsProcessor', 'Tx_Workspaces_Service_Befunc' => 'TYPO3\\CMS\\Workspaces\\Hook\\BackendUtilityHook', 'Tx_Workspaces_Service_Tcemain' => 'TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook', 'Tx_Workspaces_Service_Fehooks' => 'TYPO3\\CMS\\Workspaces\\Hook\\TypoScriptFrontendControllerHook', 'Tx_Workspaces_Service_AutoPublish' => 'TYPO3\\CMS\\Workspaces\\Service\\AutoPublishService', 'Tx_Workspaces_Service_GridData' => 'TYPO3\\CMS\\Workspaces\\Service\\GridDataService', 'Tx_Workspaces_Service_History' => 'TYPO3\\CMS\\Workspaces\\Service\\HistoryService', 'Tx_Workspaces_Service_Integrity' => 'TYPO3\\CMS\\Workspaces\\Service\\IntegrityService', 'Tx_Workspaces_Service_Stages' => 'TYPO3\\CMS\\Workspaces\\Service\\StagesService', 'Tx_Workspaces_Service_Workspaces' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService', 'Tx_Workspaces_Service_AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'Tx_Workspaces_Service_CleanupPreviewLinkTask' => 'TYPO3\\CMS\\Workspaces\\Task\\CleanupPreviewLinkTask', 'ext_posMap_pages' => 'TYPO3\\CMS\\Backend\\Tree\\View\\PageMovingPagePositionMap', 'ext_posMap_tt_content' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ContentMovingPagePositionMap', 'localPageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserPageTreeView', 'TBE_PageTree' => 'TYPO3\\CMS\\Recordlist\\Tree\\View\\ElementBrowserPageTreeView', 'localFolderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'TBE_FolderTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'TYPO3\\CMS\\Recordlist\\Tree\\View\\ElementBrowserFolderTreeView' => 'TYPO3\\CMS\\Backend\\Tree\\View\\ElementBrowserFolderTreeView', 'newRecordLocalPageTree' => 'TYPO3\\CMS\\Backend\\Tree\\View\\NewRecordPageTreeView', 'backend_cacheActionsHook' => 'TYPO3\\CMS\\Backend\\Toolbar\\ClearCacheActionsHookInterface', 'TYPO3\\CMS\\Frontend\\ContentObject\\SearchResultContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\SearchResultContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ImageTextContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ImageTextContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ClearGifContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ClearGifContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ContentTableContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ContentTableContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\OffsetTableContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\OffsetTableContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\ColumnsContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\ColumnsContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\HorizontalRulerContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\HorizontalRulerContentObject', 'TYPO3\\CMS\\Frontend\\ContentObject\\FormContentObject' => 'TYPO3\\CMS\\Compatibility6\\ContentObject\\FormContentObject', 'TYPO3\\CMS\\Frontend\\Controller\\Wizard\\FormsController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\Wizard\\FormsController', 'TYPO3\\CMS\\Frontend\\Controller\\DataSubmissionController' => 'TYPO3\\CMS\\Compatibility6\\Controller\\FormDataSubmissionController']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php index 229a6acacbb..fc2dbe4dd73 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/10.4/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php @@ -1,6 +1,6 @@ 'TYPO3\\CMS\\Core\\TypoScript\\TypoScriptService']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php index becabd74c0c..229e091d637 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/fluid/Migrations/Code/ClassAliasMap.php @@ -1,6 +1,6 @@ 'TYPO3Fluid\\Fluid\\Core\\Compiler\\TemplateCompiler', diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php index 0cfc41fa086..5def7f13153 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/8.7/typo3/sysext/version/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Workspaces\\Hook\\PreviewHook', 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php index b7f164a0d21..09eed6be4c7 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/adminpanel/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Adminpanel\\View\\AdminPanelView', 'TYPO3\\CMS\\Frontend\\View\\AdminPanelViewHookInterface' => 'TYPO3\\CMS\\Adminpanel\\View\\AdminPanelViewHookInterface']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php index f650f1119e9..08bd20b9a13 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/backend/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Backend\\Controller\\AjaxLoginController', 'TYPO3\\CMS\\Backend\\Form\\Wizard\\ImageManipulationWizard' => 'TYPO3\\CMS\\Backend\\Controller\\Wizard\\ImageManipulationController', 'TYPO3\\CMS\\Cshmanual\\Domain\\Repository\\TableManualRepository' => 'TYPO3\\CMS\\Backend\\Domain\\Repository\\TableManualRepository']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php index 479fb101987..9d421ed8645 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/core/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Core\\Localization\\LanguageService', 'TYPO3\\CMS\\ContextHelp\\Controller\\ContextHelpAjaxController' => 'TYPO3\\CMS\\Backend\\Controller\\ContextHelpAjaxController', 'TYPO3\\CMS\\Sv\\AbstractAuthenticationService' => 'TYPO3\\CMS\\Core\\Authentication\\AbstractAuthenticationService', 'TYPO3\\CMS\\Sv\\AuthenticationService' => 'TYPO3\\CMS\\Core\\Authentication\\AuthenticationService', 'TYPO3\\CMS\\Core\\IO\\PharStreamWrapper' => 'TYPO3\\PharStreamWrapper\\PharStreamWrapper', 'TYPO3\\CMS\\Core\\IO\\PharStreamWrapperException' => 'TYPO3\\PharStreamWrapper\\Exception', 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ExtJsArrayTreeRenderer' => 'TYPO3\\CMS\\Core\\Tree\\TableConfiguration\\ArrayTreeRenderer', 'TYPO3\\CMS\\Core\\History\\RecordHistory' => 'TYPO3\\CMS\\Core\\DataHandling\\History\\RecordHistoryStore', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\AbstractComposedSalt', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\AbstractComposedSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\AbstractComposedSalt', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Argon2iSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Argon2iPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BcryptSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BcryptPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\BlowfishSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\BlowfishPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\ComposedSaltInterface' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\ComposedPasswordHashInterface', 'TYPO3\\CMS\\Saltedpasswords\\Utility\\ExensionManagerConfigurationUtility' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\ExtensionManagerConfigurationUtility', 'TYPO3\\CMS\\Saltedpasswords\\Exception\\InvalidSaltException' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\InvalidPasswordHashException', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Md5Salt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Md5PasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltFactory' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PasswordHashFactory', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\SaltInterface' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PasswordHashInterface', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\Pbkdf2Salt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\Pbkdf2PasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\Salt\\PhpassSalt' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\PhpassPasswordHash', 'TYPO3\\CMS\\Saltedpasswords\\SaltedPasswordService' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\SaltedPasswordService', 'TYPO3\\CMS\\Saltedpasswords\\Utility\\SaltedPasswordsUtility' => 'TYPO3\\CMS\\Core\\Crypto\\PasswordHashing\\SaltedPasswordsUtility']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php index be717db941d..010c22bb6de 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/extbase/Migrations/Code/ClassAliasMap.php @@ -1,6 +1,6 @@ 'TYPO3\\CMS\\Info\\Controller\\PageInformationController', 'TYPO3\\CMS\\Frontend\\Controller\\TranslationStatusController' => 'TYPO3\\CMS\\Info\\Controller\\TranslationStatusController', 'TYPO3\\CMS\\InfoPagetsconfig\\Controller\\InfoPageTyposcriptConfigController' => 'TYPO3\\CMS\\Info\\Controller\\InfoPageTyposcriptConfigController']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php index e4c424d0e42..cf00ebf08db 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/lowlevel/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Lowlevel\\Controller\\ConfigurationController', 'TYPO3\\CMS\\Lowlevel\\View\\DatabaseIntegrityView' => 'TYPO3\\CMS\\Lowlevel\\Controller\\DatabaseIntegrityController']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php index 5c8c8de576d..be88b7f3087 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/recordlist/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Recordlist\\Controller\\RecordListController']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php index 721c13b512e..caf90f943c9 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/reports/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Reports\\Report\\ServicesListReport']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php index 24828ece237..a494d90f4cd 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/t3editor/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\T3editor\\Controller\\CodeCompletionController', 'TYPO3\\CMS\\T3editor\\TypoScriptReferenceLoader' => 'TYPO3\\CMS\\T3editor\\Controller\\TypoScriptReferenceController']; diff --git a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php index f7e647a1ddc..fafa2a69804 100644 --- a/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php +++ b/vendor/ssch/typo3-rector/Migrations/TYPO3/9.5/typo3/sysext/workspaces/Migrations/Code/ClassAliasMap.php @@ -1,5 +1,5 @@ 'TYPO3\\CMS\\Workspaces\\Command\\WorkspaceVersionRecordsCommand', 'TYPO3\\CMS\\Version\\DataHandler\\CommandMap' => 'TYPO3\\CMS\\Workspaces\\DataHandler\\CommandMap', 'TYPO3\\CMS\\Version\\Dependency\\DependencyEntityFactory' => 'TYPO3\\CMS\\Workspaces\\Dependency\\DependencyEntityFactory', 'TYPO3\\CMS\\Version\\Dependency\\DependencyResolver' => 'TYPO3\\CMS\\Workspaces\\Dependency\\DependencyResolver', 'TYPO3\\CMS\\Version\\Dependency\\ElementEntity' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ElementEntity', 'TYPO3\\CMS\\Version\\Dependency\\ElementEntityProcessor' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ElementEntityProcessor', 'TYPO3\\CMS\\Version\\Dependency\\EventCallback' => 'TYPO3\\CMS\\Workspaces\\Dependency\\EventCallback', 'TYPO3\\CMS\\Version\\Dependency\\ReferenceEntity' => 'TYPO3\\CMS\\Workspaces\\Dependency\\ReferenceEntity', 'TYPO3\\CMS\\Version\\Hook\\DataHandlerHook' => 'TYPO3\\CMS\\Workspaces\\Hook\\DataHandlerHook', 'TYPO3\\CMS\\Version\\Hook\\PreviewHook' => 'TYPO3\\CMS\\Workspaces\\Preview\\PreviewUriBuilder', 'TYPO3\\CMS\\Version\\Task\\AutoPublishTask' => 'TYPO3\\CMS\\Workspaces\\Task\\AutoPublishTask', 'TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility' => 'TYPO3\\CMS\\Workspaces\\Service\\WorkspaceService']; diff --git a/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php b/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php index 85c58d5c168..7d072fddc7b 100644 --- a/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php +++ b/vendor/ssch/typo3-rector/config/composer/move_extension_from_ter_to_packagist.php @@ -1,7 +1,7 @@ import(__DIR__ . '/../config.php'); diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php index 39b52da26fa..58f9cc3882f 100644 --- a/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php +++ b/vendor/ssch/typo3-rector/config/composer/typo3-110-composer-packages-core.php @@ -1,7 +1,7 @@ import(__DIR__ . '/../config.php'); diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php b/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php index 1037adcc134..b4dd02a724c 100644 --- a/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php +++ b/vendor/ssch/typo3-rector/config/composer/typo3-87-composer-packages-extensions.php @@ -1,7 +1,7 @@ import(__DIR__ . '/../config.php'); diff --git a/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php b/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php index 97bb421c6eb..70332b4515f 100644 --- a/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php +++ b/vendor/ssch/typo3-rector/config/composer/typo3-95-composer-packages-core.php @@ -1,7 +1,7 @@ import(__DIR__ . '/../config.php'); diff --git a/vendor/ssch/typo3-rector/config/config.php b/vendor/ssch/typo3-rector/config/config.php index aef064a4949..218a6e40c64 100644 --- a/vendor/ssch/typo3-rector/config/config.php +++ b/vendor/ssch/typo3-rector/config/config.php @@ -1,21 +1,21 @@ import(__DIR__ . '/../utils/**/config/config.php', null, \true); @@ -23,15 +23,15 @@ return static function (\Symfony\Component\DependencyInjection\Loader\Configurat $services->defaults()->public()->autowire(); $services->load('Ssch\\TYPO3Rector\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Rector', __DIR__ . '/../src/Set', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/FileProcessor/TypoScript/Conditions', __DIR__ . '/../src/FileProcessor/TypoScript/Rector', __DIR__ . '/../src/FileProcessor/Yaml/Form/Rector', __DIR__ . '/../src/FileProcessor/Composer/Rector', __DIR__ . '/../src/FileProcessor/FlexForms/Rector', __DIR__ . '/../src/FileProcessor/Resources/Icons/Rector', __DIR__ . '/../src/FileProcessor/Fluid/Rector']); $services->set(\Helmich\TypoScriptParser\Parser\Traverser\Traverser::class); - $services->set(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); - $services->alias(\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); - $services->set(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); - $services->alias(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); - $services->set(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Parser::class); - $services->alias(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Parser::class); - $services->set(\RectorPrefix20211129\Symfony\Component\Console\Output\BufferedOutput::class); - $services->alias(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20211129\Symfony\Component\Console\Output\BufferedOutput::class); - $services->set(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Builder::class); + $services->set(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); + $services->alias(\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerInterface::class, \RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\Tokenizer::class); + $services->set(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); + $services->alias(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface::class, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinter::class); + $services->set(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Parser::class); + $services->alias(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserInterface::class, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Parser::class); + $services->set(\RectorPrefix20211130\Symfony\Component\Console\Output\BufferedOutput::class); + $services->alias(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::class, \RectorPrefix20211130\Symfony\Component\Console\Output\BufferedOutput::class); + $services->set(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Builder::class); $services->set(\Ssch\TYPO3Rector\FileProcessor\TypoScript\TypoScriptFileProcessor::class)->call('configure', [[\Ssch\TYPO3Rector\FileProcessor\TypoScript\TypoScriptFileProcessor::ALLOWED_FILE_EXTENSIONS => ['typoscript', 'ts', 'txt', 'pagets', 'constantsts', 'setupts', 'tsconfig', 't3s', 't3c', 'typoscriptconstants', 'typoscriptsetupts']]]); // custom generator $services->set(\Rector\RectorGenerator\FileSystem\ConfigFilesystem::class); diff --git a/vendor/ssch/typo3-rector/config/config_test.php b/vendor/ssch/typo3-rector/config/config_test.php index f16359f1824..71f3941b0ad 100644 --- a/vendor/ssch/typo3-rector/config/config_test.php +++ b/vendor/ssch/typo3-rector/config/config_test.php @@ -1,7 +1,7 @@ import(__DIR__ . '/../config.php'); $services = $containerConfigurator->services(); $services->set(\Ssch\TYPO3Rector\Rector\v7\v6\RenamePiListBrowserResultsRector::class); $services->set('document_template_issue_command_to_backend_utility_get_link_to_data_handler_action')->class(\Rector\Transform\Rector\MethodCall\MethodCallToStaticCallRector::class)->call('configure', [[\Rector\Transform\Rector\MethodCall\MethodCallToStaticCallRector::METHOD_CALLS_TO_STATIC_CALLS => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Transform\ValueObject\MethodCallToStaticCall('TYPO3\\CMS\\Backend\\Template\\DocumentTemplate', 'issueCommand', 'TYPO3\\CMS\\Backend\\Utility\\BackendUtility', 'getLinkToDataHandlerAction')])]]); - $services->set('search_form_controller_constants_to_like_wildcard_constants')->class(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class)->call('configure', [[\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::CLASS_CONSTANT_RENAME => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20211129\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20211129\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20211129\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20211129\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')])]]); + $services->set('search_form_controller_constants_to_like_wildcard_constants')->class(\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::class)->call('configure', [[\Rector\Renaming\Rector\ClassConstFetch\RenameClassConstFetchRector::CLASS_CONSTANT_RENAME => \Symplify\SymfonyPhpConfig\ValueObjectInliner::inline([new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_LEFT', \RectorPrefix20211130\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Controller\\SearchFormController', 'WILDCARD_RIGHT', \RectorPrefix20211130\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_LEFT', \RectorPrefix20211130\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_LEFT'), new \Rector\Renaming\ValueObject\RenameClassConstFetch('TYPO3\\CMS\\IndexedSearch\\Domain\\Repository\\IndexSearchRepository', 'WILDCARD_RIGHT', \RectorPrefix20211130\TYPO3\CMS\IndexedSearch\Utility\LikeWildcard::class . '::WILDCARD_RIGHT')])]]); $services->set(\Ssch\TYPO3Rector\Rector\v7\v6\WrapClickMenuOnIconRector::class); }; diff --git a/vendor/ssch/typo3-rector/config/v8/tca-87.php b/vendor/ssch/typo3-rector/config/v8/tca-87.php index a59f25504bf..ce439ebb32a 100644 --- a/vendor/ssch/typo3-rector/config/v8/tca-87.php +++ b/vendor/ssch/typo3-rector/config/v8/tca-87.php @@ -1,7 +1,7 @@ currentFileProvider = $currentFileProvider; } - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { if ('typo3-cms-extension' !== $composerJson->getType()) { return; @@ -83,7 +83,7 @@ CODE_SAMPLE CODE_SAMPLE , [self::TYPO3_VERSION_CONSTRAINT => '^10.4'])]); } - private function addExtensionKey(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addExtensionKey(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $extra = $composerJson->getExtra(); if (isset($extra['typo3/cms']['extension-key'])) { @@ -96,7 +96,7 @@ CODE_SAMPLE $extra['typo3/cms']['extension-key'] = \basename(\dirname($fileInfo->getRealPath())); $composerJson->setExtra($extra); } - private function addDescription(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addDescription(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $description = $composerJson->getDescription(); if ('' !== $description && null !== $description) { @@ -104,7 +104,7 @@ CODE_SAMPLE } $composerJson->setDescription('Add description...'); } - private function addLicense(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function addLicense(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $license = $composerJson->getLicense(); if ('' !== $license && null !== $license && [] !== $license) { @@ -112,7 +112,7 @@ CODE_SAMPLE } $composerJson->setLicense('GPL-2.0-or-later'); } - private function fixPackageName(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + private function fixPackageName(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $name = $composerJson->getName(); if ('' === $name) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php index f6cde4d116c..d0c386a3bde 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Composer/Rector/RemoveCmsPackageDirFromExtraComposerRector.php @@ -5,7 +5,7 @@ namespace Ssch\TYPO3Rector\FileProcessor\Composer\Rector; use BadMethodCallException; use Rector\Composer\Contract\Rector\ComposerRectorInterface; -use RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; +use RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -18,7 +18,7 @@ final class RemoveCmsPackageDirFromExtraComposerRector implements \Rector\Compos * @var string */ private const TYPO3_CMS = 'typo3/cms'; - public function refactor(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void + public function refactor(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : void { $extra = $composerJson->getExtra(); if (!isset($extra[self::TYPO3_CMS])) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php index bd7bc900887..0b7bea60fdb 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Fluid/Rector/DefaultSwitchFluidRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\Fluid\Rector; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\ValueObject\Application\File; use Ssch\TYPO3Rector\Contract\FileProcessor\Fluid\Rector\FluidRectorInterface; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; @@ -24,7 +24,7 @@ final class DefaultSwitchFluidRector implements \Ssch\TYPO3Rector\Contract\FileP public function transform(\Rector\Core\ValueObject\Application\File $file) : void { $content = $file->getFileContent(); - $content = \RectorPrefix20211129\Nette\Utils\Strings::replace($content, self::PATTERN, self::REPLACEMENT); + $content = \RectorPrefix20211130\Nette\Utils\Strings::replace($content, self::PATTERN, self::REPLACEMENT); $file->changeFileContent($content); } public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php index 1c99d2a36e9..3ae0951987a 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/IconsFileProcessor.php @@ -10,7 +10,7 @@ use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface; use Ssch\TYPO3Rector\Helper\FilesFinder; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.3/Feature-77349-AdditionalLocationsForExtensionIcons.html * @see \Ssch\TYPO3Rector\Tests\FileProcessor\Resources\Icons\IconsProcessor\IconsProcessorTest @@ -36,7 +36,7 @@ final class IconsFileProcessor implements \Rector\Core\Contract\Processor\FilePr /** * @param IconRectorInterface[] $iconsRector */ - public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, array $iconsRector) + public function __construct(\Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, array $iconsRector) { $this->filesFinder = $filesFinder; $this->smartFileSystem = $smartFileSystem; diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php index ac1279306f5..f0fbea0865e 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Resources/Icons/Rector/IconsRector.php @@ -9,10 +9,10 @@ use Rector\Core\ValueObject\Application\File; use Rector\FileSystemRector\ValueObject\AddedFileWithContent; use Rector\Testing\PHPUnit\StaticPHPUnitEnvironment; use Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Resources\IconRectorInterface { /** @@ -27,7 +27,7 @@ final class IconsRector implements \Ssch\TYPO3Rector\Contract\FileProcessor\Reso * @var \Symplify\SmartFileSystem\SmartFileSystem */ private $smartFileSystem; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem) { $this->parameterProvider = $parameterProvider; $this->removedAndAddedFilesCollector = $removedAndAddedFilesCollector; diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php index ce70f1a070c..5c515028bcc 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Conditions/TimeConditionMatcher.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Conditions; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\Conditions\TyposcriptConditionMatcher; use Ssch\TYPO3Rector\Helper\ArrayUtility; final class TimeConditionMatcher implements \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\Conditions\TyposcriptConditionMatcher @@ -48,6 +48,6 @@ final class TimeConditionMatcher implements \Ssch\TYPO3Rector\Contract\FileProce */ public function shouldApply($condition) : bool { - return null !== \RectorPrefix20211129\Nette\Utils\Strings::match($condition, '#' . self::ALLOWED_TIME_CONSTANTS . '#Ui'); + return null !== \RectorPrefix20211130\Nette\Utils\Strings::match($condition, '#' . self::ALLOWED_TIME_CONSTANTS . '#Ui'); } } diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php index 18402a43bf9..2f367a8daa8 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AbstractTypoScriptRector.php @@ -4,9 +4,9 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; use Helmich\TypoScriptParser\Parser\AST\Statement; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\Visitor; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\Visitor; use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface; -abstract class AbstractTypoScriptRector implements \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\Visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface +abstract class AbstractTypoScriptRector implements \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\Visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface { /** * @var bool diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php index a9df5d8e11a..8d8abd7e439 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/AdditionalHeadersToArrayTypoScriptRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; use Helmich\TypoScriptParser\Parser\AST\Statement; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; @@ -14,7 +14,7 @@ final class AdditionalHeadersToArrayTypoScriptRector extends \Ssch\TYPO3Rector\F { public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + if (!$statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { return; } if (\substr_compare($statement->object->relativeName, 'additionalHeaders', -\strlen('additionalHeaders')) !== 0) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php index 9b87e06aacc..49526e9a25f 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/ExtbasePersistenceTypoScriptRector.php @@ -3,15 +3,15 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Scalar as ScalarValue; use Helmich\TypoScriptParser\Parser\AST\Statement; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\FileSystemRector\ValueObject\AddedFileWithContent; use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\ConvertToPhpFileInterface; use Ssch\TYPO3Rector\Template\TemplateFinder; -use RectorPrefix20211129\Symfony\Component\VarExporter\VarExporter; +use RectorPrefix20211130\Symfony\Component\VarExporter\VarExporter; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; use Symplify\SmartFileSystem\SmartFileInfo; @@ -48,7 +48,7 @@ final class ExtbasePersistenceTypoScriptRector extends \Ssch\TYPO3Rector\FilePro } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { + if (!$statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment) { return; } if (\strpos($statement->object->absoluteName, 'persistence.classes') === \false) { @@ -87,8 +87,8 @@ CODE_SAMPLE if ([] === self::$persistenceArray) { return null; } - $content = \str_replace('__PERSISTENCE_ARRAY__', \RectorPrefix20211129\Symfony\Component\VarExporter\VarExporter::export(self::$persistenceArray), $this->fileTemplate->getContents()); - $content = \RectorPrefix20211129\Nette\Utils\Strings::replace($content, "#'(.*\\\\.*)'#mU", function (array $match) : string { + $content = \str_replace('__PERSISTENCE_ARRAY__', \RectorPrefix20211130\Symfony\Component\VarExporter\VarExporter::export(self::$persistenceArray), $this->fileTemplate->getContents()); + $content = \RectorPrefix20211130\Nette\Utils\Strings::replace($content, "#'(.*\\\\.*)'#mU", function (array $match) : string { $string = \str_replace('\\\\', '\\', $match[1]); return \sprintf('\\%s::class', $string); }); @@ -108,7 +108,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractSubClasses(array $paths, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractSubClasses(array $paths, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void { if (!\in_array(self::SUBCLASSES, $paths, \true)) { return; @@ -124,7 +124,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractMapping(string $name, array $paths, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractMapping(string $name, array $paths, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void { if (!\in_array($name, $paths, \true)) { return; @@ -140,7 +140,7 @@ CODE_SAMPLE /** * @param string[] $paths */ - private function extractColumns(array $paths, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void + private function extractColumns(array $paths, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\Operator\Assignment $statement) : void { if (!\in_array('columns', $paths, \true)) { return; diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php index 67d3b71b426..885b3d3a418 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/FileIncludeToImportStatementTypoScriptRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement; use Helmich\TypoScriptParser\Parser\AST\Statement; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; use Rector\Core\Provider\CurrentFileProvider; @@ -26,7 +26,7 @@ final class FileIncludeToImportStatementTypoScriptRector extends \Ssch\TYPO3Rect } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { + if (!$statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\FileIncludeStatement) { return; } if (null !== $statement->condition) { diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php index e9d536f7b7b..a6ad5f1c67b 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/Rector/OldConditionToExpressionLanguageTypoScriptRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement; use Helmich\TypoScriptParser\Parser\AST\Statement; use LogicException; use Rector\ChangesReporting\ValueObject\RectorWithLineChange; @@ -36,7 +36,7 @@ final class OldConditionToExpressionLanguageTypoScriptRector extends \Ssch\TYPO3 } public function enterNode(\Helmich\TypoScriptParser\Parser\AST\Statement $statement) : void { - if (!$statement instanceof \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { + if (!$statement instanceof \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\AST\ConditionalStatement) { return; } \preg_match_all('#\\[(.*)]#imU', $statement->condition, $conditions, \PREG_SET_ORDER); diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php index b63665d2e60..68a2037fda3 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/TypoScript/TypoScriptFileProcessor.php @@ -3,13 +3,13 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\FileProcessor\TypoScript; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserInterface; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserInterface; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration; use Helmich\TypoScriptParser\Parser\Traverser\Traverser; -use RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\Visitor; -use RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerException; +use RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\Visitor; +use RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerException; use Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector; use Rector\Core\Console\Output\RectorOutputStyle; use Rector\Core\Provider\CurrentFileProvider; @@ -23,7 +23,7 @@ use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\ConvertToPhpFileInterface use Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\TypoScriptRectorInterface; use Ssch\TYPO3Rector\Contract\Processor\ConfigurableProcessorInterface; use Ssch\TYPO3Rector\FileProcessor\TypoScript\Rector\AbstractTypoScriptRector; -use RectorPrefix20211129\Symfony\Component\Console\Output\BufferedOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\BufferedOutput; /** * @see \Ssch\TYPO3Rector\Tests\FileProcessor\TypoScript\TypoScriptProcessorTest */ @@ -72,7 +72,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces /** * @param TypoScriptRectorInterface[] $typoScriptRectors */ - public function __construct(\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20211129\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface $typoscriptPrinter, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle, array $typoScriptRectors = []) + public function __construct(\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParserInterface $typoscriptParser, \RectorPrefix20211130\Symfony\Component\Console\Output\BufferedOutput $output, \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\ASTPrinterInterface $typoscriptPrinter, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\FileFormatter\EditorConfig\EditorConfigParser $editorConfigParser, \Rector\Core\Application\FileSystem\RemovedAndAddedFilesCollector $removedAndAddedFilesCollector, \Rector\Core\Console\Output\RectorOutputStyle $rectorOutputStyle, array $typoScriptRectors = []) { $this->typoscriptParser = $typoscriptParser; $this->output = $output; @@ -138,7 +138,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces $editorConfigConfigurationBuilder = \Rector\FileFormatter\ValueObjectFactory\EditorConfigConfigurationBuilder::create(); $editorConfigConfigurationBuilder->withIndent(\Rector\FileFormatter\ValueObject\Indent::createSpaceWithSize(4)); $editorConfiguration = $this->editorConfigParser->extractConfigurationForFile($file, $editorConfigConfigurationBuilder); - $prettyPrinterConfiguration = \RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); + $prettyPrinterConfiguration = \RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Printer\PrettyPrinterConfiguration::create(); $prettyPrinterConfiguration = $prettyPrinterConfiguration->withEmptyLineBreaks(); if ('tab' === $editorConfiguration->getIndentStyle()) { $prettyPrinterConfiguration = $prettyPrinterConfiguration->withTabs(); @@ -150,9 +150,9 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces $this->typoscriptPrinter->printStatements($originalStatements, $this->output); $typoScriptContent = \rtrim($this->output->fetch()) . $editorConfiguration->getNewLine(); $file->changeFileContent($typoScriptContent); - } catch (\RectorPrefix20211129\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) { + } catch (\RectorPrefix20211130\Helmich\TypoScriptParser\Tokenizer\TokenizerException $exception) { return; - } catch (\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\ParseError $exception) { + } catch (\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\ParseError $exception) { $smartFileInfo = $file->getSmartFileInfo(); $errorFile = $smartFileInfo->getRelativeFilePath(); $this->rectorOutputStyle->warning(\sprintf('TypoScriptParser Error in: %s. File skipped.', $errorFile)); @@ -164,7 +164,7 @@ final class TypoScriptFileProcessor implements \Ssch\TYPO3Rector\Contract\Proces */ private function convertToPhpFileRectors() : array { - return \array_filter($this->typoScriptRectors, function (\RectorPrefix20211129\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : bool { + return \array_filter($this->typoScriptRectors, function (\RectorPrefix20211130\Helmich\TypoScriptParser\Parser\Traverser\Visitor $visitor) : bool { return \is_a($visitor, \Ssch\TYPO3Rector\Contract\FileProcessor\TypoScript\ConvertToPhpFileInterface::class, \true); }); } diff --git a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php index a5a27fc31dd..0d297bbeff4 100644 --- a/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php +++ b/vendor/ssch/typo3-rector/src/FileProcessor/Yaml/Form/FormYamlFileProcessor.php @@ -8,7 +8,7 @@ use Rector\Core\Provider\CurrentFileProvider; use Rector\Core\ValueObject\Application\File; use Rector\Core\ValueObject\Configuration; use Ssch\TYPO3Rector\Contract\FileProcessor\Yaml\Form\FormYamlRectorInterface; -use RectorPrefix20211129\Symfony\Component\Yaml\Yaml; +use RectorPrefix20211130\Symfony\Component\Yaml\Yaml; /** * @see \Ssch\TYPO3Rector\Tests\FileProcessor\Yaml\Form\FormYamlProcessorTest */ @@ -46,7 +46,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil } $this->currentFileProvider->setFile($file); $smartFileInfo = $file->getSmartFileInfo(); - $yaml = \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::parseFile($smartFileInfo->getRealPath()); + $yaml = \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::parseFile($smartFileInfo->getRealPath()); if (!\is_array($yaml)) { return; } @@ -58,7 +58,7 @@ final class FormYamlFileProcessor implements \Rector\Core\Contract\Processor\Fil if ($newYaml === $yaml) { return; } - $newFileContent = \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::dump($newYaml, 99); + $newFileContent = \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::dump($newYaml, 99); $file->changeFileContent($newFileContent); } /** diff --git a/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php b/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php index 95fec66423c..f470eb9aeed 100644 --- a/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php +++ b/vendor/ssch/typo3-rector/src/Helper/FilesFinder.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Helper; -use RectorPrefix20211129\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment; +use RectorPrefix20211130\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment; use Symplify\SmartFileSystem\SmartFileInfo; final class FilesFinder { @@ -34,7 +34,7 @@ final class FilesFinder private function findFileRelativeFromGivenFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $fileInfo, string $filename) : ?\Symplify\SmartFileSystem\SmartFileInfo { // special case for tests - if (\RectorPrefix20211129\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + if (\RectorPrefix20211130\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { return $fileInfo; } $currentDirectory = \dirname($fileInfo->getRealPath()); diff --git a/vendor/ssch/typo3-rector/src/Helper/StringUtility.php b/vendor/ssch/typo3-rector/src/Helper/StringUtility.php index 644c33bdf7a..9c327577e68 100644 --- a/vendor/ssch/typo3-rector/src/Helper/StringUtility.php +++ b/vendor/ssch/typo3-rector/src/Helper/StringUtility.php @@ -3,13 +3,13 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Helper; -use RectorPrefix20211129\Stringy\Stringy; +use RectorPrefix20211130\Stringy\Stringy; final class StringUtility { public static function prepareExtensionName(string $extensionName, int $delimiterPosition) : string { $extensionName = \substr($extensionName, $delimiterPosition + 1); - $stringy = new \RectorPrefix20211129\Stringy\Stringy($extensionName); + $stringy = new \RectorPrefix20211130\Stringy\Stringy($extensionName); $underScoredExtensionName = (string) $stringy->underscored()->toLowerCase()->humanize(); $underScoredExtensionName = \ucwords($underScoredExtensionName); return \str_replace(' ', '', $underScoredExtensionName); diff --git a/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php b/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php index e2186323b1e..ef0af670727 100644 --- a/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php +++ b/vendor/ssch/typo3-rector/src/NodeFactory/InitializeArgumentsClassMethodFactory.php @@ -40,8 +40,8 @@ use Rector\PHPStanStaticTypeMapper\Enum\TypeKind; use Rector\StaticTypeMapper\StaticTypeMapper; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; use Rector\TypeDeclaration\TypeInferer\ParamTypeInferer; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker; final class InitializeArgumentsClassMethodFactory { /** @@ -88,7 +88,7 @@ final class InitializeArgumentsClassMethodFactory * @var \Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker */ private $classLikeExistenceChecker; - public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) + public function __construct(\Rector\Core\PhpParser\Node\NodeFactory $nodeFactory, \Rector\NodeNameResolver\NodeNameResolver $nodeNameResolver, \Rector\StaticTypeMapper\StaticTypeMapper $staticTypeMapper, \Rector\TypeDeclaration\TypeInferer\ParamTypeInferer $paramTypeInferer, \Rector\BetterPhpDocParser\PhpDocInfo\PhpDocInfoFactory $phpDocInfoFactory, \PHPStan\Reflection\ReflectionProvider $reflectionProvider, \Rector\Core\PhpParser\Node\Value\ValueResolver $valueResolver, \Rector\Core\PhpParser\AstResolver $astResolver, \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker $classLikeExistenceChecker) { $this->nodeFactory = $nodeFactory; $this->nodeNameResolver = $nodeNameResolver; @@ -129,7 +129,7 @@ final class InitializeArgumentsClassMethodFactory } private function createNewClassMethod() : \PhpParser\Node\Stmt\ClassMethod { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder(self::METHOD_NAME); $methodBuilder->makePublic(); $methodBuilder->setReturnType('void'); return $methodBuilder->getNode(); diff --git a/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php b/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php index e41d7e9809d..56e3749829c 100644 --- a/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/General/MethodGetInstanceToMakeInstanceCallRector.php @@ -10,8 +10,8 @@ use Rector\Core\Contract\Rector\ConfigurableRectorInterface; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\ConfiguredCodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Utility\GeneralUtility; -use RectorPrefix20211129\Webmozart\Assert\Assert; +use RectorPrefix20211130\TYPO3\CMS\Core\Utility\GeneralUtility; +use RectorPrefix20211130\Webmozart\Assert\Assert; /** * @see \Ssch\TYPO3Rector\Tests\Rector\General\MethodGetInstanceToMakeInstanceCallRector\MethodGetInstanceToMakeInstanceCallRectorTest */ @@ -49,7 +49,7 @@ final class MethodGetInstanceToMakeInstanceCallRector extends \Rector\Core\Recto return null; } $class = $this->nodeFactory->createClassConstReference($className); - return $this->nodeFactory->createStaticCall(\RectorPrefix20211129\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]); + return $this->nodeFactory->createStaticCall(\RectorPrefix20211130\TYPO3\CMS\Core\Utility\GeneralUtility::class, 'makeInstance', [$class]); } /** * @codeCoverageIgnore @@ -69,7 +69,7 @@ CODE_SAMPLE public function configure(array $configuration) : void { $classes = $configuration[self::CLASSES_GET_INSTANCE_TO_MAKE_INSTANCE] ?? []; - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($classes); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($classes); $this->classes = $classes; } private function shouldSkip(\PhpParser\Node\Expr\StaticCall $node) : bool diff --git a/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php b/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php index 0ca8694c59b..ff85d915a78 100644 --- a/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/PostRector/FullQualifiedNamePostRector.php @@ -16,10 +16,10 @@ use Rector\NodeRemoval\NodeRemover; use Rector\PostRector\Rector\AbstractPostRector; use Rector\PostRector\Rector\NameImportingPostRector; use Ssch\TYPO3Rector\Configuration\Typo3Option; -use RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider; +use RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Symplify\Skipper\Matcher\FileInfoMatcher; +use RectorPrefix20211130\Symplify\Skipper\Matcher\FileInfoMatcher; /** * @see \Ssch\TYPO3Rector\Tests\Rector\PostRector\FullQualifiedNamePostRector\FullQualifiedNamePostRectorTest */ @@ -49,7 +49,7 @@ final class FullQualifiedNamePostRector extends \Rector\PostRector\Rector\Abstra * @var \Symplify\Skipper\Matcher\FileInfoMatcher */ private $fileInfoMatcher; - public function __construct(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20211129\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher) + public function __construct(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider, \Rector\Core\Provider\CurrentFileProvider $currentFileProvider, \Rector\Core\PhpParser\Node\BetterNodeFinder $betterNodeFinder, \Rector\NodeRemoval\NodeRemover $nodeRemover, \Rector\CodingStyle\ClassNameImport\ClassNameImportSkipper $classNameImportSkipper, \RectorPrefix20211130\Symplify\Skipper\Matcher\FileInfoMatcher $fileInfoMatcher) { $this->parameterProvider = $parameterProvider; $this->currentFileProvider = $currentFileProvider; @@ -144,7 +144,7 @@ CODE_SAMPLE $filesAndDirectories = $this->parameterProvider->provideArrayParameter(\Ssch\TYPO3Rector\Configuration\Typo3Option::PATHS_FULL_QUALIFIED_NAMESPACES); return !$this->fileInfoMatcher->doesFileInfoMatchPatterns($file->getSmartFileInfo(), $filesAndDirectories); } - private function changeNameImportingPostRectorSkipConfiguration(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) : void + private function changeNameImportingPostRectorSkipConfiguration(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider $parameterProvider) : void { if (!$parameterProvider->hasParameter(\Ssch\TYPO3Rector\Configuration\Typo3Option::PATHS_FULL_QUALIFIED_NAMESPACES)) { return; diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php index 9fb089a8d7f..48f266e3d41 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/ConfigurationManagerAddControllerConfigurationMethodRector.php @@ -12,8 +12,8 @@ use PhpParser\Node\Stmt\Nop; use PhpParser\Node\Stmt\Return_; use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -87,9 +87,9 @@ CODE_SAMPLE } private function addMethodGetControllerConfiguration(\PhpParser\Node\Stmt\Class_ $node) : void { - $methodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration'); + $methodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('getControllerConfiguration'); $methodBuilder->makeProtected(); - $methodBuilder->addParams([(new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('pluginName'))->getNode()]); + $methodBuilder->addParams([(new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('extensionName'))->getNode(), (new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder('pluginName'))->getNode()]); $newMethod = $methodBuilder->getNode(); $newMethod->returnType = new \PhpParser\Node\Identifier('array'); $newMethod->stmts[] = new \PhpParser\Node\Stmt\Return_($this->nodeFactory->createMethodCall('this', 'getSwitchableControllerActions', [new \PhpParser\Node\Expr\Variable('extensionName'), new \PhpParser\Node\Expr\Variable('pluginName')])); diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php index 3bac7ef4178..9956b6bd8b3 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/SetSystemLocaleFromSiteLanguageRector.php @@ -10,7 +10,7 @@ use Rector\Core\Rector\AbstractRector; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20211130\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.0/Deprecation-88473-TypoScriptFrontendController-settingLocale.html * @see \Ssch\TYPO3Rector\Tests\Rector\v10\v0\SetSystemLocaleFromSiteLanguageRector\SetSystemLocaleFromSiteLanguageRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php index 3cd3b7b4c89..6263cd73a95 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v10/v0/UseNativePhpHex2binMethodRector.php @@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility; +use RectorPrefix20211130\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/10.0/Deprecation-87613-DeprecateTYPO3CMSExtbaseUtilityTypeHandlingUtilityhex2bin.html * @see \Ssch\TYPO3Rector\Tests\Rector\v10\v0\UseNativePhpHex2binMethodRector\UseNativePhpHex2binMethodRectorTest @@ -41,6 +41,6 @@ final class UseNativePhpHex2binMethodRector extends \Rector\Core\Rector\Abstract */ public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition { - return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Turns \\TYPO3\\CMS\\Extbase\\Utility\\TypeHandlingUtility::hex2bin calls to native php hex2bin', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20211129\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::class . '::hex2bin("6578616d706c65206865782064617461");', 'hex2bin("6578616d706c65206865782064617461");')]); + return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Turns \\TYPO3\\CMS\\Extbase\\Utility\\TypeHandlingUtility::hex2bin calls to native php hex2bin', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20211130\TYPO3\CMS\Extbase\Utility\TypeHandlingUtility::class . '::hex2bin("6578616d706c65206865782064617461");', 'hex2bin("6578616d706c65206865782064617461");')]); } } diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php index c42f070702e..19abd7db3a5 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v10/v2/InjectEnvironmentServiceIfNeededInResponseRector.php @@ -17,9 +17,9 @@ use PHPStan\Type\VerbosityLevel; use Rector\Core\NodeManipulator\ClassInsertManipulator; use Rector\Core\Rector\AbstractRector; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -127,7 +127,7 @@ CODE_SAMPLE } private function createEnvironmentServiceProperty() : \PhpParser\Node\Stmt\Property { - $propertyBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder(self::ENVIRONMENT_SERVICE); + $propertyBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\PropertyBuilder(self::ENVIRONMENT_SERVICE); $propertyBuilder->makeProtected(); $type = new \Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType('TYPO3\\CMS\\Extbase\\Service\\EnvironmentService'); $propertyBuilder->setDocComment(new \PhpParser\Comment\Doc(\sprintf('/**%s * @var \\%s%s */', \PHP_EOL, $type->describe(\PHPStan\Type\VerbosityLevel::typeOnly()), \PHP_EOL))); @@ -149,11 +149,11 @@ CODE_SAMPLE } private function addInjectEnvironmentServiceMethod(\PhpParser\Node\Stmt\Class_ $node) : void { - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::ENVIRONMENT_SERVICE); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::ENVIRONMENT_SERVICE); $paramBuilder->setType(new \PhpParser\Node\Name\FullyQualified('TYPO3\\CMS\\Extbase\\Service\\EnvironmentService')); $param = $paramBuilder->getNode(); $propertyAssignNode = $this->nodeFactory->createPropertyAssignmentWithExpr(self::ENVIRONMENT_SERVICE, new \PhpParser\Node\Expr\Variable(self::ENVIRONMENT_SERVICE)); - $classMethodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('injectEnvironmentService'); + $classMethodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('injectEnvironmentService'); $classMethodBuilder->addParam($param); $classMethodBuilder->addStmt($propertyAssignNode); $classMethodBuilder->makePublic(); diff --git a/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php b/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php index 6f6f8c1998d..aaba2318ae1 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v10/v4/UseIconsFromSubFolderInIconRegistryRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v10\v4; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr\MethodCall; use PHPStan\Type\ObjectType; @@ -51,7 +51,7 @@ final class UseIconsFromSubFolderInIconRegistryRector extends \Rector\Core\Recto if (\strncmp($options[self::SOURCE], 'typo3/sysext/core/Resources/Public/Icons/T3Icons/content/', \strlen('typo3/sysext/core/Resources/Public/Icons/T3Icons/content/')) !== 0) { return null; } - $options[self::SOURCE] = \RectorPrefix20211129\Nette\Utils\Strings::replace($options[self::SOURCE], '#typo3/sysext/core/Resources/Public/Icons/T3Icons/content/#i', 'typo3/sysext/core/Resources/Public/Icons/T3Icons/svgs/content/'); + $options[self::SOURCE] = \RectorPrefix20211130\Nette\Utils\Strings::replace($options[self::SOURCE], '#typo3/sysext/core/Resources/Public/Icons/T3Icons/content/#i', 'typo3/sysext/core/Resources/Public/Icons/T3Icons/svgs/content/'); $node->args[2]->value = $this->nodeFactory->createArray($options); return null; } diff --git a/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php index 4eef1610392..8edcd0e48c6 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v11/v4/ProvideCObjViaMethodRector.php @@ -12,8 +12,8 @@ use PhpParser\Node\Stmt\Nop; use PhpParser\Node\Stmt\Property; use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -78,11 +78,11 @@ CODE_SAMPLE } private function addSetContentObjectRendererMethod(\PhpParser\Node\Stmt\Class_ $node) : void { - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::COBJ); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder(self::COBJ); $paramBuilder->setType(new \PhpParser\Node\Name\FullyQualified('TYPO3\\CMS\\Frontend\\ContentObject\\ContentObjectRenderer')); $param = $paramBuilder->getNode(); $propertyAssignNode = $this->nodeFactory->createPropertyAssignmentWithExpr(self::COBJ, new \PhpParser\Node\Expr\Variable(self::COBJ)); - $classMethodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer'); + $classMethodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder('setContentObjectRenderer'); $classMethodBuilder->addParam($param); $classMethodBuilder->addStmt($propertyAssignNode); $classMethodBuilder->makePublic(); diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php index 2d6bf6a643b..f335aa7a15c 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v0/PrependAbsolutePathToGetFileAbsFileNameRector.php @@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20211130\TYPO3\CMS\Core\Imaging\GraphicalFunctions; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.0/Deprecation-74022-GraphicalFunctions-prependAbsolutePath.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v0\PrependAbsolutePathToGetFileAbsFileNameRector\PrependAbsolutePathToGetFileAbsFileNameRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php index 80ebfec6785..e4060ec93aa 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v0/RefactorRemovedMethodsFromGeneralUtilityRector.php @@ -9,7 +9,7 @@ use PhpParser\Node\Expr\StaticCall; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20211130\TYPO3\CMS\Core\Imaging\GraphicalFunctions; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.0/Breaking-72342-RemovedDeprecatedCodeFromGeneralUtility.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v0\RefactorRemovedMethodsFromGeneralUtilityRector\RefactorRemovedMethodsFromGeneralUtilityRectorTest @@ -67,6 +67,6 @@ final class RefactorRemovedMethodsFromGeneralUtilityRector extends \Rector\Core\ */ public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition { - return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Refactor removed methods from GeneralUtility.', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample('GeneralUtility::gif_compress();', \RectorPrefix20211129\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class . '::gifCompress();')]); + return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('Refactor removed methods from GeneralUtility.', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample('GeneralUtility::gif_compress();', \RectorPrefix20211130\TYPO3\CMS\Core\Imaging\GraphicalFunctions::class . '::gifCompress();')]); } } diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php index 0b8c223ca77..ea652f14272 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v3/RefactorMethodFileContentRector.php @@ -11,7 +11,7 @@ use Rector\Core\Rector\AbstractRector; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\TypoScript\TemplateService; +use RectorPrefix20211130\TYPO3\CMS\Core\TypoScript\TemplateService; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.3/Deprecation-77477-TemplateService-fileContent.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v3\RefactorMethodFileContentRector\RefactorMethodFileContentRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php index 3d61a66f927..c2080e91fc8 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v6/RefactorTCARector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v8\v6; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Expr; use PhpParser\Node\Expr\Array_; @@ -171,7 +171,7 @@ CODE_SAMPLE /** @var Expr $wizardItemValueKey */ $wizardItemValueKey = $wizardItemValue->key; $validWizard = $this->isValidWizard($wizardItemValue); - if ($validWizard || \RectorPrefix20211129\Nette\Utils\Strings::startsWith($this->valueResolver->getValue($wizardItemValueKey), '_')) { + if ($validWizard || \RectorPrefix20211130\Nette\Utils\Strings::startsWith($this->valueResolver->getValue($wizardItemValueKey), '_')) { --$remainingWizards; } if (!$validWizard) { diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php index 1c6c4e61a6e..e59f30e8f8b 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/MoveForeignTypesToOverrideChildTcaRector.php @@ -14,7 +14,7 @@ use Rector\Core\Rector\AbstractRector; use Ssch\TYPO3Rector\Helper\TcaHelperTrait; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Utility\ExtensionManagementUtility; +use RectorPrefix20211130\TYPO3\CMS\Core\Utility\ExtensionManagementUtility; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-80000-InlineOverrideChildTca.html?highlight=foreign_types * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\MoveForeignTypesToOverrideChildTcaRector\MoveForeignTypesToOverrideChildTcaRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php index 7c1fa978b28..8189e52432d 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector.php @@ -25,7 +25,7 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\Node\AttributeKey; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20211130\TYPO3\CMS\Core\Imaging\GraphicalFunctions; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-80514-GraphicalFunctions-tempPathAndCreateTempSubDir.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRector\RefactorGraphicalFunctionsTempPathAndCreateTemSubDirRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php b/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php index 0e44c1d7d9b..c526c6a81fc 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v8/v7/TemplateServiceSplitConfArrayRector.php @@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\TypoScript\TemplateService; +use RectorPrefix20211130\TYPO3\CMS\Core\TypoScript\TemplateService; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/8.7/Deprecation-78650-TemplateService-splitConfArray.html * @see \Ssch\TYPO3Rector\Tests\Rector\v8\v7\TemplateServiceSplitConfArrayRector\TemplateServiceSplitConfArrayRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v0/InjectAnnotationRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v0/InjectAnnotationRector.php index a049720fc63..357cc8541fd 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v0/InjectAnnotationRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v0/InjectAnnotationRector.php @@ -18,8 +18,8 @@ use Rector\Core\Rector\AbstractRector; use Rector\NodeTypeResolver\PhpDoc\NodeAnalyzer\DocBlockTagReplacer; use Rector\StaticTypeMapper\ValueObject\Type\FullyQualifiedObjectType; use Rector\StaticTypeMapper\ValueObject\Type\ShortenedObjectType; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; -use RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder; +use RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; /** @@ -75,7 +75,7 @@ final class InjectAnnotationRector extends \Rector\Core\Rector\AbstractRector } /** @var string $variableName */ $variableName = $this->getName($property); - $paramBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName); + $paramBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\ParamBuilder($variableName); $varType = $propertyPhpDocInfo->getVarType(); if (!$varType instanceof \PHPStan\Type\ObjectType) { continue; @@ -129,7 +129,7 @@ CODE_SAMPLE private function createInjectClassMethod(string $variableName, \PhpParser\Node\Param $param, \PhpParser\Node\Expr\Assign $assign) : \PhpParser\Node\Stmt\ClassMethod { $injectMethodName = $this->createInjectMethodName($variableName); - $injectMethodBuilder = new \RectorPrefix20211129\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName); + $injectMethodBuilder = new \RectorPrefix20211130\Symplify\Astral\ValueObject\NodeBuilder\MethodBuilder($injectMethodName); $injectMethodBuilder->makePublic(); $injectMethodBuilder->addParam($param); $injectMethodBuilder->setReturnType('void'); diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php index 732755c134c..1e040ac80fa 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v0/ReplaceExtKeyWithExtensionKeyRector.php @@ -12,7 +12,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Ssch\TYPO3Rector\Helper\FilesFinder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException; +use RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException; use Symplify\SmartFileSystem\SmartFileInfo; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.0/Important-82692-GuidelinesForExtensionFiles.html @@ -113,7 +113,7 @@ CODE_SAMPLE [, $extensionKey] = \explode('/', $json['name'], 2); return \str_replace('-', '_', $extensionKey); } - } catch (\RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { return null; } return null; diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php index fd0bbc9b0eb..d111cdf60b3 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v3/BackendUserAuthenticationSimplelogRector.php @@ -10,7 +10,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Authentication\BackendUserAuthentication; +use RectorPrefix20211130\TYPO3\CMS\Core\Authentication\BackendUserAuthentication; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-84981-BackendUserAuthentication-simplelogDeprecated.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v3\BackendUserAuthenticationSimplelogRector\BackendUserAuthenticationSimplelogRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php index 68437f3049f..284d93df35e 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v3/PhpOptionsUtilityRector.php @@ -13,7 +13,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Utility\PhpOptionsUtility; +use RectorPrefix20211130\TYPO3\CMS\Core\Utility\PhpOptionsUtility; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.3/Deprecation-85102-PhpOptionsUtility.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v3\PhpOptionsUtilityRector\PhpOptionsUtilityRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php index 6a9b15fa30c..6ce264d1d5a 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/BackendUtilityShortcutExistsRector.php @@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Backend\Utility\BackendUtility; +use RectorPrefix20211130\TYPO3\CMS\Backend\Utility\BackendUtility; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-84414-BackendUtilityshortcutExists.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\BackendUtilityShortcutExistsRector\BackendUtilityShortcutExistsRectorTest @@ -21,7 +21,7 @@ final class BackendUtilityShortcutExistsRector extends \Rector\Core\Rector\Abstr */ public function getRuleDefinition() : \Symplify\RuleDocGenerator\ValueObject\RuleDefinition { - return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('shortcutExists Static call replaced by method call of ShortcutRepository', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20211129\TYPO3\CMS\Backend\Utility\BackendUtility::class . '::shortcutExists($url);', <<<'CODE_SAMPLE' + return new \Symplify\RuleDocGenerator\ValueObject\RuleDefinition('shortcutExists Static call replaced by method call of ShortcutRepository', [new \Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample(\RectorPrefix20211130\TYPO3\CMS\Backend\Utility\BackendUtility::class . '::shortcutExists($url);', <<<'CODE_SAMPLE' GeneralUtility::makeInstance(ShortcutRepository::class)->shortcutExists($url); CODE_SAMPLE )]); diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php index a428f72fe88..028bb1e6234 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/CallEnableFieldsFromPageRepositoryRector.php @@ -11,7 +11,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; +use RectorPrefix20211130\TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85558-ContentObjectRenderer-enableFields.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\CallEnableFieldsFromPageRepositoryRector\CallEnableFieldsFromPageRepositoryRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php index 04523e4f2ed..6e192ab4044 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitMethodGraphicalFunctionsRector.php @@ -9,7 +9,7 @@ use PHPStan\Type\ObjectType; use Rector\Core\Rector\AbstractRector; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Core\Imaging\GraphicalFunctions; +use RectorPrefix20211130\TYPO3\CMS\Core\Imaging\GraphicalFunctions; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85978-GraphicalFunctions-init.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\RemoveInitMethodGraphicalFunctionsRector\RemoveInitMethodGraphicalFunctionsRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php index 1395e823e40..1203cd5762c 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/RemoveInitTemplateMethodCallRector.php @@ -13,7 +13,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20211130\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85666-TypoScriptFrontendController-initTemplate.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\RemoveInitTemplateMethodCallRector\RemoveInitTemplateMethodCallRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php index c31c6c117a1..9476a381ece 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseContextApiForVersioningWorkspaceIdRector.php @@ -12,7 +12,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\Page\PageRepository; +use RectorPrefix20211130\TYPO3\CMS\Frontend\Page\PageRepository; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85556-PageRepository-versioningWorkspaceId.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\UseContextApiForVersioningWorkspaceIdRector\UseContextApiForVersioningWorkspaceIdRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php index 6de840f619c..1baf767bb2a 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v4/UseRootlineUtilityInsteadOfGetRootlineMethodRector.php @@ -11,7 +11,7 @@ use Rector\NodeTypeResolver\Node\AttributeKey; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\Page\PageRepository; +use RectorPrefix20211130\TYPO3\CMS\Frontend\Page\PageRepository; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.4/Deprecation-85557-PageRepository-getRootLine.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v4\UseRootlineUtilityInsteadOfGetRootlineMethodRector\UseRootlineUtilityInsteadOfGetRootlineMethodRectorTest diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php index 3251aef6c59..7915494debb 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v5/ExtbaseCommandControllerToSymfonyCommandRector.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Ssch\TYPO3Rector\Rector\v9\v5; -use RectorPrefix20211129\Nette\Utils\Strings; +use RectorPrefix20211130\Nette\Utils\Strings; use PhpParser\Node; use PhpParser\Node\Stmt; use PhpParser\Node\Stmt\Class_; @@ -24,7 +24,7 @@ use Ssch\TYPO3Rector\Template\TemplateFinder; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; use Symplify\SmartFileSystem\SmartFileInfo; -use RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem; +use RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem; /** * @changelog https://docs.typo3.org/m/typo3/reference-coreapi/9.5/en-us/ApiOverview/CommandControllers/Index.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommandRector\ExtbaseCommandControllerToSymfonyCommandRectorTest @@ -59,7 +59,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ * @var \Ssch\TYPO3Rector\Template\TemplateFinder */ private $templateFinder; - public function __construct(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddArgumentToSymfonyCommandRector $addArgumentToSymfonyCommandRector, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddCommandsToReturnRector $addCommandsToReturnRector, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder) + public function __construct(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \Rector\Core\PhpParser\Parser\RectorParser $rectorParser, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddArgumentToSymfonyCommandRector $addArgumentToSymfonyCommandRector, \Ssch\TYPO3Rector\Helper\FilesFinder $filesFinder, \Ssch\TYPO3Rector\Rector\v9\v5\ExtbaseCommandControllerToSymfonyCommand\AddCommandsToReturnRector $addCommandsToReturnRector, \Rector\Core\PhpParser\Parser\SimplePhpParser $simplePhpParser, \Ssch\TYPO3Rector\Template\TemplateFinder $templateFinder) { $this->smartFileSystem = $smartFileSystem; $this->rectorParser = $rectorParser; @@ -126,7 +126,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ } $commandDescription = $descriptionPhpDocNodes[0]->text; $commandTemplate = $this->templateFinder->getCommand(); - $commandName = \RectorPrefix20211129\Nette\Utils\Strings::firstUpper($commandMethodName); + $commandName = \RectorPrefix20211130\Nette\Utils\Strings::firstUpper($commandMethodName); $commandContent = $commandTemplate->getContents(); $filePath = \sprintf('%s/Classes/Command/%s.php', $extensionDirectory, $commandName); // Do not overwrite existing file @@ -154,7 +154,7 @@ final class ExtbaseCommandControllerToSymfonyCommandRector extends \Rector\Core\ $stmts = $nodeTraverser->traverse($stmts); $changedSetConfigContent = $this->betterStandardPrinter->prettyPrintFile($stmts); $this->removedAndAddedFilesCollector->addAddedFile(new \Rector\FileSystemRector\ValueObject\AddedFileWithContent($filePath, $changedSetConfigContent)); - $newCommandName = \sprintf('%s:%s', \RectorPrefix20211129\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20211129\Nette\Utils\Strings::lower($commandName)); + $newCommandName = \sprintf('%s:%s', \RectorPrefix20211130\Nette\Utils\Strings::lower($vendorName), \RectorPrefix20211130\Nette\Utils\Strings::lower($commandName)); $newCommandsWithFullQualifiedNamespace[$newCommandName] = \sprintf('%s\\%s', $commandNamespace, $commandName); } $this->addNewCommandsToCommandsFile($commandsFilePath, $newCommandsWithFullQualifiedNamespace); diff --git a/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php b/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php index d377aa4d6a0..229c54edec6 100644 --- a/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php +++ b/vendor/ssch/typo3-rector/src/Rector/v9/v5/RefactorProcessOutputRector.php @@ -13,7 +13,7 @@ use Rector\Core\Rector\AbstractRector; use Ssch\TYPO3Rector\Helper\Typo3NodeResolver; use Symplify\RuleDocGenerator\ValueObject\CodeSample\CodeSample; use Symplify\RuleDocGenerator\ValueObject\RuleDefinition; -use RectorPrefix20211129\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; +use RectorPrefix20211130\TYPO3\CMS\Frontend\Controller\TypoScriptFrontendController; /** * @changelog https://docs.typo3.org/c/typo3/cms-core/master/en-us/Changelog/9.5/Deprecation-86486-TypoScriptFrontendController-processOutput.html * @see \Ssch\TYPO3Rector\Tests\Rector\v9\v5\RefactorProcessOutputRector\RefactorProcessOutputRectorTest diff --git a/vendor/symfony/config/Builder/ClassBuilder.php b/vendor/symfony/config/Builder/ClassBuilder.php index ebb44cedd22..1634aba733e 100644 --- a/vendor/symfony/config/Builder/ClassBuilder.php +++ b/vendor/symfony/config/Builder/ClassBuilder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; /** * Build PHP classes to generate config. @@ -30,6 +30,7 @@ class ClassBuilder private $require = []; private $use = []; private $implements = []; + private $allowExtraKeys = \false; public function __construct(string $namespace, string $name) { $this->namespace = $namespace; @@ -83,8 +84,6 @@ USE /** * This class is automatically generated to help creating config. - * - * @experimental in 5.3 */ class CLASS IMPLEMENTS { @@ -121,15 +120,15 @@ BODY */ public function addMethod($name, $body, $params = []) : void { - $this->methods[] = new \RectorPrefix20211129\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params)); + $this->methods[] = new \RectorPrefix20211130\Symfony\Component\Config\Builder\Method(\strtr($body, ['NAME' => $this->camelCase($name)] + $params)); } /** * @param string $name * @param string|null $classType */ - public function addProperty($name, $classType = null) : \RectorPrefix20211129\Symfony\Component\Config\Builder\Property + public function addProperty($name, $classType = null) : \RectorPrefix20211130\Symfony\Component\Config\Builder\Property { - $property = new \RectorPrefix20211129\Symfony\Component\Config\Builder\Property($name, $this->camelCase($name)); + $property = new \RectorPrefix20211130\Symfony\Component\Config\Builder\Property($name, '_' !== $name[0] ? $this->camelCase($name) : $name); if (null !== $classType) { $property->setType($classType); } @@ -158,4 +157,15 @@ BODY { return '\\' . $this->namespace . '\\' . $this->name; } + /** + * @param bool $allowExtraKeys + */ + public function setAllowExtraKeys($allowExtraKeys) : void + { + $this->allowExtraKeys = $allowExtraKeys; + } + public function shouldAllowExtraKeys() : bool + { + return $this->allowExtraKeys; + } } diff --git a/vendor/symfony/config/Builder/ConfigBuilderGenerator.php b/vendor/symfony/config/Builder/ConfigBuilderGenerator.php index 80329abc840..6118a423626 100644 --- a/vendor/symfony/config/Builder/ConfigBuilderGenerator.php +++ b/vendor/symfony/config/Builder/ConfigBuilderGenerator.php @@ -8,26 +8,26 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BooleanNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\FloatNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\IntegerNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode; -use RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BooleanNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\FloatNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\IntegerNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator; /** * Generate ConfigBuilders to help create valid config. * * @author Tobias Nyholm */ -class ConfigBuilderGenerator implements \RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface +class ConfigBuilderGenerator implements \RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface { private $classes; private $outputDir; @@ -43,19 +43,18 @@ class ConfigBuilderGenerator implements \RectorPrefix20211129\Symfony\Component\ { $this->classes = []; $rootNode = $configuration->getConfigTreeBuilder()->buildTree(); - $rootClass = new \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20211129\\Symfony\\Config', $rootNode->getName()); + $rootClass = new \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder('RectorPrefix20211130\\Symfony\\Config', $rootNode->getName()); $path = $this->getFullPath($rootClass); if (!\is_file($path)) { // Generate the class if the file not exists $this->classes[] = $rootClass; $this->buildNode($rootNode, $rootClass, $this->getSubNamespace($rootClass)); - $rootClass->addImplements(\RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderInterface::class); + $rootClass->addImplements(\RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderInterface::class); $rootClass->addMethod('getExtensionAlias', ' public function NAME(): string { return \'ALIAS\'; -} - ', ['ALIAS' => $rootNode->getPath()]); +}', ['ALIAS' => $rootNode->getPath()]); $this->writeClasses(); } $loader = \Closure::fromCallable(function () use($path, $rootClass) { @@ -65,7 +64,7 @@ public function NAME(): string }); return $loader; } - private function getFullPath(\RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class) : string + private function getFullPath(\RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : string { $directory = $this->outputDir . \DIRECTORY_SEPARATOR . $class->getDirectory(); if (!\is_dir($directory)) { @@ -78,27 +77,28 @@ public function NAME(): string foreach ($this->classes as $class) { $this->buildConstructor($class); $this->buildToArray($class); + $this->buildSetExtraKey($class); \file_put_contents($this->getFullPath($class), $class->build()); } $this->classes = []; } - private function buildNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function buildNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void { - if (!$node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if (!$node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { throw new \LogicException('The node was expected to be an ArrayNode. This Configuration includes an edge case not supported yet.'); } foreach ($node->getChildren() as $child) { switch (\true) { - case $child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode: + case $child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode: $this->handleScalarNode($child, $class); break; - case $child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode: + case $child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode: $this->handlePrototypedArrayNode($child, $class, $namespace); break; - case $child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode: + case $child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode: $this->handleVariableNode($child, $class); break; - case $child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode: + case $child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode: $this->handleArrayNode($child, $class, $namespace); break; default: @@ -106,9 +106,10 @@ public function NAME(): string } } } - private function handleArrayNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function handleArrayNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode $node, \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void { - $childClass = new \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName()); + $childClass = new \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder($namespace, $node->getName()); + $childClass->setAllowExtraKeys($node->shouldIgnoreExtraKeys()); $class->addRequire($childClass); $this->classes[] = $childClass; $property = $class->addProperty($node->getName(), $childClass->getFqcn()); @@ -123,15 +124,15 @@ public function NAME(array $value = []): CLASS return $this->PROPERTY; }'; - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); $class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'CLASS' => $childClass->getFqcn()]); $this->buildNode($node, $childClass, $this->getSubNamespace($childClass)); } - private function handleVariableNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function handleVariableNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode $node, \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $comment = $this->getComment($node); $property = $class->addProperty($node->getName()); - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator::class); $body = ' /** COMMENT * @return $this @@ -144,14 +145,14 @@ public function NAME($valueDEFAULT): self }'; $class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment, 'DEFAULT' => $node->hasDefaultValue() ? ' = ' . \var_export($node->getDefaultValue(), \true) : '']); } - private function handlePrototypedArrayNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void + private function handlePrototypedArrayNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode $node, \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class, string $namespace) : void { $name = $this->getSingularName($node); $prototype = $node->getPrototype(); $methodName = $name; $parameterType = $this->getParameterType($prototype); - if (null !== $parameterType || $prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode) { - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator::class); + if (null !== $parameterType || $prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode) { + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator::class); $property = $class->addProperty($node->getName()); if (null === ($key = $node->getKeyAttribute())) { // This is an array of values; don't use singular name @@ -183,7 +184,10 @@ public function NAME(string $VAR, $VALUE): self } return; } - $childClass = new \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name); + $childClass = new \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder($namespace, $name); + if ($prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { + $childClass->setAllowExtraKeys($prototype->shouldIgnoreExtraKeys()); + } $class->addRequire($childClass); $this->classes[] = $childClass; $property = $class->addProperty($node->getName(), $childClass->getFqcn() . '[]'); @@ -207,16 +211,16 @@ public function NAME(string $VAR, array $VALUE = []): CLASS throw new InvalidConfigurationException(\'The node created by "NAME()" has already been initialized. You cannot pass values the second time you call NAME().\'); }'; - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); $class->addMethod($methodName, $body, ['PROPERTY' => $property->getName(), 'CLASS' => $childClass->getFqcn(), 'VAR' => '' === $key ? 'key' : $key, 'VALUE' => 'value' === $key ? 'data' : 'value']); } $this->buildNode($prototype, $childClass, $namespace . '\\' . $childClass->getName()); } - private function handleScalarNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function handleScalarNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode $node, \RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $comment = $this->getComment($node); $property = $class->addProperty($node->getName()); - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator::class); $body = ' /** COMMENT * @return $this @@ -229,69 +233,69 @@ public function NAME($value): self }'; $class->addMethod($node->getName(), $body, ['PROPERTY' => $property->getName(), 'COMMENT' => $comment]); } - private function getParameterType(\RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $node) : ?string + private function getParameterType(\RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $node) : ?string { - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BooleanNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BooleanNode) { return 'bool'; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\IntegerNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\IntegerNode) { return 'int'; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\FloatNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\FloatNode) { return 'float'; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode) { return ''; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode && $node->getPrototype() instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode) { // This is just an array of variables return 'array'; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode) { // mixed return ''; } return null; } - private function getComment(\RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode $node) : string + private function getComment(\RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode $node) : string { $comment = ''; if ('' !== ($info = (string) $node->getInfo())) { - $comment .= ' * ' . $info . \PHP_EOL; + $comment .= ' * ' . $info . "\n"; } foreach ((array) ($node->getExample() ?? []) as $example) { - $comment .= ' * @example ' . $example . \PHP_EOL; + $comment .= ' * @example ' . $example . "\n"; } if ('' !== ($default = $node->getDefaultValue())) { - $comment .= ' * @default ' . (null === $default ? 'null' : \var_export($default, \true)) . \PHP_EOL; + $comment .= ' * @default ' . (null === $default ? 'null' : \var_export($default, \true)) . "\n"; } - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode) { $comment .= \sprintf(' * @param ParamConfigurator|%s $value', \implode('|', \array_map(function ($a) { return \var_export($a, \true); - }, $node->getValues()))) . \PHP_EOL; + }, $node->getValues()))) . "\n"; } else { $parameterType = $this->getParameterType($node); if (null === $parameterType || '' === $parameterType) { $parameterType = 'mixed'; } - $comment .= ' * @param ParamConfigurator|' . $parameterType . ' $value' . \PHP_EOL; + $comment .= ' * @param ParamConfigurator|' . $parameterType . ' $value' . "\n"; } if ($node->isDeprecated()) { - $comment .= ' * @deprecated ' . $node->getDeprecation($node->getName(), $node->getParent()->getName())['message'] . \PHP_EOL; + $comment .= ' * @deprecated ' . $node->getDeprecation($node->getName(), $node->getParent()->getName())['message'] . "\n"; } return $comment; } /** * Pick a good singular name. */ - private function getSingularName(\RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string + private function getSingularName(\RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : string { $name = $node->getName(); if ('s' !== \substr($name, -1)) { return $name; } $parent = $node->getParent(); - $mappings = $parent instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : []; + $mappings = $parent instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode ? $parent->getXmlRemappings() : []; foreach ($mappings as $map) { if ($map[1] === $name) { $name = $map[0]; @@ -300,7 +304,7 @@ public function NAME($value): self } return $name; } - private function buildToArray(\RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function buildToArray(\RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $body = '$output = [];'; foreach ($class->getProperties() as $p) { @@ -317,16 +321,16 @@ public function NAME($value): self $output[\'ORG_NAME\'] = ' . $code . '; }', ['PROPERTY' => $p->getName(), 'ORG_NAME' => $p->getOriginalName()]); } + $extraKeys = $class->shouldAllowExtraKeys() ? ' + $this->_extraKeys' : ''; $class->addMethod('toArray', ' public function NAME(): array { ' . $body . ' - return $output; -} -'); + return $output' . $extraKeys . '; +}'); } - private function buildConstructor(\RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $class) : void + private function buildConstructor(\RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : void { $body = ''; foreach ($class->getProperties() as $p) { @@ -345,19 +349,47 @@ public function NAME(): array } ', ['PROPERTY' => $p->getName(), 'ORG_NAME' => $p->getOriginalName()]); } - $body .= ' + if ($class->shouldAllowExtraKeys()) { + $body .= ' + $this->_extraKeys = $value; +'; + } else { + $body .= ' if ([] !== $value) { throw new InvalidConfigurationException(sprintf(\'The following keys are not supported by "%s": \', __CLASS__).implode(\', \', array_keys($value))); }'; - $class->addUse(\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException::class); + } $class->addMethod('__construct', ' public function __construct(array $value = []) { ' . $body . ' -} -'); +}'); } - private function getSubNamespace(\RectorPrefix20211129\Symfony\Component\Config\Builder\ClassBuilder $rootClass) : string + private function buildSetExtraKey(\RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $class) : void + { + if (!$class->shouldAllowExtraKeys()) { + return; + } + $class->addUse(\RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator::class); + $class->addProperty('_extraKeys'); + $class->addMethod('set', ' +/** + * @param ParamConfigurator|mixed $value + * @return $this + */ +public function NAME(string $key, $value): self +{ + if (null === $value) { + unset($this->_extraKeys[$key]); + } else { + $this->_extraKeys[$key] = $value; + } + + return $this; +}'); + } + private function getSubNamespace(\RectorPrefix20211130\Symfony\Component\Config\Builder\ClassBuilder $rootClass) : string { return \sprintf('%s\\%s', $rootClass->getNamespace(), \substr($rootClass->getName(), 0, -6)); } diff --git a/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php b/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php index a6ac8a8a740..e9dccc98368 100644 --- a/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php +++ b/vendor/symfony/config/Builder/ConfigBuilderGeneratorInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; /** * Generates ConfigBuilders to help create valid config. * diff --git a/vendor/symfony/config/Builder/ConfigBuilderInterface.php b/vendor/symfony/config/Builder/ConfigBuilderInterface.php index 61c8b864b0b..7d5766fe0d8 100644 --- a/vendor/symfony/config/Builder/ConfigBuilderInterface.php +++ b/vendor/symfony/config/Builder/ConfigBuilderInterface.php @@ -8,14 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; /** * A ConfigBuilder provides helper methods to build a large complex array. * * @author Tobias Nyholm - * - * @experimental in 5.3 */ interface ConfigBuilderInterface { diff --git a/vendor/symfony/config/Builder/Method.php b/vendor/symfony/config/Builder/Method.php index 9e4fe31480d..5bf63815fb1 100644 --- a/vendor/symfony/config/Builder/Method.php +++ b/vendor/symfony/config/Builder/Method.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; /** * Represents a method when building classes. diff --git a/vendor/symfony/config/Builder/Property.php b/vendor/symfony/config/Builder/Property.php index 93e27469105..9dd0802a587 100644 --- a/vendor/symfony/config/Builder/Property.php +++ b/vendor/symfony/config/Builder/Property.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Builder; /** * Represents a property when building classes. diff --git a/vendor/symfony/config/ConfigCache.php b/vendor/symfony/config/ConfigCache.php index 64600c00bcb..a98e72068af 100644 --- a/vendor/symfony/config/ConfigCache.php +++ b/vendor/symfony/config/ConfigCache.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceChecker; +use RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceChecker; /** * ConfigCache caches arbitrary content in files on disk. * @@ -21,7 +21,7 @@ use RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceC * @author Fabien Potencier * @author Matthias Pigulla */ -class ConfigCache extends \RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerConfigCache +class ConfigCache extends \RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerConfigCache { private $debug; /** @@ -33,7 +33,7 @@ class ConfigCache extends \RectorPrefix20211129\Symfony\Component\Config\Resourc $this->debug = $debug; $checkers = []; if (\true === $this->debug) { - $checkers = [new \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()]; + $checkers = [new \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceChecker()]; } parent::__construct($file, $checkers); } @@ -43,7 +43,7 @@ class ConfigCache extends \RectorPrefix20211129\Symfony\Component\Config\Resourc * This implementation always returns true when debug is off and the * cache file exists. * - * @return bool true if the cache is fresh, false otherwise + * @return bool */ public function isFresh() { diff --git a/vendor/symfony/config/ConfigCacheFactory.php b/vendor/symfony/config/ConfigCacheFactory.php index 3a677ccc832..7cc337b9950 100644 --- a/vendor/symfony/config/ConfigCacheFactory.php +++ b/vendor/symfony/config/ConfigCacheFactory.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; /** * Basic implementation of ConfigCacheFactoryInterface that @@ -19,7 +19,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config; * * @author Matthias Pigulla */ -class ConfigCacheFactory implements \RectorPrefix20211129\Symfony\Component\Config\ConfigCacheFactoryInterface +class ConfigCacheFactory implements \RectorPrefix20211130\Symfony\Component\Config\ConfigCacheFactoryInterface { private $debug; /** @@ -36,7 +36,7 @@ class ConfigCacheFactory implements \RectorPrefix20211129\Symfony\Component\Conf */ public function cache($file, $callback) { - $cache = new \RectorPrefix20211129\Symfony\Component\Config\ConfigCache($file, $this->debug); + $cache = new \RectorPrefix20211130\Symfony\Component\Config\ConfigCache($file, $this->debug); if (!$cache->isFresh()) { $callback($cache); } diff --git a/vendor/symfony/config/ConfigCacheFactoryInterface.php b/vendor/symfony/config/ConfigCacheFactoryInterface.php index c82f18385e6..d04fde66d9d 100644 --- a/vendor/symfony/config/ConfigCacheFactoryInterface.php +++ b/vendor/symfony/config/ConfigCacheFactoryInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; /** * Interface for a ConfigCache factory. This factory creates @@ -25,7 +25,7 @@ interface ConfigCacheFactoryInterface * @param string $file The absolute cache file path * @param callable $callable The callable to be executed when the cache needs to be filled (i. e. is not fresh). The cache will be passed as the only parameter to this callback * - * @return ConfigCacheInterface The cache instance + * @return ConfigCacheInterface */ public function cache($file, $callable); } diff --git a/vendor/symfony/config/ConfigCacheInterface.php b/vendor/symfony/config/ConfigCacheInterface.php index bd2166c1484..f866e6cea84 100644 --- a/vendor/symfony/config/ConfigCacheInterface.php +++ b/vendor/symfony/config/ConfigCacheInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; /** * Interface for ConfigCache. * @@ -21,7 +21,7 @@ interface ConfigCacheInterface /** * Gets the cache file path. * - * @return string The cache file path + * @return string */ public function getPath(); /** @@ -29,7 +29,7 @@ interface ConfigCacheInterface * * This check should take the metadata passed to the write() method into consideration. * - * @return bool Whether the cache is still fresh + * @return bool */ public function isFresh(); /** diff --git a/vendor/symfony/config/Definition/ArrayNode.php b/vendor/symfony/config/Definition/ArrayNode.php index e8767907c27..9b8d3434a34 100644 --- a/vendor/symfony/config/Definition/ArrayNode.php +++ b/vendor/symfony/config/Definition/ArrayNode.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * Represents an Array node in the config tree. * * @author Johannes M. Schmitt */ -class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypeNodeInterface +class ArrayNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypeNodeInterface { protected $xmlRemappings = []; protected $children = []; @@ -131,6 +131,13 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio $this->ignoreExtraKeys = $boolean; $this->removeExtraKeys = $this->ignoreExtraKeys && $remove; } + /** + * Returns true when extra keys should be ignored without an exception. + */ + public function shouldIgnoreExtraKeys() : bool + { + return $this->ignoreExtraKeys; + } /** * {@inheritdoc} * @param string $name @@ -189,7 +196,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio protected function finalizeValue($value) { if (\false === $value) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); } foreach ($this->children as $name => $child) { if (!\array_key_exists($name, $value)) { @@ -200,7 +207,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio } else { $message .= '.'; } - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($message); $ex->setPath($this->getPath()); throw $ex; } @@ -215,7 +222,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio } try { $value[$name] = $child->finalize($value[$name]); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { unset($value[$name]); } } @@ -227,7 +234,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio protected function validateType($value) { if (!\is_array($value) && (!$this->allowFalse || \false !== $value)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "array", but got "%s"', $this->getPath(), \get_debug_type($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "array", but got "%s"', $this->getPath(), \get_debug_type($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } @@ -251,7 +258,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio if (isset($this->children[$name])) { try { $normalized[$name] = $this->children[$name]->normalize($val); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { } unset($value[$name]); } elseif (!$this->removeExtraKeys) { @@ -280,7 +287,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio } else { $msg .= \sprintf('. Available option%s %s "%s".', 1 === \count($proposals) ? '' : 's', 1 === \count($proposals) ? 'is' : 'are', \implode('", "', $proposals)); } - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($msg); $ex->setPath($this->getPath()); throw $ex; } @@ -289,7 +296,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio /** * Remaps multiple singular values to a single plural value. * - * @return array The remapped values + * @return array * @param mixed[] $value */ protected function remapXml($value) @@ -298,7 +305,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio if (!isset($value[$singular])) { continue; } - $value[$plural] = \RectorPrefix20211129\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural); + $value[$plural] = \RectorPrefix20211130\Symfony\Component\Config\Definition\Processor::normalizeConfig($value, $singular, $plural); unset($value[$singular]); } return $value; @@ -323,7 +330,7 @@ class ArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio // no conflict if (!\array_key_exists($k, $leftSide)) { if (!$this->allowNewKeys) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file. If you are trying to overwrite an element, make sure you redefine it with the same name.', $this->getPath())); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file. If you are trying to overwrite an element, make sure you redefine it with the same name.', $this->getPath())); $ex->setPath($this->getPath()); throw $ex; } diff --git a/vendor/symfony/config/Definition/BaseNode.php b/vendor/symfony/config/Definition/BaseNode.php index 72a7b620a0d..41883956c6c 100644 --- a/vendor/symfony/config/Definition/BaseNode.php +++ b/vendor/symfony/config/Definition/BaseNode.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * The base node class. * * @author Johannes M. Schmitt */ -abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface +abstract class BaseNode implements \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface { public const DEFAULT_PATH_SEPARATOR = '.'; private static $placeholderUniquePrefixes = []; @@ -39,7 +39,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi /** * @throws \InvalidArgumentException if the name contains a period */ - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $parent = null, string $pathSeparator = self::DEFAULT_PATH_SEPARATOR) { if (\strpos($name = (string) $name, $pathSeparator) !== \false) { throw new \InvalidArgumentException('The name must not contain ".' . $pathSeparator . '".'); @@ -143,7 +143,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi /** * Returns info message. * - * @return string|null The info text + * @return string|null */ public function getInfo() { @@ -161,7 +161,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi /** * Retrieves the example configuration for this node. * - * @return string|array|null The example + * @return string|array|null */ public function getExample() { @@ -302,7 +302,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi public final function merge($leftSide, $rightSide) { if (!$this->allowOverwrite) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException(\sprintf('Configuration path "%s" cannot be overwritten. You have to define all options for this path, and any of its sub-paths in one configuration section.', $this->getPath())); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException(\sprintf('Configuration path "%s" cannot be overwritten. You have to define all options for this path, and any of its sub-paths in one configuration section.', $this->getPath())); } if ($leftSide !== ($leftPlaceholders = self::resolvePlaceholderValue($leftSide))) { foreach ($leftPlaceholders as $leftPlaceholder) { @@ -368,7 +368,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi * * @param mixed $value * - * @return mixed The normalized array value + * @return mixed */ protected function preNormalize($value) { @@ -406,13 +406,13 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi foreach ($this->finalValidationClosures as $closure) { try { $value = $closure($value); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception $e) { - if ($e instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception $e) { + if ($e instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException && null !== $this->handlingPlaceholder) { continue; } throw $e; } catch (\Exception $e) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('Invalid configuration for path "%s": ', $this->getPath()) . $e->getMessage(), $e->getCode(), $e); } } return $value; @@ -430,7 +430,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi * * @param mixed $value The value to normalize * - * @return mixed The normalized value + * @return mixed */ protected abstract function normalizeValue($value); /** @@ -439,7 +439,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi * @param mixed $leftSide * @param mixed $rightSide * - * @return mixed The merged value + * @return mixed */ protected abstract function mergeValues($leftSide, $rightSide); /** @@ -447,7 +447,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi * * @param mixed $value The value to finalize * - * @return mixed The finalized value + * @return mixed */ protected abstract function finalizeValue($value); /** @@ -488,7 +488,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi private function doValidateType($value) : void { if (null !== $this->handlingPlaceholder && !$this->allowPlaceholders()) { - $e = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath())); + $e = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('A dynamic value is not compatible with a "%s" node type at path "%s".', static::class, $this->getPath())); $e->setPath($this->getPath()); throw $e; } @@ -499,7 +499,7 @@ abstract class BaseNode implements \RectorPrefix20211129\Symfony\Component\Confi $knownTypes = \array_keys(self::$placeholders[$this->handlingPlaceholder]); $validTypes = $this->getValidPlaceholderTypes(); if ($validTypes && \array_diff($knownTypes, $validTypes)) { - $e = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected %s, but got %s.', $this->getPath(), 1 === \count($validTypes) ? '"' . \reset($validTypes) . '"' : 'one of "' . \implode('", "', $validTypes) . '"', 1 === \count($knownTypes) ? '"' . \reset($knownTypes) . '"' : 'one of "' . \implode('", "', $knownTypes) . '"')); + $e = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected %s, but got %s.', $this->getPath(), 1 === \count($validTypes) ? '"' . \reset($validTypes) . '"' : 'one of "' . \implode('", "', $validTypes) . '"', 1 === \count($knownTypes) ? '"' . \reset($knownTypes) . '"' : 'one of "' . \implode('", "', $knownTypes) . '"')); if ($hint = $this->getInfo()) { $e->addHint($hint); } diff --git a/vendor/symfony/config/Definition/BooleanNode.php b/vendor/symfony/config/Definition/BooleanNode.php index 76bae634f2b..fa363a403d6 100644 --- a/vendor/symfony/config/Definition/BooleanNode.php +++ b/vendor/symfony/config/Definition/BooleanNode.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a Boolean value in the config tree. * * @author Johannes M. Schmitt */ -class BooleanNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode +class BooleanNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode { /** * {@inheritdoc} @@ -24,7 +24,7 @@ class BooleanNode extends \RectorPrefix20211129\Symfony\Component\Config\Definit protected function validateType($value) { if (!\is_bool($value)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "bool", but got "%s".', $this->getPath(), \get_debug_type($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "bool", but got "%s".', $this->getPath(), \get_debug_type($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } diff --git a/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php b/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php index 0f5da819504..832a40253fe 100644 --- a/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/ArrayNodeDefinition.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode; /** * This class provides a fluent interface for defining an array node. * * @author Johannes M. Schmitt */ -class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface +class ArrayNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition implements \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface { protected $performDeepMerging = \true; protected $ignoreExtraKeys = \false; @@ -36,7 +36,7 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config /** * {@inheritdoc} */ - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->nullEquivalent = []; @@ -313,12 +313,12 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config /** * Returns a node builder to be used to add children and prototype. * - * @return NodeBuilder The node builder + * @return NodeBuilder */ protected function getNodeBuilder() { if (null === $this->nodeBuilder) { - $this->nodeBuilder = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeBuilder(); + $this->nodeBuilder = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeBuilder(); } return $this->nodeBuilder->setParent($this); } @@ -328,7 +328,7 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config protected function createNode() { if (null === $this->prototype) { - $node = new \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator); + $node = new \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode($this->name, $this->parent, $this->pathSeparator); $this->validateConcreteNode($node); $node->setAddIfNotSet($this->addDefaults); foreach ($this->children as $child) { @@ -336,7 +336,7 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config $node->addChild($child->getNode()); } } else { - $node = new \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator); + $node = new \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode($this->name, $this->parent, $this->pathSeparator); $this->validatePrototypeNode($node); if (null !== $this->key) { $node->setKeyAttribute($this->key, $this->removeKeyItem); @@ -393,19 +393,19 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config { $path = $node->getPath(); if (null !== $this->key) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->useAttributeAsKey() is not applicable to concrete nodes at path "%s".', $path)); } if (\false === $this->allowEmptyValue) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->cannotBeEmpty() is not applicable to concrete nodes at path "%s".', $path)); } if (\true === $this->atLeastOne) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->requiresAtLeastOneElement() is not applicable to concrete nodes at path "%s".', $path)); } if ($this->default) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->defaultValue() is not applicable to concrete nodes at path "%s".', $path)); } if (\false !== $this->addDefaultChildren) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() is not applicable to concrete nodes at path "%s".', $path)); } } /** @@ -418,17 +418,17 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config { $path = $node->getPath(); if ($this->addDefaults) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultsIfNotSet() is not applicable to prototype nodes at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultsIfNotSet() is not applicable to prototype nodes at path "%s".', $path)); } if (\false !== $this->addDefaultChildren) { if ($this->default) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('A default value and default children might not be used together at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('A default value and default children might not be used together at path "%s".', $path)); } if (null !== $this->key && (null === $this->addDefaultChildren || \is_int($this->addDefaultChildren) && $this->addDefaultChildren > 0)) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() should set default children names as ->useAttributeAsKey() is used at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() should set default children names as ->useAttributeAsKey() is used at path "%s".', $path)); } if (null === $this->key && (\is_string($this->addDefaultChildren) || \is_array($this->addDefaultChildren))) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() might not set default children names as ->useAttributeAsKey() is not used at path "%s".', $path)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException(\sprintf('->addDefaultChildrenIfNoneSet() might not set default children names as ->useAttributeAsKey() is not used at path "%s".', $path)); } } } @@ -444,7 +444,7 @@ class ArrayNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config * * @param string $nodePath The path of the node to find. e.g "doctrine.orm.mappings" */ - public function find($nodePath) : \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition + public function find($nodePath) : \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition { $firstPathSegment = \false === ($pathSeparatorPos = \strpos($nodePath, $this->pathSeparator)) ? $nodePath : \substr($nodePath, 0, $pathSeparatorPos); if (null === ($node = $this->children[$firstPathSegment] ?? null)) { diff --git a/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php b/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php index 242365a698e..e08499a4a7c 100644 --- a/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/BooleanNodeDefinition.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BooleanNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BooleanNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class BooleanNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +class BooleanNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { /** * {@inheritdoc} */ - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { parent::__construct($name, $parent); $this->nullEquivalent = \true; @@ -30,11 +30,11 @@ class BooleanNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Conf /** * Instantiate a Node. * - * @return BooleanNode The node + * @return BooleanNode */ protected function instantiateNode() { - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\BooleanNode($this->name, $this->parent, $this->pathSeparator); } /** * {@inheritdoc} @@ -43,6 +43,6 @@ class BooleanNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Conf */ public function cannotBeEmpty() { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to BooleanNodeDefinition.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to BooleanNodeDefinition.'); } } diff --git a/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php b/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php index e315bb0405e..961f0caefaa 100644 --- a/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php +++ b/vendor/symfony/config/Definition/Builder/BuilderAwareInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * An interface that can be implemented by nodes which build other nodes. diff --git a/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php b/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php index 115dc1b299e..391f4b6e2d1 100644 --- a/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/EnumNodeDefinition.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode; /** * Enum Node Definition. * * @author Johannes M. Schmitt */ -class EnumNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +class EnumNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { private $values; /** @@ -35,7 +35,7 @@ class EnumNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\ /** * Instantiate a Node. * - * @return EnumNode The node + * @return EnumNode * * @throws \RuntimeException */ @@ -44,6 +44,6 @@ class EnumNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\ if (null === $this->values) { throw new \RuntimeException('You must call ->values() on enum nodes.'); } - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode($this->name, $this->parent, $this->values, $this->pathSeparator); } } diff --git a/vendor/symfony/config/Definition/Builder/ExprBuilder.php b/vendor/symfony/config/Definition/Builder/ExprBuilder.php index 95516e18e30..69fb2910416 100644 --- a/vendor/symfony/config/Definition/Builder/ExprBuilder.php +++ b/vendor/symfony/config/Definition/Builder/ExprBuilder.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * This class builds an if expression. * @@ -22,7 +22,7 @@ class ExprBuilder protected $node; public $ifPart; public $thenPart; - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -199,7 +199,7 @@ class ExprBuilder public function thenUnset() { $this->thenPart = function () { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException('Unsetting key.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException('Unsetting key.'); }; return $this; } diff --git a/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php b/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php index 5da2bafd54f..a477fa25d39 100644 --- a/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/FloatNodeDefinition.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\FloatNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\FloatNode; /** * This class provides a fluent interface for defining a float node. * * @author Jeanmonod David */ -class FloatNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition +class FloatNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition { /** * Instantiates a Node. * - * @return FloatNode The node + * @return FloatNode */ protected function instantiateNode() { - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\FloatNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\FloatNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); } } diff --git a/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php b/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php index 638740cb7c4..dc09cad0eeb 100644 --- a/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/IntegerNodeDefinition.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\IntegerNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\IntegerNode; /** * This class provides a fluent interface for defining an integer node. * * @author Jeanmonod David */ -class IntegerNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition +class IntegerNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NumericNodeDefinition { /** * Instantiates a Node. * - * @return IntegerNode The node + * @return IntegerNode */ protected function instantiateNode() { - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\IntegerNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\IntegerNode($this->name, $this->parent, $this->min, $this->max, $this->pathSeparator); } } diff --git a/vendor/symfony/config/Definition/Builder/MergeBuilder.php b/vendor/symfony/config/Definition/Builder/MergeBuilder.php index 8e1cbbefa18..d48103c2063 100644 --- a/vendor/symfony/config/Definition/Builder/MergeBuilder.php +++ b/vendor/symfony/config/Definition/Builder/MergeBuilder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * This class builds merge conditions. @@ -20,7 +20,7 @@ class MergeBuilder protected $node; public $allowFalse = \false; public $allowOverwrite = \true; - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } diff --git a/vendor/symfony/config/Definition/Builder/NodeBuilder.php b/vendor/symfony/config/Definition/Builder/NodeBuilder.php index d2c37a2b912..64f2fb23fce 100644 --- a/vendor/symfony/config/Definition/Builder/NodeBuilder.php +++ b/vendor/symfony/config/Definition/Builder/NodeBuilder.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * This class provides a fluent interface for building a node. * * @author Johannes M. Schmitt */ -class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface +class NodeBuilder implements \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $parent; protected $nodeMapping; public function __construct() { - $this->nodeMapping = ['variable' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class]; + $this->nodeMapping = ['variable' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition::class, 'scalar' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition::class, 'boolean' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\BooleanNodeDefinition::class, 'integer' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\IntegerNodeDefinition::class, 'float' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\FloatNodeDefinition::class, 'array' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ArrayNodeDefinition::class, 'enum' => \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\EnumNodeDefinition::class]; } /** * Set the parent node. @@ -37,7 +37,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child array node. * - * @return ArrayNodeDefinition The child node + * @return ArrayNodeDefinition * @param string $name */ public function arrayNode($name) @@ -47,7 +47,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child scalar node. * - * @return ScalarNodeDefinition The child node + * @return ScalarNodeDefinition * @param string $name */ public function scalarNode($name) @@ -57,7 +57,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child Boolean node. * - * @return BooleanNodeDefinition The child node + * @return BooleanNodeDefinition * @param string $name */ public function booleanNode($name) @@ -67,7 +67,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child integer node. * - * @return IntegerNodeDefinition The child node + * @return IntegerNodeDefinition * @param string $name */ public function integerNode($name) @@ -77,7 +77,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child float node. * - * @return FloatNodeDefinition The child node + * @return FloatNodeDefinition * @param string $name */ public function floatNode($name) @@ -97,7 +97,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child variable node. * - * @return VariableNodeDefinition The builder of the child node + * @return VariableNodeDefinition * @param string $name */ public function variableNode($name) @@ -107,7 +107,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Returns the parent node. * - * @return NodeDefinition&ParentNodeDefinitionInterface The parent node + * @return NodeDefinition&ParentNodeDefinitionInterface */ public function end() { @@ -116,7 +116,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Creates a child node. * - * @return NodeDefinition The child node + * @return NodeDefinition * * @throws \RuntimeException When the node type is not registered * @throws \RuntimeException When the node class is not found @@ -148,7 +148,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi */ public function append($node) { - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface) { $builder = clone $this; $builder->setParent(null); $node->setBuilder($builder); @@ -176,7 +176,7 @@ class NodeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Defi /** * Returns the class name of the node definition. * - * @return string The node definition class name + * @return string * * @throws \RuntimeException When the node type is not registered * @throws \RuntimeException When the node class is not found diff --git a/vendor/symfony/config/Definition/Builder/NodeDefinition.php b/vendor/symfony/config/Definition/Builder/NodeDefinition.php index 5e13d851276..d6dbe859582 100644 --- a/vendor/symfony/config/Definition/Builder/NodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/NodeDefinition.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface +abstract class NodeDefinition implements \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $name; protected $normalization; @@ -32,10 +32,10 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component protected $nullEquivalent; protected $trueEquivalent = \true; protected $falseEquivalent = \false; - protected $pathSeparator = \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR; + protected $pathSeparator = \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR; protected $parent; protected $attributes = []; - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface $parent = null) { $this->parent = $parent; $this->name = $name; @@ -88,7 +88,7 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component /** * Returns the parent node. * - * @return NodeParentInterface|NodeBuilder|NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition|null The builder of the parent node + * @return NodeParentInterface|NodeBuilder|NodeDefinition|ArrayNodeDefinition|VariableNodeDefinition|null */ public function end() { @@ -106,13 +106,13 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component $this->parent = null; } if (null !== $this->normalization) { - $this->normalization->before = \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before); + $this->normalization->before = \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->normalization->before); } if (null !== $this->validation) { - $this->validation->rules = \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules); + $this->validation->rules = \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ExprBuilder::buildExpressions($this->validation->rules); } $node = $this->createNode(); - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode) { $node->setAttributes($this->attributes); } return $node; @@ -281,7 +281,7 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component protected function validation() { if (null === $this->validation) { - $this->validation = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this); + $this->validation = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ValidationBuilder($this); } return $this->validation; } @@ -293,7 +293,7 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component protected function merge() { if (null === $this->merge) { - $this->merge = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\MergeBuilder($this); + $this->merge = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\MergeBuilder($this); } return $this->merge; } @@ -305,14 +305,14 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component protected function normalization() { if (null === $this->normalization) { - $this->normalization = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this); + $this->normalization = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NormalizationBuilder($this); } return $this->normalization; } /** * Instantiate and configure the node according to this definition. * - * @return NodeInterface The node instance + * @return NodeInterface * * @throws InvalidDefinitionException When the definition is invalid */ @@ -325,7 +325,7 @@ abstract class NodeDefinition implements \RectorPrefix20211129\Symfony\Component */ public function setPathSeparator($separator) { - if ($this instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface) { + if ($this instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ParentNodeDefinitionInterface) { foreach ($this->getChildNodeDefinitions() as $child) { $child->setPathSeparator($separator); } diff --git a/vendor/symfony/config/Definition/Builder/NodeParentInterface.php b/vendor/symfony/config/Definition/Builder/NodeParentInterface.php index 08e902706e6..b0c8bbea25f 100644 --- a/vendor/symfony/config/Definition/Builder/NodeParentInterface.php +++ b/vendor/symfony/config/Definition/Builder/NodeParentInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * An interface that must be implemented by all node parents. diff --git a/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php b/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php index d0c24104df4..99e3bd209e4 100644 --- a/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php +++ b/vendor/symfony/config/Definition/Builder/NormalizationBuilder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * This class builds normalization conditions. @@ -20,7 +20,7 @@ class NormalizationBuilder protected $node; public $before = []; public $remappings = []; - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -49,6 +49,6 @@ class NormalizationBuilder $this->before[] = $closure; return $this; } - return $this->before[] = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); + return $this->before[] = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); } } diff --git a/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php b/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php index fb0d7f1a976..1be1f80cb36 100644 --- a/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/NumericNodeDefinition.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException; /** * Abstract class that contains common code of integer and float node definitions. * * @author David Jeanmonod */ -abstract class NumericNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition +abstract class NumericNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ScalarNodeDefinition { protected $min; protected $max; @@ -61,6 +61,6 @@ abstract class NumericNodeDefinition extends \RectorPrefix20211129\Symfony\Compo */ public function cannotBeEmpty() { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to NumericNodeDefinition.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidDefinitionException('->cannotBeEmpty() is not applicable to NumericNodeDefinition.'); } } diff --git a/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php b/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php index 8cf36fe6dca..a59114d31ae 100644 --- a/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php +++ b/vendor/symfony/config/Definition/Builder/ParentNodeDefinitionInterface.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * An interface that must be implemented by nodes which can have children. * * @author Victor Berchet */ -interface ParentNodeDefinitionInterface extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface +interface ParentNodeDefinitionInterface extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\BuilderAwareInterface { /** * Returns a builder to add children nodes. diff --git a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php index d1c53eb42cb..c57d29c7d65 100644 --- a/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/ScalarNodeDefinition.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class ScalarNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition +class ScalarNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\VariableNodeDefinition { /** * Instantiate a Node. * - * @return ScalarNode The node + * @return ScalarNode */ protected function instantiateNode() { - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode($this->name, $this->parent, $this->pathSeparator); } } diff --git a/vendor/symfony/config/Definition/Builder/TreeBuilder.php b/vendor/symfony/config/Definition/Builder/TreeBuilder.php index a5637164c5b..2828be46bd8 100644 --- a/vendor/symfony/config/Definition/Builder/TreeBuilder.php +++ b/vendor/symfony/config/Definition/Builder/TreeBuilder.php @@ -8,27 +8,27 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface; /** * This is the entry class for building a config tree. * * @author Johannes M. Schmitt */ -class TreeBuilder implements \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeParentInterface +class TreeBuilder implements \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeParentInterface { protected $tree; protected $root; - public function __construct(string $name, string $type = 'array', \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null) + public function __construct(string $name, string $type = 'array', \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeBuilder $builder = null) { - $builder = $builder ?? new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeBuilder(); + $builder = $builder ?? new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeBuilder(); $this->root = $builder->node($name, $type)->setParent($this); } /** * @return NodeDefinition|ArrayNodeDefinition The root node (as an ArrayNodeDefinition when the type is 'array') */ - public function getRootNode() : \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition + public function getRootNode() : \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition { return $this->root; } diff --git a/vendor/symfony/config/Definition/Builder/ValidationBuilder.php b/vendor/symfony/config/Definition/Builder/ValidationBuilder.php index 3d362386c19..151cf28c09d 100644 --- a/vendor/symfony/config/Definition/Builder/ValidationBuilder.php +++ b/vendor/symfony/config/Definition/Builder/ValidationBuilder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; /** * This class builds validation conditions. @@ -19,7 +19,7 @@ class ValidationBuilder { protected $node; public $rules = []; - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition $node) { $this->node = $node; } @@ -35,6 +35,6 @@ class ValidationBuilder $this->rules[] = $closure; return $this; } - return $this->rules[] = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); + return $this->rules[] = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\ExprBuilder($this->node); } } diff --git a/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php b/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php index c7dbe2fb069..dda6c12244a 100644 --- a/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php +++ b/vendor/symfony/config/Definition/Builder/VariableNodeDefinition.php @@ -8,24 +8,24 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Builder; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Builder; -use RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode; /** * This class provides a fluent interface for defining a node. * * @author Johannes M. Schmitt */ -class VariableNodeDefinition extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Builder\NodeDefinition +class VariableNodeDefinition extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\NodeDefinition { /** * Instantiate a Node. * - * @return VariableNode The node + * @return VariableNode */ protected function instantiateNode() { - return new \RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator); + return new \RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode($this->name, $this->parent, $this->pathSeparator); } /** * {@inheritdoc} diff --git a/vendor/symfony/config/Definition/ConfigurationInterface.php b/vendor/symfony/config/Definition/ConfigurationInterface.php index 13bb12757fc..f25469d8139 100644 --- a/vendor/symfony/config/Definition/ConfigurationInterface.php +++ b/vendor/symfony/config/Definition/ConfigurationInterface.php @@ -8,8 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Builder\TreeBuilder; /** * Configuration interface. * @@ -20,7 +21,7 @@ interface ConfigurationInterface /** * Generates the configuration tree builder. * - * @return \Symfony\Component\Config\Definition\Builder\TreeBuilder The tree builder + * @return TreeBuilder */ public function getConfigTreeBuilder(); } diff --git a/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php b/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php index 9efd41f85ed..13fd80a51fb 100644 --- a/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php +++ b/vendor/symfony/config/Definition/Dumper/XmlReferenceDumper.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Dumper; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Dumper; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode; /** * Dumps an XML reference configuration for the given configuration/node instance. * @@ -44,7 +44,7 @@ class XmlReferenceDumper $this->reference = null; return $ref; } - private function writeNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $node, int $depth = 0, bool $root = \false, string $namespace = null) + private function writeNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $node, int $depth = 0, bool $root = \false, string $namespace = null) { $rootName = $root ? 'config' : $node->getName(); $rootNamespace = $namespace ?: ($root ? 'http://example.org/schema/dic/' . $node->getName() : null); @@ -63,7 +63,7 @@ class XmlReferenceDumper $rootAttributeComments = []; $rootChildren = []; $rootComments = []; - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { $children = $node->getChildren(); // comments about the root node if ($rootInfo = $node->getInfo()) { @@ -73,7 +73,7 @@ class XmlReferenceDumper $rootComments[] = 'Namespace: ' . $rootNamespace; } // render prototyped nodes - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode) { $prototype = $node->getPrototype(); $info = 'prototype'; if (null !== $prototype->getInfo()) { @@ -83,10 +83,10 @@ class XmlReferenceDumper if ($key = $node->getKeyAttribute()) { $rootAttributes[$key] = \str_replace('-', ' ', $rootName) . ' ' . $key; } - if ($prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode) { $prototype->setName($key ?? ''); $children = [$key => $prototype]; - } elseif ($prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + } elseif ($prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { $children = $prototype->getChildren(); } else { if ($prototype->hasDefaultValue()) { @@ -114,7 +114,7 @@ class XmlReferenceDumper } // get attributes and elements foreach ($children as $child) { - if ($child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if ($child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { // get elements $rootChildren[] = $child; continue; @@ -126,20 +126,20 @@ class XmlReferenceDumper // use a string which isn't used in the normal world // comments $comments = []; - if ($child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) { + if ($child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode && ($info = $child->getInfo())) { $comments[] = $info; } - if ($child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) { + if ($child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode && ($example = $child->getExample())) { $comments[] = 'Example: ' . $example; } if ($child->isRequired()) { $comments[] = 'Required'; } - if ($child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode && $child->isDeprecated()) { + if ($child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode && $child->isDeprecated()) { $deprecation = $child->getDeprecation($child->getName(), $node->getPath()); $comments[] = \sprintf('Deprecated (%s)', ($deprecation['package'] || $deprecation['version'] ? "Since {$deprecation['package']} {$deprecation['version']}: " : '') . $deprecation['message']); } - if ($child instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode) { + if ($child instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode) { $comments[] = 'One of ' . \implode('; ', \array_map('json_encode', $child->getValues())); } if (\count($comments)) { diff --git a/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php b/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php index 53c26ff1298..9d0c74ca5f0 100644 --- a/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php +++ b/vendor/symfony/config/Definition/Dumper/YamlReferenceDumper.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Dumper; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Dumper; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode; -use RectorPrefix20211129\Symfony\Component\Yaml\Inline; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode; +use RectorPrefix20211130\Symfony\Component\Yaml\Inline; /** * Dumps a Yaml reference configuration for the given configuration/node instance. * @@ -42,11 +42,11 @@ class YamlReferenceDumper { $rootNode = $node = $configuration->getConfigTreeBuilder()->buildTree(); foreach (\explode('.', $path) as $step) { - if (!$node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if (!$node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { throw new \UnexpectedValueException(\sprintf('Unable to find node at path "%s.%s".', $rootNode->getName(), $path)); } /** @var NodeInterface[] $children */ - $children = $node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren(); + $children = $node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode ? $this->getPrototypeChildren($node) : $node->getChildren(); foreach ($children as $child) { if ($child->getName() === $step) { $node = $child; @@ -68,20 +68,20 @@ class YamlReferenceDumper $this->reference = null; return $ref; } - private function writeNode(\RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false) + private function writeNode(\RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $node, \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $parentNode = null, int $depth = 0, bool $prototypedArray = \false) { $comments = []; $default = ''; $defaultArray = null; $children = null; $example = null; - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode) { $example = $node->getExample(); } // defaults - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { $children = $node->getChildren(); - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode) { $children = $this->getPrototypeChildren($node); } if (!$children) { @@ -91,10 +91,10 @@ class YamlReferenceDumper $default = '[]'; } } - } elseif ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\EnumNode) { + } elseif ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\EnumNode) { $comments[] = 'One of ' . \implode('; ', \array_map('json_encode', $node->getValues())); - $default = $node->hasDefaultValue() ? \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~'; - } elseif (\RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode::class === \get_class($node) && \is_array($example)) { + $default = $node->hasDefaultValue() ? \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($node->getDefaultValue()) : '~'; + } elseif (\RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode::class === \get_class($node) && \is_array($example)) { // If there is an array example, we are sure we dont need to print a default value $default = ''; } else { @@ -108,7 +108,7 @@ class YamlReferenceDumper $default = '[]'; } } else { - $default = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($default); + $default = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($default); } } } @@ -117,19 +117,19 @@ class YamlReferenceDumper $comments[] = 'Required'; } // deprecated? - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode && $node->isDeprecated()) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode && $node->isDeprecated()) { $deprecation = $node->getDeprecation($node->getName(), $parentNode ? $parentNode->getPath() : $node->getPath()); $comments[] = \sprintf('Deprecated (%s)', ($deprecation['package'] || $deprecation['version'] ? "Since {$deprecation['package']} {$deprecation['version']}: " : '') . $deprecation['message']); } // example if ($example && !\is_array($example)) { - $comments[] = 'Example: ' . \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($example); + $comments[] = 'Example: ' . \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($example); } $default = '' != (string) $default ? ' ' . $default : ''; $comments = \count($comments) ? '# ' . \implode(', ', $comments) : ''; $key = $prototypedArray ? '-' : $node->getName() . ':'; $text = \rtrim(\sprintf('%-21s%s %s', $key, $default, $comments), ' '); - if ($node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) { + if ($node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode && ($info = $node->getInfo())) { $this->writeLine(''); // indenting multi-line info $info = \str_replace("\n", \sprintf("\n%" . $depth * 4 . 's# ', ' '), $info); @@ -147,11 +147,11 @@ class YamlReferenceDumper $this->writeLine(''); $message = \count($example) > 1 ? 'Examples' : 'Example'; $this->writeLine('# ' . $message . ':', $depth * 4 + 4); - $this->writeArray(\array_map([\RectorPrefix20211129\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1); + $this->writeArray(\array_map([\RectorPrefix20211130\Symfony\Component\Yaml\Inline::class, 'dump'], $example), $depth + 1); } if ($children) { foreach ($children as $childNode) { - $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute()); + $this->writeNode($childNode, $node, $depth + 1, $node instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode && !$node->getKeyAttribute()); } } } @@ -183,18 +183,18 @@ class YamlReferenceDumper } } } - private function getPrototypeChildren(\RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : array + private function getPrototypeChildren(\RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode $node) : array { $prototype = $node->getPrototype(); $key = $node->getKeyAttribute(); // Do not expand prototype if it isn't an array node nor uses attribute as key - if (!$key && !$prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { + if (!$key && !$prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { return $node->getChildren(); } - if ($prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode) { - $keyNode = new \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode($key, $node); + if ($prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode) { + $keyNode = new \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode($key, $node); $children = $prototype->getChildren(); - if ($prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) { + if ($prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypedArrayNode && $prototype->getKeyAttribute()) { $children = $this->getPrototypeChildren($prototype); } // add children @@ -202,7 +202,7 @@ class YamlReferenceDumper $keyNode->addChild($childNode); } } else { - $keyNode = new \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode($key, $node); + $keyNode = new \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode($key, $node); } $info = 'Prototype'; if (null !== $prototype->getInfo()) { diff --git a/vendor/symfony/config/Definition/EnumNode.php b/vendor/symfony/config/Definition/EnumNode.php index e15463255ab..d417140a858 100644 --- a/vendor/symfony/config/Definition/EnumNode.php +++ b/vendor/symfony/config/Definition/EnumNode.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * Node which only allows a finite set of values. * * @author Johannes M. Schmitt */ -class EnumNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode +class EnumNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode { private $values; - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $parent = null, array $values = [], string $pathSeparator = \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) { $values = \array_unique($values); if (empty($values)) { @@ -39,7 +39,7 @@ class EnumNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition { $value = parent::finalizeValue($value); if (!\in_array($value, $this->values, \true)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The value %s is not allowed for path "%s". Permissible values: %s', \json_encode($value), $this->getPath(), \implode(', ', \array_map('json_encode', $this->values)))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The value %s is not allowed for path "%s". Permissible values: %s', \json_encode($value), $this->getPath(), \implode(', ', \array_map('json_encode', $this->values)))); $ex->setPath($this->getPath()); throw $ex; } diff --git a/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php b/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php index 804fa371f51..ed79fad5d43 100644 --- a/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php +++ b/vendor/symfony/config/Definition/Exception/DuplicateKeyException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * This exception is thrown whenever the key of an array is not unique. This can @@ -16,6 +16,6 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class DuplicateKeyException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class DuplicateKeyException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException { } diff --git a/vendor/symfony/config/Definition/Exception/Exception.php b/vendor/symfony/config/Definition/Exception/Exception.php index 99b1a0d9e1b..7b0732ef1a7 100644 --- a/vendor/symfony/config/Definition/Exception/Exception.php +++ b/vendor/symfony/config/Definition/Exception/Exception.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * Base exception for all configuration exceptions. diff --git a/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php b/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php index f7f10fa87e2..7ea90751b72 100644 --- a/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php +++ b/vendor/symfony/config/Definition/Exception/ForbiddenOverwriteException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * This exception is thrown when a configuration path is overwritten from a @@ -16,6 +16,6 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class ForbiddenOverwriteException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class ForbiddenOverwriteException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException { } diff --git a/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php b/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php index 6dec39c916c..a98cf288f8e 100644 --- a/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php +++ b/vendor/symfony/config/Definition/Exception/InvalidConfigurationException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * A very general exception which can be thrown whenever non of the more specific @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class InvalidConfigurationException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception +class InvalidConfigurationException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception { private $path; private $containsHints = \false; diff --git a/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php b/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php index 6ab4292dea1..c3d948d606a 100644 --- a/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php +++ b/vendor/symfony/config/Definition/Exception/InvalidDefinitionException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * Thrown when an error is detected in a node Definition. * * @author Victor Berchet */ -class InvalidDefinitionException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception +class InvalidDefinitionException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception { } diff --git a/vendor/symfony/config/Definition/Exception/InvalidTypeException.php b/vendor/symfony/config/Definition/Exception/InvalidTypeException.php index 38d0ca2c1d4..6d41565d1ff 100644 --- a/vendor/symfony/config/Definition/Exception/InvalidTypeException.php +++ b/vendor/symfony/config/Definition/Exception/InvalidTypeException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * This exception is thrown if an invalid type is encountered. * * @author Johannes M. Schmitt */ -class InvalidTypeException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException +class InvalidTypeException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException { } diff --git a/vendor/symfony/config/Definition/Exception/UnsetKeyException.php b/vendor/symfony/config/Definition/Exception/UnsetKeyException.php index b10b4acb77d..d20de0704b6 100644 --- a/vendor/symfony/config/Definition/Exception/UnsetKeyException.php +++ b/vendor/symfony/config/Definition/Exception/UnsetKeyException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition\Exception; /** * This exception is usually not encountered by the end-user, but only used @@ -16,6 +16,6 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Definition\Exception; * * @author Johannes M. Schmitt */ -class UnsetKeyException extends \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception +class UnsetKeyException extends \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception { } diff --git a/vendor/symfony/config/Definition/FloatNode.php b/vendor/symfony/config/Definition/FloatNode.php index 8beca7eb50a..319652f18bf 100644 --- a/vendor/symfony/config/Definition/FloatNode.php +++ b/vendor/symfony/config/Definition/FloatNode.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a float value in the config tree. * * @author Jeanmonod David */ -class FloatNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\NumericNode +class FloatNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\NumericNode { /** * {@inheritdoc} @@ -28,7 +28,7 @@ class FloatNode extends \RectorPrefix20211129\Symfony\Component\Config\Definitio $value = (float) $value; } if (!\is_float($value)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "float", but got "%s".', $this->getPath(), \get_debug_type($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "float", but got "%s".', $this->getPath(), \get_debug_type($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } diff --git a/vendor/symfony/config/Definition/IntegerNode.php b/vendor/symfony/config/Definition/IntegerNode.php index ff14e912ca5..da3d13e1597 100644 --- a/vendor/symfony/config/Definition/IntegerNode.php +++ b/vendor/symfony/config/Definition/IntegerNode.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents an integer value in the config tree. * * @author Jeanmonod David */ -class IntegerNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\NumericNode +class IntegerNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\NumericNode { /** * {@inheritdoc} @@ -24,7 +24,7 @@ class IntegerNode extends \RectorPrefix20211129\Symfony\Component\Config\Definit protected function validateType($value) { if (!\is_int($value)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "int", but got "%s".', $this->getPath(), \get_debug_type($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "int", but got "%s".', $this->getPath(), \get_debug_type($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } diff --git a/vendor/symfony/config/Definition/NodeInterface.php b/vendor/symfony/config/Definition/NodeInterface.php index 9e6160c219d..ce27b1bc950 100644 --- a/vendor/symfony/config/Definition/NodeInterface.php +++ b/vendor/symfony/config/Definition/NodeInterface.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\ForbiddenOverwriteException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * Common Interface among all nodes. * @@ -26,31 +26,31 @@ interface NodeInterface /** * Returns the name of the node. * - * @return string The name of the node + * @return string */ public function getName(); /** * Returns the path of the node. * - * @return string The node path + * @return string */ public function getPath(); /** * Returns true when the node is required. * - * @return bool If the node is required + * @return bool */ public function isRequired(); /** * Returns true when the node has a default value. * - * @return bool If the node has a default value + * @return bool */ public function hasDefaultValue(); /** * Returns the default value of the node. * - * @return mixed The default value + * @return mixed * * @throws \RuntimeException if the node has no default value */ @@ -60,7 +60,7 @@ interface NodeInterface * * @param mixed $value The value to normalize * - * @return mixed The normalized value + * @return mixed * * @throws InvalidTypeException if the value type is invalid */ @@ -71,7 +71,7 @@ interface NodeInterface * @param mixed $leftSide * @param mixed $rightSide * - * @return mixed The merged value + * @return mixed * * @throws ForbiddenOverwriteException if the configuration path cannot be overwritten * @throws InvalidTypeException if the value type is invalid @@ -82,7 +82,7 @@ interface NodeInterface * * @param mixed $value The value to finalize * - * @return mixed The finalized value + * @return mixed * * @throws InvalidTypeException if the value type is invalid * @throws InvalidConfigurationException if the value is invalid configuration diff --git a/vendor/symfony/config/Definition/NumericNode.php b/vendor/symfony/config/Definition/NumericNode.php index 19299faf824..0a71bec63d5 100644 --- a/vendor/symfony/config/Definition/NumericNode.php +++ b/vendor/symfony/config/Definition/NumericNode.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * This node represents a numeric value in the config tree. * * @author David Jeanmonod */ -class NumericNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\ScalarNode +class NumericNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\ScalarNode { protected $min; protected $max; @@ -24,7 +24,7 @@ class NumericNode extends \RectorPrefix20211129\Symfony\Component\Config\Definit * @param int|float|null $min * @param int|float|null $max */ - public function __construct(?string $name, \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) + public function __construct(?string $name, \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $parent = null, $min = null, $max = null, string $pathSeparator = \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::DEFAULT_PATH_SEPARATOR) { parent::__construct($name, $parent, $pathSeparator); $this->min = $min; @@ -44,7 +44,7 @@ class NumericNode extends \RectorPrefix20211129\Symfony\Component\Config\Definit $errorMsg = \sprintf('The value %s is too big for path "%s". Should be less than or equal to %s', $value, $this->getPath(), $this->max); } if (isset($errorMsg)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMsg); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException($errorMsg); $ex->setPath($this->getPath()); throw $ex; } diff --git a/vendor/symfony/config/Definition/Processor.php b/vendor/symfony/config/Definition/Processor.php index b9ddb77d484..0a5ac3de77d 100644 --- a/vendor/symfony/config/Definition/Processor.php +++ b/vendor/symfony/config/Definition/Processor.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; /** * This class is the entry point for config normalization/merging/finalization. @@ -23,10 +23,8 @@ class Processor * Processes an array of configurations. * * @param array $configs An array of configuration items to process - * - * @return array The processed configuration */ - public function process(\RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array + public function process(\RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface $configTree, array $configs) : array { $currentConfig = []; foreach ($configs as $config) { @@ -39,10 +37,8 @@ class Processor * Processes an array of configurations. * * @param array $configs An array of configuration items to process - * - * @return array The processed configuration */ - public function processConfiguration(\RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array + public function processConfiguration(\RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface $configuration, array $configs) : array { return $this->process($configuration->getConfigTreeBuilder()->buildTree(), $configs); } diff --git a/vendor/symfony/config/Definition/PrototypeNodeInterface.php b/vendor/symfony/config/Definition/PrototypeNodeInterface.php index ec9093f2489..f98a575007a 100644 --- a/vendor/symfony/config/Definition/PrototypeNodeInterface.php +++ b/vendor/symfony/config/Definition/PrototypeNodeInterface.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; /** * This interface must be implemented by nodes which can be used as prototypes. * * @author Johannes M. Schmitt */ -interface PrototypeNodeInterface extends \RectorPrefix20211129\Symfony\Component\Config\Definition\NodeInterface +interface PrototypeNodeInterface extends \RectorPrefix20211130\Symfony\Component\Config\Definition\NodeInterface { /** * Sets the name of the node. diff --git a/vendor/symfony/config/Definition/PrototypedArrayNode.php b/vendor/symfony/config/Definition/PrototypedArrayNode.php index cdcdc7d9791..61c65291270 100644 --- a/vendor/symfony/config/Definition/PrototypedArrayNode.php +++ b/vendor/symfony/config/Definition/PrototypedArrayNode.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\DuplicateKeyException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\DuplicateKeyException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException; /** * Represents a prototyped Array node in the config tree. * * @author Johannes M. Schmitt */ -class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode +class PrototypedArrayNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode { protected $prototype; protected $keyAttribute; @@ -72,7 +72,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config /** * Retrieves the name of the attribute which value should be used as key. * - * @return string|null The name of the attribute + * @return string|null */ public function getKeyAttribute() { @@ -135,7 +135,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config /** * Retrieves the prototype. * - * @return PrototypeNodeInterface The prototype + * @return PrototypeNodeInterface */ public function getPrototype() { @@ -149,7 +149,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config */ public function addChild($node) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node can not have concrete children.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\Exception('A prototyped array node cannot have concrete children.'); } /** * {@inheritdoc} @@ -157,18 +157,18 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config protected function finalizeValue($value) { if (\false === $value) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); + throw new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException(\sprintf('Unsetting key for path "%s", value: %s.', $this->getPath(), \json_encode($value))); } foreach ($value as $k => $v) { $prototype = $this->getPrototypeForChild($k); try { $value[$k] = $prototype->finalize($v); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\UnsetKeyException $e) { unset($value[$k]); } } if (\count($value) < $this->minNumberOfElements) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" should have at least %d element(s) defined.', $this->getPath(), $this->minNumberOfElements)); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" should have at least %d element(s) defined.', $this->getPath(), $this->minNumberOfElements)); $ex->setPath($this->getPath()); throw $ex; } @@ -190,7 +190,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config foreach ($value as $k => $v) { if (null !== $this->keyAttribute && \is_array($v)) { if (!isset($v[$this->keyAttribute]) && \is_int($k) && $isList) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The attribute "%s" must be set for path "%s".', $this->keyAttribute, $this->getPath())); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The attribute "%s" must be set for path "%s".', $this->keyAttribute, $this->getPath())); $ex->setPath($this->getPath()); throw $ex; } elseif (isset($v[$this->keyAttribute])) { @@ -205,7 +205,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config // if only "value" is left if (\array_keys($v) === ['value']) { $v = $v['value']; - if ($this->prototype instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ArrayNode && ($children = $this->prototype->getChildren()) && \array_key_exists('value', $children)) { + if ($this->prototype instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ArrayNode && ($children = $this->prototype->getChildren()) && \array_key_exists('value', $children)) { $valuePrototype = \current($this->valuePrototypes) ?: clone $children['value']; $valuePrototype->parent = $this; $originalClosures = $this->prototype->normalizationClosures; @@ -218,7 +218,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config } } if (\array_key_exists($k, $normalized)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath())); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\DuplicateKeyException(\sprintf('Duplicate key "%s" for path "%s".', $k, $this->getPath())); $ex->setPath($this->getPath()); throw $ex; } @@ -255,7 +255,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config // no conflict if (!\array_key_exists($k, $leftSide)) { if (!$this->allowNewKeys) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file.', $this->getPath())); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('You are not allowed to define new elements for path "%s". Please define all elements for this path in one config file.', $this->getPath())); $ex->setPath($this->getPath()); throw $ex; } @@ -303,7 +303,7 @@ class PrototypedArrayNode extends \RectorPrefix20211129\Symfony\Component\Config * Now, the key becomes 'name001' and the child node becomes 'value001' and * the prototype of child node 'name001' should be a ScalarNode instead of an ArrayNode instance. * - * @return mixed The prototype instance + * @return mixed */ private function getPrototypeForChild(string $key) { diff --git a/vendor/symfony/config/Definition/ScalarNode.php b/vendor/symfony/config/Definition/ScalarNode.php index 7748573b0bb..915fc113ed8 100644 --- a/vendor/symfony/config/Definition/ScalarNode.php +++ b/vendor/symfony/config/Definition/ScalarNode.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException; /** * This node represents a scalar value in the config tree. * @@ -23,7 +23,7 @@ use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTy * * @author Johannes M. Schmitt */ -class ScalarNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\VariableNode +class ScalarNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\VariableNode { /** * {@inheritdoc} @@ -31,7 +31,7 @@ class ScalarNode extends \RectorPrefix20211129\Symfony\Component\Config\Definiti protected function validateType($value) { if (!\is_scalar($value) && null !== $value) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "scalar", but got "%s".', $this->getPath(), \get_debug_type($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidTypeException(\sprintf('Invalid type for path "%s". Expected "scalar", but got "%s".', $this->getPath(), \get_debug_type($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } diff --git a/vendor/symfony/config/Definition/VariableNode.php b/vendor/symfony/config/Definition/VariableNode.php index 7f1896964be..f1f80fd9942 100644 --- a/vendor/symfony/config/Definition/VariableNode.php +++ b/vendor/symfony/config/Definition/VariableNode.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Definition; +namespace RectorPrefix20211130\Symfony\Component\Config\Definition; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException; /** * This node represents a value of variable type in the config tree. * @@ -19,7 +19,7 @@ use RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidCo * * @author Jeremy Mikola */ -class VariableNode extends \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20211129\Symfony\Component\Config\Definition\PrototypeNodeInterface +class VariableNode extends \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode implements \RectorPrefix20211130\Symfony\Component\Config\Definition\PrototypeNodeInterface { protected $defaultValueSet = \false; protected $defaultValue; @@ -75,7 +75,7 @@ class VariableNode extends \RectorPrefix20211129\Symfony\Component\Config\Defini // deny environment variables only when using custom validators // this avoids ever passing an empty value to final validation closures if (!$this->allowEmptyValue && $this->isHandlingPlaceholder() && $this->finalValidationClosures) { - $e = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an environment variable when empty values are not allowed by definition and are validated.', $this->getPath())); + $e = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an environment variable when empty values are not allowed by definition and are validated.', $this->getPath())); if ($hint = $this->getInfo()) { $e->addHint($hint); } @@ -83,7 +83,7 @@ class VariableNode extends \RectorPrefix20211129\Symfony\Component\Config\Defini throw $e; } if (!$this->allowEmptyValue && $this->isValueEmpty($value)) { - $ex = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an empty value, but got %s.', $this->getPath(), \json_encode($value))); + $ex = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Exception\InvalidConfigurationException(\sprintf('The path "%s" cannot contain an empty value, but got %s.', $this->getPath(), \json_encode($value))); if ($hint = $this->getInfo()) { $ex->addHint($hint); } diff --git a/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php b/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php index 1ad3cd06da1..5d48acd4b57 100644 --- a/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php +++ b/vendor/symfony/config/Exception/FileLoaderImportCircularReferenceException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Exception; /** * Exception class for when a circular reference is detected when importing resources. * * @author Fabien Potencier */ -class FileLoaderImportCircularReferenceException extends \RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException +class FileLoaderImportCircularReferenceException extends \RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException { public function __construct(array $resources, ?int $code = 0, \Throwable $previous = null) { diff --git a/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php b/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php index d6c6d95e899..76bccef603a 100644 --- a/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php +++ b/vendor/symfony/config/Exception/FileLocatorFileNotFoundException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Exception; /** * File locator exception if a file does not exist. diff --git a/vendor/symfony/config/Exception/LoaderLoadException.php b/vendor/symfony/config/Exception/LoaderLoadException.php index f9917025e0c..149f068337b 100644 --- a/vendor/symfony/config/Exception/LoaderLoadException.php +++ b/vendor/symfony/config/Exception/LoaderLoadException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Exception; /** * Exception class for when a resource cannot be loaded or imported. diff --git a/vendor/symfony/config/FileLocator.php b/vendor/symfony/config/FileLocator.php index 8b0069be672..5cec515a959 100644 --- a/vendor/symfony/config/FileLocator.php +++ b/vendor/symfony/config/FileLocator.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; /** * FileLocator uses an array of pre-defined paths to find files. * * @author Fabien Potencier */ -class FileLocator implements \RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface +class FileLocator implements \RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface { protected $paths; /** @@ -39,7 +39,7 @@ class FileLocator implements \RectorPrefix20211129\Symfony\Component\Config\File } if ($this->isAbsolutePath($name)) { if (!\file_exists($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist.', $name), 0, null, [$name]); } return $name; } @@ -60,7 +60,7 @@ class FileLocator implements \RectorPrefix20211129\Symfony\Component\Config\File } } if (!$filepaths) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist (in: "%s").', $name, \implode('", "', $paths)), 0, null, $notfound); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException(\sprintf('The file "%s" does not exist (in: "%s").', $name, \implode('", "', $paths)), 0, null, $notfound); } return $filepaths; } diff --git a/vendor/symfony/config/FileLocatorInterface.php b/vendor/symfony/config/FileLocatorInterface.php index 115b8aa198f..ced5b5ba711 100644 --- a/vendor/symfony/config/FileLocatorInterface.php +++ b/vendor/symfony/config/FileLocatorInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; /** * @author Fabien Potencier */ diff --git a/vendor/symfony/config/Loader/DelegatingLoader.php b/vendor/symfony/config/Loader/DelegatingLoader.php index b75a5dd0c32..eb22ed8c42c 100644 --- a/vendor/symfony/config/Loader/DelegatingLoader.php +++ b/vendor/symfony/config/Loader/DelegatingLoader.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException; /** * DelegatingLoader delegates loading to other loaders using a loader resolver. * @@ -19,9 +19,9 @@ use RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException; * * @author Fabien Potencier */ -class DelegatingLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loader\Loader +class DelegatingLoader extends \RectorPrefix20211130\Symfony\Component\Config\Loader\Loader { - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolverInterface $resolver) { $this->resolver = $resolver; } @@ -32,7 +32,7 @@ class DelegatingLoader extends \RectorPrefix20211129\Symfony\Component\Config\Lo public function load($resource, $type = null) { if (\false === ($loader = $this->resolver->resolve($resource, $type))) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); } return $loader->load($resource, $type); } diff --git a/vendor/symfony/config/Loader/FileLoader.php b/vendor/symfony/config/Loader/FileLoader.php index cfb0e2c9634..a7c86c01f6c 100644 --- a/vendor/symfony/config/Loader/FileLoader.php +++ b/vendor/symfony/config/Loader/FileLoader.php @@ -8,25 +8,25 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; -use RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException; -use RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20211129\Symfony\Component\Config\Resource\FileExistenceResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20211130\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\FileExistenceResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource; /** * FileLoader is the abstract class used by all built-in loaders that are file based. * * @author Fabien Potencier */ -abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loader\Loader +abstract class FileLoader extends \RectorPrefix20211130\Symfony\Component\Config\Loader\Loader { protected static $loading = []; protected $locator; private $currentDir; - public function __construct(\RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) { $this->locator = $locator; parent::__construct($env); @@ -109,17 +109,17 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config } try { $prefix = $this->locator->locate($prefix, $this->currentDir, \true); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException $e) { if (!$ignoreErrors) { throw $e; } $resource = []; foreach ($e->getPaths() as $path) { - $resource[] = new \RectorPrefix20211129\Symfony\Component\Config\Resource\FileExistenceResource($path); + $resource[] = new \RectorPrefix20211130\Symfony\Component\Config\Resource\FileExistenceResource($path); } return; } - $resource = new \RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded); + $resource = new \RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource($prefix, $pattern, $recursive, $forExclusion, $excluded); yield from $resource; } private function doImport($resource, string $type = null, bool $ignoreErrors = \false, string $sourceResource = null) @@ -133,7 +133,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config for ($i = 0; $i < ($resourcesCount = \count($resources)); ++$i) { if (isset(self::$loading[$resources[$i]])) { if ($i == $resourcesCount - 1) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading)); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException(\array_keys(self::$loading)); } } else { $resource = $resources[$i]; @@ -147,15 +147,15 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config unset(self::$loading[$resource]); } return $ret; - } catch (\RectorPrefix20211129\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Config\Exception\FileLoaderImportCircularReferenceException $e) { throw $e; } catch (\Exception $e) { if (!$ignoreErrors) { // prevent embedded imports from nesting multiple exceptions - if ($e instanceof \RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException) { + if ($e instanceof \RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException) { throw $e; } - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException($resource, $sourceResource, 0, $e, $type); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException($resource, $sourceResource, 0, $e, $type); } } return null; diff --git a/vendor/symfony/config/Loader/GlobFileLoader.php b/vendor/symfony/config/Loader/GlobFileLoader.php index 48edfd006d4..43bd857c76f 100644 --- a/vendor/symfony/config/Loader/GlobFileLoader.php +++ b/vendor/symfony/config/Loader/GlobFileLoader.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; /** * GlobFileLoader loads files from a glob pattern. * * @author Fabien Potencier */ -class GlobFileLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loader\FileLoader +class GlobFileLoader extends \RectorPrefix20211130\Symfony\Component\Config\Loader\FileLoader { /** * {@inheritdoc} diff --git a/vendor/symfony/config/Loader/Loader.php b/vendor/symfony/config/Loader/Loader.php index cf2976bb1f0..94442eabeed 100644 --- a/vendor/symfony/config/Loader/Loader.php +++ b/vendor/symfony/config/Loader/Loader.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException; /** * Loader is the abstract class used by all built-in loaders. * * @author Fabien Potencier */ -abstract class Loader implements \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderInterface +abstract class Loader implements \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderInterface { protected $resolver; protected $env; @@ -57,7 +57,7 @@ abstract class Loader implements \RectorPrefix20211129\Symfony\Component\Config\ * @param mixed $resource A resource * @param string|null $type The resource type or null if unknown * - * @return $this|LoaderInterface + * @return LoaderInterface * * @throws LoaderLoadException If no loader is found */ @@ -68,7 +68,7 @@ abstract class Loader implements \RectorPrefix20211129\Symfony\Component\Config\ } $loader = null === $this->resolver ? \false : $this->resolver->resolve($resource, $type); if (\false === $loader) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); + throw new \RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException($resource, null, 0, null, $type); } return $loader; } diff --git a/vendor/symfony/config/Loader/LoaderInterface.php b/vendor/symfony/config/Loader/LoaderInterface.php index 078a23a012a..99a8c4d8f36 100644 --- a/vendor/symfony/config/Loader/LoaderInterface.php +++ b/vendor/symfony/config/Loader/LoaderInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; /** * LoaderInterface is the interface implemented by all loader classes. @@ -33,14 +33,14 @@ interface LoaderInterface * * @param mixed $resource A resource * - * @return bool True if this class supports the given resource, false otherwise + * @return bool * @param string|null $type */ public function supports($resource, $type = null); /** * Gets the loader resolver. * - * @return LoaderResolverInterface A LoaderResolverInterface instance + * @return LoaderResolverInterface */ public function getResolver(); /** diff --git a/vendor/symfony/config/Loader/LoaderResolver.php b/vendor/symfony/config/Loader/LoaderResolver.php index a06cea63623..11a4fb8fbdc 100644 --- a/vendor/symfony/config/Loader/LoaderResolver.php +++ b/vendor/symfony/config/Loader/LoaderResolver.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; /** * LoaderResolver selects a loader for a given resource. @@ -18,7 +18,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Loader; * * @author Fabien Potencier */ -class LoaderResolver implements \RectorPrefix20211129\Symfony\Component\Config\Loader\LoaderResolverInterface +class LoaderResolver implements \RectorPrefix20211130\Symfony\Component\Config\Loader\LoaderResolverInterface { /** * @var LoaderInterface[] An array of LoaderInterface objects @@ -57,7 +57,7 @@ class LoaderResolver implements \RectorPrefix20211129\Symfony\Component\Config\L /** * Returns the registered loaders. * - * @return LoaderInterface[] An array of LoaderInterface instances + * @return LoaderInterface[] */ public function getLoaders() { diff --git a/vendor/symfony/config/Loader/LoaderResolverInterface.php b/vendor/symfony/config/Loader/LoaderResolverInterface.php index 90723cb2f63..6c6e36e4afb 100644 --- a/vendor/symfony/config/Loader/LoaderResolverInterface.php +++ b/vendor/symfony/config/Loader/LoaderResolverInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; /** * LoaderResolverInterface selects a loader for a given resource. @@ -23,7 +23,7 @@ interface LoaderResolverInterface * @param mixed $resource A resource * @param string|null $type The resource type or null if unknown * - * @return LoaderInterface|false The loader or false if none is able to load the resource + * @return LoaderInterface|false */ public function resolve($resource, $type = null); } diff --git a/vendor/symfony/config/Loader/ParamConfigurator.php b/vendor/symfony/config/Loader/ParamConfigurator.php index d88c981f4b7..c630279d3ab 100644 --- a/vendor/symfony/config/Loader/ParamConfigurator.php +++ b/vendor/symfony/config/Loader/ParamConfigurator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Loader; +namespace RectorPrefix20211130\Symfony\Component\Config\Loader; /** * Placeholder for a parameter. diff --git a/vendor/symfony/config/Resource/ClassExistenceResource.php b/vendor/symfony/config/Resource/ClassExistenceResource.php index de8df884460..5d9d7eff645 100644 --- a/vendor/symfony/config/Resource/ClassExistenceResource.php +++ b/vendor/symfony/config/Resource/ClassExistenceResource.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * ClassExistenceResource represents a class existence. @@ -20,7 +20,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @final */ -class ClassExistenceResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ClassExistenceResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $resource; private $exists; @@ -35,16 +35,13 @@ class ClassExistenceResource implements \RectorPrefix20211129\Symfony\Component\ { $this->resource = $resource; if (null !== $exists) { - $this->exists = [(bool) $exists, null]; + $this->exists = [$exists, null]; } } public function __toString() : string { return $this->resource; } - /** - * @return string The file path to the resource - */ public function getResource() : string { return $this->resource; diff --git a/vendor/symfony/config/Resource/ComposerResource.php b/vendor/symfony/config/Resource/ComposerResource.php index e453bb32234..2c0f39000cd 100644 --- a/vendor/symfony/config/Resource/ComposerResource.php +++ b/vendor/symfony/config/Resource/ComposerResource.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * ComposerResource tracks the PHP version and Composer dependencies. @@ -17,7 +17,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @final */ -class ComposerResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ComposerResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $vendors; private static $runtimeVendors; diff --git a/vendor/symfony/config/Resource/DirectoryResource.php b/vendor/symfony/config/Resource/DirectoryResource.php index d5ca13a8bd7..abdae93fcec 100644 --- a/vendor/symfony/config/Resource/DirectoryResource.php +++ b/vendor/symfony/config/Resource/DirectoryResource.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * DirectoryResource represents a resources stored in a subdirectory tree. @@ -17,7 +17,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @final */ -class DirectoryResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class DirectoryResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $resource; private $pattern; @@ -39,16 +39,10 @@ class DirectoryResource implements \RectorPrefix20211129\Symfony\Component\Confi { return \md5(\serialize([$this->resource, $this->pattern])); } - /** - * @return string The file path to the resource - */ public function getResource() : string { return $this->resource; } - /** - * Returns the pattern to restrict monitored files. - */ public function getPattern() : ?string { return $this->pattern; diff --git a/vendor/symfony/config/Resource/FileExistenceResource.php b/vendor/symfony/config/Resource/FileExistenceResource.php index 1f19b3ebbf2..495a6d6271b 100644 --- a/vendor/symfony/config/Resource/FileExistenceResource.php +++ b/vendor/symfony/config/Resource/FileExistenceResource.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * FileExistenceResource represents a resource stored on the filesystem. @@ -20,7 +20,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @final */ -class FileExistenceResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class FileExistenceResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $resource; private $exists; @@ -36,9 +36,6 @@ class FileExistenceResource implements \RectorPrefix20211129\Symfony\Component\C { return $this->resource; } - /** - * @return string The file path to the resource - */ public function getResource() : string { return $this->resource; diff --git a/vendor/symfony/config/Resource/FileResource.php b/vendor/symfony/config/Resource/FileResource.php index 93d4d83eb6f..80e6d976b6e 100644 --- a/vendor/symfony/config/Resource/FileResource.php +++ b/vendor/symfony/config/Resource/FileResource.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * FileResource represents a resource stored on the filesystem. @@ -19,7 +19,7 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @final */ -class FileResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class FileResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { /** * @var string|false @@ -42,7 +42,7 @@ class FileResource implements \RectorPrefix20211129\Symfony\Component\Config\Res return $this->resource; } /** - * @return string The canonicalized, absolute path to the resource + * Returns the canonicalized, absolute path to the resource. */ public function getResource() : string { diff --git a/vendor/symfony/config/Resource/GlobResource.php b/vendor/symfony/config/Resource/GlobResource.php index 8abe63aabe7..721834f9a4f 100644 --- a/vendor/symfony/config/Resource/GlobResource.php +++ b/vendor/symfony/config/Resource/GlobResource.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; -use RectorPrefix20211129\Symfony\Component\Finder\Finder; -use RectorPrefix20211129\Symfony\Component\Finder\Glob; +use RectorPrefix20211130\Symfony\Component\Finder\Finder; +use RectorPrefix20211130\Symfony\Component\Finder\Glob; /** * GlobResource represents a set of resources stored on the filesystem. * @@ -20,8 +20,10 @@ use RectorPrefix20211129\Symfony\Component\Finder\Glob; * @author Nicolas Grekas * * @final + * + * @implements \IteratorAggregate */ -class GlobResource implements \IteratorAggregate, \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class GlobResource implements \IteratorAggregate, \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $prefix; private $pattern; @@ -140,11 +142,11 @@ class GlobResource implements \IteratorAggregate, \RectorPrefix20211129\Symfony\ } return; } - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Finder\Finder::class)) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Finder\Finder::class)) { throw new \LogicException(\sprintf('Extended glob pattern "%s" cannot be used as the Finder component is not installed.', $this->pattern)); } - $finder = new \RectorPrefix20211129\Symfony\Component\Finder\Finder(); - $regex = \RectorPrefix20211129\Symfony\Component\Finder\Glob::toRegex($this->pattern); + $finder = new \RectorPrefix20211130\Symfony\Component\Finder\Finder(); + $regex = \RectorPrefix20211130\Symfony\Component\Finder\Glob::toRegex($this->pattern); if ($this->recursive) { $regex = \substr_replace($regex, '(/|$)', -2, 1); } diff --git a/vendor/symfony/config/Resource/ReflectionClassResource.php b/vendor/symfony/config/Resource/ReflectionClassResource.php index 2f48ca9a6a0..9c0b0d223be 100644 --- a/vendor/symfony/config/Resource/ReflectionClassResource.php +++ b/vendor/symfony/config/Resource/ReflectionClassResource.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; -use RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface; -use RectorPrefix20211129\Symfony\Component\Messenger\Handler\MessageSubscriberInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20211130\Symfony\Component\Messenger\Handler\MessageSubscriberInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * @author Nicolas Grekas * * @final */ -class ReflectionClassResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface +class ReflectionClassResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface { private $files = []; private $className; @@ -203,18 +203,18 @@ class ReflectionClassResource implements \RectorPrefix20211129\Symfony\Component if ($class->isAbstract() || $class->isInterface() || $class->isTrait()) { return; } - if (\interface_exists(\RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) { - (yield \RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface::class)) { + (yield \RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface::class); (yield \print_r($class->name::getSubscribedEvents(), \true)); } - if (\interface_exists(\RectorPrefix20211129\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211129\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) { - (yield \RectorPrefix20211129\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20211130\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211130\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class)) { + (yield \RectorPrefix20211130\Symfony\Component\Messenger\Handler\MessageSubscriberInterface::class); foreach ($class->name::getHandledMessages() as $key => $value) { (yield $key . \print_r($value, \true)); } } - if (\interface_exists(\RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { - (yield \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class); + if (\interface_exists(\RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class, \false) && $class->isSubclassOf(\RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + (yield \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class); (yield \print_r($class->name::getSubscribedServices(), \true)); } } diff --git a/vendor/symfony/config/Resource/ResourceInterface.php b/vendor/symfony/config/Resource/ResourceInterface.php index 1f35a69d37c..4e24dcff0c2 100644 --- a/vendor/symfony/config/Resource/ResourceInterface.php +++ b/vendor/symfony/config/Resource/ResourceInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * ResourceInterface is the interface that must be implemented by all Resource classes. diff --git a/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php b/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php index 1e2cd1af919..94a2d4552c5 100644 --- a/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php +++ b/vendor/symfony/config/Resource/SelfCheckingResourceChecker.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; -use RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerInterface; +use RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerInterface; /** * Resource checker for instances of SelfCheckingResourceInterface. * @@ -19,22 +19,27 @@ use RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerInterface; * * @author Matthias Pigulla */ -class SelfCheckingResourceChecker implements \RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerInterface +class SelfCheckingResourceChecker implements \RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerInterface { + // Common shared cache, because this checker can be used in different + // situations. For example, when using the full stack framework, the router + // and the container have their own cache. But they may check the very same + // resources + private static $cache = []; /** * @param \Symfony\Component\Config\Resource\ResourceInterface $metadata */ public function supports($metadata) { - return $metadata instanceof \RectorPrefix20211129\Symfony\Component\Config\Resource\SelfCheckingResourceInterface; + return $metadata instanceof \RectorPrefix20211130\Symfony\Component\Config\Resource\SelfCheckingResourceInterface; } /** - * @param \Symfony\Component\Config\Resource\ResourceInterface $resource + * @param SelfCheckingResourceInterface $resource * @param int $timestamp */ public function isFresh($resource, $timestamp) { - /* @var SelfCheckingResourceInterface $resource */ - return $resource->isFresh($timestamp); + $key = "{$resource}:{$timestamp}"; + return self::$cache[$key] ?? (self::$cache[$key] = $resource->isFresh($timestamp)); } } diff --git a/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php b/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php index 4a7e6666598..29d3548b35b 100644 --- a/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php +++ b/vendor/symfony/config/Resource/SelfCheckingResourceInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Resource; +namespace RectorPrefix20211130\Symfony\Component\Config\Resource; /** * Interface for Resources that can check for freshness autonomously, @@ -16,14 +16,14 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Resource; * * @author Matthias Pigulla */ -interface SelfCheckingResourceInterface extends \RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface +interface SelfCheckingResourceInterface extends \RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface { /** * Returns true if the resource has not been updated since the given timestamp. * * @param int $timestamp The last time the resource was loaded * - * @return bool True if the resource has not been updated, false otherwise + * @return bool */ public function isFresh($timestamp); } diff --git a/vendor/symfony/config/ResourceCheckerConfigCache.php b/vendor/symfony/config/ResourceCheckerConfigCache.php index 8710e96aecd..2db72c36efd 100644 --- a/vendor/symfony/config/ResourceCheckerConfigCache.php +++ b/vendor/symfony/config/ResourceCheckerConfigCache.php @@ -8,30 +8,30 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException; -use RectorPrefix20211129\Symfony\Component\Filesystem\Filesystem; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException; +use RectorPrefix20211130\Symfony\Component\Filesystem\Filesystem; /** * ResourceCheckerConfigCache uses instances of ResourceCheckerInterface * to check whether cached data is still fresh. * * @author Matthias Pigulla */ -class ResourceCheckerConfigCache implements \RectorPrefix20211129\Symfony\Component\Config\ConfigCacheInterface +class ResourceCheckerConfigCache implements \RectorPrefix20211130\Symfony\Component\Config\ConfigCacheInterface { /** * @var string */ private $file; /** - * @var iterable|ResourceCheckerInterface[] + * @var iterable */ private $resourceCheckers; /** - * @param string $file The absolute cache path - * @param iterable|ResourceCheckerInterface[] $resourceCheckers The ResourceCheckers to use for the freshness check + * @param string $file The absolute cache path + * @param iterable $resourceCheckers The ResourceCheckers to use for the freshness check */ public function __construct(string $file, iterable $resourceCheckers = []) { @@ -54,7 +54,7 @@ class ResourceCheckerConfigCache implements \RectorPrefix20211129\Symfony\Compon * The first ResourceChecker that supports a given resource is considered authoritative. * Resources with no matching ResourceChecker will silently be ignored and considered fresh. * - * @return bool true if the cache is fresh, false otherwise + * @return bool */ public function isFresh() { @@ -78,7 +78,6 @@ class ResourceCheckerConfigCache implements \RectorPrefix20211129\Symfony\Compon } $time = \filemtime($this->file); foreach ($meta as $resource) { - /* @var ResourceInterface $resource */ foreach ($this->resourceCheckers as $checker) { if (!$checker->supports($resource)) { continue; @@ -107,18 +106,18 @@ class ResourceCheckerConfigCache implements \RectorPrefix20211129\Symfony\Compon { $mode = 0666; $umask = \umask(); - $filesystem = new \RectorPrefix20211129\Symfony\Component\Filesystem\Filesystem(); + $filesystem = new \RectorPrefix20211130\Symfony\Component\Filesystem\Filesystem(); $filesystem->dumpFile($this->file, $content); try { $filesystem->chmod($this->file, $mode, $umask); - } catch (\RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException $e) { // discard chmod failure (some filesystem may not support it) } if (null !== $metadata) { $filesystem->dumpFile($this->getMetaFile(), \serialize($metadata)); try { $filesystem->chmod($this->getMetaFile(), $mode, $umask); - } catch (\RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException $e) { // discard chmod failure (some filesystem may not support it) } } diff --git a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php index 3242e7c0a57..9016fe8c1bf 100644 --- a/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php +++ b/vendor/symfony/config/ResourceCheckerConfigCacheFactory.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; /** * A ConfigCacheFactory implementation that validates the @@ -16,11 +16,11 @@ namespace RectorPrefix20211129\Symfony\Component\Config; * * @author Matthias Pigulla */ -class ResourceCheckerConfigCacheFactory implements \RectorPrefix20211129\Symfony\Component\Config\ConfigCacheFactoryInterface +class ResourceCheckerConfigCacheFactory implements \RectorPrefix20211130\Symfony\Component\Config\ConfigCacheFactoryInterface { private $resourceCheckers = []; /** - * @param iterable|ResourceCheckerInterface[] $resourceCheckers + * @param iterable $resourceCheckers */ public function __construct(iterable $resourceCheckers = []) { @@ -33,7 +33,7 @@ class ResourceCheckerConfigCacheFactory implements \RectorPrefix20211129\Symfony */ public function cache($file, $callable) { - $cache = new \RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerConfigCache($file, $this->resourceCheckers); + $cache = new \RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerConfigCache($file, $this->resourceCheckers); if (!$cache->isFresh()) { $callable($cache); } diff --git a/vendor/symfony/config/ResourceCheckerInterface.php b/vendor/symfony/config/ResourceCheckerInterface.php index b8db2a5dc78..0d7abc7ed7c 100644 --- a/vendor/symfony/config/ResourceCheckerInterface.php +++ b/vendor/symfony/config/ResourceCheckerInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config; +namespace RectorPrefix20211130\Symfony\Component\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; /** * Interface for ResourceCheckers. * @@ -28,7 +28,7 @@ interface ResourceCheckerInterface * Queries the ResourceChecker whether it can validate a given * resource or not. * - * @return bool True if the ResourceChecker can handle this resource type, false if not + * @return bool * @param \Symfony\Component\Config\Resource\ResourceInterface $metadata */ public function supports($metadata); @@ -37,7 +37,7 @@ interface ResourceCheckerInterface * * @param int $timestamp The timestamp at which the cache associated with this resource was created * - * @return bool True if the resource has not changed since the given timestamp, false otherwise + * @return bool * @param \Symfony\Component\Config\Resource\ResourceInterface $resource */ public function isFresh($resource, $timestamp); diff --git a/vendor/symfony/config/Util/Exception/InvalidXmlException.php b/vendor/symfony/config/Util/Exception/InvalidXmlException.php index fa356c68c93..ccd497c160c 100644 --- a/vendor/symfony/config/Util/Exception/InvalidXmlException.php +++ b/vendor/symfony/config/Util/Exception/InvalidXmlException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Util\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Util\Exception; /** * Exception class for when XML parsing with an XSD schema file path or a callable validator produces errors unrelated @@ -16,6 +16,6 @@ namespace RectorPrefix20211129\Symfony\Component\Config\Util\Exception; * * @author Ole Rößner */ -class InvalidXmlException extends \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException +class InvalidXmlException extends \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException { } diff --git a/vendor/symfony/config/Util/Exception/XmlParsingException.php b/vendor/symfony/config/Util/Exception/XmlParsingException.php index 9e89aacd77b..2298df09b88 100644 --- a/vendor/symfony/config/Util/Exception/XmlParsingException.php +++ b/vendor/symfony/config/Util/Exception/XmlParsingException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Util\Exception; +namespace RectorPrefix20211130\Symfony\Component\Config\Util\Exception; /** * Exception class for when XML cannot be parsed properly. diff --git a/vendor/symfony/config/Util/XmlUtils.php b/vendor/symfony/config/Util/XmlUtils.php index 69d760eaca7..c00a9213a2f 100644 --- a/vendor/symfony/config/Util/XmlUtils.php +++ b/vendor/symfony/config/Util/XmlUtils.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Config\Util; +namespace RectorPrefix20211130\Symfony\Component\Config\Util; -use RectorPrefix20211129\Symfony\Component\Config\Util\Exception\InvalidXmlException; -use RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException; +use RectorPrefix20211130\Symfony\Component\Config\Util\Exception\InvalidXmlException; +use RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException; /** * XMLUtils is a bunch of utility methods to XML operations. * @@ -57,7 +57,7 @@ class XmlUtils if (\LIBXML_VERSION < 20900) { \libxml_disable_entity_loader($disableEntities); } - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors))); + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", static::getXmlErrors($internalErrors))); } $dom->normalizeDocument(); \libxml_use_internal_errors($internalErrors); @@ -66,7 +66,7 @@ class XmlUtils } foreach ($dom->childNodes as $child) { if (\XML_DOCUMENT_TYPE_NODE === $child->nodeType) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException('Document types are not allowed.'); } } if (null !== $schemaOrCallable) { @@ -84,14 +84,14 @@ class XmlUtils $valid = @$dom->schemaValidateSource($schemaSource); } else { \libxml_use_internal_errors($internalErrors); - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException('The schemaOrCallable argument has to be a valid path to XSD file or callable.'); + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException('The schemaOrCallable argument has to be a valid path to XSD file or callable.'); } if (!$valid) { $messages = static::getXmlErrors($internalErrors); if (empty($messages)) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e); + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\InvalidXmlException('The XML is not valid.', 0, $e); } - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e); + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException(\implode("\n", $messages), 0, $e); } } \libxml_clear_errors(); @@ -124,8 +124,8 @@ class XmlUtils } try { return static::parse($content, $schemaOrCallable); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) { - throw new \RectorPrefix20211129\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious()); + } catch (\RectorPrefix20211130\Symfony\Component\Config\Util\Exception\InvalidXmlException $e) { + throw new \RectorPrefix20211130\Symfony\Component\Config\Util\Exception\XmlParsingException(\sprintf('The XML file "%s" is not valid.', $file), 0, $e->getPrevious()); } } /** @@ -210,11 +210,11 @@ class XmlUtils case \ctype_digit($value): $raw = $value; $cast = (int) $value; - return '0' == $value[0] ? \octdec($value) : ((string) $raw === (string) $cast ? $cast : $raw); + return '0' == $value[0] ? \octdec($value) : ($raw === (string) $cast ? $cast : $raw); case isset($value[1]) && '-' === $value[0] && \ctype_digit(\substr($value, 1)): $raw = $value; $cast = (int) $value; - return '0' == $value[1] ? \octdec($value) : ((string) $raw === (string) $cast ? $cast : $raw); + return '0' == $value[1] ? \octdec($value) : ($raw === (string) $cast ? $cast : $raw); case 'true' === $lowercaseValue: return \true; case 'false' === $lowercaseValue: diff --git a/vendor/symfony/config/composer.json b/vendor/symfony/config/composer.json index 30aa25635e7..24f28dcaef7 100644 --- a/vendor/symfony/config/composer.json +++ b/vendor/symfony/config/composer.json @@ -17,18 +17,18 @@ ], "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", - "symfony\/filesystem": "^4.4|^5.0", + "symfony\/deprecation-contracts": "^2.1|^3", + "symfony\/filesystem": "^4.4|^5.0|^6.0", "symfony\/polyfill-ctype": "~1.8", "symfony\/polyfill-php80": "^1.16", "symfony\/polyfill-php81": "^1.22" }, "require-dev": { - "symfony\/event-dispatcher": "^4.4|^5.0", - "symfony\/finder": "^4.4|^5.0", - "symfony\/messenger": "^4.4|^5.0", - "symfony\/service-contracts": "^1.1|^2", - "symfony\/yaml": "^4.4|^5.0" + "symfony\/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony\/finder": "^4.4|^5.0|^6.0", + "symfony\/messenger": "^4.4|^5.0|^6.0", + "symfony\/service-contracts": "^1.1|^2|^3", + "symfony\/yaml": "^4.4|^5.0|^6.0" }, "conflict": { "symfony\/finder": "<4.4" @@ -38,7 +38,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Config\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Config\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/console/Application.php b/vendor/symfony/console/Application.php index 22e2b84641c..f54ce8a26ff 100644 --- a/vendor/symfony/console/Application.php +++ b/vendor/symfony/console/Application.php @@ -8,45 +8,49 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Command\HelpCommand; -use RectorPrefix20211129\Symfony\Component\Console\Command\LazyCommand; -use RectorPrefix20211129\Symfony\Component\Console\Command\ListCommand; -use RectorPrefix20211129\Symfony\Component\Console\Command\SignalableCommandInterface; -use RectorPrefix20211129\Symfony\Component\Console\CommandLoader\CommandLoaderInterface; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleCommandEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleSignalEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent; -use RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\NamespaceNotFoundException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Helper\DebugFormatterHelper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\FormatterHelper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20211129\Symfony\Component\Console\Helper\ProcessHelper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\QuestionHelper; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputAwareInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\SignalRegistry\SignalRegistry; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symfony\Component\ErrorHandler\ErrorHandler; -use RectorPrefix20211129\Symfony\Contracts\EventDispatcher\EventDispatcherInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Command\CompleteCommand; +use RectorPrefix20211130\Symfony\Component\Console\Command\DumpCompletionCommand; +use RectorPrefix20211130\Symfony\Component\Console\Command\HelpCommand; +use RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand; +use RectorPrefix20211130\Symfony\Component\Console\Command\ListCommand; +use RectorPrefix20211130\Symfony\Component\Console\Command\SignalableCommandInterface; +use RectorPrefix20211130\Symfony\Component\Console\CommandLoader\CommandLoaderInterface; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleCommandEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleSignalEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\NamespaceNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Helper\DebugFormatterHelper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\FormatterHelper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20211130\Symfony\Component\Console\Helper\ProcessHelper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\QuestionHelper; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputAwareInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\SignalRegistry\SignalRegistry; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\ErrorHandler\ErrorHandler; +use RectorPrefix20211130\Symfony\Contracts\EventDispatcher\EventDispatcherInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface; /** * An Application is the container for a collection of commands. * @@ -62,7 +66,7 @@ use RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface; * * @author Fabien Potencier */ -class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface +class Application implements \RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface { private $commands = []; private $wantHelps = \false; @@ -85,10 +89,10 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res { $this->name = $name; $this->version = $version; - $this->terminal = new \RectorPrefix20211129\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20211130\Symfony\Component\Console\Terminal(); $this->defaultCommand = 'list'; - if (\defined('SIGINT') && \RectorPrefix20211129\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) { - $this->signalRegistry = new \RectorPrefix20211129\Symfony\Component\Console\SignalRegistry\SignalRegistry(); + if (\defined('SIGINT') && \RectorPrefix20211130\Symfony\Component\Console\SignalRegistry\SignalRegistry::isSupported()) { + $this->signalRegistry = new \RectorPrefix20211130\Symfony\Component\Console\SignalRegistry\SignalRegistry(); $this->signalsToDispatchEvent = [\SIGINT, \SIGTERM, \SIGUSR1, \SIGUSR2]; } } @@ -107,10 +111,10 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res { $this->commandLoader = $commandLoader; } - public function getSignalRegistry() : \RectorPrefix20211129\Symfony\Component\Console\SignalRegistry\SignalRegistry + public function getSignalRegistry() : \RectorPrefix20211130\Symfony\Component\Console\SignalRegistry\SignalRegistry { if (!$this->signalRegistry) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException('Signals are not supported. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException('Signals are not supported. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.'); } return $this->signalRegistry; } @@ -137,13 +141,13 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res @\putenv('COLUMNS=' . $this->terminal->getWidth()); } if (null === $input) { - $input = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput(); + $input = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput(); } if (null === $output) { - $output = new \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput(); + $output = new \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput(); } $renderException = function (\Throwable $e) use($output) { - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $this->renderThrowable($e, $output->getErrorOutput()); } else { $this->renderThrowable($e, $output); @@ -151,7 +155,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res }; if ($phpHandler = \set_exception_handler($renderException)) { \restore_exception_handler(); - if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20211129\Symfony\Component\ErrorHandler\ErrorHandler) { + if (!\is_array($phpHandler) || !$phpHandler[0] instanceof \RectorPrefix20211130\Symfony\Component\ErrorHandler\ErrorHandler) { $errorHandler = \true; } elseif ($errorHandler = $phpHandler[0]->setExceptionHandler($renderException)) { $phpHandler[0]->setExceptionHandler($errorHandler); @@ -213,14 +217,14 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res try { // Makes ArgvInput::getFirstArgument() able to distinguish an option from an argument. $input->bind($this->getDefinition()); - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface $e) { // Errors must be ignored, full binding/validation happens later when the command is known. } $name = $this->getCommandName($input); if (\true === $input->hasParameterOption(['--help', '-h'], \true)) { if (!$name) { $name = 'help'; - $input = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]); + $input = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput(['command_name' => $this->defaultCommand]); } else { $this->wantHelps = \true; } @@ -228,17 +232,17 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res if (!$name) { $name = $this->defaultCommand; $definition = $this->getDefinition(); - $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::OPTIONAL, $definition->getArgument('command')->getDescription(), $name)])); + $definition->setArguments(\array_merge($definition->getArguments(), ['command' => new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::OPTIONAL, $definition->getArgument('command')->getDescription(), $name)])); } try { $this->runningCommand = null; // the command name MUST be the first element of the input $command = $this->find($name); } catch (\Throwable $e) { - if (!($e instanceof \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20211129\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) { + if (!($e instanceof \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException && !$e instanceof \RectorPrefix20211130\Symfony\Component\Console\Exception\NamespaceNotFoundException) || 1 !== \count($alternatives = $e->getAlternatives()) || !$input->isInteractive()) { if (null !== $this->dispatcher) { - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::ERROR); if (0 === $event->getExitCode()) { return 0; } @@ -247,19 +251,19 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res throw $e; } $alternative = $alternatives[0]; - $style = new \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle($input, $output); + $style = new \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle($input, $output); $style->block(\sprintf("\nCommand \"%s\" is not defined.\n", $name), null, 'error'); if (!$style->confirm(\sprintf('Do you want to run "%s" instead? ', $alternative), \false)) { if (null !== $this->dispatcher) { - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::ERROR); return $event->getExitCode(); } return 1; } $command = $this->find($alternative); } - if ($command instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\LazyCommand) { + if ($command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand) { $command = $command->getCommand(); } $this->runningCommand = $command; @@ -283,7 +287,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Get the helper set associated with the command. * - * @return HelperSet The HelperSet instance associated with this command + * @return HelperSet */ public function getHelperSet() { @@ -302,7 +306,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets the InputDefinition related to this Application. * - * @return InputDefinition The InputDefinition instance + * @return InputDefinition */ public function getDefinition() { @@ -316,10 +320,28 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res } return $this->definition; } + /** + * Adds suggestions to $suggestions for the current completion input (e.g. option or argument). + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + if (\RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput::TYPE_ARGUMENT_VALUE === $input->getCompletionType() && 'command' === $input->getCompletionName()) { + $suggestions->suggestValues(\array_filter(\array_map(function (\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command) { + return $command->isHidden() ? null : $command->getName(); + }, $this->all()))); + return; + } + if (\RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $input->getCompletionType()) { + $suggestions->suggestOptions($this->getDefinition()->getOptions()); + return; + } + } /** * Gets the help message. * - * @return string A help message + * @return string */ public function getHelp() { @@ -328,7 +350,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets whether to catch exceptions or not during commands execution. * - * @return bool Whether to catch exceptions or not during commands execution + * @return bool */ public function areExceptionsCaught() { @@ -345,7 +367,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets whether to automatically exit after a command execution or not. * - * @return bool Whether to automatically exit after a command execution or not + * @return bool */ public function isAutoExitEnabled() { @@ -362,7 +384,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets the name of the application. * - * @return string The application name + * @return string */ public function getName() { @@ -379,7 +401,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets the application version. * - * @return string The application version + * @return string */ public function getVersion() { @@ -396,7 +418,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Returns the long version of the application. * - * @return string The long application version + * @return string */ public function getLongVersion() { @@ -411,12 +433,12 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Registers a new command. * - * @return Command The newly created command + * @return Command * @param string $name */ public function register($name) { - return $this->add(new \RectorPrefix20211129\Symfony\Component\Console\Command\Command($name)); + return $this->add(new \RectorPrefix20211130\Symfony\Component\Console\Command\Command($name)); } /** * Adds an array of command objects. @@ -437,7 +459,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * If a command with the same name already exists, it will be overridden. * If the command is not enabled it will not be added. * - * @return Command|null The registered command if enabled or null + * @return Command|null * @param \Symfony\Component\Console\Command\Command $command */ public function add($command) @@ -448,12 +470,12 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res $command->setApplication(null); return null; } - if (!$command instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\LazyCommand) { + if (!$command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand) { // Will throw if the command is not correctly initialized. $command->getDefinition(); } if (!$command->getName()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('The command defined in "%s" cannot have an empty name.', \get_debug_type($command))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('The command defined in "%s" cannot have an empty name.', \get_debug_type($command))); } $this->commands[$command->getName()] = $command; foreach ($command->getAliases() as $alias) { @@ -464,7 +486,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Returns a registered command by name or alias. * - * @return Command A Command object + * @return Command * * @throws CommandNotFoundException When given command name does not exist * @param string $name @@ -473,11 +495,11 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res { $this->init(); if (!$this->has($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); } // When the command has a different name than the one used at the command loader level if (!isset($this->commands[$name])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The "%s" command cannot be found because it is registered under multiple names. Make sure you don\'t set a different name via constructor or "setName()".', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The "%s" command cannot be found because it is registered under multiple names. Make sure you don\'t set a different name via constructor or "setName()".', $name)); } $command = $this->commands[$name]; if ($this->wantHelps) { @@ -491,7 +513,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Returns true if the command exists, false otherwise. * - * @return bool true if the command exists, false otherwise + * @return bool * @param string $name */ public function has($name) @@ -504,7 +526,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * * It does not return the global namespace which always exists. * - * @return string[] An array of namespaces + * @return string[] */ public function getNamespaces() { @@ -513,17 +535,17 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res if ($command->isHidden()) { continue; } - $namespaces = \array_merge($namespaces, $this->extractAllNamespaces($command->getName())); + $namespaces[] = $this->extractAllNamespaces($command->getName()); foreach ($command->getAliases() as $alias) { - $namespaces = \array_merge($namespaces, $this->extractAllNamespaces($alias)); + $namespaces[] = $this->extractAllNamespaces($alias); } } - return \array_values(\array_unique(\array_filter($namespaces))); + return \array_values(\array_unique(\array_filter(\array_merge([], ...$namespaces)))); } /** * Finds a registered namespace by a name or an abbreviation. * - * @return string A registered namespace + * @return string * * @throws NamespaceNotFoundException When namespace is incorrect or ambiguous * @param string $namespace @@ -543,11 +565,11 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res } $message .= \implode("\n ", $alternatives); } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\NamespaceNotFoundException($message, $alternatives); } $exact = \in_array($namespace, $namespaces, \true); if (\count($namespaces) > 1 && !$exact) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\NamespaceNotFoundException(\sprintf("The namespace \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $namespace, $this->getAbbreviationSuggestions(\array_values($namespaces))), \array_values($namespaces)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\NamespaceNotFoundException(\sprintf("The namespace \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $namespace, $this->getAbbreviationSuggestions(\array_values($namespaces))), \array_values($namespaces)); } return $exact ? $namespace : \reset($namespaces); } @@ -557,7 +579,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * Contrary to get, this command tries to find the best * match if you give it an abbreviation of a name or alias. * - * @return Command A Command instance + * @return Command * * @throws CommandNotFoundException When command name is incorrect or ambiguous * @param string $name @@ -601,13 +623,13 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res } $message .= \implode("\n ", $alternatives); } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException($message, \array_values($alternatives)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException($message, \array_values($alternatives)); } // filter out aliases for commands which are already on the list if (\count($commands) > 1) { $commandList = $this->commandLoader ? \array_merge(\array_flip($this->commandLoader->getNames()), $this->commands) : $this->commands; $commands = \array_unique(\array_filter($commands, function ($nameOrAlias) use(&$commandList, $commands, &$aliases) { - if (!$commandList[$nameOrAlias] instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\Command) { + if (!$commandList[$nameOrAlias] instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\Command) { $commandList[$nameOrAlias] = $this->commandLoader->get($nameOrAlias); } $commandName = $commandList[$nameOrAlias]->getName(); @@ -620,7 +642,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res $abbrevs = \array_values($commands); $maxLen = 0; foreach ($abbrevs as $abbrev) { - $maxLen = \max(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen); + $maxLen = \max(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($abbrev), $maxLen); } $abbrevs = \array_map(function ($cmd) use($commandList, $usableWidth, $maxLen, &$commands) { if ($commandList[$cmd]->isHidden()) { @@ -628,16 +650,16 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res return \false; } $abbrev = \str_pad($cmd, $maxLen, ' ') . ' ' . $commandList[$cmd]->getDescription(); - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev; + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($abbrev) > $usableWidth ? \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::substr($abbrev, 0, $usableWidth - 3) . '...' : $abbrev; }, \array_values($commands)); if (\count($commands) > 1) { $suggestions = $this->getAbbreviationSuggestions(\array_filter($abbrevs)); - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf("Command \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $name, $suggestions), \array_values($commands)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf("Command \"%s\" is ambiguous.\nDid you mean one of these?\n%s.", $name, $suggestions), \array_values($commands)); } } $command = $this->get(\reset($commands)); if ($command->isHidden()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('The command "%s" does not exist.', $name)); } return $command; } @@ -646,7 +668,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * * The array keys are the full names and the values the command instances. * - * @return Command[] An array of Command instances + * @return Command[] * @param string|null $namespace */ public function all($namespace = null) @@ -682,7 +704,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Returns an array of possible abbreviations given a set of names. * - * @return string[][] An array of abbreviations + * @return string[][] * @param mixed[] $names */ public static function getAbbreviations($names) @@ -702,11 +724,11 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res */ public function renderThrowable($e, $output) : void { - $output->writeln('', \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); $this->doRenderThrowable($e, $output); if (null !== $this->runningCommand) { - $output->writeln(\sprintf('%s', \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); - $output->writeln('', \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln(\sprintf('%s', \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf($this->runningCommand->getSynopsis(), $this->getName()))), \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } } /** @@ -717,10 +739,10 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res { do { $message = \trim($e->getMessage()); - if ('' === $message || \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + if ('' === $message || \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { $class = \get_debug_type($e); $title = \sprintf(' [%s%s] ', $class, 0 !== ($code = $e->getCode()) ? ' (' . $code . ')' : ''); - $len = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($title); + $len = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($title); } else { $len = 0; } @@ -734,27 +756,27 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res foreach ('' !== $message ? \preg_split('/\\r?\\n/', $message) : [] as $line) { foreach ($this->splitStringByWidth($line, $width - 4) as $line) { // pre-format lines to get the right string length - $lineLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($line) + 4; + $lineLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($line) + 4; $lines[] = [$line, $lineLength]; $len = \max($lineLength, $len); } } $messages = []; - if (!$e instanceof \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $messages[] = \sprintf('%s', \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf('In %s line %s:', \basename($e->getFile()) ?: 'n/a', $e->getLine() ?: 'n/a'))); + if (!$e instanceof \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface || \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $messages[] = \sprintf('%s', \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape(\sprintf('In %s line %s:', \basename($e->getFile()) ?: 'n/a', $e->getLine() ?: 'n/a'))); } $messages[] = $emptyLine = \sprintf('%s', \str_repeat(' ', $len)); - if ('' === $message || \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($title)))); + if ('' === $message || \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $messages[] = \sprintf('%s%s', $title, \str_repeat(' ', \max(0, $len - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($title)))); } foreach ($lines as $line) { - $messages[] = \sprintf(' %s %s', \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1])); + $messages[] = \sprintf(' %s %s', \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($line[0]), \str_repeat(' ', $len - $line[1])); } $messages[] = $emptyLine; $messages[] = ''; - $output->writeln($messages, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); - if (\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { - $output->writeln('Exception trace:', \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln($messages, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if (\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE <= $output->getVerbosity()) { + $output->writeln('Exception trace:', \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); // exception related properties $trace = $e->getTrace(); \array_unshift($trace, ['function' => '', 'file' => $e->getFile() ?: 'n/a', 'line' => $e->getLine() ?: 'n/a', 'args' => []]); @@ -764,9 +786,9 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res $function = $trace[$i]['function'] ?? ''; $file = $trace[$i]['file'] ?? 'n/a'; $line = $trace[$i]['line'] ?? 'n/a'; - $output->writeln(\sprintf(' %s%s at %s:%s', $class, $function ? $type . $function . '()' : '', $file, $line), \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln(\sprintf(' %s%s at %s:%s', $class, $function ? $type . $function . '()' : '', $file, $line), \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } - $output->writeln('', \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->writeln('', \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } } while ($e = $e->getPrevious()); } @@ -787,33 +809,33 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res } switch ($shellVerbosity = (int) \getenv('SHELL_VERBOSITY')) { case -1: - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); break; case 1: - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); break; case 2: - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); break; case 3: - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); break; default: $shellVerbosity = 0; break; } if (\true === $input->hasParameterOption(['--quiet', '-q'], \true)) { - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); $shellVerbosity = -1; } else { if ($input->hasParameterOption('-vvv', \true) || $input->hasParameterOption('--verbose=3', \true) || 3 === $input->getParameterOption('--verbose', \false, \true)) { - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); $shellVerbosity = 3; } elseif ($input->hasParameterOption('-vv', \true) || $input->hasParameterOption('--verbose=2', \true) || 2 === $input->getParameterOption('--verbose', \false, \true)) { - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); $shellVerbosity = 2; } elseif ($input->hasParameterOption('-v', \true) || $input->hasParameterOption('--verbose=1', \true) || $input->hasParameterOption('--verbose', \true) || $input->getParameterOption('--verbose', \false, \true)) { - $output->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); + $output->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE); $shellVerbosity = 1; } } @@ -840,19 +862,19 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res protected function doRunCommand($command, $input, $output) { foreach ($command->getHelperSet() as $helper) { - if ($helper instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputAwareInterface) { + if ($helper instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputAwareInterface) { $helper->setInput($input); } } - if ($command instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) { + if ($command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\SignalableCommandInterface && ($this->signalsToDispatchEvent || $command->getSubscribedSignals())) { if (!$this->signalRegistry) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException('Unable to subscribe to signal events. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException('Unable to subscribe to signal events. Make sure that the `pcntl` extension is installed and that "pcntl_*" functions are not disabled by your php.ini\'s "disable_functions" directive.'); } if ($this->dispatcher) { foreach ($this->signalsToDispatchEvent as $signal) { - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleSignalEvent($command, $input, $output, $signal); $this->signalRegistry->register($signal, function ($signal, $hasNext) use($event) { - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::SIGNAL); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::SIGNAL); // No more handlers, we try to simulate PHP default behavior if (!$hasNext) { if (!\in_array($signal, [\SIGUSR1, \SIGUSR2], \true)) { @@ -873,28 +895,28 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res try { $command->mergeApplicationDefinition(); $input->bind($command->getDefinition()); - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface $e) { // ignore invalid options/arguments for now, to allow the event listeners to customize the InputDefinition } - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleCommandEvent($command, $input, $output); $e = null; try { - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::COMMAND); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::COMMAND); if ($event->commandShouldRun()) { $exitCode = $command->run($input, $output); } else { - $exitCode = \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED; + $exitCode = \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleCommandEvent::RETURN_CODE_DISABLED; } } catch (\Throwable $e) { - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command); - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::ERROR); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent($input, $output, $e, $command); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::ERROR); $e = $event->getError(); if (0 === ($exitCode = $event->getExitCode())) { $e = null; } } - $event = new \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode); - $this->dispatcher->dispatch($event, \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::TERMINATE); + $event = new \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent($command, $input, $output, $exitCode); + $this->dispatcher->dispatch($event, \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::TERMINATE); if (null !== $e) { throw $e; } @@ -913,29 +935,29 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Gets the default input definition. * - * @return InputDefinition An InputDefinition instance + * @return InputDefinition */ protected function getDefaultInputDefinition() { - return new \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the ' . $this->defaultCommand . ' command'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]); + return new \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition([new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument('command', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::REQUIRED, 'The command to execute'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--help', '-h', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display help for the given command. When no command is given display help for the ' . $this->defaultCommand . ' command'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--quiet', '-q', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not output any message'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--verbose', '-v|vv|vvv', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--version', '-V', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Display this application version'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--ansi', '', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Force (or disable --no-ansi) ANSI output', null), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('--no-interaction', '-n', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Do not ask any interactive question')]); } /** * Gets the default commands that should always be available. * - * @return Command[] An array of default Command instances + * @return Command[] */ protected function getDefaultCommands() { - return [new \RectorPrefix20211129\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20211129\Symfony\Component\Console\Command\ListCommand()]; + return [new \RectorPrefix20211130\Symfony\Component\Console\Command\HelpCommand(), new \RectorPrefix20211130\Symfony\Component\Console\Command\ListCommand(), new \RectorPrefix20211130\Symfony\Component\Console\Command\CompleteCommand(), new \RectorPrefix20211130\Symfony\Component\Console\Command\DumpCompletionCommand()]; } /** * Gets the default helper set with the helpers that should always be available. * - * @return HelperSet A HelperSet instance + * @return HelperSet */ protected function getDefaultHelperSet() { - return new \RectorPrefix20211129\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20211129\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20211129\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20211129\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20211129\Symfony\Component\Console\Helper\QuestionHelper()]); + return new \RectorPrefix20211130\Symfony\Component\Console\Helper\HelperSet([new \RectorPrefix20211130\Symfony\Component\Console\Helper\FormatterHelper(), new \RectorPrefix20211130\Symfony\Component\Console\Helper\DebugFormatterHelper(), new \RectorPrefix20211130\Symfony\Component\Console\Helper\ProcessHelper(), new \RectorPrefix20211130\Symfony\Component\Console\Helper\QuestionHelper()]); } /** * Returns abbreviated suggestions in string format. @@ -949,7 +971,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * * This method is not part of public API and should not be used directly. * - * @return string The namespace of the command + * @return string * @param string $name * @param int|null $limit */ @@ -962,7 +984,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res * Finds alternative of $name among $collection, * if nothing is found in $collection, try in $abbrevs. * - * @return string[] A sorted array of similar string + * @return string[] */ private function findAlternatives(string $name, iterable $collection) : array { @@ -1004,7 +1026,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Sets the default Command name. * - * @return self + * @return $this * @param string $commandName * @param bool $isSingleCommand */ @@ -1057,7 +1079,7 @@ class Application implements \RectorPrefix20211129\Symfony\Contracts\Service\Res /** * Returns all namespaces of the command name. * - * @return string[] The namespaces of the command + * @return string[] */ private function extractAllNamespaces(string $name) : array { diff --git a/vendor/symfony/console/Attribute/AsCommand.php b/vendor/symfony/console/Attribute/AsCommand.php index c15e9ae2839..915d5486b77 100644 --- a/vendor/symfony/console/Attribute/AsCommand.php +++ b/vendor/symfony/console/Attribute/AsCommand.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Attribute; +namespace RectorPrefix20211130\Symfony\Component\Console\Attribute; /** * Service tag to autoconfigure commands. diff --git a/vendor/symfony/console/CHANGELOG.md b/vendor/symfony/console/CHANGELOG.md index c41b65f14ab..6662dd1eb7e 100644 --- a/vendor/symfony/console/CHANGELOG.md +++ b/vendor/symfony/console/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +5.4 +--- + + * Add `TesterTrait::assertCommandIsSuccessful()` to test command + * Deprecate `HelperSet::setCommand()` and `getCommand()` without replacement + 5.3 --- diff --git a/vendor/symfony/console/CI/GithubActionReporter.php b/vendor/symfony/console/CI/GithubActionReporter.php index b355570c6c5..e3b4a7d1729 100644 --- a/vendor/symfony/console/CI/GithubActionReporter.php +++ b/vendor/symfony/console/CI/GithubActionReporter.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\CI; +namespace RectorPrefix20211130\Symfony\Component\Console\CI; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Utility class for Github actions. * @@ -27,7 +27,7 @@ class GithubActionReporter * @see https://github.com/actions/toolkit/blob/5e5e1b7aacba68a53836a34db4a288c3c1c1585b/packages/core/src/command.ts#L87-L94 */ private const ESCAPED_PROPERTIES = ['%' => '%25', "\r" => '%0D', "\n" => '%0A', ':' => '%3A', ',' => '%2C']; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; } diff --git a/vendor/symfony/console/Color.php b/vendor/symfony/console/Color.php index c1b37e51855..efce285e82b 100644 --- a/vendor/symfony/console/Color.php +++ b/vendor/symfony/console/Color.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Fabien Potencier */ @@ -28,7 +28,7 @@ final class Color $this->background = $this->parseColor($background, \true); foreach ($options as $option) { if (!isset(self::AVAILABLE_OPTIONS[$option])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid option specified: "%s". Expected one of (%s).', $option, \implode(', ', \array_keys(self::AVAILABLE_OPTIONS)))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid option specified: "%s". Expected one of (%s).', $option, \implode(', ', \array_keys(self::AVAILABLE_OPTIONS)))); } $this->options[$option] = self::AVAILABLE_OPTIONS[$option]; } @@ -82,7 +82,7 @@ final class Color $color = $color[0] . $color[0] . $color[1] . $color[1] . $color[2] . $color[2]; } if (6 !== \strlen($color)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color.', $color)); } return ($background ? '4' : '3') . $this->convertHexColorToAnsi(\hexdec($color)); } @@ -92,7 +92,7 @@ final class Color if (isset(self::BRIGHT_COLORS[$color])) { return ($background ? '10' : '9') . self::BRIGHT_COLORS[$color]; } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color; expected one of (%s).', $color, \implode(', ', \array_merge(\array_keys(self::COLORS), \array_keys(self::BRIGHT_COLORS))))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Invalid "%s" color; expected one of (%s).', $color, \implode(', ', \array_merge(\array_keys(self::COLORS), \array_keys(self::BRIGHT_COLORS))))); } private function convertHexColorToAnsi(int $color) : string { diff --git a/vendor/symfony/console/Command/Command.php b/vendor/symfony/console/Command/Command.php index 33ee60b6feb..83abd8ed6cb 100644 --- a/vendor/symfony/console/Command/Command.php +++ b/vendor/symfony/console/Command/Command.php @@ -8,19 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Attribute\AsCommand; -use RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Attribute\AsCommand; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Base class for all commands. * @@ -55,24 +57,21 @@ class Command private $usages = []; private $helperSet; /** - * @return string|null The default command name or null when no default name is set + * @return string|null */ public static function getDefaultName() { $class = static::class; - if (\PHP_VERSION_ID >= 80000 && ($attribute = (new \ReflectionClass($class))->getAttributes(\RectorPrefix20211129\Symfony\Component\Console\Attribute\AsCommand::class))) { + if (\PHP_VERSION_ID >= 80000 && ($attribute = (new \ReflectionClass($class))->getAttributes(\RectorPrefix20211130\Symfony\Component\Console\Attribute\AsCommand::class))) { return $attribute[0]->newInstance()->name; } $r = new \ReflectionProperty($class, 'defaultName'); return $class === $r->class ? static::$defaultName : null; } - /** - * @return string|null The default command description or null when no default description is set - */ public static function getDefaultDescription() : ?string { $class = static::class; - if (\PHP_VERSION_ID >= 80000 && ($attribute = (new \ReflectionClass($class))->getAttributes(\RectorPrefix20211129\Symfony\Component\Console\Attribute\AsCommand::class))) { + if (\PHP_VERSION_ID >= 80000 && ($attribute = (new \ReflectionClass($class))->getAttributes(\RectorPrefix20211130\Symfony\Component\Console\Attribute\AsCommand::class))) { return $attribute[0]->newInstance()->description; } $r = new \ReflectionProperty($class, 'defaultDescription'); @@ -85,7 +84,7 @@ class Command */ public function __construct(string $name = null) { - $this->definition = new \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition(); + $this->definition = new \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition(); if (null === $name && null !== ($name = static::getDefaultName())) { $aliases = \explode('|', $name); if ('' === ($name = \array_shift($aliases))) { @@ -134,7 +133,7 @@ class Command /** * Gets the helper set. * - * @return HelperSet|null A HelperSet instance + * @return HelperSet|null */ public function getHelperSet() { @@ -143,7 +142,7 @@ class Command /** * Gets the application instance for this command. * - * @return Application|null An Application instance + * @return Application|null */ public function getApplication() { @@ -152,7 +151,7 @@ class Command /** * Checks whether the command is enabled or not in the current environment. * - * Override this to check for x or y and return false if the command can not + * Override this to check for x or y and return false if the command cannot * run properly under the current conditions. * * @return bool @@ -185,7 +184,7 @@ class Command */ protected function execute($input, $output) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('You must override the execute() method in the concrete command class.'); } /** * Interacts with the user. @@ -237,7 +236,7 @@ class Command // bind the input against the command specific arguments/options try { $input->bind($this->getDefinition()); - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface $e) { if (!$this->ignoreValidationErrors) { throw $e; } @@ -247,14 +246,14 @@ class Command if (\function_exists('cli_set_process_title')) { if (!@\cli_set_process_title($this->processTitle)) { if ('Darwin' === \PHP_OS) { - $output->writeln('Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.', \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); + $output->writeln('Running "cli_set_process_title" as an unprivileged user is not supported on MacOS.', \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE); } else { \cli_set_process_title($this->processTitle); } } - } elseif (\function_exists('RectorPrefix20211129\\setproctitle')) { + } elseif (\function_exists('RectorPrefix20211130\\setproctitle')) { setproctitle($this->processTitle); - } elseif (\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) { + } elseif (\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE === $output->getVerbosity()) { $output->writeln('Install the proctitle PECL to be able to change the process title.'); } } @@ -278,6 +277,14 @@ class Command } return \is_numeric($statusCode) ? (int) $statusCode : 0; } + /** + * Adds suggestions to $suggestions for the current completion input (e.g. option or argument). + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + } /** * Sets the code to execute when running this command. * @@ -325,7 +332,7 @@ class Command if (null === $this->application) { return; } - $this->fullDefinition = new \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition(); + $this->fullDefinition = new \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition(); $this->fullDefinition->setOptions($this->definition->getOptions()); $this->fullDefinition->addOptions($this->application->getDefinition()->getOptions()); if ($mergeArgs) { @@ -344,7 +351,7 @@ class Command */ public function setDefinition($definition) { - if ($definition instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition) { + if ($definition instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition) { $this->definition = $definition; } else { $this->definition->setDefinition($definition); @@ -355,7 +362,7 @@ class Command /** * Gets the InputDefinition attached to this Command. * - * @return InputDefinition An InputDefinition instance + * @return InputDefinition */ public function getDefinition() { @@ -369,12 +376,12 @@ class Command * * This method is not part of public API and should not be used directly. * - * @return InputDefinition An InputDefinition instance + * @return InputDefinition */ public function getNativeDefinition() { if (null === $this->definition) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', static::class)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('Command class "%s" is not correctly initialized. You probably forgot to call the parent constructor.', static::class)); } return $this->definition; } @@ -392,9 +399,9 @@ class Command */ public function addArgument($name, $mode = null, $description = '', $default = null) { - $this->definition->addArgument(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); + $this->definition->addArgument(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); if (null !== $this->fullDefinition) { - $this->fullDefinition->addArgument(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); + $this->fullDefinition->addArgument(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument($name, $mode, $description, $default)); } return $this; } @@ -413,9 +420,9 @@ class Command */ public function addOption($name, $shortcut = null, $mode = null, $description = '', $default = null) { - $this->definition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); + $this->definition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); if (null !== $this->fullDefinition) { - $this->fullDefinition->addOption(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); + $this->fullDefinition->addOption(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption($name, $shortcut, $mode, $description, $default)); } return $this; } @@ -495,7 +502,7 @@ class Command /** * Returns the description for the command. * - * @return string The description for the command + * @return string */ public function getDescription() { @@ -515,7 +522,7 @@ class Command /** * Returns the help for the command. * - * @return string The help for the command + * @return string */ public function getHelp() { @@ -525,7 +532,7 @@ class Command * Returns the processed help for the command replacing the %command.name% and * %command.full_name% patterns with the real values dynamically. * - * @return string The processed help for the command + * @return string */ public function getProcessedHelp() { @@ -557,7 +564,7 @@ class Command /** * Returns the aliases for the command. * - * @return array An array of aliases for the command + * @return array */ public function getAliases() { @@ -568,7 +575,7 @@ class Command * * @param bool $short Whether to show the short version of the synopsis (with options folded) or not * - * @return string The synopsis + * @return string */ public function getSynopsis($short = \false) { @@ -604,7 +611,7 @@ class Command /** * Gets a helper instance by name. * - * @return mixed The helper value + * @return mixed * * @throws LogicException if no HelperSet is defined * @throws InvalidArgumentException if the helper is not defined @@ -613,7 +620,7 @@ class Command public function getHelper($name) { if (null === $this->helperSet) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot retrieve helper "%s" because there is no HelperSet defined. Did you forget to add your command to the application or to set the application on the command using the setApplication() method? You can also set the HelperSet directly using the setHelperSet() method.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot retrieve helper "%s" because there is no HelperSet defined. Did you forget to add your command to the application or to set the application on the command using the setApplication() method? You can also set the HelperSet directly using the setHelperSet() method.', $name)); } return $this->helperSet->get($name); } @@ -627,7 +634,7 @@ class Command private function validateName(string $name) { if (!\preg_match('/^[^\\:]++(\\:[^\\:]++)*$/', $name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Command name "%s" is invalid.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Command name "%s" is invalid.', $name)); } } } diff --git a/vendor/symfony/console/Command/CompleteCommand.php b/vendor/symfony/console/Command/CompleteCommand.php new file mode 100644 index 00000000000..fc8fb8b6c0b --- /dev/null +++ b/vendor/symfony/console/Command/CompleteCommand.php @@ -0,0 +1,156 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Command; + +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Completion\Output\BashCompletionOutput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\Output\CompletionOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +/** + * Responsible for providing the values to the shell completion. + * + * @author Wouter de Jong + */ +final class CompleteCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command +{ + protected static $defaultName = '|_complete'; + protected static $defaultDescription = 'Internal command to provide shell completion suggestions'; + private $completionOutputs; + private $isDebug = \false; + /** + * @param array> $completionOutputs A list of additional completion outputs, with shell name as key and FQCN as value + */ + public function __construct(array $completionOutputs = []) + { + // must be set before the parent constructor, as the property value is used in configure() + $this->completionOutputs = $completionOutputs + ['bash' => \RectorPrefix20211130\Symfony\Component\Console\Completion\Output\BashCompletionOutput::class]; + parent::__construct(); + } + protected function configure() : void + { + $this->addOption('shell', 's', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The shell type ("' . \implode('", "', \array_keys($this->completionOutputs)) . '")')->addOption('input', 'i', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'An array of input tokens (e.g. COMP_WORDS or argv)')->addOption('current', 'c', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The index of the "input" array that the cursor is in (e.g. COMP_CWORD)')->addOption('symfony', 'S', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The version of the completion script'); + } + /** + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param \Symfony\Component\Console\Output\OutputInterface $output + */ + protected function initialize($input, $output) + { + $this->isDebug = \filter_var(\getenv('SYMFONY_COMPLETION_DEBUG'), \FILTER_VALIDATE_BOOLEAN); + } + /** + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param \Symfony\Component\Console\Output\OutputInterface $output + */ + protected function execute($input, $output) : int + { + try { + // uncomment when a bugfix or BC break has been introduced in the shell completion scripts + //$version = $input->getOption('symfony'); + //if ($version && version_compare($version, 'x.y', '>=')) { + // $message = sprintf('Completion script version is not supported ("%s" given, ">=x.y" required).', $version); + // $this->log($message); + // $output->writeln($message.' Install the Symfony completion script again by using the "completion" command.'); + // return 126; + //} + $shell = $input->getOption('shell'); + if (!$shell) { + throw new \RuntimeException('The "--shell" option must be set.'); + } + if (!($completionOutput = $this->completionOutputs[$shell] ?? \false)) { + throw new \RuntimeException(\sprintf('Shell completion is not supported for your shell: "%s" (supported: "%s").', $shell, \implode('", "', \array_keys($this->completionOutputs)))); + } + $completionInput = $this->createCompletionInput($input); + $suggestions = new \RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions(); + $this->log(['', '' . \date('Y-m-d H:i:s') . '', 'Input: ("|" indicates the cursor position)', ' ' . (string) $completionInput, 'Command:', ' ' . (string) \implode(' ', $_SERVER['argv']), 'Messages:']); + $command = $this->findCommand($completionInput, $output); + if (null === $command) { + $this->log(' No command found, completing using the Application class.'); + $this->getApplication()->complete($completionInput, $suggestions); + } elseif ($completionInput->mustSuggestArgumentValuesFor('command') && $command->getName() !== $completionInput->getCompletionValue()) { + $this->log(' No command found, completing using the Application class.'); + // expand shortcut names ("cache:cl") into their full name ("cache:clear") + $suggestions->suggestValue($command->getName()); + } else { + $command->mergeApplicationDefinition(); + $completionInput->bind($command->getDefinition()); + if (\RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput::TYPE_OPTION_NAME === $completionInput->getCompletionType()) { + $this->log(' Completing option names for the ' . \get_class($command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . ' command.'); + $suggestions->suggestOptions($command->getDefinition()->getOptions()); + } else { + $this->log([' Completing using the ' . \get_class($command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand ? $command->getCommand() : $command) . ' class.', ' Completing ' . $completionInput->getCompletionType() . ' for ' . $completionInput->getCompletionName() . '']); + if (null !== ($compval = $completionInput->getCompletionValue())) { + $this->log(' Current value: ' . $compval . ''); + } + $command->complete($completionInput, $suggestions); + } + } + /** @var CompletionOutputInterface $completionOutput */ + $completionOutput = new $completionOutput(); + $this->log('Suggestions:'); + if ($options = $suggestions->getOptionSuggestions()) { + $this->log(' --' . \implode(' --', \array_map(function ($o) { + return $o->getName(); + }, $options))); + } elseif ($values = $suggestions->getValueSuggestions()) { + $this->log(' ' . \implode(' ', $values)); + } else { + $this->log(' No suggestions were provided'); + } + $completionOutput->write($suggestions, $output); + } catch (\Throwable $e) { + $this->log(['Error!', (string) $e]); + if ($output->isDebug()) { + throw $e; + } + return self::FAILURE; + } + return self::SUCCESS; + } + private function createCompletionInput(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input) : \RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput + { + $currentIndex = $input->getOption('current'); + if (!$currentIndex || !\ctype_digit($currentIndex)) { + throw new \RuntimeException('The "--current" option must be set and it must be an integer.'); + } + $completionInput = \RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input->getOption('input'), (int) $currentIndex); + try { + $completionInput->bind($this->getApplication()->getDefinition()); + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface $e) { + } + return $completionInput; + } + private function findCommand(\RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput $completionInput, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) : ?\RectorPrefix20211130\Symfony\Component\Console\Command\Command + { + try { + $inputName = $completionInput->getFirstArgument(); + if (null === $inputName) { + return null; + } + return $this->getApplication()->find($inputName); + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException $e) { + } + return null; + } + private function log($messages) : void + { + if (!$this->isDebug) { + return; + } + $commandName = \basename($_SERVER['argv'][0]); + \file_put_contents(\sys_get_temp_dir() . '/sf_' . $commandName . '.log', \implode(\PHP_EOL, (array) $messages) . \PHP_EOL, \FILE_APPEND); + } +} diff --git a/vendor/symfony/console/Command/DumpCompletionCommand.php b/vendor/symfony/console/Command/DumpCompletionCommand.php new file mode 100644 index 00000000000..ea8d0a2018a --- /dev/null +++ b/vendor/symfony/console/Command/DumpCompletionCommand.php @@ -0,0 +1,120 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Command; + +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Process\Process; +/** + * Dumps the completion script for the current shell. + * + * @author Wouter de Jong + */ +final class DumpCompletionCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command +{ + protected static $defaultName = 'completion'; + protected static $defaultDescription = 'Dump the shell completion script'; + /** + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + if ($input->mustSuggestArgumentValuesFor('shell')) { + $suggestions->suggestValues($this->getSupportedShells()); + } + } + protected function configure() + { + $fullCommand = $_SERVER['PHP_SELF']; + $commandName = \basename($fullCommand); + $fullCommand = \realpath($fullCommand) ?: $fullCommand; + $this->setHelp(<<%command.name% command dumps the shell completion script required +to use shell autocompletion (currently only bash completion is supported). + +Static installation +------------------- + +Dump the script to a global completion file and restart your shell: + + %command.full_name% bash | sudo tee /etc/bash_completion.d/{$commandName} + +Or dump the script to a local file and source it: + + %command.full_name% bash > completion.sh + + # source the file whenever you use the project + source completion.sh + + # or add this line at the end of your "~/.bashrc" file: + source /path/to/completion.sh + +Dynamic installation +-------------------- + +Add this add the end of your shell configuration file (e.g. "~/.bashrc"): + + eval "\$({$fullCommand} completion bash)" +EOH +)->addArgument('shell', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The shell type (e.g. "bash"), the value of the "$SHELL" env var will be used if this is not given')->addOption('debug', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Tail the completion debug log'); + } + /** + * @param \Symfony\Component\Console\Input\InputInterface $input + * @param \Symfony\Component\Console\Output\OutputInterface $output + */ + protected function execute($input, $output) : int + { + $commandName = \basename($_SERVER['argv'][0]); + if ($input->getOption('debug')) { + $this->tailDebugLog($commandName, $output); + return self::SUCCESS; + } + $shell = $input->getArgument('shell') ?? self::guessShell(); + $completionFile = __DIR__ . '/../Resources/completion.' . $shell; + if (!\file_exists($completionFile)) { + $supportedShells = $this->getSupportedShells(); + ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface ? $output->getErrorOutput() : $output)->writeln(\sprintf('Detected shell "%s", which is not supported by Symfony shell completion (supported shells: "%s").', $shell, \implode('", "', $supportedShells))); + return self::INVALID; + } + $output->write(\str_replace(['{{ COMMAND_NAME }}', '{{ VERSION }}'], [$commandName, $this->getApplication()->getVersion()], \file_get_contents($completionFile))); + return self::SUCCESS; + } + private static function guessShell() : string + { + return \basename($_SERVER['SHELL'] ?? ''); + } + private function tailDebugLog(string $commandName, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) : void + { + $debugFile = \sys_get_temp_dir() . '/sf_' . $commandName . '.log'; + if (!\file_exists($debugFile)) { + \touch($debugFile); + } + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process(['tail', '-f', $debugFile], null, null, null, 0); + $process->run(function (string $type, string $line) use($output) : void { + $output->write($line); + }); + } + /** + * @return string[] + */ + private function getSupportedShells() : array + { + return \array_map(function ($f) { + return \pathinfo($f, \PATHINFO_EXTENSION); + }, \glob(__DIR__ . '/../Resources/completion.*')); + } +} diff --git a/vendor/symfony/console/Command/HelpCommand.php b/vendor/symfony/console/Command/HelpCommand.php index c64a52d5b5b..ecb0fc0f971 100644 --- a/vendor/symfony/console/Command/HelpCommand.php +++ b/vendor/symfony/console/Command/HelpCommand.php @@ -8,19 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; -use RectorPrefix20211129\Symfony\Component\Console\Helper\DescriptorHelper; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription; +use RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * HelpCommand displays the help for a given command. * * @author Fabien Potencier */ -class HelpCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +class HelpCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { private $command; /** @@ -29,7 +32,7 @@ class HelpCommand extends \RectorPrefix20211129\Symfony\Component\Console\Comman protected function configure() { $this->ignoreValidationErrors(); - $this->setName('help')->setDefinition([new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command help')])->setDescription('Display help for a command')->setHelp(<<<'EOF' + $this->setName('help')->setDefinition([new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument('command_name', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The command name', 'help'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command help')])->setDescription('Display help for a command')->setHelp(<<<'EOF' The %command.name% command displays help for a given command: %command.full_name% list @@ -59,9 +62,25 @@ EOF if (null === $this->command) { $this->command = $this->getApplication()->find($input->getArgument('command_name')); } - $helper = new \RectorPrefix20211129\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper(); $helper->describe($output, $this->command, ['format' => $input->getOption('format'), 'raw_text' => $input->getOption('raw')]); $this->command = null; return 0; } + /** + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + if ($input->mustSuggestArgumentValuesFor('command_name')) { + $descriptor = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); + $suggestions->suggestValues(\array_keys($descriptor->getCommands())); + return; + } + if ($input->mustSuggestOptionValuesFor('format')) { + $helper = new \RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper(); + $suggestions->suggestValues($helper->getFormats()); + } + } } diff --git a/vendor/symfony/console/Command/LazyCommand.php b/vendor/symfony/console/Command/LazyCommand.php index 120e4efc244..f93c575b274 100644 --- a/vendor/symfony/console/Command/LazyCommand.php +++ b/vendor/symfony/console/Command/LazyCommand.php @@ -8,17 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Helper\HelperSet; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Helper\HelperSet; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author Nicolas Grekas */ -final class LazyCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +final class LazyCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { private $command; private $isEnabled; @@ -64,6 +66,14 @@ final class LazyCommand extends \RectorPrefix20211129\Symfony\Component\Console\ { return $this->getCommand()->run($input, $output); } + /** + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + $this->getCommand()->complete($input, $suggestions); + } /** * @return $this * @param callable $code @@ -89,11 +99,11 @@ final class LazyCommand extends \RectorPrefix20211129\Symfony\Component\Console\ $this->getCommand()->setDefinition($definition); return $this; } - public function getDefinition() : \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition + public function getDefinition() : \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition { return $this->getCommand()->getDefinition(); } - public function getNativeDefinition() : \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition + public function getNativeDefinition() : \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition { return $this->getCommand()->getNativeDefinition(); } diff --git a/vendor/symfony/console/Command/ListCommand.php b/vendor/symfony/console/Command/ListCommand.php index 74856496074..aaf2a514e1b 100644 --- a/vendor/symfony/console/Command/ListCommand.php +++ b/vendor/symfony/console/Command/ListCommand.php @@ -8,26 +8,29 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; -use RectorPrefix20211129\Symfony\Component\Console\Helper\DescriptorHelper; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription; +use RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * ListCommand displays the list of all available commands for the application. * * @author Fabien Potencier */ -class ListCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +class ListCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { /** * {@inheritdoc} */ protected function configure() { - $this->setName('list')->setDefinition([new \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To skip describing commands\' arguments')])->setDescription('List commands')->setHelp(<<<'EOF' + $this->setName('list')->setDefinition([new \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument('namespace', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::OPTIONAL, 'The namespace name'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('raw', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To output raw command list'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('format', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format (txt, xml, json, or md)', 'txt'), new \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption('short', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'To skip describing commands\' arguments')])->setDescription('List commands')->setHelp(<<<'EOF' The %command.name% command lists all commands: %command.full_name% @@ -53,8 +56,24 @@ EOF */ protected function execute($input, $output) { - $helper = new \RectorPrefix20211129\Symfony\Component\Console\Helper\DescriptorHelper(); + $helper = new \RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper(); $helper->describe($output, $this->getApplication(), ['format' => $input->getOption('format'), 'raw_text' => $input->getOption('raw'), 'namespace' => $input->getArgument('namespace'), 'short' => $input->getOption('short')]); return 0; } + /** + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + if ($input->mustSuggestArgumentValuesFor('namespace')) { + $descriptor = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($this->getApplication()); + $suggestions->suggestValues(\array_keys($descriptor->getNamespaces())); + return; + } + if ($input->mustSuggestOptionValuesFor('format')) { + $helper = new \RectorPrefix20211130\Symfony\Component\Console\Helper\DescriptorHelper(); + $suggestions->suggestValues($helper->getFormats()); + } + } } diff --git a/vendor/symfony/console/Command/LockableTrait.php b/vendor/symfony/console/Command/LockableTrait.php index 343ab7607d9..fe9b3156680 100644 --- a/vendor/symfony/console/Command/LockableTrait.php +++ b/vendor/symfony/console/Command/LockableTrait.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Lock\Lock; -use RectorPrefix20211129\Symfony\Component\Lock\LockFactory; -use RectorPrefix20211129\Symfony\Component\Lock\Store\FlockStore; -use RectorPrefix20211129\Symfony\Component\Lock\Store\SemaphoreStore; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Lock\LockFactory; +use RectorPrefix20211130\Symfony\Component\Lock\LockInterface; +use RectorPrefix20211130\Symfony\Component\Lock\Store\FlockStore; +use RectorPrefix20211130\Symfony\Component\Lock\Store\SemaphoreStore; /** * Basic lock feature for commands. * @@ -22,25 +22,25 @@ use RectorPrefix20211129\Symfony\Component\Lock\Store\SemaphoreStore; */ trait LockableTrait { - /** @var Lock */ + /** @var LockInterface|null */ private $lock; /** * Locks a command. */ private function lock(string $name = null, bool $blocking = \false) : bool { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Lock\Store\SemaphoreStore::class)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Lock\Store\SemaphoreStore::class)) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('To enable the locking feature you must install the symfony/lock component.'); } if (null !== $this->lock) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('A lock is already in place.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('A lock is already in place.'); } - if (\RectorPrefix20211129\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) { - $store = new \RectorPrefix20211129\Symfony\Component\Lock\Store\SemaphoreStore(); + if (\RectorPrefix20211130\Symfony\Component\Lock\Store\SemaphoreStore::isSupported()) { + $store = new \RectorPrefix20211130\Symfony\Component\Lock\Store\SemaphoreStore(); } else { - $store = new \RectorPrefix20211129\Symfony\Component\Lock\Store\FlockStore(); + $store = new \RectorPrefix20211130\Symfony\Component\Lock\Store\FlockStore(); } - $this->lock = (new \RectorPrefix20211129\Symfony\Component\Lock\LockFactory($store))->createLock($name ?: $this->getName()); + $this->lock = (new \RectorPrefix20211130\Symfony\Component\Lock\LockFactory($store))->createLock($name ?: $this->getName()); if (!$this->lock->acquire($blocking)) { $this->lock = null; return \false; diff --git a/vendor/symfony/console/Command/SignalableCommandInterface.php b/vendor/symfony/console/Command/SignalableCommandInterface.php index f5505926474..3bd086834e7 100644 --- a/vendor/symfony/console/Command/SignalableCommandInterface.php +++ b/vendor/symfony/console/Command/SignalableCommandInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Command; +namespace RectorPrefix20211130\Symfony\Component\Console\Command; /** * Interface for command reacting to signal. diff --git a/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php b/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php index 3f0da15d8bc..df72358b9c4 100644 --- a/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php +++ b/vendor/symfony/console/CommandLoader/CommandLoaderInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20211130\Symfony\Component\Console\CommandLoader; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; /** * @author Robin Chalas */ @@ -34,7 +34,7 @@ interface CommandLoaderInterface */ public function has($name); /** - * @return string[] All registered command names + * @return string[] */ public function getNames(); } diff --git a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php index 8b84cc95e5a..a9e8840a657 100644 --- a/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php +++ b/vendor/symfony/console/CommandLoader/ContainerCommandLoader.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20211130\Symfony\Component\Console\CommandLoader; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; /** * Loads commands from a PSR-11 container. * * @author Robin Chalas */ -class ContainerCommandLoader implements \RectorPrefix20211129\Symfony\Component\Console\CommandLoader\CommandLoaderInterface +class ContainerCommandLoader implements \RectorPrefix20211130\Symfony\Component\Console\CommandLoader\CommandLoaderInterface { private $container; private $commandMap; /** * @param array $commandMap An array with command names as keys and service ids as values */ - public function __construct(\RectorPrefix20211129\Psr\Container\ContainerInterface $container, array $commandMap) + public function __construct(\RectorPrefix20211130\Psr\Container\ContainerInterface $container, array $commandMap) { $this->container = $container; $this->commandMap = $commandMap; @@ -36,7 +36,7 @@ class ContainerCommandLoader implements \RectorPrefix20211129\Symfony\Component\ public function get($name) { if (!$this->has($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); } return $this->container->get($this->commandMap[$name]); } diff --git a/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php b/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php index c76f1080e92..20513550d46 100644 --- a/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php +++ b/vendor/symfony/console/CommandLoader/FactoryCommandLoader.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\CommandLoader; +namespace RectorPrefix20211130\Symfony\Component\Console\CommandLoader; -use RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; /** * A simple command loader using factories to instantiate commands lazily. * * @author Maxime Steinhausser */ -class FactoryCommandLoader implements \RectorPrefix20211129\Symfony\Component\Console\CommandLoader\CommandLoaderInterface +class FactoryCommandLoader implements \RectorPrefix20211130\Symfony\Component\Console\CommandLoader\CommandLoaderInterface { private $factories; /** @@ -41,7 +41,7 @@ class FactoryCommandLoader implements \RectorPrefix20211129\Symfony\Component\Co public function get($name) { if (!isset($this->factories[$name])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); } $factory = $this->factories[$name]; return $factory(); diff --git a/vendor/symfony/console/Completion/CompletionInput.php b/vendor/symfony/console/Completion/CompletionInput.php new file mode 100644 index 00000000000..15ba9690608 --- /dev/null +++ b/vendor/symfony/console/Completion/CompletionInput.php @@ -0,0 +1,226 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Completion; + +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +/** + * An input specialized for shell completion. + * + * This input allows unfinished option names or values and exposes what kind of + * completion is expected. + * + * @author Wouter de Jong + */ +final class CompletionInput extends \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput +{ + public const TYPE_ARGUMENT_VALUE = 'argument_value'; + public const TYPE_OPTION_VALUE = 'option_value'; + public const TYPE_OPTION_NAME = 'option_name'; + public const TYPE_NONE = 'none'; + private $tokens; + private $currentIndex; + private $completionType; + private $completionName = null; + private $completionValue = ''; + /** + * Converts a terminal string into tokens. + * + * This is required for shell completions without COMP_WORDS support. + * @param string $inputStr + * @param int $currentIndex + */ + public static function fromString($inputStr, $currentIndex) : self + { + \preg_match_all('/(?<=^|\\s)([\'"]?)(.+?)(?tokens = $tokens; + $input->currentIndex = $currentIndex; + return $input; + } + /** + * {@inheritdoc} + * @param \Symfony\Component\Console\Input\InputDefinition $definition + */ + public function bind($definition) : void + { + parent::bind($definition); + $relevantToken = $this->getRelevantToken(); + if ('-' === $relevantToken[0]) { + // the current token is an input option: complete either option name or option value + [$optionToken, $optionValue] = \explode('=', $relevantToken, 2) + ['', '']; + $option = $this->getOptionFromToken($optionToken); + if (null === $option && !$this->isCursorFree()) { + $this->completionType = self::TYPE_OPTION_NAME; + $this->completionValue = $relevantToken; + return; + } + if (null !== $option && $option->acceptValue()) { + $this->completionType = self::TYPE_OPTION_VALUE; + $this->completionName = $option->getName(); + $this->completionValue = $optionValue ?: (\strncmp($optionToken, '--', \strlen('--')) !== 0 ? \substr($optionToken, 2) : ''); + return; + } + } + $previousToken = $this->tokens[$this->currentIndex - 1]; + if ('-' === $previousToken[0] && '' !== \trim($previousToken, '-')) { + // check if previous option accepted a value + $previousOption = $this->getOptionFromToken($previousToken); + if (null !== $previousOption && $previousOption->acceptValue()) { + $this->completionType = self::TYPE_OPTION_VALUE; + $this->completionName = $previousOption->getName(); + $this->completionValue = $relevantToken; + return; + } + } + // complete argument value + $this->completionType = self::TYPE_ARGUMENT_VALUE; + $arguments = $this->getArguments(); + foreach ($arguments as $argumentName => $argumentValue) { + if (null === $argumentValue) { + break; + } + $this->completionName = $argumentName; + if (\is_array($argumentValue)) { + \end($argumentValue); + $this->completionValue = $argumentValue ? $argumentValue[\key($argumentValue)] : null; + } else { + $this->completionValue = $argumentValue; + } + } + if ($this->currentIndex >= \count($this->tokens)) { + if (null === $arguments[$argumentName] || $this->definition->getArgument($argumentName)->isArray()) { + $this->completionName = $argumentName; + $this->completionValue = ''; + } else { + // we've reached the end + $this->completionType = self::TYPE_NONE; + $this->completionName = null; + $this->completionValue = ''; + } + } + } + /** + * Returns the type of completion required. + * + * TYPE_ARGUMENT_VALUE when completing the value of an input argument + * TYPE_OPTION_VALUE when completing the value of an input option + * TYPE_OPTION_NAME when completing the name of an input option + * TYPE_NONE when nothing should be completed + * + * @return string One of self::TYPE_* constants. TYPE_OPTION_NAME and TYPE_NONE are already implemented by the Console component + */ + public function getCompletionType() : string + { + return $this->completionType; + } + /** + * The name of the input option or argument when completing a value. + * + * @return string|null returns null when completing an option name + */ + public function getCompletionName() : ?string + { + return $this->completionName; + } + /** + * The value already typed by the user (or empty string). + */ + public function getCompletionValue() : string + { + return $this->completionValue; + } + /** + * @param string $optionName + */ + public function mustSuggestOptionValuesFor($optionName) : bool + { + return self::TYPE_OPTION_VALUE === $this->getCompletionType() && $optionName === $this->getCompletionName(); + } + /** + * @param string $argumentName + */ + public function mustSuggestArgumentValuesFor($argumentName) : bool + { + return self::TYPE_ARGUMENT_VALUE === $this->getCompletionType() && $argumentName === $this->getCompletionName(); + } + /** + * @param string $token + * @param bool $parseOptions + */ + protected function parseToken($token, $parseOptions) : bool + { + try { + return parent::parseToken($token, $parseOptions); + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException $e) { + // suppress errors, completed input is almost never valid + } + return $parseOptions; + } + private function getOptionFromToken(string $optionToken) : ?\RectorPrefix20211130\Symfony\Component\Console\Input\InputOption + { + $optionName = \ltrim($optionToken, '-'); + if (!$optionName) { + return null; + } + if ('-' === ($optionToken[1] ?? ' ')) { + // long option name + return $this->definition->hasOption($optionName) ? $this->definition->getOption($optionName) : null; + } + // short option name + return $this->definition->hasShortcut($optionName[0]) ? $this->definition->getOptionForShortcut($optionName[0]) : null; + } + /** + * The token of the cursor, or the last token if the cursor is at the end of the input. + */ + private function getRelevantToken() : string + { + return $this->tokens[$this->isCursorFree() ? $this->currentIndex - 1 : $this->currentIndex]; + } + /** + * Whether the cursor is "free" (i.e. at the end of the input preceded by a space). + */ + private function isCursorFree() : bool + { + $nrOfTokens = \count($this->tokens); + if ($this->currentIndex > $nrOfTokens) { + throw new \LogicException('Current index is invalid, it must be the number of input tokens or one more.'); + } + return $this->currentIndex >= $nrOfTokens; + } + public function __toString() + { + $str = ''; + foreach ($this->tokens as $i => $token) { + $str .= $token; + if ($this->currentIndex === $i) { + $str .= '|'; + } + $str .= ' '; + } + if ($this->currentIndex > $i) { + $str .= '|'; + } + return \rtrim($str); + } +} diff --git a/vendor/symfony/console/Completion/CompletionSuggestions.php b/vendor/symfony/console/Completion/CompletionSuggestions.php new file mode 100644 index 00000000000..c71cf59a576 --- /dev/null +++ b/vendor/symfony/console/Completion/CompletionSuggestions.php @@ -0,0 +1,87 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Completion; + +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +/** + * Stores all completion suggestions for the current input. + * + * @author Wouter de Jong + */ +final class CompletionSuggestions +{ + private $valueSuggestions = []; + private $optionSuggestions = []; + /** + * Add a suggested value for an input option or argument. + * + * @param string|Suggestion $value + * + * @return $this + */ + public function suggestValue($value) : self + { + $this->valueSuggestions[] = !$value instanceof \RectorPrefix20211130\Symfony\Component\Console\Completion\Suggestion ? new \RectorPrefix20211130\Symfony\Component\Console\Completion\Suggestion($value) : $value; + return $this; + } + /** + * Add multiple suggested values at once for an input option or argument. + * + * @param list $values + * + * @return $this + */ + public function suggestValues(array $values) : self + { + foreach ($values as $value) { + $this->suggestValue($value); + } + return $this; + } + /** + * Add a suggestion for an input option name. + * + * @return $this + */ + public function suggestOption(\RectorPrefix20211130\Symfony\Component\Console\Input\InputOption $option) : self + { + $this->optionSuggestions[] = $option; + return $this; + } + /** + * Add multiple suggestions for input option names at once. + * + * @param InputOption[] $options + * + * @return $this + */ + public function suggestOptions(array $options) : self + { + foreach ($options as $option) { + $this->suggestOption($option); + } + return $this; + } + /** + * @return InputOption[] + */ + public function getOptionSuggestions() : array + { + return $this->optionSuggestions; + } + /** + * @return Suggestion[] + */ + public function getValueSuggestions() : array + { + return $this->valueSuggestions; + } +} diff --git a/vendor/symfony/console/Completion/Output/BashCompletionOutput.php b/vendor/symfony/console/Completion/Output/BashCompletionOutput.php new file mode 100644 index 00000000000..cabd35bad3d --- /dev/null +++ b/vendor/symfony/console/Completion/Output/BashCompletionOutput.php @@ -0,0 +1,32 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Completion\Output; + +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +/** + * @author Wouter de Jong + */ +class BashCompletionOutput implements \RectorPrefix20211130\Symfony\Component\Console\Completion\Output\CompletionOutputInterface +{ + /** + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + * @param \Symfony\Component\Console\Output\OutputInterface $output + */ + public function write($suggestions, $output) : void + { + $values = $suggestions->getValueSuggestions(); + foreach ($suggestions->getOptionSuggestions() as $option) { + $values[] = '--' . $option->getName(); + } + $output->writeln(\implode("\n", $values)); + } +} diff --git a/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php new file mode 100644 index 00000000000..1844d2a6185 --- /dev/null +++ b/vendor/symfony/console/Completion/Output/CompletionOutputInterface.php @@ -0,0 +1,27 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Completion\Output; + +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +/** + * Transforms the {@see CompletionSuggestions} object into output readable by the shell completion. + * + * @author Wouter de Jong + */ +interface CompletionOutputInterface +{ + /** + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + * @param \Symfony\Component\Console\Output\OutputInterface $output + */ + public function write($suggestions, $output) : void; +} diff --git a/vendor/symfony/console/Completion/Suggestion.php b/vendor/symfony/console/Completion/Suggestion.php new file mode 100644 index 00000000000..0b30c27cdca --- /dev/null +++ b/vendor/symfony/console/Completion/Suggestion.php @@ -0,0 +1,33 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Completion; + +/** + * Represents a single suggested value. + * + * @author Wouter de Jong + */ +class Suggestion +{ + private $value; + public function __construct(string $value) + { + $this->value = $value; + } + public function getValue() : string + { + return $this->value; + } + public function __toString() : string + { + return $this->getValue(); + } +} diff --git a/vendor/symfony/console/ConsoleEvents.php b/vendor/symfony/console/ConsoleEvents.php index b0965ada5ad..007741c57a7 100644 --- a/vendor/symfony/console/ConsoleEvents.php +++ b/vendor/symfony/console/ConsoleEvents.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleCommandEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleSignalEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleCommandEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleSignalEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent; /** * Contains all events dispatched by an Application. * @@ -57,5 +57,5 @@ final class ConsoleEvents * * These aliases can be consumed by RegisterListenersPass. */ - public const ALIASES = [\RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE]; + public const ALIASES = [\RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleCommandEvent::class => self::COMMAND, \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent::class => self::ERROR, \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleSignalEvent::class => self::SIGNAL, \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent::class => self::TERMINATE]; } diff --git a/vendor/symfony/console/Cursor.php b/vendor/symfony/console/Cursor.php index 31aa99451a2..46bf6d020f8 100644 --- a/vendor/symfony/console/Cursor.php +++ b/vendor/symfony/console/Cursor.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author Pierre du Plessis */ @@ -18,56 +18,89 @@ final class Cursor { private $output; private $input; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, $input = null) + /** + * @param resource|null $input + */ + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, $input = null) { $this->output = $output; $this->input = $input ?? (\defined('STDIN') ? \STDIN : \fopen('php://input', 'r+')); } + /** + * @return $this + */ public function moveUp(int $lines = 1) : self { $this->output->write(\sprintf("\33[%dA", $lines)); return $this; } + /** + * @return $this + */ public function moveDown(int $lines = 1) : self { $this->output->write(\sprintf("\33[%dB", $lines)); return $this; } + /** + * @return $this + */ public function moveRight(int $columns = 1) : self { $this->output->write(\sprintf("\33[%dC", $columns)); return $this; } + /** + * @return $this + */ public function moveLeft(int $columns = 1) : self { $this->output->write(\sprintf("\33[%dD", $columns)); return $this; } + /** + * @return $this + */ public function moveToColumn(int $column) : self { $this->output->write(\sprintf("\33[%dG", $column)); return $this; } + /** + * @return $this + */ public function moveToPosition(int $column, int $row) : self { $this->output->write(\sprintf("\33[%d;%dH", $row + 1, $column)); return $this; } + /** + * @return $this + */ public function savePosition() : self { $this->output->write("\0337"); return $this; } + /** + * @return $this + */ public function restorePosition() : self { $this->output->write("\338"); return $this; } + /** + * @return $this + */ public function hide() : self { $this->output->write("\33[?25l"); return $this; } + /** + * @return $this + */ public function show() : self { $this->output->write("\33[?25h\33[?0c"); @@ -75,6 +108,8 @@ final class Cursor } /** * Clears all the output from the current line. + * + * @return $this */ public function clearLine() : self { @@ -91,6 +126,8 @@ final class Cursor } /** * Clears all the output from the cursors' current position to the end of the screen. + * + * @return $this */ public function clearOutput() : self { @@ -99,6 +136,8 @@ final class Cursor } /** * Clears the entire screen. + * + * @return $this */ public function clearScreen() : self { diff --git a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php index fab0506ecc6..8b7b7b8782d 100644 --- a/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php +++ b/vendor/symfony/console/DependencyInjection/AddConsoleCommandPass.php @@ -8,24 +8,24 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\Console\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Command\LazyCommand; -use RectorPrefix20211129\Symfony\Component\Console\CommandLoader\ContainerCommandLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand; +use RectorPrefix20211130\Symfony\Component\Console\CommandLoader\ContainerCommandLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; /** * Registers console commands. * * @author Grégoire Pineau */ -class AddConsoleCommandPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class AddConsoleCommandPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $commandLoaderServiceId; private $commandTag; @@ -58,10 +58,10 @@ class AddConsoleCommandPass implements \RectorPrefix20211129\Symfony\Component\D $aliases = $tags[0]['command']; } else { if (!($r = $container->getReflectionClass($class))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); } - if (!$r->isSubclassOf(\RectorPrefix20211129\Symfony\Component\Console\Command\Command::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, $this->commandTag, \RectorPrefix20211129\Symfony\Component\Console\Command\Command::class)); + if (!$r->isSubclassOf(\RectorPrefix20211130\Symfony\Component\Console\Command\Command::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, $this->commandTag, \RectorPrefix20211130\Symfony\Component\Console\Command\Command::class)); } $aliases = $class::getDefaultName(); } @@ -82,7 +82,7 @@ class AddConsoleCommandPass implements \RectorPrefix20211129\Symfony\Component\D $description = $tags[0]['description'] ?? null; unset($tags[0]); $lazyCommandMap[$commandName] = $id; - $lazyCommandRefs[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($id, $class); + $lazyCommandRefs[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($id, $class); foreach ($aliases as $alias) { $lazyCommandMap[$alias] = $id; } @@ -102,20 +102,20 @@ class AddConsoleCommandPass implements \RectorPrefix20211129\Symfony\Component\D } if (!$description) { if (!($r = $container->getReflectionClass($class))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); } - if (!$r->isSubclassOf(\RectorPrefix20211129\Symfony\Component\Console\Command\Command::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, $this->commandTag, \RectorPrefix20211129\Symfony\Component\Console\Command\Command::class)); + if (!$r->isSubclassOf(\RectorPrefix20211130\Symfony\Component\Console\Command\Command::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must be a subclass of "%s".', $id, $this->commandTag, \RectorPrefix20211130\Symfony\Component\Console\Command\Command::class)); } $description = $class::getDefaultDescription(); } if ($description) { $definition->addMethodCall('setDescription', [$description]); - $container->register('.' . $id . '.lazy', \RectorPrefix20211129\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]); - $lazyCommandRefs[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy'); + $container->register('.' . $id . '.lazy', \RectorPrefix20211130\Symfony\Component\Console\Command\LazyCommand::class)->setArguments([$commandName, $aliases, $description, $isHidden, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($lazyCommandRefs[$id])]); + $lazyCommandRefs[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference('.' . $id . '.lazy'); } } - $container->register($this->commandLoaderServiceId, \RectorPrefix20211129\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag($this->noPreloadTag)->setArguments([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $lazyCommandRefs), $lazyCommandMap]); + $container->register($this->commandLoaderServiceId, \RectorPrefix20211130\Symfony\Component\Console\CommandLoader\ContainerCommandLoader::class)->setPublic(\true)->addTag($this->noPreloadTag)->setArguments([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $lazyCommandRefs), $lazyCommandMap]); $container->setParameter('console.command.ids', $serviceIds); } } diff --git a/vendor/symfony/console/Descriptor/ApplicationDescription.php b/vendor/symfony/console/Descriptor/ApplicationDescription.php index 832ef759815..8af3cd9ad15 100644 --- a/vendor/symfony/console/Descriptor/ApplicationDescription.php +++ b/vendor/symfony/console/Descriptor/ApplicationDescription.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException; /** * @author Jean-François Simon * @@ -29,14 +29,14 @@ class ApplicationDescription */ private $namespaces; /** - * @var Command[] + * @var array */ private $commands; /** - * @var Command[] + * @var array */ private $aliases; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Application $application, string $namespace = null, bool $showHidden = \false) { $this->application = $application; $this->namespace = $namespace; @@ -63,10 +63,10 @@ class ApplicationDescription * @throws CommandNotFoundException * @param string $name */ - public function getCommand($name) : \RectorPrefix20211129\Symfony\Component\Console\Command\Command + public function getCommand($name) : \RectorPrefix20211130\Symfony\Component\Console\Command\Command { if (!isset($this->commands[$name]) && !isset($this->aliases[$name])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException(\sprintf('Command "%s" does not exist.', $name)); } return $this->commands[$name] ?? $this->aliases[$name]; } diff --git a/vendor/symfony/console/Descriptor/Descriptor.php b/vendor/symfony/console/Descriptor/Descriptor.php index e10aa02e8d4..2ae8f0715e4 100644 --- a/vendor/symfony/console/Descriptor/Descriptor.php +++ b/vendor/symfony/console/Descriptor/Descriptor.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author Jean-François Simon * * @internal */ -abstract class Descriptor implements \RectorPrefix20211129\Symfony\Component\Console\Descriptor\DescriptorInterface +abstract class Descriptor implements \RectorPrefix20211130\Symfony\Component\Console\Descriptor\DescriptorInterface { /** * @var OutputInterface @@ -38,23 +38,23 @@ abstract class Descriptor implements \RectorPrefix20211129\Symfony\Component\Con { $this->output = $output; switch (\true) { - case $object instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument: + case $object instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument: $this->describeInputArgument($object, $options); break; - case $object instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption: + case $object instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption: $this->describeInputOption($object, $options); break; - case $object instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition: + case $object instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition: $this->describeInputDefinition($object, $options); break; - case $object instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\Command: + case $object instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\Command: $this->describeCommand($object, $options); break; - case $object instanceof \RectorPrefix20211129\Symfony\Component\Console\Application: + case $object instanceof \RectorPrefix20211130\Symfony\Component\Console\Application: $this->describeApplication($object, $options); break; default: - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Object of type "%s" is not describable.', \get_debug_type($object))); } } /** @@ -64,7 +64,7 @@ abstract class Descriptor implements \RectorPrefix20211129\Symfony\Component\Con */ protected function write($content, $decorated = \false) { - $this->output->write($content, \false, $decorated ? \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); + $this->output->write($content, \false, $decorated ? \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL : \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW); } /** * Describes an InputArgument instance. diff --git a/vendor/symfony/console/Descriptor/DescriptorInterface.php b/vendor/symfony/console/Descriptor/DescriptorInterface.php index 85ed1b6bb0d..14ed679e671 100644 --- a/vendor/symfony/console/Descriptor/DescriptorInterface.php +++ b/vendor/symfony/console/Descriptor/DescriptorInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Descriptor interface. * diff --git a/vendor/symfony/console/Descriptor/JsonDescriptor.php b/vendor/symfony/console/Descriptor/JsonDescriptor.php index 437f3f06f97..f0f9a23d6eb 100644 --- a/vendor/symfony/console/Descriptor/JsonDescriptor.php +++ b/vendor/symfony/console/Descriptor/JsonDescriptor.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; /** * JSON descriptor. * @@ -22,7 +22,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; * * @internal */ -class JsonDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Descriptor\Descriptor +class JsonDescriptor extends \RectorPrefix20211130\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} @@ -71,7 +71,7 @@ class JsonDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des protected function describeApplication($application, $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true); + $description = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace, \true); $commands = []; foreach ($description->getCommands() as $command) { $commands[] = $this->getCommandData($command, $options['short'] ?? \false); @@ -99,15 +99,15 @@ class JsonDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des $flags = $options['json_encoding'] ?? 0; $this->write(\json_encode($data, $flags)); } - private function getInputArgumentData(\RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument $argument) : array + private function getInputArgumentData(\RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument $argument) : array { return ['name' => $argument->getName(), 'is_required' => $argument->isRequired(), 'is_array' => $argument->isArray(), 'description' => \preg_replace('/\\s*[\\r\\n]\\s*/', ' ', $argument->getDescription()), 'default' => \INF === $argument->getDefault() ? 'INF' : $argument->getDefault()]; } - private function getInputOptionData(\RectorPrefix20211129\Symfony\Component\Console\Input\InputOption $option, bool $negated = \false) : array + private function getInputOptionData(\RectorPrefix20211130\Symfony\Component\Console\Input\InputOption $option, bool $negated = \false) : array { return $negated ? ['name' => '--no-' . $option->getName(), 'shortcut' => '', 'accept_value' => \false, 'is_value_required' => \false, 'is_multiple' => \false, 'description' => 'Negate the "--' . $option->getName() . '" option', 'default' => \false] : ['name' => '--' . $option->getName(), 'shortcut' => $option->getShortcut() ? '-' . \str_replace('|', '|-', $option->getShortcut()) : '', 'accept_value' => $option->acceptValue(), 'is_value_required' => $option->isValueRequired(), 'is_multiple' => $option->isArray(), 'description' => \preg_replace('/\\s*[\\r\\n]\\s*/', ' ', $option->getDescription()), 'default' => \INF === $option->getDefault() ? 'INF' : $option->getDefault()]; } - private function getInputDefinitionData(\RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $definition) : array + private function getInputDefinitionData(\RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $definition) : array { $inputArguments = []; foreach ($definition->getArguments() as $name => $argument) { @@ -122,7 +122,7 @@ class JsonDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des } return ['arguments' => $inputArguments, 'options' => $inputOptions]; } - private function getCommandData(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command, bool $short = \false) : array + private function getCommandData(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command, bool $short = \false) : array { $data = ['name' => $command->getName(), 'description' => $command->getDescription()]; if ($short) { diff --git a/vendor/symfony/console/Descriptor/MarkdownDescriptor.php b/vendor/symfony/console/Descriptor/MarkdownDescriptor.php index ca726c15f5b..02fe9559e73 100644 --- a/vendor/symfony/console/Descriptor/MarkdownDescriptor.php +++ b/vendor/symfony/console/Descriptor/MarkdownDescriptor.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Markdown descriptor. * @@ -24,7 +24,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; * * @internal */ -class MarkdownDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Descriptor\Descriptor +class MarkdownDescriptor extends \RectorPrefix20211130\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} @@ -110,13 +110,13 @@ class MarkdownDescriptor extends \RectorPrefix20211129\Symfony\Component\Console protected function describeCommand($command, $options = []) { if ($options['short'] ?? \false) { - $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce($command->getAliases(), function ($carry, $usage) { + $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce($command->getAliases(), function ($carry, $usage) { return $carry . '* `' . $usage . '`' . "\n"; })); return; } $command->mergeApplicationDefinition(\false); - $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce(\array_merge([$command->getSynopsis()], $command->getAliases(), $command->getUsages()), function ($carry, $usage) { + $this->write('`' . $command->getName() . "`\n" . \str_repeat('-', \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($command->getName()) + 2) . "\n\n" . ($command->getDescription() ? $command->getDescription() . "\n\n" : '') . '### Usage' . "\n\n" . \array_reduce(\array_merge([$command->getSynopsis()], $command->getAliases(), $command->getUsages()), function ($carry, $usage) { return $carry . '* `' . $usage . '`' . "\n"; })); if ($help = $command->getProcessedHelp()) { @@ -137,11 +137,11 @@ class MarkdownDescriptor extends \RectorPrefix20211129\Symfony\Component\Console protected function describeApplication($application, $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); + $description = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); $title = $this->getApplicationTitle($application); - $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($title))); + $this->write($title . "\n" . \str_repeat('=', \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($title))); foreach ($description->getNamespaces() as $namespace) { - if (\RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { + if (\RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { $this->write("\n\n"); $this->write('**' . $namespace['id'] . ':**'); } @@ -157,7 +157,7 @@ class MarkdownDescriptor extends \RectorPrefix20211129\Symfony\Component\Console } } } - private function getApplicationTitle(\RectorPrefix20211129\Symfony\Component\Console\Application $application) : string + private function getApplicationTitle(\RectorPrefix20211130\Symfony\Component\Console\Application $application) : string { if ('UNKNOWN' !== $application->getName()) { if ('UNKNOWN' !== $application->getVersion()) { diff --git a/vendor/symfony/console/Descriptor/TextDescriptor.php b/vendor/symfony/console/Descriptor/TextDescriptor.php index abb8be988cd..0581b7eba51 100644 --- a/vendor/symfony/console/Descriptor/TextDescriptor.php +++ b/vendor/symfony/console/Descriptor/TextDescriptor.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; /** * Text descriptor. * @@ -24,7 +24,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; * * @internal */ -class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Descriptor\Descriptor +class TextDescriptor extends \RectorPrefix20211130\Symfony\Component\Console\Descriptor\Descriptor { /** * {@inheritdoc} @@ -38,7 +38,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des } else { $default = ''; } - $totalWidth = $options['total_width'] ?? \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($argument->getName()); + $totalWidth = $options['total_width'] ?? \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($argument->getName()); $spacingWidth = $totalWidth - \strlen($argument->getName()); $this->writeText(\sprintf( ' %s %s%s%s', @@ -70,7 +70,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des } $totalWidth = $options['total_width'] ?? $this->calculateTotalWidthForOptions([$option]); $synopsis = \sprintf('%s%s', $option->getShortcut() ? \sprintf('-%s, ', $option->getShortcut()) : ' ', \sprintf($option->isNegatable() ? '--%1$s|--no-%1$s' : '--%1$s%2$s', $option->getName(), $value)); - $spacingWidth = $totalWidth - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($synopsis); + $spacingWidth = $totalWidth - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($synopsis); $this->writeText(\sprintf( ' %s %s%s%s%s', $synopsis, @@ -90,7 +90,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des { $totalWidth = $this->calculateTotalWidthForOptions($definition->getOptions()); foreach ($definition->getArguments() as $argument) { - $totalWidth = \max($totalWidth, \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($argument->getName())); + $totalWidth = \max($totalWidth, \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($argument->getName())); } if ($definition->getArguments()) { $this->writeText('Arguments:', $options); @@ -137,7 +137,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des $this->writeText('Usage:', $options); foreach (\array_merge([$command->getSynopsis(\true)], $command->getAliases(), $command->getUsages()) as $usage) { $this->writeText("\n"); - $this->writeText(' ' . \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options); + $this->writeText(' ' . \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($usage), $options); } $this->writeText("\n"); $definition = $command->getDefinition(); @@ -163,7 +163,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des protected function describeApplication($application, $options = []) { $describedNamespace = $options['namespace'] ?? null; - $description = new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); + $description = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $describedNamespace); if (isset($options['raw_text']) && $options['raw_text']) { $width = $this->getColumnWidth($description->getCommands()); foreach ($description->getCommands() as $command) { @@ -176,7 +176,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des } $this->writeText("Usage:\n", $options); $this->writeText(" command [options] [arguments]\n\n", $options); - $this->describeInputDefinition(new \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options); + $this->describeInputDefinition(new \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition($application->getDefinition()->getOptions()), $options); $this->writeText("\n"); $this->writeText("\n"); $commands = $description->getCommands(); @@ -204,13 +204,13 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des if (!$namespace['commands']) { continue; } - if (!$describedNamespace && \RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { + if (!$describedNamespace && \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription::GLOBAL_NAMESPACE !== $namespace['id']) { $this->writeText("\n"); $this->writeText(' ' . $namespace['id'] . '', $options); } foreach ($namespace['commands'] as $name) { $this->writeText("\n"); - $spacingWidth = $width - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($name); + $spacingWidth = $width - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($name); $command = $commands[$name]; $commandAliases = $name === $command->getName() ? $this->getCommandAliasesText($command) : ''; $this->writeText(\sprintf(' %s%s%s', $name, \str_repeat(' ', $spacingWidth), $commandAliases . $command->getDescription()), $options); @@ -229,7 +229,7 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des /** * Formats command aliases to show them in the command description. */ - private function getCommandAliasesText(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command) : string + private function getCommandAliasesText(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command) : string { $text = ''; $aliases = $command->getAliases(); @@ -249,11 +249,11 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des return 'INF'; } if (\is_string($default)) { - $default = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($default); + $default = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($default); } elseif (\is_array($default)) { foreach ($default as $key => $value) { if (\is_string($value)) { - $default[$key] = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($value); + $default[$key] = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($value); } } } @@ -266,13 +266,13 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des { $widths = []; foreach ($commands as $command) { - if ($command instanceof \RectorPrefix20211129\Symfony\Component\Console\Command\Command) { - $widths[] = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($command->getName()); + if ($command instanceof \RectorPrefix20211130\Symfony\Component\Console\Command\Command) { + $widths[] = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($command->getName()); foreach ($command->getAliases() as $alias) { - $widths[] = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($alias); + $widths[] = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($alias); } } else { - $widths[] = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($command); + $widths[] = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($command); } } return $widths ? \max($widths) + 2 : 0; @@ -285,12 +285,12 @@ class TextDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Des $totalWidth = 0; foreach ($options as $option) { // "-" + shortcut + ", --" + name - $nameLength = 1 + \max(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $nameLength = 1 + \max(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($option->getShortcut()), 1) + 4 + \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($option->getName()); if ($option->isNegatable()) { - $nameLength += 6 + \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $nameLength += 6 + \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($option->getName()); // |--no- + name } elseif ($option->acceptValue()) { - $valueLength = 1 + \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($option->getName()); + $valueLength = 1 + \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($option->getName()); // = + value $valueLength += $option->isValueOptional() ? 2 : 0; // [ + ] diff --git a/vendor/symfony/console/Descriptor/XmlDescriptor.php b/vendor/symfony/console/Descriptor/XmlDescriptor.php index 804ebd13694..f0309b18672 100644 --- a/vendor/symfony/console/Descriptor/XmlDescriptor.php +++ b/vendor/symfony/console/Descriptor/XmlDescriptor.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Descriptor; +namespace RectorPrefix20211130\Symfony\Component\Console\Descriptor; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; /** * XML descriptor. * @@ -22,7 +22,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; * * @internal */ -class XmlDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Descriptor\Descriptor +class XmlDescriptor extends \RectorPrefix20211130\Symfony\Component\Console\Descriptor\Descriptor { /** * @param \Symfony\Component\Console\Input\InputDefinition $definition @@ -87,7 +87,7 @@ class XmlDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Desc } } $rootXml->appendChild($commandsXML = $dom->createElement('commands')); - $description = new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true); + $description = new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\ApplicationDescription($application, $namespace, \true); if ($namespace) { $commandsXML->setAttribute('namespace', $namespace); } @@ -169,7 +169,7 @@ class XmlDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Desc $dom->formatOutput = \true; $this->write($dom->saveXML()); } - private function getInputArgumentDocument(\RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument + private function getInputArgumentDocument(\RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument $argument) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($objectXML = $dom->createElement('argument')); @@ -186,7 +186,7 @@ class XmlDescriptor extends \RectorPrefix20211129\Symfony\Component\Console\Desc } return $dom; } - private function getInputOptionDocument(\RectorPrefix20211129\Symfony\Component\Console\Input\InputOption $option) : \DOMDocument + private function getInputOptionDocument(\RectorPrefix20211130\Symfony\Component\Console\Input\InputOption $option) : \DOMDocument { $dom = new \DOMDocument('1.0', 'UTF-8'); $dom->appendChild($objectXML = $dom->createElement('option')); diff --git a/vendor/symfony/console/Event/ConsoleCommandEvent.php b/vendor/symfony/console/Event/ConsoleCommandEvent.php index dada9f8ca8f..87bb2b058f0 100644 --- a/vendor/symfony/console/Event/ConsoleCommandEvent.php +++ b/vendor/symfony/console/Event/ConsoleCommandEvent.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Event; +namespace RectorPrefix20211130\Symfony\Component\Console\Event; /** * Allows to do things before the command is executed, like skipping the command or changing the input. * * @author Fabien Potencier */ -final class ConsoleCommandEvent extends \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleCommandEvent extends \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent { /** * The return code for skipped commands, this will also be passed into the terminate event. diff --git a/vendor/symfony/console/Event/ConsoleErrorEvent.php b/vendor/symfony/console/Event/ConsoleErrorEvent.php index 73047f5b05d..f4e0353e21e 100644 --- a/vendor/symfony/console/Event/ConsoleErrorEvent.php +++ b/vendor/symfony/console/Event/ConsoleErrorEvent.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Event; +namespace RectorPrefix20211130\Symfony\Component\Console\Event; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Allows to handle throwables thrown while running a command. * * @author Wouter de Jong */ -final class ConsoleErrorEvent extends \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleErrorEvent extends \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent { private $error; private $exitCode; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20211129\Symfony\Component\Console\Command\Command $command = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \Throwable $error, \RectorPrefix20211130\Symfony\Component\Console\Command\Command $command = null) { parent::__construct($command, $input, $output); $this->error = $error; diff --git a/vendor/symfony/console/Event/ConsoleEvent.php b/vendor/symfony/console/Event/ConsoleEvent.php index 4f34144f025..f513d9f8d8b 100644 --- a/vendor/symfony/console/Event/ConsoleEvent.php +++ b/vendor/symfony/console/Event/ConsoleEvent.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Event; +namespace RectorPrefix20211130\Symfony\Component\Console\Event; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Contracts\EventDispatcher\Event; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Contracts\EventDispatcher\Event; /** * Allows to inspect input and output of a command. * * @author Francesco Levorato */ -class ConsoleEvent extends \RectorPrefix20211129\Symfony\Contracts\EventDispatcher\Event +class ConsoleEvent extends \RectorPrefix20211130\Symfony\Contracts\EventDispatcher\Event { protected $command; private $input; private $output; - public function __construct(?\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(?\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $this->command = $command; $this->input = $input; @@ -33,7 +33,7 @@ class ConsoleEvent extends \RectorPrefix20211129\Symfony\Contracts\EventDispatch /** * Gets the command that is executed. * - * @return Command|null A Command instance + * @return Command|null */ public function getCommand() { @@ -42,7 +42,7 @@ class ConsoleEvent extends \RectorPrefix20211129\Symfony\Contracts\EventDispatch /** * Gets the input instance. * - * @return InputInterface An InputInterface instance + * @return InputInterface */ public function getInput() { @@ -51,7 +51,7 @@ class ConsoleEvent extends \RectorPrefix20211129\Symfony\Contracts\EventDispatch /** * Gets the output instance. * - * @return OutputInterface An OutputInterface instance + * @return OutputInterface */ public function getOutput() { diff --git a/vendor/symfony/console/Event/ConsoleSignalEvent.php b/vendor/symfony/console/Event/ConsoleSignalEvent.php index c5c77807d51..859fc15326a 100644 --- a/vendor/symfony/console/Event/ConsoleSignalEvent.php +++ b/vendor/symfony/console/Event/ConsoleSignalEvent.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Event; +namespace RectorPrefix20211130\Symfony\Component\Console\Event; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author marie */ -final class ConsoleSignalEvent extends \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleSignalEvent extends \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent { private $handlingSignal; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, int $handlingSignal) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, int $handlingSignal) { parent::__construct($command, $input, $output); $this->handlingSignal = $handlingSignal; diff --git a/vendor/symfony/console/Event/ConsoleTerminateEvent.php b/vendor/symfony/console/Event/ConsoleTerminateEvent.php index 03e3102d845..d9745c9792e 100644 --- a/vendor/symfony/console/Event/ConsoleTerminateEvent.php +++ b/vendor/symfony/console/Event/ConsoleTerminateEvent.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Event; +namespace RectorPrefix20211130\Symfony\Component\Console\Event; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Allows to manipulate the exit code of a command after its execution. * * @author Francesco Levorato */ -final class ConsoleTerminateEvent extends \RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent +final class ConsoleTerminateEvent extends \RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent { private $exitCode; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, int $exitCode) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, int $exitCode) { parent::__construct($command, $input, $output); $this->setExitCode($exitCode); diff --git a/vendor/symfony/console/EventListener/ErrorListener.php b/vendor/symfony/console/EventListener/ErrorListener.php index 50a7c364fb5..fb2e71f9843 100644 --- a/vendor/symfony/console/EventListener/ErrorListener.php +++ b/vendor/symfony/console/EventListener/ErrorListener.php @@ -8,26 +8,26 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\EventListener; +namespace RectorPrefix20211130\Symfony\Component\Console\EventListener; -use RectorPrefix20211129\Psr\Log\LoggerInterface; -use RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent; -use RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent; -use RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface; +use RectorPrefix20211130\Psr\Log\LoggerInterface; +use RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent; +use RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent; +use RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface; /** * @author James Halsall * @author Robin Chalas */ -class ErrorListener implements \RectorPrefix20211129\Symfony\Component\EventDispatcher\EventSubscriberInterface +class ErrorListener implements \RectorPrefix20211130\Symfony\Component\EventDispatcher\EventSubscriberInterface { private $logger; - public function __construct(\RectorPrefix20211129\Psr\Log\LoggerInterface $logger = null) + public function __construct(\RectorPrefix20211130\Psr\Log\LoggerInterface $logger = null) { $this->logger = $logger; } - public function onConsoleError(\RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleErrorEvent $event) + public function onConsoleError(\RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleErrorEvent $event) { if (null === $this->logger) { return; @@ -39,7 +39,7 @@ class ErrorListener implements \RectorPrefix20211129\Symfony\Component\EventDisp } $this->logger->critical('Error thrown while running command "{command}". Message: "{message}"', ['exception' => $error, 'command' => $inputString, 'message' => $error->getMessage()]); } - public function onConsoleTerminate(\RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleTerminateEvent $event) + public function onConsoleTerminate(\RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleTerminateEvent $event) { if (null === $this->logger) { return; @@ -56,9 +56,9 @@ class ErrorListener implements \RectorPrefix20211129\Symfony\Component\EventDisp } public static function getSubscribedEvents() { - return [\RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20211129\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]]; + return [\RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::ERROR => ['onConsoleError', -128], \RectorPrefix20211130\Symfony\Component\Console\ConsoleEvents::TERMINATE => ['onConsoleTerminate', -128]]; } - private static function getInputString(\RectorPrefix20211129\Symfony\Component\Console\Event\ConsoleEvent $event) : ?string + private static function getInputString(\RectorPrefix20211130\Symfony\Component\Console\Event\ConsoleEvent $event) : ?string { $commandName = $event->getCommand() ? $event->getCommand()->getName() : null; $input = $event->getInput(); diff --git a/vendor/symfony/console/Exception/CommandNotFoundException.php b/vendor/symfony/console/Exception/CommandNotFoundException.php index 5615f04101f..3bd990a83a1 100644 --- a/vendor/symfony/console/Exception/CommandNotFoundException.php +++ b/vendor/symfony/console/Exception/CommandNotFoundException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * Represents an incorrect command name typed in the console. * * @author Jérôme Tamarelle */ -class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class CommandNotFoundException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { private $alternatives; /** @@ -30,7 +30,7 @@ class CommandNotFoundException extends \InvalidArgumentException implements \Rec $this->alternatives = $alternatives; } /** - * @return string[] A list of similar defined names + * @return string[] */ public function getAlternatives() { diff --git a/vendor/symfony/console/Exception/ExceptionInterface.php b/vendor/symfony/console/Exception/ExceptionInterface.php index 2e8390ee102..a8a1902a980 100644 --- a/vendor/symfony/console/Exception/ExceptionInterface.php +++ b/vendor/symfony/console/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * ExceptionInterface. diff --git a/vendor/symfony/console/Exception/InvalidArgumentException.php b/vendor/symfony/console/Exception/InvalidArgumentException.php index 1547e2d2437..e132bbd68c9 100644 --- a/vendor/symfony/console/Exception/InvalidArgumentException.php +++ b/vendor/symfony/console/Exception/InvalidArgumentException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/InvalidOptionException.php b/vendor/symfony/console/Exception/InvalidOptionException.php index 85636082e22..e9428496fd9 100644 --- a/vendor/symfony/console/Exception/InvalidOptionException.php +++ b/vendor/symfony/console/Exception/InvalidOptionException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * Represents an incorrect option name typed in the console. * * @author Jérôme Tamarelle */ -class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class InvalidOptionException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/LogicException.php b/vendor/symfony/console/Exception/LogicException.php index 536e4f3da2b..a91eceec4c4 100644 --- a/vendor/symfony/console/Exception/LogicException.php +++ b/vendor/symfony/console/Exception/LogicException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class LogicException extends \LogicException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/MissingInputException.php b/vendor/symfony/console/Exception/MissingInputException.php index 086275cd7a3..e5fec0ce78b 100644 --- a/vendor/symfony/console/Exception/MissingInputException.php +++ b/vendor/symfony/console/Exception/MissingInputException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * Represents failure to read input from stdin. * * @author Gabriel Ostrolucký */ -class MissingInputException extends \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class MissingInputException extends \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Exception/NamespaceNotFoundException.php b/vendor/symfony/console/Exception/NamespaceNotFoundException.php index a804b6e7962..d58dcaba136 100644 --- a/vendor/symfony/console/Exception/NamespaceNotFoundException.php +++ b/vendor/symfony/console/Exception/NamespaceNotFoundException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * Represents an incorrect namespace typed in the console. * * @author Pierre du Plessis */ -class NamespaceNotFoundException extends \RectorPrefix20211129\Symfony\Component\Console\Exception\CommandNotFoundException +class NamespaceNotFoundException extends \RectorPrefix20211130\Symfony\Component\Console\Exception\CommandNotFoundException { } diff --git a/vendor/symfony/console/Exception/RuntimeException.php b/vendor/symfony/console/Exception/RuntimeException.php index 1bc34b6e307..eb38f5ab6e0 100644 --- a/vendor/symfony/console/Exception/RuntimeException.php +++ b/vendor/symfony/console/Exception/RuntimeException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Exception; +namespace RectorPrefix20211130\Symfony\Component\Console\Exception; /** * @author Jérôme Tamarelle */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\Console\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\Console\Exception\ExceptionInterface { } diff --git a/vendor/symfony/console/Formatter/NullOutputFormatter.php b/vendor/symfony/console/Formatter/NullOutputFormatter.php index af8aa498786..727b9acceee 100644 --- a/vendor/symfony/console/Formatter/NullOutputFormatter.php +++ b/vendor/symfony/console/Formatter/NullOutputFormatter.php @@ -8,33 +8,30 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; /** * @author Tien Xuan Vo */ -final class NullOutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface +final class NullOutputFormatter implements \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface { private $style; /** * {@inheritdoc} * @param string|null $message */ - public function format($message) : void + public function format($message) : ?string { - // do nothing + return null; } /** * {@inheritdoc} * @param string $name */ - public function getStyle($name) : \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + public function getStyle($name) : \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { - if ($this->style) { - return $this->style; - } // to comply with the interface we must return a OutputFormatterStyleInterface - return $this->style = new \RectorPrefix20211129\Symfony\Component\Console\Formatter\NullOutputFormatterStyle(); + return $this->style ?? ($this->style = new \RectorPrefix20211130\Symfony\Component\Console\Formatter\NullOutputFormatterStyle()); } /** * {@inheritdoc} diff --git a/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php b/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php index 670bf426d1d..1dc2e947fc4 100644 --- a/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php +++ b/vendor/symfony/console/Formatter/NullOutputFormatterStyle.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; /** * @author Tien Xuan Vo */ -final class NullOutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface +final class NullOutputFormatterStyle implements \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { /** * {@inheritdoc} diff --git a/vendor/symfony/console/Formatter/OutputFormatter.php b/vendor/symfony/console/Formatter/OutputFormatter.php index da3e01183ee..a0501e096d9 100644 --- a/vendor/symfony/console/Formatter/OutputFormatter.php +++ b/vendor/symfony/console/Formatter/OutputFormatter.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * Formatter class for console output. * * @author Konstantin Kudryashov * @author Roland Franssen */ -class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface +class OutputFormatter implements \RectorPrefix20211130\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface { private $decorated; private $styles = []; @@ -32,7 +32,7 @@ class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console /** * Escapes "<" special char in given text. * - * @return string Escaped text + * @return string * @param string $text */ public static function escape($text) @@ -64,14 +64,14 @@ class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console public function __construct(bool $decorated = \false, array $styles = []) { $this->decorated = $decorated; - $this->setStyle('error', new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red')); - $this->setStyle('info', new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle('green')); - $this->setStyle('comment', new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow')); - $this->setStyle('question', new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan')); + $this->setStyle('error', new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle('white', 'red')); + $this->setStyle('info', new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle('green')); + $this->setStyle('comment', new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle('yellow')); + $this->setStyle('question', new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'cyan')); foreach ($styles as $name => $style) { $this->setStyle($name, $style); } - $this->styleStack = new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleStack(); + $this->styleStack = new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleStack(); } /** * {@inheritdoc} @@ -112,7 +112,7 @@ class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console public function getStyle($name) { if (!$this->hasStyle($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Undefined style: "%s".', $name)); } return $this->styles[\strtolower($name)]; } @@ -178,7 +178,7 @@ class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console /** * Tries to create new style instance from string. */ - private function createStyleFromString(string $string) : ?\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface + private function createStyleFromString(string $string) : ?\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { if (isset($this->styles[$string])) { return $this->styles[$string]; @@ -186,7 +186,7 @@ class OutputFormatter implements \RectorPrefix20211129\Symfony\Component\Console if (!\preg_match_all('/([^=]+)=([^;]+)(;|$)/', $string, $matches, \PREG_SET_ORDER)) { return null; } - $style = new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle(); + $style = new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle(); foreach ($matches as $match) { \array_shift($match); $match[0] = \strtolower($match[0]); diff --git a/vendor/symfony/console/Formatter/OutputFormatterInterface.php b/vendor/symfony/console/Formatter/OutputFormatterInterface.php index 14fe384b23e..1a7e63ba0b8 100644 --- a/vendor/symfony/console/Formatter/OutputFormatterInterface.php +++ b/vendor/symfony/console/Formatter/OutputFormatterInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; /** * Formatter interface for console output. @@ -23,9 +23,9 @@ interface OutputFormatterInterface */ public function setDecorated($decorated); /** - * Gets the decorated flag. + * Whether the output will decorate messages. * - * @return bool true if the output will decorate messages, false otherwise + * @return bool */ public function isDecorated(); /** @@ -52,6 +52,8 @@ interface OutputFormatterInterface public function getStyle($name); /** * Formats a message according to the given styles. + * + * @return string|null * @param string|null $message */ public function format($message); diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyle.php b/vendor/symfony/console/Formatter/OutputFormatterStyle.php index b33a16f464e..0ed87229aeb 100644 --- a/vendor/symfony/console/Formatter/OutputFormatterStyle.php +++ b/vendor/symfony/console/Formatter/OutputFormatterStyle.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; -use RectorPrefix20211129\Symfony\Component\Console\Color; +use RectorPrefix20211130\Symfony\Component\Console\Color; /** * Formatter style class for defining styles. * * @author Konstantin Kudryashov */ -class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface +class OutputFormatterStyle implements \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface { private $color; private $foreground; @@ -32,7 +32,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co */ public function __construct(string $foreground = null, string $background = null, array $options = []) { - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground = $foreground ?: '', $this->background = $background ?: '', $this->options = $options); } /** * {@inheritdoc} @@ -40,7 +40,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co */ public function setForeground($color = null) { - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground = $color ?: '', $this->background, $this->options); } /** * {@inheritdoc} @@ -48,7 +48,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co */ public function setBackground($color = null) { - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground, $this->background = $color ?: '', $this->options); } /** * @param string $url @@ -64,7 +64,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co public function setOption($option) { $this->options[] = $option; - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); } /** * {@inheritdoc} @@ -76,7 +76,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co if (\false !== $pos) { unset($this->options[$pos]); } - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options); } /** * {@inheritdoc} @@ -84,7 +84,7 @@ class OutputFormatterStyle implements \RectorPrefix20211129\Symfony\Component\Co */ public function setOptions($options) { - $this->color = new \RectorPrefix20211129\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options = $options); + $this->color = new \RectorPrefix20211130\Symfony\Component\Console\Color($this->foreground, $this->background, $this->options = $options); } /** * {@inheritdoc} diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php b/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php index 98abee17a05..dac2eaeab09 100644 --- a/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php +++ b/vendor/symfony/console/Formatter/OutputFormatterStyleInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; /** * Formatter style interface for defining styles. diff --git a/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php b/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php index 65b850260f9..6f15f107849 100644 --- a/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php +++ b/vendor/symfony/console/Formatter/OutputFormatterStyleStack.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface; /** * @author Jean-François Simon */ -class OutputFormatterStyleStack implements \RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface +class OutputFormatterStyleStack implements \RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface { /** * @var OutputFormatterStyleInterface[] */ private $styles; private $emptyStyle; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyleInterface $emptyStyle = null) { - $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle(); + $this->emptyStyle = $emptyStyle ?? new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle(); $this->reset(); } /** @@ -64,7 +64,7 @@ class OutputFormatterStyleStack implements \RectorPrefix20211129\Symfony\Contrac return $stackedStyle; } } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Incorrectly nested style tag found.'); } /** * Computes current style with stacks top codes. diff --git a/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php b/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php index b176c927aef..705929a7a34 100644 --- a/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php +++ b/vendor/symfony/console/Formatter/WrappableOutputFormatterInterface.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Formatter; +namespace RectorPrefix20211130\Symfony\Component\Console\Formatter; /** * Formatter interface for console output that supports word wrapping. * * @author Roland Franssen */ -interface WrappableOutputFormatterInterface extends \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface +interface WrappableOutputFormatterInterface extends \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface { /** * Formats a message according to the given styles, wrapping at `$width` (0 means no wrapping). diff --git a/vendor/symfony/console/Helper/DebugFormatterHelper.php b/vendor/symfony/console/Helper/DebugFormatterHelper.php index 81b72249b7b..ee67cb0e3c3 100644 --- a/vendor/symfony/console/Helper/DebugFormatterHelper.php +++ b/vendor/symfony/console/Helper/DebugFormatterHelper.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; /** * Helps outputting debug information when running an external program from a command. @@ -17,9 +17,9 @@ namespace RectorPrefix20211129\Symfony\Component\Console\Helper; * * @author Fabien Potencier */ -class DebugFormatterHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper +class DebugFormatterHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper { - private $colors = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'default']; + private const COLORS = ['black', 'red', 'green', 'yellow', 'blue', 'magenta', 'cyan', 'white', 'default']; private $started = []; private $count = -1; /** @@ -32,7 +32,7 @@ class DebugFormatterHelper extends \RectorPrefix20211129\Symfony\Component\Conso */ public function start($id, $message, $prefix = 'RUN') { - $this->started[$id] = ['border' => ++$this->count % \count($this->colors)]; + $this->started[$id] = ['border' => ++$this->count % \count(self::COLORS)]; return \sprintf("%s %s %s\n", $this->getBorder($id), $prefix, $message); } /** @@ -92,7 +92,7 @@ class DebugFormatterHelper extends \RectorPrefix20211129\Symfony\Component\Conso } private function getBorder(string $id) : string { - return \sprintf(' ', $this->colors[$this->started[$id]['border']]); + return \sprintf(' ', self::COLORS[$this->started[$id]['border']]); } /** * {@inheritdoc} diff --git a/vendor/symfony/console/Helper/DescriptorHelper.php b/vendor/symfony/console/Helper/DescriptorHelper.php index 82674ac8311..753e3c8e1dd 100644 --- a/vendor/symfony/console/Helper/DescriptorHelper.php +++ b/vendor/symfony/console/Helper/DescriptorHelper.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Descriptor\DescriptorInterface; -use RectorPrefix20211129\Symfony\Component\Console\Descriptor\JsonDescriptor; -use RectorPrefix20211129\Symfony\Component\Console\Descriptor\MarkdownDescriptor; -use RectorPrefix20211129\Symfony\Component\Console\Descriptor\TextDescriptor; -use RectorPrefix20211129\Symfony\Component\Console\Descriptor\XmlDescriptor; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\DescriptorInterface; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\JsonDescriptor; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\MarkdownDescriptor; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\TextDescriptor; +use RectorPrefix20211130\Symfony\Component\Console\Descriptor\XmlDescriptor; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * This class adds helper method to describe objects in various formats. * * @author Jean-François Simon */ -class DescriptorHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper +class DescriptorHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper { /** * @var DescriptorInterface[] @@ -30,7 +30,7 @@ class DescriptorHelper extends \RectorPrefix20211129\Symfony\Component\Console\H private $descriptors = []; public function __construct() { - $this->register('txt', new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20211129\Symfony\Component\Console\Descriptor\MarkdownDescriptor()); + $this->register('txt', new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\TextDescriptor())->register('xml', new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\XmlDescriptor())->register('json', new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\JsonDescriptor())->register('md', new \RectorPrefix20211130\Symfony\Component\Console\Descriptor\MarkdownDescriptor()); } /** * Describes an object if supported. @@ -48,7 +48,7 @@ class DescriptorHelper extends \RectorPrefix20211129\Symfony\Component\Console\H { $options = \array_merge(['raw_text' => \false, 'format' => 'txt'], $options); if (!isset($this->descriptors[$options['format']])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format'])); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Unsupported format "%s".', $options['format'])); } $descriptor = $this->descriptors[$options['format']]; $descriptor->describe($output, $object, $options); @@ -72,4 +72,8 @@ class DescriptorHelper extends \RectorPrefix20211129\Symfony\Component\Console\H { return 'descriptor'; } + public function getFormats() : array + { + return \array_keys($this->descriptors); + } } diff --git a/vendor/symfony/console/Helper/Dumper.php b/vendor/symfony/console/Helper/Dumper.php index 003a59c2404..d4fec5fdb88 100644 --- a/vendor/symfony/console/Helper/Dumper.php +++ b/vendor/symfony/console/Helper/Dumper.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\VarDumper\Cloner\ClonerInterface; -use RectorPrefix20211129\Symfony\Component\VarDumper\Cloner\VarCloner; -use RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\VarDumper\Cloner\ClonerInterface; +use RectorPrefix20211130\Symfony\Component\VarDumper\Cloner\VarCloner; +use RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper; /** * @author Roland Franssen */ @@ -23,16 +23,16 @@ final class Dumper private $dumper; private $cloner; private $handler; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20211129\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper $dumper = null, \RectorPrefix20211130\Symfony\Component\VarDumper\Cloner\ClonerInterface $cloner = null) { $this->output = $output; $this->dumper = $dumper; $this->cloner = $cloner; - if (\class_exists(\RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper::class)) { + if (\class_exists(\RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper::class)) { $this->handler = function ($var) : string { - $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20211129\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR)); + $dumper = $this->dumper ?? ($this->dumper = new \RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper(null, null, \RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_LIGHT_ARRAY | \RectorPrefix20211130\Symfony\Component\VarDumper\Dumper\CliDumper::DUMP_COMMA_SEPARATOR)); $dumper->setColors($this->output->isDecorated()); - return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20211129\Symfony\Component\VarDumper\Cloner\VarCloner()))->cloneVar($var)->withRefHandles(\false), \true)); + return \rtrim($dumper->dump(($this->cloner ?? ($this->cloner = new \RectorPrefix20211130\Symfony\Component\VarDumper\Cloner\VarCloner()))->cloneVar($var)->withRefHandles(\false), \true)); }; } else { $this->handler = function ($var) : string { diff --git a/vendor/symfony/console/Helper/FormatterHelper.php b/vendor/symfony/console/Helper/FormatterHelper.php index 4bc0d4d3d3c..af17487321c 100644 --- a/vendor/symfony/console/Helper/FormatterHelper.php +++ b/vendor/symfony/console/Helper/FormatterHelper.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; /** * The Formatter class provides helpers to format messages. * * @author Fabien Potencier */ -class FormatterHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper +class FormatterHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper { /** * Formats a message within a section. * - * @return string The format section + * @return string * @param string $section * @param string $message * @param string $style @@ -35,7 +35,7 @@ class FormatterHelper extends \RectorPrefix20211129\Symfony\Component\Console\He * * @param string|array $messages The message to write in the block * - * @return string The formatter message + * @return string * @param string $style * @param bool $large */ @@ -47,7 +47,7 @@ class FormatterHelper extends \RectorPrefix20211129\Symfony\Component\Console\He $len = 0; $lines = []; foreach ($messages as $message) { - $message = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); + $message = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); $lines[] = \sprintf($large ? ' %s ' : ' %s ', $message); $len = \max(self::width($message) + ($large ? 4 : 2), $len); } diff --git a/vendor/symfony/console/Helper/Helper.php b/vendor/symfony/console/Helper/Helper.php index 97914153f6e..a8ca00da011 100644 --- a/vendor/symfony/console/Helper/Helper.php +++ b/vendor/symfony/console/Helper/Helper.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20211129\Symfony\Component\String\UnicodeString; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\String\UnicodeString; /** * Helper is the base class for all helper classes. * * @author Fabien Potencier */ -abstract class Helper implements \RectorPrefix20211129\Symfony\Component\Console\Helper\HelperInterface +abstract class Helper implements \RectorPrefix20211130\Symfony\Component\Console\Helper\HelperInterface { protected $helperSet = null; /** @@ -40,7 +40,7 @@ abstract class Helper implements \RectorPrefix20211129\Symfony\Component\Console * * @deprecated since Symfony 5.3 * - * @return int The length of the string + * @return int * @param string|null $string */ public static function strlen($string) @@ -57,7 +57,7 @@ abstract class Helper implements \RectorPrefix20211129\Symfony\Component\Console { $string ?? ($string = ''); if (\preg_match('//u', $string)) { - return (new \RectorPrefix20211129\Symfony\Component\String\UnicodeString($string))->width(\false); + return (new \RectorPrefix20211130\Symfony\Component\String\UnicodeString($string))->width(\false); } if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) { return \strlen($string); @@ -73,7 +73,7 @@ abstract class Helper implements \RectorPrefix20211129\Symfony\Component\Console { $string ?? ($string = ''); if (\preg_match('//u', $string)) { - return (new \RectorPrefix20211129\Symfony\Component\String\UnicodeString($string))->length(); + return (new \RectorPrefix20211130\Symfony\Component\String\UnicodeString($string))->length(); } if (\false === ($encoding = \mb_detect_encoding($string, null, \true))) { return \strlen($string); @@ -83,7 +83,7 @@ abstract class Helper implements \RectorPrefix20211129\Symfony\Component\Console /** * Returns the subset of a string, using mb_substr if it is available. * - * @return string The string subset + * @return string * @param string|null $string * @param int $from * @param int|null $length diff --git a/vendor/symfony/console/Helper/HelperInterface.php b/vendor/symfony/console/Helper/HelperInterface.php index d47c8e08a32..004200dc14a 100644 --- a/vendor/symfony/console/Helper/HelperInterface.php +++ b/vendor/symfony/console/Helper/HelperInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; /** * HelperInterface is the interface all helpers must implement. @@ -25,13 +25,13 @@ interface HelperInterface /** * Gets the helper set associated with this helper. * - * @return HelperSet A HelperSet instance + * @return HelperSet|null */ public function getHelperSet(); /** * Returns the canonical name of this helper. * - * @return string The canonical name + * @return string */ public function getName(); } diff --git a/vendor/symfony/console/Helper/HelperSet.php b/vendor/symfony/console/Helper/HelperSet.php index 2b4ad6742e2..c1e2ad39459 100644 --- a/vendor/symfony/console/Helper/HelperSet.php +++ b/vendor/symfony/console/Helper/HelperSet.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * HelperSet represents a set of helpers to be used with a command. * * @author Fabien Potencier + * + * @implements \IteratorAggregate */ class HelperSet implements \IteratorAggregate { - /** - * @var Helper[] - */ + /** @var array */ private $helpers = []; private $command; /** @@ -48,7 +48,7 @@ class HelperSet implements \IteratorAggregate /** * Returns true if the helper if defined. * - * @return bool true if the helper is defined, false otherwise + * @return bool * @param string $name */ public function has($name) @@ -58,7 +58,7 @@ class HelperSet implements \IteratorAggregate /** * Gets a helper value. * - * @return HelperInterface The helper instance + * @return HelperInterface * * @throws InvalidArgumentException if the helper is not defined * @param string $name @@ -66,28 +66,33 @@ class HelperSet implements \IteratorAggregate public function get($name) { if (!$this->has($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The helper "%s" is not defined.', $name)); } return $this->helpers[$name]; } /** + * @deprecated since Symfony 5.4 * @param \Symfony\Component\Console\Command\Command|null $command */ public function setCommand($command = null) { + trigger_deprecation('symfony/console', '5.4', 'Method "%s()" is deprecated.', __METHOD__); $this->command = $command; } /** * Gets the command associated with this helper set. * - * @return Command A Command instance + * @return Command + * + * @deprecated since Symfony 5.4 */ public function getCommand() { + trigger_deprecation('symfony/console', '5.4', 'Method "%s()" is deprecated.', __METHOD__); return $this->command; } /** - * @return \Traversable + * @return \Traversable */ #[\ReturnTypeWillChange] public function getIterator() diff --git a/vendor/symfony/console/Helper/InputAwareHelper.php b/vendor/symfony/console/Helper/InputAwareHelper.php index 39062d5c31e..68d6b50d227 100644 --- a/vendor/symfony/console/Helper/InputAwareHelper.php +++ b/vendor/symfony/console/Helper/InputAwareHelper.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputAwareInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputAwareInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; /** * An implementation of InputAwareInterface for Helpers. * * @author Wouter J */ -abstract class InputAwareHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20211129\Symfony\Component\Console\Input\InputAwareInterface +abstract class InputAwareHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper implements \RectorPrefix20211130\Symfony\Component\Console\Input\InputAwareInterface { protected $input; /** diff --git a/vendor/symfony/console/Helper/ProcessHelper.php b/vendor/symfony/console/Helper/ProcessHelper.php index 15b4b982e3a..d137463062b 100644 --- a/vendor/symfony/console/Helper/ProcessHelper.php +++ b/vendor/symfony/console/Helper/ProcessHelper.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessFailedException; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessFailedException; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * The ProcessHelper class provides helpers to run external processes. * @@ -21,7 +21,7 @@ use RectorPrefix20211129\Symfony\Component\Process\Process; * * @final */ -class ProcessHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper +class ProcessHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper { /** * Runs an external process. @@ -30,30 +30,30 @@ class ProcessHelper extends \RectorPrefix20211129\Symfony\Component\Console\Help * @param callable|null $callback A PHP callback to run whenever there is some * output available on STDOUT or STDERR * - * @return Process The process that ran + * @return Process * @param \Symfony\Component\Console\Output\OutputInterface $output * @param string|null $error * @param int $verbosity */ - public function run($output, $cmd, $error = null, $callback = null, $verbosity = \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20211129\Symfony\Component\Process\Process + public function run($output, $cmd, $error = null, $callback = null, $verbosity = \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE) : \RectorPrefix20211130\Symfony\Component\Process\Process { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Process\Process::class)) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Process\Process::class)) { throw new \LogicException('The ProcessHelper cannot be run as the Process component is not installed. Try running "compose require symfony/process".'); } - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $formatter = $this->getHelperSet()->get('debug_formatter'); - if ($cmd instanceof \RectorPrefix20211129\Symfony\Component\Process\Process) { + if ($cmd instanceof \RectorPrefix20211130\Symfony\Component\Process\Process) { $cmd = [$cmd]; } if (!\is_array($cmd)) { - throw new \TypeError(\sprintf('The "command" argument of "%s()" must be an array or a "%s" instance, "%s" given.', __METHOD__, \RectorPrefix20211129\Symfony\Component\Process\Process::class, \get_debug_type($cmd))); + throw new \TypeError(\sprintf('The "command" argument of "%s()" must be an array or a "%s" instance, "%s" given.', __METHOD__, \RectorPrefix20211130\Symfony\Component\Process\Process::class, \get_debug_type($cmd))); } if (\is_string($cmd[0] ?? null)) { - $process = new \RectorPrefix20211129\Symfony\Component\Process\Process($cmd); + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process($cmd); $cmd = []; - } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20211129\Symfony\Component\Process\Process) { + } elseif (($cmd[0] ?? null) instanceof \RectorPrefix20211130\Symfony\Component\Process\Process) { $process = $cmd[0]; unset($cmd[0]); } else { @@ -85,7 +85,7 @@ class ProcessHelper extends \RectorPrefix20211129\Symfony\Component\Console\Help * @param callable|null $callback A PHP callback to run whenever there is some * output available on STDOUT or STDERR * - * @return Process The process that ran + * @return Process * * @throws ProcessFailedException * @@ -93,11 +93,11 @@ class ProcessHelper extends \RectorPrefix20211129\Symfony\Component\Console\Help * @param \Symfony\Component\Console\Output\OutputInterface $output * @param string|null $error */ - public function mustRun($output, $cmd, $error = null, $callback = null) : \RectorPrefix20211129\Symfony\Component\Process\Process + public function mustRun($output, $cmd, $error = null, $callback = null) : \RectorPrefix20211130\Symfony\Component\Process\Process { $process = $this->run($output, $cmd, $error, $callback); if (!$process->isSuccessful()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessFailedException($process); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessFailedException($process); } return $process; } @@ -109,12 +109,12 @@ class ProcessHelper extends \RectorPrefix20211129\Symfony\Component\Console\Help */ public function wrapCallback($output, $process, $callback = null) : callable { - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $formatter = $this->getHelperSet()->get('debug_formatter'); return function ($type, $buffer) use($output, $process, $callback, $formatter) { - $output->write($formatter->progress(\spl_object_hash($process), $this->escapeString($buffer), \RectorPrefix20211129\Symfony\Component\Process\Process::ERR === $type)); + $output->write($formatter->progress(\spl_object_hash($process), $this->escapeString($buffer), \RectorPrefix20211130\Symfony\Component\Process\Process::ERR === $type)); if (null !== $callback) { $callback($type, $buffer); } diff --git a/vendor/symfony/console/Helper/ProgressBar.php b/vendor/symfony/console/Helper/ProgressBar.php index d087adebc48..f86af6e9f48 100644 --- a/vendor/symfony/console/Helper/ProgressBar.php +++ b/vendor/symfony/console/Helper/ProgressBar.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Cursor; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Terminal; +use RectorPrefix20211130\Symfony\Component\Console\Cursor; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Terminal; /** * The ProgressBar provides helpers to display progress output. * @@ -60,14 +60,14 @@ final class ProgressBar /** * @param int $max Maximum steps (0 if unknown) */ - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, int $max = 0, float $minSecondsBetweenRedraws = 1 / 25) { - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $this->output = $output; $this->setMaxSteps($max); - $this->terminal = new \RectorPrefix20211129\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20211130\Symfony\Component\Console\Terminal(); if (0 < $minSecondsBetweenRedraws) { $this->redrawFreq = null; $this->minSecondsBetweenRedraws = $minSecondsBetweenRedraws; @@ -79,7 +79,7 @@ final class ProgressBar $this->redrawFreq = null; } $this->startTime = \time(); - $this->cursor = new \RectorPrefix20211129\Symfony\Component\Console\Cursor($output); + $this->cursor = new \RectorPrefix20211130\Symfony\Component\Console\Cursor($output); } /** * Sets a placeholder formatter for a given name. @@ -100,8 +100,6 @@ final class ProgressBar * Gets the placeholder formatter for a given name. * * @param string $name The placeholder name (including the delimiter char like %) - * - * @return callable|null A PHP callable */ public static function getPlaceholderFormatterDefinition(string $name) : ?callable { @@ -129,8 +127,6 @@ final class ProgressBar * Gets the format for a given name. * * @param string $name The format name - * - * @return string|null A format string */ public static function getFormatDefinition(string $name) : ?string { @@ -209,10 +205,7 @@ final class ProgressBar } public function getBarCharacter() : string { - if (null === $this->barChar) { - return $this->max ? '=' : $this->emptyBarChar; - } - return $this->barChar; + return $this->barChar ?? ($this->max ? '=' : $this->emptyBarChar); } public function setEmptyBarCharacter(string $char) { @@ -328,7 +321,7 @@ final class ProgressBar { $this->format = null; $this->max = \max(0, $max); - $this->stepWidth = $this->max ? \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4; + $this->stepWidth = $this->max ? \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width((string) $this->max) : 4; } /** * Finishes the progress output. @@ -349,7 +342,7 @@ final class ProgressBar */ public function display() : void { - if (\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { + if (\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { return; } if (null === $this->format) { @@ -397,11 +390,11 @@ final class ProgressBar $originalMessage = $message; if ($this->overwrite) { if (null !== $this->previousMessage) { - if ($this->output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput) { + if ($this->output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput) { $messageLines = \explode("\n", $message); $lineCount = \count($messageLines); foreach ($messageLines as $messageLine) { - $messageLineLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine)); + $messageLineLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $messageLine)); if ($messageLineLength > $this->terminal->getWidth()) { $lineCount += \floor($messageLineLength / $this->terminal->getWidth()); } @@ -429,11 +422,11 @@ final class ProgressBar { switch ($this->output->getVerbosity()) { // OutputInterface::VERBOSITY_QUIET: display is disabled anyway - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: return $this->max ? self::FORMAT_VERBOSE : self::FORMAT_VERBOSE_NOMAX; - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: return $this->max ? self::FORMAT_VERY_VERBOSE : self::FORMAT_VERY_VERBOSE_NOMAX; - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: return $this->max ? self::FORMAT_DEBUG : self::FORMAT_DEBUG_NOMAX; default: return $this->max ? self::FORMAT_NORMAL : self::FORMAT_NORMAL_NOMAX; @@ -441,28 +434,28 @@ final class ProgressBar } private static function initPlaceholderFormatters() : array { - return ['bar' => function (self $bar, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) { + return ['bar' => function (self $bar, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $completeBars = $bar->getBarOffset(); $display = \str_repeat($bar->getBarCharacter(), $completeBars); if ($completeBars < $bar->getBarWidth()) { - $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($output->getFormatter(), $bar->getProgressCharacter())); + $emptyBars = $bar->getBarWidth() - $completeBars - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($output->getFormatter(), $bar->getProgressCharacter())); $display .= $bar->getProgressCharacter() . \str_repeat($bar->getEmptyBarCharacter(), $emptyBars); } return $display; }, 'elapsed' => function (self $bar) { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime()); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $bar->getStartTime()); }, 'remaining' => function (self $bar) { if (!$bar->getMaxSteps()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Unable to display the remaining time if the maximum number of steps is not set.'); } - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining()); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatTime($bar->getRemaining()); }, 'estimated' => function (self $bar) { if (!$bar->getMaxSteps()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Unable to display the estimated time if the maximum number of steps is not set.'); } - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated()); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatTime($bar->getEstimated()); }, 'memory' => function (self $bar) { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); }, 'current' => function (self $bar) { return \str_pad($bar->getProgress(), $bar->getStepWidth(), ' ', \STR_PAD_LEFT); }, 'max' => function (self $bar) { @@ -494,7 +487,7 @@ final class ProgressBar $line = \preg_replace_callback($regex, $callback, $this->format); // gets string length for each sub line with multiline format $linesLength = \array_map(function ($subLine) { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), \rtrim($subLine, "\r"))); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), \rtrim($subLine, "\r"))); }, \explode("\n", $line)); $linesWidth = \max($linesLength); $terminalWidth = $this->terminal->getWidth(); diff --git a/vendor/symfony/console/Helper/ProgressIndicator.php b/vendor/symfony/console/Helper/ProgressIndicator.php index cf073dcc987..fe69ec704ec 100644 --- a/vendor/symfony/console/Helper/ProgressIndicator.php +++ b/vendor/symfony/console/Helper/ProgressIndicator.php @@ -8,16 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author Kevin Bond */ class ProgressIndicator { + private const FORMATS = ['normal' => ' %indicator% %message%', 'normal_no_ansi' => ' %message%', 'verbose' => ' %indicator% %message% (%elapsed:6s%)', 'verbose_no_ansi' => ' %message% (%elapsed:6s%)', 'very_verbose' => ' %indicator% %message% (%elapsed:6s%, %memory:6s%)', 'very_verbose_no_ansi' => ' %message% (%elapsed:6s%, %memory:6s%)']; private $output; private $startTime; private $format; @@ -27,13 +28,15 @@ class ProgressIndicator private $indicatorChangeInterval; private $indicatorUpdateTime; private $started = \false; + /** + * @var array + */ private static $formatters; - private static $formats; /** * @param int $indicatorChangeInterval Change interval in milliseconds * @param array|null $indicatorValues Animated indicator characters */ - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, string $format = null, int $indicatorChangeInterval = 100, array $indicatorValues = null) { $this->output = $output; if (null === $format) { @@ -44,7 +47,7 @@ class ProgressIndicator } $indicatorValues = \array_values($indicatorValues); if (2 > \count($indicatorValues)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Must have at least 2 indicator value characters.'); } $this->format = self::getFormatDefinition($format); $this->indicatorChangeInterval = $indicatorChangeInterval; @@ -67,7 +70,7 @@ class ProgressIndicator public function start($message) { if ($this->started) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Progress indicator already started.'); } $this->message = $message; $this->started = \true; @@ -82,7 +85,7 @@ class ProgressIndicator public function advance() { if (!$this->started) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); } if (!$this->output->isDecorated()) { return; @@ -103,7 +106,7 @@ class ProgressIndicator public function finish($message) { if (!$this->started) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Progress indicator has not yet been started.'); } $this->message = $message; $this->display(); @@ -113,15 +116,12 @@ class ProgressIndicator /** * Gets the format for a given name. * - * @return string|null A format string + * @return string|null * @param string $name */ public static function getFormatDefinition($name) { - if (!self::$formats) { - self::$formats = self::initFormats(); - } - return self::$formats[$name] ?? null; + return self::FORMATS[$name] ?? null; } /** * Sets a placeholder formatter for a given name. @@ -140,7 +140,7 @@ class ProgressIndicator /** * Gets the placeholder formatter for a given name (including the delimiter char like %). * - * @return callable|null A PHP callable + * @return callable|null * @param string $name */ public static function getPlaceholderFormatterDefinition($name) @@ -152,7 +152,7 @@ class ProgressIndicator } private function display() { - if (\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { + if (\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET === $this->output->getVerbosity()) { return; } $this->overwrite(\preg_replace_callback("{%([a-z\\-_]+)(?:\\:([^%]+))?%}i", function ($matches) { @@ -166,10 +166,10 @@ class ProgressIndicator { switch ($this->output->getVerbosity()) { // OutputInterface::VERBOSITY_QUIET: display is disabled anyway - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE: return $this->output->isDecorated() ? 'verbose' : 'verbose_no_ansi'; - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG: return $this->output->isDecorated() ? 'very_verbose' : 'very_verbose_no_ansi'; default: return $this->output->isDecorated() ? 'normal' : 'normal_no_ansi'; @@ -198,13 +198,9 @@ class ProgressIndicator }, 'message' => function (self $indicator) { return $indicator->message; }, 'elapsed' => function (self $indicator) { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatTime(\time() - $indicator->startTime); }, 'memory' => function () { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::formatMemory(\memory_get_usage(\true)); }]; } - private static function initFormats() : array - { - return ['normal' => ' %indicator% %message%', 'normal_no_ansi' => ' %message%', 'verbose' => ' %indicator% %message% (%elapsed:6s%)', 'verbose_no_ansi' => ' %message% (%elapsed:6s%)', 'very_verbose' => ' %indicator% %message% (%elapsed:6s%, %memory:6s%)', 'very_verbose_no_ansi' => ' %message% (%elapsed:6s%, %memory:6s%)']; - } } diff --git a/vendor/symfony/console/Helper/QuestionHelper.php b/vendor/symfony/console/Helper/QuestionHelper.php index a772e25182f..2974cbe091f 100644 --- a/vendor/symfony/console/Helper/QuestionHelper.php +++ b/vendor/symfony/console/Helper/QuestionHelper.php @@ -8,31 +8,33 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Cursor; -use RectorPrefix20211129\Symfony\Component\Console\Exception\MissingInputException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\StreamableInputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20211129\Symfony\Component\Console\Question\Question; -use RectorPrefix20211129\Symfony\Component\Console\Terminal; -use function RectorPrefix20211129\Symfony\Component\String\s; +use RectorPrefix20211130\Symfony\Component\Console\Cursor; +use RectorPrefix20211130\Symfony\Component\Console\Exception\MissingInputException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\StreamableInputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20211130\Symfony\Component\Console\Question\Question; +use RectorPrefix20211130\Symfony\Component\Console\Terminal; +use function RectorPrefix20211130\Symfony\Component\String\s; /** * The QuestionHelper class provides helpers to interact with the user. * * @author Fabien Potencier */ -class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper +class QuestionHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper { + /** + * @var resource|null + */ private $inputStream; - private static $shell; private static $stty = \true; private static $stdinIsInteractive; /** @@ -47,13 +49,13 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel */ public function ask($input, $output, $question) { - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } if (!$input->isInteractive()) { return $this->getDefaultAnswer($question); } - if ($input instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) { + if ($input instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\StreamableInputInterface && ($stream = $input->getStream())) { $this->inputStream = $stream; } try { @@ -64,7 +66,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel return $this->doAsk($output, $question); }; return $this->validateAttempts($interviewer, $output, $question); - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\MissingInputException $exception) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\MissingInputException $exception) { $input->setInteractive(\false); if (null === ($fallbackOutput = $this->getDefaultAnswer($question))) { throw $exception; @@ -93,18 +95,18 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel * * @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden */ - private function doAsk(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Symfony\Component\Console\Question\Question $question) + private function doAsk(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Symfony\Component\Console\Question\Question $question) { $this->writePrompt($output, $question); $inputStream = $this->inputStream ?: \STDIN; $autocomplete = $question->getAutocompleterCallback(); - if (null === $autocomplete || !self::$stty || !\RectorPrefix20211129\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (null === $autocomplete || !self::$stty || !\RectorPrefix20211130\Symfony\Component\Console\Terminal::hasSttyAvailable()) { $ret = \false; if ($question->isHidden()) { try { $hiddenResponse = $this->getHiddenResponse($output, $inputStream, $question->isTrimmable()); $ret = $question->isTrimmable() ? \trim($hiddenResponse) : $hiddenResponse; - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException $e) { if (!$question->isHiddenFallback()) { throw $e; } @@ -113,7 +115,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel if (\false === $ret) { $ret = $this->readInput($inputStream, $question); if (\false === $ret) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } if ($question->isTrimmable()) { $ret = \trim($ret); @@ -123,7 +125,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel $autocomplete = $this->autocomplete($output, $question, $inputStream, $autocomplete); $ret = $question->isTrimmable() ? \trim($autocomplete) : $autocomplete; } - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput) { $output->addContent($ret); } $ret = \strlen($ret) > 0 ? $ret : $question->getDefault(); @@ -135,7 +137,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel /** * @return mixed */ - private function getDefaultAnswer(\RectorPrefix20211129\Symfony\Component\Console\Question\Question $question) + private function getDefaultAnswer(\RectorPrefix20211130\Symfony\Component\Console\Question\Question $question) { $default = $question->getDefault(); if (null === $default) { @@ -143,7 +145,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel } if ($validator = $question->getValidator()) { return \call_user_func($question->getValidator(), $default); - } elseif ($question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion) { + } elseif ($question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion) { $choices = $question->getChoices(); if (!$question->isMultiselect()) { return $choices[$default] ?? $default; @@ -164,7 +166,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel protected function writePrompt($output, $question) { $message = $question->getQuestion(); - if ($question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion) { + if ($question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion) { $output->writeln(\array_merge([$question->getQuestion()], $this->formatChoiceQuestionChoices($question, 'info'))); $message = $question->getPrompt(); } @@ -204,9 +206,9 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel * * @param resource $inputStream */ - private function autocomplete(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string + private function autocomplete(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Symfony\Component\Console\Question\Question $question, $inputStream, callable $autocomplete) : string { - $cursor = new \RectorPrefix20211129\Symfony\Component\Console\Cursor($output, $inputStream); + $cursor = new \RectorPrefix20211130\Symfony\Component\Console\Cursor($output, $inputStream); $fullChoice = ''; $ret = ''; $i = 0; @@ -217,19 +219,19 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel // Disable icanon (so we can fread each keypress) and echo (we'll do echoing here instead) \shell_exec('stty -icanon -echo'); // Add highlighted text style - $output->getFormatter()->setStyle('hl', new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white')); + $output->getFormatter()->setStyle('hl', new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterStyle('black', 'white')); // Read a keypress while (!\feof($inputStream)) { $c = \fread($inputStream, 1); // as opposed to fgets(), fread() returns an empty string when the stream content is empty, not false. if (\false === $c || '' === $ret && '' === $c && null === $question->getDefault()) { \shell_exec(\sprintf('stty %s', $sttyMode)); - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } elseif ("" === $c) { // Backspace Character if (0 === $numMatches && 0 !== $i) { --$i; - $cursor->moveLeft(\RectorPrefix20211129\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false)); + $cursor->moveLeft(\RectorPrefix20211130\Symfony\Component\String\s($fullChoice)->slice(-1)->width(\false)); $fullChoice = self::substr($fullChoice, 0, $i); } if (0 === $i) { @@ -286,7 +288,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel $fullChoice .= $c; ++$i; $tempRet = $ret; - if ($question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) { + if ($question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect()) { $tempRet = $this->mostRecentlyEnteredValue($fullChoice); } $numMatches = 0; @@ -303,7 +305,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel $cursor->savePosition(); // Write highlighted text, complete the partially entered response $charactersEntered = \strlen(\trim($this->mostRecentlyEnteredValue($fullChoice))); - $output->write('' . \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . ''); + $output->write('' . \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash(\substr($matches[$ofs], $charactersEntered)) . ''); $cursor->restorePosition(); } } @@ -331,7 +333,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel * * @throws RuntimeException In case the fallback is deactivated and the response cannot be hidden */ - private function getHiddenResponse(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string + private function getHiddenResponse(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, $inputStream, bool $trimmable = \true) : string { if ('\\' === \DIRECTORY_SEPARATOR) { $exe = __DIR__ . '/../Resources/bin/hiddeninput.exe'; @@ -349,18 +351,18 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel } return $value; } - if (self::$stty && \RectorPrefix20211129\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (self::$stty && \RectorPrefix20211130\Symfony\Component\Console\Terminal::hasSttyAvailable()) { $sttyMode = \shell_exec('stty -g'); \shell_exec('stty -echo'); } elseif ($this->isInteractiveInput($inputStream)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException('Unable to hide the response.'); } $value = \fgets($inputStream, 4096); - if (self::$stty && \RectorPrefix20211129\Symfony\Component\Console\Terminal::hasSttyAvailable()) { + if (self::$stty && \RectorPrefix20211130\Symfony\Component\Console\Terminal::hasSttyAvailable()) { \shell_exec(\sprintf('stty %s', $sttyMode)); } if (\false === $value) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\MissingInputException('Aborted.'); } if ($trimmable) { $value = \trim($value); @@ -377,7 +379,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel * * @throws \Exception In case the max number of attempts has been reached and no valid response has been given */ - private function validateAttempts(callable $interviewer, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211129\Symfony\Component\Console\Question\Question $question) + private function validateAttempts(callable $interviewer, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, \RectorPrefix20211130\Symfony\Component\Console\Question\Question $question) { $error = null; $attempts = $question->getMaxAttempts(); @@ -387,7 +389,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel } try { return $question->getValidator()($interviewer()); - } catch (\RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException $e) { throw $e; } catch (\Exception $error) { } @@ -422,7 +424,7 @@ class QuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Hel * * @return string|false The input received, false in case input could not be read */ - private function readInput($inputStream, \RectorPrefix20211129\Symfony\Component\Console\Question\Question $question) + private function readInput($inputStream, \RectorPrefix20211130\Symfony\Component\Console\Question\Question $question) { if (!$question->isMultiline()) { $cp = $this->setIOCodepage(); diff --git a/vendor/symfony/console/Helper/SymfonyQuestionHelper.php b/vendor/symfony/console/Helper/SymfonyQuestionHelper.php index cc430fcebb6..78228402572 100644 --- a/vendor/symfony/console/Helper/SymfonyQuestionHelper.php +++ b/vendor/symfony/console/Helper/SymfonyQuestionHelper.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20211129\Symfony\Component\Console\Question\ConfirmationQuestion; -use RectorPrefix20211129\Symfony\Component\Console\Question\Question; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20211130\Symfony\Component\Console\Question\ConfirmationQuestion; +use RectorPrefix20211130\Symfony\Component\Console\Question\Question; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; /** * Symfony Style Guide compliant question helper. * * @author Kevin Bond */ -class SymfonyQuestionHelper extends \RectorPrefix20211129\Symfony\Component\Console\Helper\QuestionHelper +class SymfonyQuestionHelper extends \RectorPrefix20211130\Symfony\Component\Console\Helper\QuestionHelper { /** * {@inheritdoc} @@ -30,7 +30,7 @@ class SymfonyQuestionHelper extends \RectorPrefix20211129\Symfony\Component\Cons */ protected function writePrompt($output, $question) { - $text = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion()); + $text = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($question->getQuestion()); $default = $question->getDefault(); if ($question->isMultiline()) { $text .= \sprintf(' (press %s to continue)', $this->getEofShortcut()); @@ -39,27 +39,27 @@ class SymfonyQuestionHelper extends \RectorPrefix20211129\Symfony\Component\Cons case null === $default: $text = \sprintf(' %s:', $text); break; - case $question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ConfirmationQuestion: + case $question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ConfirmationQuestion: $text = \sprintf(' %s (yes/no) [%s]:', $text, $default ? 'yes' : 'no'); break; - case $question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect(): + case $question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion && $question->isMultiselect(): $choices = $question->getChoices(); $default = \explode(',', $default); foreach ($default as $key => $value) { $default[$key] = $choices[\trim($value)]; } - $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default))); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape(\implode(', ', $default))); break; - case $question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion: + case $question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion: $choices = $question->getChoices(); - $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default)); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($choices[$default] ?? $default)); break; default: - $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($default)); + $text = \sprintf(' %s [%s]:', $text, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($default)); } $output->writeln($text); $prompt = ' > '; - if ($question instanceof \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion) { + if ($question instanceof \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion) { $output->writeln($this->formatChoiceQuestionChoices($question, 'comment')); $prompt = $question->getPrompt(); } @@ -72,7 +72,7 @@ class SymfonyQuestionHelper extends \RectorPrefix20211129\Symfony\Component\Cons */ protected function writeError($output, $error) { - if ($output instanceof \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle) { + if ($output instanceof \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle) { $output->newLine(); $output->error($error->getMessage()); return; diff --git a/vendor/symfony/console/Helper/Table.php b/vendor/symfony/console/Helper/Table.php index 30be93a0aef..082e6218de3 100644 --- a/vendor/symfony/console/Helper/Table.php +++ b/vendor/symfony/console/Helper/Table.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Provides helpers to display a table. * @@ -73,9 +73,12 @@ class Table */ private $columnWidths = []; private $columnMaxWidths = []; + /** + * @var array|null + */ private static $styles; private $rendered = \false; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; if (!self::$styles) { @@ -109,7 +112,7 @@ class Table if (isset(self::$styles[$name])) { return self::$styles[$name]; } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); } /** * Sets table style. @@ -195,13 +198,14 @@ class Table */ public function setColumnMaxWidth($columnIndex, $width) : self { - if (!$this->output->getFormatter() instanceof \RectorPrefix20211129\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) { - throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20211129\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter()))); + if (!$this->output->getFormatter() instanceof \RectorPrefix20211130\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface) { + throw new \LogicException(\sprintf('Setting a maximum column width is only supported when using a "%s" formatter, got "%s".', \RectorPrefix20211130\Symfony\Component\Console\Formatter\WrappableOutputFormatterInterface::class, \get_debug_type($this->output->getFormatter()))); } $this->columnMaxWidths[$columnIndex] = $width; return $this; } /** + * @return $this * @param mixed[] $headers */ public function setHeaders($headers) @@ -222,6 +226,7 @@ class Table return $this->addRows($rows); } /** + * @return $this * @param mixed[] $rows */ public function addRows($rows) @@ -231,25 +236,30 @@ class Table } return $this; } + /** + * @return $this + */ public function addRow($row) { - if ($row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { $this->rows[] = $row; return $this; } if (!\is_array($row)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('A row must be an array or a TableSeparator instance.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('A row must be an array or a TableSeparator instance.'); } $this->rows[] = \array_values($row); return $this; } /** * Adds a row to the table, and re-renders the table. + * + * @return $this */ public function appendRow($row) : self { - if (!$this->output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__)); + if (!$this->output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Output should be an instance of "%s" when calling "%s".', \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput::class, __METHOD__)); } if ($this->rendered) { $this->output->clear($this->calculateRowCount()); @@ -259,6 +269,7 @@ class Table return $this; } /** + * @return $this * @param mixed[] $row */ public function setRow($column, $row) @@ -267,6 +278,7 @@ class Table return $this; } /** + * @return $this * @param string|null $title */ public function setHeaderTitle($title) : self @@ -275,6 +287,7 @@ class Table return $this; } /** + * @return $this * @param string|null $title */ public function setFooterTitle($title) : self @@ -283,6 +296,7 @@ class Table return $this; } /** + * @return $this * @param bool $horizontal */ public function setHorizontal($horizontal = \true) : self @@ -305,18 +319,18 @@ class Table */ public function render() { - $divider = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator(); + $divider = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator(); if ($this->horizontal) { $rows = []; foreach ($this->headers[0] ?? [] as $i => $header) { $rows[$i] = [$header]; foreach ($this->rows as $row) { - if ($row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { continue; } if (isset($row[$i])) { $rows[$i][] = $row[$i]; - } elseif ($rows[$i][0] instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) { + } elseif ($rows[$i][0] instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $rows[$i][0]->getColspan() >= 2) { // Noop, there is a "title" } else { $rows[$i][] = null; @@ -338,7 +352,7 @@ class Table $isFirstRow = \true; continue; } - if ($row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { $this->renderRowSeparator(); continue; } @@ -392,12 +406,12 @@ class Table $markup .= $column === $count - 1 ? $rightChar : $midChar; } if (null !== $title) { - $titleLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title))); - $markupLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($markup); + $titleLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter = $this->output->getFormatter(), $formattedTitle = \sprintf($titleFormat, $title))); + $markupLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($markup); if ($titleLength > ($limit = $markupLength - 4)) { $titleLength = $limit; - $formatLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, ''))); - $formattedTitle = \sprintf($titleFormat, \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...'); + $formatLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, \sprintf($titleFormat, ''))); + $formattedTitle = \sprintf($titleFormat, \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::substr($title, 0, $limit - $formatLength - 3) . '...'); } $titleStart = \intdiv($markupLength - $titleLength, 2); if (\false === \mb_detect_encoding($markup, null, \true)) { @@ -445,7 +459,7 @@ class Table { $cell = $row[$column] ?? ''; $width = $this->effectiveColumnWidths[$column]; - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { // add the width of the following columns(numbers of colspan). foreach (\range($column + 1, $column + $cell->getColspan() - 1) as $nextColumn) { $width += $this->getColumnSeparatorWidth() + $this->effectiveColumnWidths[$nextColumn]; @@ -456,13 +470,13 @@ class Table $width += \strlen($cell) - \mb_strwidth($cell, $encoding); } $style = $this->getColumnStyle($column); - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { return \sprintf($style->getBorderFormat(), \str_repeat($style->getBorderChars()[2], $width)); } - $width += \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); + $width += \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::length($cell) - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::length(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); $content = \sprintf($style->getCellRowContentFormat(), $cell); $padType = $style->getPadType(); - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCellStyle) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $cell->getStyle() instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCellStyle) { $isNotStyledByTag = !\preg_match('/^<(\\w+|(\\w+=[\\w,]+;?)*)>.+<\\/(\\w+|(\\w+=\\w+;?)*)?>$/', $cell); if ($isNotStyledByTag) { $cellFormat = $cell->getStyle()->getCellFormat(); @@ -490,14 +504,14 @@ class Table { $columns = [0]; foreach ($rows as $row) { - if ($row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { continue; } $columns[] = $this->getNumberOfColumns($row); } $this->numberOfColumns = \max($columns); } - private function buildTableRows(array $rows) : \RectorPrefix20211129\Symfony\Component\Console\Helper\TableRows + private function buildTableRows(array $rows) : \RectorPrefix20211130\Symfony\Component\Console\Helper\TableRows { /** @var WrappableOutputFormatterInterface $formatter */ $formatter = $this->output->getFormatter(); @@ -506,19 +520,19 @@ class Table $rows = $this->fillNextRows($rows, $rowKey); // Remove any new line breaks and replace it with a new line foreach ($rows[$rowKey] as $column => $cell) { - $colspan = $cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1; - if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, $cell)) > $this->columnMaxWidths[$column]) { + $colspan = $cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell ? $cell->getColspan() : 1; + if (isset($this->columnMaxWidths[$column]) && \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($formatter, $cell)) > $this->columnMaxWidths[$column]) { $cell = $formatter->formatAndWrap($cell, $this->columnMaxWidths[$column] * $colspan); } if (!\strstr($cell ?? '', "\n")) { continue; } - $escaped = \implode("\n", \array_map([\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell))); - $cell = $cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell($escaped, ['colspan' => $cell->getColspan()]) : $escaped; + $escaped = \implode("\n", \array_map([\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::class, 'escapeTrailingBackslash'], \explode("\n", $cell))); + $cell = $cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell ? new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell($escaped, ['colspan' => $cell->getColspan()]) : $escaped; $lines = \explode("\n", \str_replace("\n", "\n", $cell)); foreach ($lines as $lineKey => $line) { if ($colspan > 1) { - $line = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]); + $line = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell($line, ['colspan' => $colspan]); } if (0 === $lineKey) { $rows[$rowKey][$column] = $line; @@ -531,12 +545,12 @@ class Table } } } - return new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable { + return new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableRows(function () use($rows, $unmergedRows) : \Traversable { foreach ($rows as $rowKey => $row) { - (yield $row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)); + (yield $row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)); if (isset($unmergedRows[$rowKey])) { foreach ($unmergedRows[$rowKey] as $row) { - (yield $row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)); + (yield $row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator ? $row : $this->fillCells($row)); } } } @@ -544,7 +558,7 @@ class Table } private function calculateRowCount() : int { - $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator()], $this->rows)))); + $numberOfRows = \count(\iterator_to_array($this->buildTableRows(\array_merge($this->headers, [new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator()], $this->rows)))); if ($this->headers) { ++$numberOfRows; // Add row for header separator @@ -564,23 +578,23 @@ class Table { $unmergedRows = []; foreach ($rows[$line] as $column => $cell) { - if (null !== $cell && !$cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !(\is_object($cell) && \method_exists($cell, '__toString'))) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('A cell must be a TableCell, a scalar or an object implementing "__toString()", "%s" given.', \get_debug_type($cell))); + if (null !== $cell && !$cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && !\is_scalar($cell) && !(\is_object($cell) && \method_exists($cell, '__toString'))) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('A cell must be a TableCell, a scalar or an object implementing "__toString()", "%s" given.', \get_debug_type($cell))); } - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $cell->getRowspan() > 1) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $cell->getRowspan() > 1) { $nbLines = $cell->getRowspan() - 1; $lines = [$cell]; if (\strstr($cell, "\n")) { $lines = \explode("\n", \str_replace("\n", "\n", $cell)); $nbLines = \count($lines) > $nbLines ? \substr_count($cell, "\n") : $nbLines; - $rows[$line][$column] = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell($lines[0], ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); + $rows[$line][$column] = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell($lines[0], ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); unset($lines[0]); } // create a two dimensional array (rowspan x colspan) $unmergedRows = \array_replace_recursive(\array_fill($line + 1, $nbLines, []), $unmergedRows); foreach ($unmergedRows as $unmergedRowKey => $unmergedRow) { $value = $lines[$unmergedRowKey - $line] ?? ''; - $unmergedRows[$unmergedRowKey][$column] = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); + $unmergedRows[$unmergedRowKey][$column] = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => $cell->getColspan(), 'style' => $cell->getStyle()]); if ($nbLines === $unmergedRowKey - $line) { break; } @@ -614,7 +628,7 @@ class Table $newRow = []; foreach ($row as $column => $cell) { $newRow[] = $cell; - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { foreach (\range($column + 1, $column + $cell->getColspan() - 1) as $position) { // insert empty value at column position $newRow[] = ''; @@ -628,8 +642,8 @@ class Table $row = $rows[$line]; foreach ($row as $cellKey => $cellValue) { $row[$cellKey] = ''; - if ($cellValue instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell) { - $row[$cellKey] = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]); + if ($cellValue instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell) { + $row[$cellKey] = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell('', ['colspan' => $cellValue->getColspan()]); } } return $row; @@ -641,7 +655,7 @@ class Table { $columns = \count($row); foreach ($row as $column) { - $columns += $column instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0; + $columns += $column instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell ? $column->getColspan() - 1 : 0; } return $columns; } @@ -652,7 +666,7 @@ class Table { $columns = \range(0, $this->numberOfColumns - 1); foreach ($row as $cellKey => $cell) { - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell && $cell->getColspan() > 1) { // exclude grouped columns. $columns = \array_diff($columns, \range($cellKey + 1, $cellKey + $cell->getColspan() - 1)); } @@ -667,13 +681,13 @@ class Table for ($column = 0; $column < $this->numberOfColumns; ++$column) { $lengths = []; foreach ($rows as $row) { - if ($row instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($row instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { continue; } foreach ($row as $i => $cell) { - if ($cell instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell) { - $textContent = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell); - $textLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($textContent); + if ($cell instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell) { + $textContent = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell); + $textLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($textContent); if ($textLength > 0) { $contentColumns = \str_split($textContent, \ceil($textLength / $cell->getColspan())); foreach ($contentColumns as $position => $content) { @@ -684,19 +698,19 @@ class Table } $lengths[] = $this->getCellWidth($row, $column); } - $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2; + $this->effectiveColumnWidths[$column] = \max($lengths) + \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($this->style->getCellRowContentFormat()) - 2; } } private function getColumnSeparatorWidth() : int { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\sprintf($this->style->getBorderFormat(), $this->style->getBorderChars()[3])); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\sprintf($this->style->getBorderFormat(), $this->style->getBorderChars()[3])); } private function getCellWidth(array $row, int $column) : int { $cellWidth = 0; if (isset($row[$column])) { $cell = $row[$column]; - $cellWidth = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); + $cellWidth = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->output->getFormatter(), $cell)); } $columnWidth = $this->columnWidths[$column] ?? 0; $cellWidth = \max($cellWidth, $columnWidth); @@ -710,26 +724,29 @@ class Table $this->effectiveColumnWidths = []; $this->numberOfColumns = null; } + /** + * @return array + */ private static function initStyles() : array { - $borderless = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle(); + $borderless = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle(); $borderless->setHorizontalBorderChars('=')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' '); - $compact = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle(); + $compact = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle(); $compact->setHorizontalBorderChars('')->setVerticalBorderChars(' ')->setDefaultCrossingChar('')->setCellRowContentFormat('%s'); - $styleGuide = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle(); + $styleGuide = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle(); $styleGuide->setHorizontalBorderChars('-')->setVerticalBorderChars(' ')->setDefaultCrossingChar(' ')->setCellHeaderFormat('%s'); - $box = (new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', 'â”', '┤', '┘', 'â”´', 'â””', '├'); - $boxDouble = (new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('â•', '─')->setVerticalBorderChars('â•‘', '│')->setCrossingChars('┼', 'â•”', '╤', 'â•—', 'â•¢', 'â•', '╧', 'â•š', 'â•Ÿ', 'â• ', '╪', 'â•£'); - return ['default' => new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble]; + $box = (new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('─')->setVerticalBorderChars('│')->setCrossingChars('┼', '┌', '┬', 'â”', '┤', '┘', 'â”´', 'â””', '├'); + $boxDouble = (new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle())->setHorizontalBorderChars('â•', '─')->setVerticalBorderChars('â•‘', '│')->setCrossingChars('┼', 'â•”', '╤', 'â•—', 'â•¢', 'â•', '╧', 'â•š', 'â•Ÿ', 'â• ', '╪', 'â•£'); + return ['default' => new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle(), 'borderless' => $borderless, 'compact' => $compact, 'symfony-style-guide' => $styleGuide, 'box' => $box, 'box-double' => $boxDouble]; } - private function resolveStyle($name) : \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle + private function resolveStyle($name) : \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle { - if ($name instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableStyle) { + if ($name instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableStyle) { return $name; } if (isset(self::$styles[$name])) { return self::$styles[$name]; } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Style "%s" is not defined.', $name)); } } diff --git a/vendor/symfony/console/Helper/TableCell.php b/vendor/symfony/console/Helper/TableCell.php index 239899b3bed..8739b48dfc8 100644 --- a/vendor/symfony/console/Helper/TableCell.php +++ b/vendor/symfony/console/Helper/TableCell.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Abdellatif Ait boudad */ @@ -23,10 +23,10 @@ class TableCell $this->value = $value; // check option names if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCell does not support the following options: \'%s\'.', \implode('\', \'', $diff))); } - if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCellStyle) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('The style option must be an instance of "TableCellStyle".'); + if (isset($options['style']) && !$options['style'] instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCellStyle) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('The style option must be an instance of "TableCellStyle".'); } $this->options = \array_merge($this->options, $options); } @@ -57,7 +57,7 @@ class TableCell { return (int) $this->options['rowspan']; } - public function getStyle() : ?\RectorPrefix20211129\Symfony\Component\Console\Helper\TableCellStyle + public function getStyle() : ?\RectorPrefix20211130\Symfony\Component\Console\Helper\TableCellStyle { return $this->options['style']; } diff --git a/vendor/symfony/console/Helper/TableCellStyle.php b/vendor/symfony/console/Helper/TableCellStyle.php index 0173311e1fe..491f307bd7f 100644 --- a/vendor/symfony/console/Helper/TableCellStyle.php +++ b/vendor/symfony/console/Helper/TableCellStyle.php @@ -8,25 +8,25 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * @author Yewhen Khoptynskyi */ class TableCellStyle { public const DEFAULT_ALIGN = 'left'; + private const TAG_OPTIONS = ['fg', 'bg', 'options']; + private const ALIGN_MAP = ['left' => \STR_PAD_RIGHT, 'center' => \STR_PAD_BOTH, 'right' => \STR_PAD_LEFT]; private $options = ['fg' => 'default', 'bg' => 'default', 'options' => null, 'align' => self::DEFAULT_ALIGN, 'cellFormat' => null]; - private $tagOptions = ['fg', 'bg', 'options']; - private $alignMap = ['left' => \STR_PAD_RIGHT, 'center' => \STR_PAD_BOTH, 'right' => \STR_PAD_LEFT]; public function __construct(array $options = []) { if ($diff = \array_diff(\array_keys($options), \array_keys($this->options))) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCellStyle does not support the following options: \'%s\'.', \implode('\', \'', $diff))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The TableCellStyle does not support the following options: \'%s\'.', \implode('\', \'', $diff))); } - if (isset($options['align']) && !\array_key_exists($options['align'], $this->alignMap)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Wrong align value. Value must be following: \'%s\'.', \implode('\', \'', \array_keys($this->alignMap)))); + if (isset($options['align']) && !\array_key_exists($options['align'], self::ALIGN_MAP)) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Wrong align value. Value must be following: \'%s\'.', \implode('\', \'', \array_keys(self::ALIGN_MAP)))); } $this->options = \array_merge($this->options, $options); } @@ -42,12 +42,15 @@ class TableCellStyle public function getTagOptions() { return \array_filter($this->getOptions(), function ($key) { - return \in_array($key, $this->tagOptions) && isset($this->options[$key]); + return \in_array($key, self::TAG_OPTIONS) && isset($this->options[$key]); }, \ARRAY_FILTER_USE_KEY); } + /** + * @return int + */ public function getPadByAlign() { - return $this->alignMap[$this->getOptions()['align']]; + return self::ALIGN_MAP[$this->getOptions()['align']]; } public function getCellFormat() : ?string { diff --git a/vendor/symfony/console/Helper/TableRows.php b/vendor/symfony/console/Helper/TableRows.php index 4f12dbba6a5..4b7314a5879 100644 --- a/vendor/symfony/console/Helper/TableRows.php +++ b/vendor/symfony/console/Helper/TableRows.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; /** * @internal @@ -16,13 +16,12 @@ namespace RectorPrefix20211129\Symfony\Component\Console\Helper; class TableRows implements \IteratorAggregate { private $generator; - public function __construct(callable $generator) + public function __construct(\Closure $generator) { $this->generator = $generator; } public function getIterator() : \Traversable { - $g = $this->generator; - return $g(); + return ($this->generator)(); } } diff --git a/vendor/symfony/console/Helper/TableSeparator.php b/vendor/symfony/console/Helper/TableSeparator.php index b09e7cecd29..ba3b357765a 100644 --- a/vendor/symfony/console/Helper/TableSeparator.php +++ b/vendor/symfony/console/Helper/TableSeparator.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; /** * Marks a row as being a separator. * * @author Fabien Potencier */ -class TableSeparator extends \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell +class TableSeparator extends \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell { public function __construct(array $options = []) { diff --git a/vendor/symfony/console/Helper/TableStyle.php b/vendor/symfony/console/Helper/TableStyle.php index 8389c9175b8..1f894ff7b81 100644 --- a/vendor/symfony/console/Helper/TableStyle.php +++ b/vendor/symfony/console/Helper/TableStyle.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Helper; +namespace RectorPrefix20211130\Symfony\Component\Console\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; /** * Defines the styles for a Table. * @@ -54,7 +54,7 @@ class TableStyle public function setPaddingChar($paddingChar) { if (!$paddingChar) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('The padding char must not be empty.'); } $this->paddingChar = $paddingChar; return $this; @@ -81,6 +81,8 @@ class TableStyle * â•‘ 80-902734-1-6 │ And Then There Were None │ Agatha Christie â•‘ * â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• * + * + * @return $this * @param string $outside * @param string|null $inside */ @@ -104,6 +106,8 @@ class TableStyle * â•‘ 80-902734-1-6 │ And Then There Were None │ Agatha Christie â•‘ * â•šâ•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•§â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• * + * + * @return $this * @param string $outside * @param string|null $inside */ @@ -150,6 +154,8 @@ class TableStyle * @param string|null $topLeftBottom Top left bottom char (see #8' of example), equals to $midLeft if null * @param string|null $topMidBottom Top mid bottom char (see #0' of example), equals to $cross if null * @param string|null $topRightBottom Top right bottom char (see #4' of example), equals to $midRight if null + * + * @return $this */ public function setCrossingChars($cross, $topLeft, $topMid, $topRight, $midRight, $bottomRight, $bottomMid, $bottomLeft, $midLeft, $topLeftBottom = null, $topMidBottom = null, $topRightBottom = null) : self { @@ -284,7 +290,7 @@ class TableStyle public function setPadType($padType) { if (!\in_array($padType, [\STR_PAD_LEFT, \STR_PAD_RIGHT, \STR_PAD_BOTH], \true)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Invalid padding type. Expected one of (STR_PAD_LEFT, STR_PAD_RIGHT, STR_PAD_BOTH).'); } $this->padType = $padType; return $this; @@ -303,6 +309,7 @@ class TableStyle return $this->headerTitleFormat; } /** + * @return $this * @param string $format */ public function setHeaderTitleFormat($format) : self @@ -315,6 +322,7 @@ class TableStyle return $this->footerTitleFormat; } /** + * @return $this * @param string $format */ public function setFooterTitleFormat($format) : self diff --git a/vendor/symfony/console/Input/ArgvInput.php b/vendor/symfony/console/Input/ArgvInput.php index caf064ccbd7..401b20a8853 100644 --- a/vendor/symfony/console/Input/ArgvInput.php +++ b/vendor/symfony/console/Input/ArgvInput.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; /** * ArgvInput represents an input coming from the CLI arguments. * @@ -36,11 +36,11 @@ use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; * @see http://www.gnu.org/software/libc/manual/html_node/Argument-Syntax.html * @see http://www.opengroup.org/onlinepubs/009695399/basedefs/xbd_chap12.html#tag_12_02 */ -class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\Input +class ArgvInput extends \RectorPrefix20211130\Symfony\Component\Console\Input\Input { private $tokens; private $parsed; - public function __construct(array $argv = null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(array $argv = null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $definition = null) { $argv = $argv ?? $_SERVER['argv'] ?? []; // strip the application name @@ -63,19 +63,28 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In $parseOptions = \true; $this->parsed = $this->tokens; while (null !== ($token = \array_shift($this->parsed))) { - if ($parseOptions && '' == $token) { - $this->parseArgument($token); - } elseif ($parseOptions && '--' == $token) { - $parseOptions = \false; - } elseif ($parseOptions && \strncmp($token, '--', \strlen('--')) === 0) { - $this->parseLongOption($token); - } elseif ($parseOptions && '-' === $token[0] && '-' !== $token) { - $this->parseShortOption($token); - } else { - $this->parseArgument($token); - } + $parseOptions = $this->parseToken($token, $parseOptions); } } + /** + * @param string $token + * @param bool $parseOptions + */ + protected function parseToken($token, $parseOptions) : bool + { + if ($parseOptions && '' == $token) { + $this->parseArgument($token); + } elseif ($parseOptions && '--' == $token) { + return \false; + } elseif ($parseOptions && \strncmp($token, '--', \strlen('--')) === 0) { + $this->parseLongOption($token); + } elseif ($parseOptions && '-' === $token[0] && '-' !== $token) { + $this->parseShortOption($token); + } else { + $this->parseArgument($token); + } + return $parseOptions; + } /** * Parses a short option. */ @@ -104,7 +113,7 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In for ($i = 0; $i < $len; ++$i) { if (!$this->definition->hasShortcut($name[$i])) { $encoding = \mb_detect_encoding($name, null, \true); - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', \false === $encoding ? $name[$i] : \mb_substr($name, $i, 1, $encoding))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', \false === $encoding ? $name[$i] : \mb_substr($name, $i, 1, $encoding))); } $option = $this->definition->getOptionForShortcut($name[$i]); if ($option->acceptValue()) { @@ -166,7 +175,7 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In } else { $message = \sprintf('No arguments expected, got "%s".', $token); } - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException($message); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException($message); } } /** @@ -177,7 +186,7 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In private function addShortOption(string $shortcut, $value) { if (!$this->definition->hasShortcut($shortcut)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "-%s" option does not exist.', $shortcut)); } $this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value); } @@ -190,18 +199,18 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In { if (!$this->definition->hasOption($name)) { if (!$this->definition->hasNegation($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not exist.', $name)); } $optionName = $this->definition->negationToName($name); if (null !== $value) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); } $this->options[$optionName] = \false; return; } $option = $this->definition->getOption($name); if (null !== $value && !$option->acceptValue()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option does not accept a value.', $name)); } if (\in_array($value, ['', null], \true) && $option->acceptValue() && \count($this->parsed)) { // if option accepts an optional or mandatory argument @@ -215,7 +224,7 @@ class ArgvInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\In } if (null === $value) { if ($option->isValueRequired()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option requires a value.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('The "--%s" option requires a value.', $name)); } if (!$option->isArray() && !$option->isValueOptional()) { $value = \true; diff --git a/vendor/symfony/console/Input/ArrayInput.php b/vendor/symfony/console/Input/ArrayInput.php index 382343e8e01..0f6c341c3d8 100644 --- a/vendor/symfony/console/Input/ArrayInput.php +++ b/vendor/symfony/console/Input/ArrayInput.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidOptionException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidOptionException; /** * ArrayInput represents an input provided as an array. * @@ -21,10 +21,10 @@ use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidOptionExcept * * @author Fabien Potencier */ -class ArrayInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\Input +class ArrayInput extends \RectorPrefix20211130\Symfony\Component\Console\Input\Input { private $parameters; - public function __construct(array $parameters, \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(array $parameters, \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $definition = null) { $this->parameters = $parameters; parent::__construct($definition); @@ -133,7 +133,7 @@ class ArrayInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\I private function addShortOption(string $shortcut, $value) { if (!$this->definition->hasShortcut($shortcut)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "-%s" option does not exist.', $shortcut)); } $this->addLongOption($this->definition->getOptionForShortcut($shortcut)->getName(), $value); } @@ -147,7 +147,7 @@ class ArrayInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\I { if (!$this->definition->hasOption($name)) { if (!$this->definition->hasNegation($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option does not exist.', $name)); } $optionName = $this->definition->negationToName($name); $this->options[$optionName] = \false; @@ -156,7 +156,7 @@ class ArrayInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\I $option = $this->definition->getOption($name); if (null === $value) { if ($option->isValueRequired()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidOptionException(\sprintf('The "--%s" option requires a value.', $name)); } if (!$option->isValueOptional()) { $value = \true; @@ -175,7 +175,7 @@ class ArrayInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\I private function addArgument($name, $value) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } $this->arguments[$name] = $value; } diff --git a/vendor/symfony/console/Input/Input.php b/vendor/symfony/console/Input/Input.php index 56673fbccfe..e9d2881c85b 100644 --- a/vendor/symfony/console/Input/Input.php +++ b/vendor/symfony/console/Input/Input.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; /** * Input is the base class for all concrete Input classes. * @@ -23,17 +23,17 @@ use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; * * @author Fabien Potencier */ -abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20211129\Symfony\Component\Console\Input\StreamableInputInterface +abstract class Input implements \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface, \RectorPrefix20211130\Symfony\Component\Console\Input\StreamableInputInterface { protected $definition; protected $stream; protected $options = []; protected $arguments = []; protected $interactive = \true; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition $definition = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition $definition = null) { if (null === $definition) { - $this->definition = new \RectorPrefix20211129\Symfony\Component\Console\Input\InputDefinition(); + $this->definition = new \RectorPrefix20211130\Symfony\Component\Console\Input\InputDefinition(); } else { $this->bind($definition); $this->validate(); @@ -65,7 +65,7 @@ abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\ return !\array_key_exists($argument, $givenArguments) && $definition->getArgument($argument)->isRequired(); }); if (\count($missingArguments) > 0) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('Not enough arguments (missing: "%s").', \implode(', ', $missingArguments))); } } /** @@ -97,7 +97,7 @@ abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\ public function getArgument($name) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } return $this->arguments[$name] ?? $this->definition->getArgument($name)->getDefault(); } @@ -108,7 +108,7 @@ abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\ public function setArgument($name, $value) { if (!$this->definition->hasArgument($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } $this->arguments[$name] = $value; } @@ -140,7 +140,7 @@ abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\ return !$value; } if (!$this->definition->hasOption($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); } return \array_key_exists($name, $this->options) ? $this->options[$name] : $this->definition->getOption($name)->getDefault(); } @@ -154,7 +154,7 @@ abstract class Input implements \RectorPrefix20211129\Symfony\Component\Console\ $this->options[$this->definition->negationToName($name)] = !$value; return; } elseif (!$this->definition->hasOption($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" option does not exist.', $name)); } $this->options[$name] = $value; } diff --git a/vendor/symfony/console/Input/InputArgument.php b/vendor/symfony/console/Input/InputArgument.php index a81af4fe7ca..03a30b56c0a 100644 --- a/vendor/symfony/console/Input/InputArgument.php +++ b/vendor/symfony/console/Input/InputArgument.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; /** * Represents a command line argument. * @@ -39,7 +39,7 @@ class InputArgument if (null === $mode) { $mode = self::OPTIONAL; } elseif ($mode > 7 || $mode < 1) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Argument mode "%s" is not valid.', $mode)); } $this->name = $name; $this->mode = $mode; @@ -49,7 +49,7 @@ class InputArgument /** * Returns the argument name. * - * @return string The argument name + * @return string */ public function getName() { @@ -83,13 +83,13 @@ class InputArgument public function setDefault($default = null) { if (self::REQUIRED === $this->mode && null !== $default) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Cannot set a default value except for InputArgument::OPTIONAL mode.'); } if ($this->isArray()) { if (null === $default) { $default = []; } elseif (!\is_array($default)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('A default value for an array argument must be an array.'); } } $this->default = $default; @@ -106,7 +106,7 @@ class InputArgument /** * Returns the description text. * - * @return string The description text + * @return string */ public function getDescription() { diff --git a/vendor/symfony/console/Input/InputAwareInterface.php b/vendor/symfony/console/Input/InputAwareInterface.php index e05cd0f27e6..c0a9289d075 100644 --- a/vendor/symfony/console/Input/InputAwareInterface.php +++ b/vendor/symfony/console/Input/InputAwareInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; /** * InputAwareInterface should be implemented by classes that depends on the diff --git a/vendor/symfony/console/Input/InputDefinition.php b/vendor/symfony/console/Input/InputDefinition.php index 0aba26afedf..b054e335035 100644 --- a/vendor/symfony/console/Input/InputDefinition.php +++ b/vendor/symfony/console/Input/InputDefinition.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; /** * A InputDefinition represents a set of valid command line arguments and options. * @@ -49,7 +49,7 @@ class InputDefinition $arguments = []; $options = []; foreach ($definition as $item) { - if ($item instanceof \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption) { + if ($item instanceof \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption) { $options[] = $item; } else { $arguments[] = $item; @@ -91,13 +91,13 @@ class InputDefinition public function addArgument($argument) { if (isset($this->arguments[$argument->getName()])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName())); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('An argument with name "%s" already exists.', $argument->getName())); } if (null !== $this->lastArrayArgument) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an array argument "%s".', $argument->getName(), $this->lastArrayArgument->getName())); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an array argument "%s".', $argument->getName(), $this->lastArrayArgument->getName())); } if ($argument->isRequired() && null !== $this->lastOptionalArgument) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an optional one "%s".', $argument->getName(), $this->lastOptionalArgument->getName())); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('Cannot add a required argument "%s" after an optional one "%s".', $argument->getName(), $this->lastOptionalArgument->getName())); } if ($argument->isArray()) { $this->lastArrayArgument = $argument; @@ -114,14 +114,14 @@ class InputDefinition * * @param string|int $name The InputArgument name or position * - * @return InputArgument An InputArgument object + * @return InputArgument * * @throws InvalidArgumentException When argument given doesn't exist */ public function getArgument($name) { if (!$this->hasArgument($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "%s" argument does not exist.', $name)); } $arguments = \is_int($name) ? \array_values($this->arguments) : $this->arguments; return $arguments[$name]; @@ -131,7 +131,7 @@ class InputDefinition * * @param string|int $name The InputArgument name or position * - * @return bool true if the InputArgument object exists, false otherwise + * @return bool */ public function hasArgument($name) { @@ -141,7 +141,7 @@ class InputDefinition /** * Gets the array of InputArgument objects. * - * @return InputArgument[] An array of InputArgument objects + * @return InputArgument[] */ public function getArguments() { @@ -150,7 +150,7 @@ class InputDefinition /** * Returns the number of InputArguments. * - * @return int The number of InputArguments + * @return int */ public function getArgumentCount() { @@ -159,7 +159,7 @@ class InputDefinition /** * Returns the number of required InputArguments. * - * @return int The number of required InputArguments + * @return int */ public function getArgumentRequiredCount() { @@ -206,15 +206,15 @@ class InputDefinition public function addOption($option) { if (isset($this->options[$option->getName()]) && !$option->equals($this->options[$option->getName()])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); } if (isset($this->negations[$option->getName()])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $option->getName())); } if ($option->getShortcut()) { foreach (\explode('|', $option->getShortcut()) as $shortcut) { if (isset($this->shortcuts[$shortcut]) && !$option->equals($this->options[$this->shortcuts[$shortcut]])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('An option with shortcut "%s" already exists.', $shortcut)); } } } @@ -227,7 +227,7 @@ class InputDefinition if ($option->isNegatable()) { $negatedName = 'no-' . $option->getName(); if (isset($this->options[$negatedName])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException(\sprintf('An option named "%s" already exists.', $negatedName)); } $this->negations[$negatedName] = $option->getName(); } @@ -235,7 +235,7 @@ class InputDefinition /** * Returns an InputOption by name. * - * @return InputOption A InputOption object + * @return InputOption * * @throws InvalidArgumentException When option given doesn't exist * @param string $name @@ -243,7 +243,7 @@ class InputDefinition public function getOption($name) { if (!$this->hasOption($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $name)); } return $this->options[$name]; } @@ -253,7 +253,7 @@ class InputDefinition * This method can't be used to check if the user included the option when * executing the command (use getOption() instead). * - * @return bool true if the InputOption object exists, false otherwise + * @return bool * @param string $name */ public function hasOption($name) @@ -263,7 +263,7 @@ class InputDefinition /** * Gets the array of InputOption objects. * - * @return InputOption[] An array of InputOption objects + * @return InputOption[] */ public function getOptions() { @@ -272,7 +272,7 @@ class InputDefinition /** * Returns true if an InputOption object exists by shortcut. * - * @return bool true if the InputOption object exists, false otherwise + * @return bool * @param string $name */ public function hasShortcut($name) @@ -290,7 +290,7 @@ class InputDefinition /** * Gets an InputOption by shortcut. * - * @return InputOption An InputOption object + * @return InputOption * @param string $shortcut */ public function getOptionForShortcut($shortcut) @@ -319,7 +319,7 @@ class InputDefinition public function shortcutToName($shortcut) : string { if (!isset($this->shortcuts[$shortcut])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "-%s" option does not exist.', $shortcut)); } return $this->shortcuts[$shortcut]; } @@ -334,14 +334,14 @@ class InputDefinition public function negationToName($negation) : string { if (!isset($this->negations[$negation])) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The "--%s" option does not exist.', $negation)); } return $this->negations[$negation]; } /** * Gets the synopsis. * - * @return string The synopsis + * @return string * @param bool $short */ public function getSynopsis($short = \false) diff --git a/vendor/symfony/console/Input/InputInterface.php b/vendor/symfony/console/Input/InputInterface.php index 9a0aebad011..9e806eb8e01 100644 --- a/vendor/symfony/console/Input/InputInterface.php +++ b/vendor/symfony/console/Input/InputInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; /** * InputInterface is the interface implemented by all input classes. * @@ -22,7 +22,7 @@ interface InputInterface /** * Returns the first argument from the raw parameters (not parsed). * - * @return string|null The value of the first argument or null otherwise + * @return string|null */ public function getFirstArgument(); /** @@ -36,7 +36,7 @@ interface InputInterface * @param string|array $values The values to look for in the raw parameters (can be an array) * @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal * - * @return bool true if the value is contained in the raw parameters + * @return bool */ public function hasParameterOption($values, $onlyParams = \false); /** @@ -51,7 +51,7 @@ interface InputInterface * @param string|bool|int|float|array|null $default The default value to return if no result is found * @param bool $onlyParams Only check real parameters, skip those following an end of options (--) signal * - * @return mixed The option value + * @return mixed */ public function getParameterOption($values, $default = \false, $onlyParams = \false); /** @@ -94,7 +94,7 @@ interface InputInterface /** * Returns true if an InputArgument object exists by name or position. * - * @return bool true if the InputArgument object exists, false otherwise + * @return bool * @param string $name */ public function hasArgument($name); @@ -125,7 +125,7 @@ interface InputInterface /** * Returns true if an InputOption object exists by name. * - * @return bool true if the InputOption object exists, false otherwise + * @return bool * @param string $name */ public function hasOption($name); diff --git a/vendor/symfony/console/Input/InputOption.php b/vendor/symfony/console/Input/InputOption.php index bbe36a973d9..f9b2fa23cc0 100644 --- a/vendor/symfony/console/Input/InputOption.php +++ b/vendor/symfony/console/Input/InputOption.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; /** * Represents a command line option. * @@ -45,11 +45,9 @@ class InputOption private $default; private $description; /** - * @param string $name The option name - * @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts - * @param int|null $mode The option mode: One of the VALUE_* constants - * @param string $description A description text - * @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE) + * @param string|array|null $shortcut The shortcuts, can be null, a string of shortcuts delimited by | or an array of shortcuts + * @param int|null $mode The option mode: One of the VALUE_* constants + * @param string|bool|int|float|array|null $default The default value (must be null for self::VALUE_NONE) * * @throws InvalidArgumentException If option mode is invalid or incompatible */ @@ -59,7 +57,7 @@ class InputOption $name = \substr($name, 2); } if (empty($name)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('An option name cannot be empty.'); } if (empty($shortcut)) { $shortcut = null; @@ -72,30 +70,30 @@ class InputOption $shortcuts = \array_filter($shortcuts); $shortcut = \implode('|', $shortcuts); if (empty($shortcut)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('An option shortcut cannot be empty.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('An option shortcut cannot be empty.'); } } if (null === $mode) { $mode = self::VALUE_NONE; } elseif ($mode >= self::VALUE_NEGATABLE << 1 || $mode < 1) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Option mode "%s" is not valid.', $mode)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('Option mode "%s" is not valid.', $mode)); } $this->name = $name; $this->shortcut = $shortcut; $this->mode = $mode; $this->description = $description; if ($this->isArray() && !$this->acceptValue()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_IS_ARRAY if the option does not accept a value.'); } if ($this->isNegatable() && $this->acceptValue()) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Impossible to have an option mode VALUE_NEGATABLE if the option also accepts a value.'); } $this->setDefault($default); } /** * Returns the option shortcut. * - * @return string|null The shortcut + * @return string|null */ public function getShortcut() { @@ -104,7 +102,7 @@ class InputOption /** * Returns the option name. * - * @return string The name + * @return string */ public function getName() { @@ -156,13 +154,13 @@ class InputOption public function setDefault($default = null) { if (self::VALUE_NONE === (self::VALUE_NONE & $this->mode) && null !== $default) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('Cannot set a default value when using InputOption::VALUE_NONE mode.'); } if ($this->isArray()) { if (null === $default) { $default = []; } elseif (!\is_array($default)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('A default value for an array option must be an array.'); } } $this->default = $this->acceptValue() || $this->isNegatable() ? $default : \false; @@ -179,7 +177,7 @@ class InputOption /** * Returns the description text. * - * @return string The description text + * @return string */ public function getDescription() { diff --git a/vendor/symfony/console/Input/StreamableInputInterface.php b/vendor/symfony/console/Input/StreamableInputInterface.php index bada0a58915..9aad0645a6f 100644 --- a/vendor/symfony/console/Input/StreamableInputInterface.php +++ b/vendor/symfony/console/Input/StreamableInputInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; /** * StreamableInputInterface is the interface implemented by all input classes @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\Console\Input; * * @author Robin Chalas */ -interface StreamableInputInterface extends \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface +interface StreamableInputInterface extends \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface { /** * Sets the input stream to read from when interacting with the user. diff --git a/vendor/symfony/console/Input/StringInput.php b/vendor/symfony/console/Input/StringInput.php index f1144d2bebb..91a89804736 100644 --- a/vendor/symfony/console/Input/StringInput.php +++ b/vendor/symfony/console/Input/StringInput.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Input; +namespace RectorPrefix20211130\Symfony\Component\Console\Input; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * StringInput represents an input provided as a string. * @@ -20,7 +20,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentExce * * @author Fabien Potencier */ -class StringInput extends \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput +class StringInput extends \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput { public const REGEX_STRING = '([^\\s]+?)(?:\\s|(?hasReturnType()) { - throw new \RuntimeException(\sprintf('The "%s" logger is not compatible with psr/log >= 3.0. Try running "composer require psr/log:^2.".', \RectorPrefix20211129\Symfony\Component\Console\Logger\ConsoleLogger::class)); -} +use RectorPrefix20211130\Psr\Log\AbstractLogger; +use RectorPrefix20211130\Psr\Log\InvalidArgumentException; +use RectorPrefix20211130\Psr\Log\LogLevel; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * PSR-3 compliant console logger. * @@ -25,15 +22,15 @@ if ((new \ReflectionMethod(\RectorPrefix20211129\Psr\Log\AbstractLogger::class, * * @see https://www.php-fig.org/psr/psr-3/ */ -class ConsoleLogger extends \RectorPrefix20211129\Psr\Log\AbstractLogger +class ConsoleLogger extends \RectorPrefix20211130\Psr\Log\AbstractLogger { public const INFO = 'info'; public const ERROR = 'error'; private $output; - private $verbosityLevelMap = [\RectorPrefix20211129\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211129\Psr\Log\LogLevel::ALERT => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211129\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211129\Psr\Log\LogLevel::ERROR => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211129\Psr\Log\LogLevel::WARNING => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211129\Psr\Log\LogLevel::NOTICE => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20211129\Psr\Log\LogLevel::INFO => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20211129\Psr\Log\LogLevel::DEBUG => \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG]; - private $formatLevelMap = [\RectorPrefix20211129\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20211129\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20211129\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20211129\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20211129\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20211129\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20211129\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20211129\Psr\Log\LogLevel::DEBUG => self::INFO]; + private $verbosityLevelMap = [\RectorPrefix20211130\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211130\Psr\Log\LogLevel::ALERT => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211130\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211130\Psr\Log\LogLevel::ERROR => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211130\Psr\Log\LogLevel::WARNING => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_NORMAL, \RectorPrefix20211130\Psr\Log\LogLevel::NOTICE => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERBOSE, \RectorPrefix20211130\Psr\Log\LogLevel::INFO => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_VERY_VERBOSE, \RectorPrefix20211130\Psr\Log\LogLevel::DEBUG => \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG]; + private $formatLevelMap = [\RectorPrefix20211130\Psr\Log\LogLevel::EMERGENCY => self::ERROR, \RectorPrefix20211130\Psr\Log\LogLevel::ALERT => self::ERROR, \RectorPrefix20211130\Psr\Log\LogLevel::CRITICAL => self::ERROR, \RectorPrefix20211130\Psr\Log\LogLevel::ERROR => self::ERROR, \RectorPrefix20211130\Psr\Log\LogLevel::WARNING => self::INFO, \RectorPrefix20211130\Psr\Log\LogLevel::NOTICE => self::INFO, \RectorPrefix20211130\Psr\Log\LogLevel::INFO => self::INFO, \RectorPrefix20211130\Psr\Log\LogLevel::DEBUG => self::INFO]; private $errored = \false; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = []) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output, array $verbosityLevelMap = [], array $formatLevelMap = []) { $this->output = $output; $this->verbosityLevelMap = $verbosityLevelMap + $this->verbosityLevelMap; @@ -47,12 +44,12 @@ class ConsoleLogger extends \RectorPrefix20211129\Psr\Log\AbstractLogger public function log($level, $message, array $context = []) { if (!isset($this->verbosityLevelMap[$level])) { - throw new \RectorPrefix20211129\Psr\Log\InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level)); + throw new \RectorPrefix20211130\Psr\Log\InvalidArgumentException(\sprintf('The log level "%s" does not exist.', $level)); } $output = $this->output; // Write to the error output if necessary and available if (self::ERROR === $this->formatLevelMap[$level]) { - if ($this->output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if ($this->output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { $output = $output->getErrorOutput(); } $this->errored = \true; diff --git a/vendor/symfony/console/Output/BufferedOutput.php b/vendor/symfony/console/Output/BufferedOutput.php index fb75c8a7486..0760a999cbd 100644 --- a/vendor/symfony/console/Output/BufferedOutput.php +++ b/vendor/symfony/console/Output/BufferedOutput.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; /** * @author Jean-François Simon */ -class BufferedOutput extends \RectorPrefix20211129\Symfony\Component\Console\Output\Output +class BufferedOutput extends \RectorPrefix20211130\Symfony\Component\Console\Output\Output { private $buffer = ''; /** diff --git a/vendor/symfony/console/Output/ConsoleOutput.php b/vendor/symfony/console/Output/ConsoleOutput.php index b35921aae4c..70ee0ac08a9 100644 --- a/vendor/symfony/console/Output/ConsoleOutput.php +++ b/vendor/symfony/console/Output/ConsoleOutput.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * ConsoleOutput is the default class for all CLI output. It uses STDOUT and STDERR. * @@ -25,7 +25,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -class ConsoleOutput extends \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface +class ConsoleOutput extends \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput implements \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface { private $stderr; private $consoleSectionOutputs = []; @@ -34,16 +34,16 @@ class ConsoleOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outp * @param bool|null $decorated Whether to decorate messages (null for auto-guessing) * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter) */ - public function __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { parent::__construct($this->openOutputStream(), $verbosity, $decorated, $formatter); if (null === $formatter) { // for BC reasons, stdErr has it own Formatter only when user don't inject a specific formatter. - $this->stderr = new \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated); + $this->stderr = new \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated); return; } $actualDecorated = $this->isDecorated(); - $this->stderr = new \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter()); + $this->stderr = new \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput($this->openErrorStream(), $verbosity, $decorated, $this->getFormatter()); if (null === $decorated) { $this->setDecorated($actualDecorated && $this->stderr->isDecorated()); } @@ -51,9 +51,9 @@ class ConsoleOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outp /** * Creates a new output section. */ - public function section() : \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput + public function section() : \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput { - return new \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter()); + return new \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput($this->getStream(), $this->consoleSectionOutputs, $this->getVerbosity(), $this->isDecorated(), $this->getFormatter()); } /** * {@inheritdoc} @@ -66,7 +66,7 @@ class ConsoleOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outp /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { parent::setFormatter($formatter); $this->stderr->setFormatter($formatter); @@ -89,7 +89,7 @@ class ConsoleOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outp /** * {@inheritdoc} */ - public function setErrorOutput(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $error) + public function setErrorOutput(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $error) { $this->stderr = $error; } diff --git a/vendor/symfony/console/Output/ConsoleOutputInterface.php b/vendor/symfony/console/Output/ConsoleOutputInterface.php index 409af443173..712da73c15e 100644 --- a/vendor/symfony/console/Output/ConsoleOutputInterface.php +++ b/vendor/symfony/console/Output/ConsoleOutputInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; /** * ConsoleOutputInterface is the interface implemented by ConsoleOutput class. @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\Console\Output; * * @author Dariusz Górecki */ -interface ConsoleOutputInterface extends \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface +interface ConsoleOutputInterface extends \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface { /** * Gets the OutputInterface for errors. @@ -24,6 +24,6 @@ interface ConsoleOutputInterface extends \RectorPrefix20211129\Symfony\Component * @return OutputInterface */ public function getErrorOutput(); - public function setErrorOutput(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $error); - public function section() : \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleSectionOutput; + public function setErrorOutput(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $error); + public function section() : \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleSectionOutput; } diff --git a/vendor/symfony/console/Output/ConsoleSectionOutput.php b/vendor/symfony/console/Output/ConsoleSectionOutput.php index 37e3061f449..cfb9f0b40a4 100644 --- a/vendor/symfony/console/Output/ConsoleSectionOutput.php +++ b/vendor/symfony/console/Output/ConsoleSectionOutput.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Terminal; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20211130\Symfony\Component\Console\Terminal; /** * @author Pierre du Plessis * @author Gabriel Ostrolucký */ -class ConsoleSectionOutput extends \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput +class ConsoleSectionOutput extends \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput { private $content = []; private $lines = 0; @@ -27,12 +27,12 @@ class ConsoleSectionOutput extends \RectorPrefix20211129\Symfony\Component\Conso * @param resource $stream * @param ConsoleSectionOutput[] $sections */ - public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function __construct($stream, array &$sections, int $verbosity, bool $decorated, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { parent::__construct($stream, $verbosity, $decorated, $formatter); \array_unshift($sections, $this); $this->sections =& $sections; - $this->terminal = new \RectorPrefix20211129\Symfony\Component\Console\Terminal(); + $this->terminal = new \RectorPrefix20211130\Symfony\Component\Console\Terminal(); } /** * Clears previous output for this section. @@ -118,6 +118,6 @@ class ConsoleSectionOutput extends \RectorPrefix20211129\Symfony\Component\Conso } private function getDisplayLength(string $text) : int { - return \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), \str_replace("\t", ' ', $text))); + return \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), \str_replace("\t", ' ', $text))); } } diff --git a/vendor/symfony/console/Output/NullOutput.php b/vendor/symfony/console/Output/NullOutput.php index 94385682e33..c97f32aae6c 100644 --- a/vendor/symfony/console/Output/NullOutput.php +++ b/vendor/symfony/console/Output/NullOutput.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\NullOutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\NullOutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * NullOutput suppresses all output. * @@ -20,13 +20,13 @@ use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInte * @author Fabien Potencier * @author Tobias Schultze */ -class NullOutput implements \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface +class NullOutput implements \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface { private $formatter; /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { // do nothing } @@ -39,7 +39,7 @@ class NullOutput implements \RectorPrefix20211129\Symfony\Component\Console\Outp return $this->formatter; } // to comply with the interface we must return a OutputFormatterInterface - return $this->formatter = new \RectorPrefix20211129\Symfony\Component\Console\Formatter\NullOutputFormatter(); + return $this->formatter = new \RectorPrefix20211130\Symfony\Component\Console\Formatter\NullOutputFormatter(); } /** * {@inheritdoc} diff --git a/vendor/symfony/console/Output/Output.php b/vendor/symfony/console/Output/Output.php index 4f33933e3f9..69724fb76d7 100644 --- a/vendor/symfony/console/Output/Output.php +++ b/vendor/symfony/console/Output/Output.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * Base class for output classes. * @@ -25,25 +25,25 @@ use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -abstract class Output implements \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface +abstract class Output implements \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface { private $verbosity; private $formatter; /** - * @param int $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface) + * @param int|null $verbosity The verbosity level (one of the VERBOSITY constants in OutputInterface) * @param bool $decorated Whether to decorate messages * @param OutputFormatterInterface|null $formatter Output formatter instance (null to use default OutputFormatter) */ - public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { - $this->verbosity = null === $verbosity ? self::VERBOSITY_NORMAL : $verbosity; - $this->formatter = $formatter ?? new \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter(); + $this->verbosity = $verbosity ?? self::VERBOSITY_NORMAL; + $this->formatter = $formatter ?? new \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter(); $this->formatter->setDecorated($decorated); } /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { $this->formatter = $formatter; } @@ -134,12 +134,12 @@ abstract class Output implements \RectorPrefix20211129\Symfony\Component\Console } foreach ($messages as $message) { switch ($type) { - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::OUTPUT_NORMAL: $message = $this->formatter->format($message); break; - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::OUTPUT_RAW: break; - case \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN: + case \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::OUTPUT_PLAIN: $message = \strip_tags($this->formatter->format($message)); break; } diff --git a/vendor/symfony/console/Output/OutputInterface.php b/vendor/symfony/console/Output/OutputInterface.php index 68891dfcbdd..d35eb570730 100644 --- a/vendor/symfony/console/Output/OutputInterface.php +++ b/vendor/symfony/console/Output/OutputInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * OutputInterface is the interface implemented by all Output classes. * @@ -48,31 +48,31 @@ interface OutputInterface /** * Gets the current verbosity of the output. * - * @return int The current level of verbosity (one of the VERBOSITY constants) + * @return int */ public function getVerbosity(); /** * Returns whether verbosity is quiet (-q). * - * @return bool true if verbosity is set to VERBOSITY_QUIET, false otherwise + * @return bool */ public function isQuiet(); /** * Returns whether verbosity is verbose (-v). * - * @return bool true if verbosity is set to VERBOSITY_VERBOSE, false otherwise + * @return bool */ public function isVerbose(); /** * Returns whether verbosity is very verbose (-vv). * - * @return bool true if verbosity is set to VERBOSITY_VERY_VERBOSE, false otherwise + * @return bool */ public function isVeryVerbose(); /** * Returns whether verbosity is debug (-vvv). * - * @return bool true if verbosity is set to VERBOSITY_DEBUG, false otherwise + * @return bool */ public function isDebug(); /** @@ -82,10 +82,10 @@ interface OutputInterface /** * Gets the decorated flag. * - * @return bool true if the output will decorate messages, false otherwise + * @return bool */ public function isDecorated(); - public function setFormatter(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter); + public function setFormatter(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter); /** * Returns current output formatter instance. * diff --git a/vendor/symfony/console/Output/StreamOutput.php b/vendor/symfony/console/Output/StreamOutput.php index 8d7860c934e..ad86e9d45c0 100644 --- a/vendor/symfony/console/Output/StreamOutput.php +++ b/vendor/symfony/console/Output/StreamOutput.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * StreamOutput writes the output to a given stream. * @@ -25,7 +25,7 @@ use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInte * * @author Fabien Potencier */ -class StreamOutput extends \RectorPrefix20211129\Symfony\Component\Console\Output\Output +class StreamOutput extends \RectorPrefix20211130\Symfony\Component\Console\Output\Output { private $stream; /** @@ -36,10 +36,10 @@ class StreamOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outpu * * @throws InvalidArgumentException When first argument is not a real stream */ - public function __construct($stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct($stream, int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = null, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { if (!\is_resource($stream) || 'stream' !== \get_resource_type($stream)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('The StreamOutput class needs a stream as its first argument.'); } $this->stream = $stream; if (null === $decorated) { @@ -50,7 +50,7 @@ class StreamOutput extends \RectorPrefix20211129\Symfony\Component\Console\Outpu /** * Gets the stream attached to this StreamOutput instance. * - * @return resource A stream resource + * @return resource */ public function getStream() { diff --git a/vendor/symfony/console/Output/TrimmedBufferOutput.php b/vendor/symfony/console/Output/TrimmedBufferOutput.php index ebf33414786..2bb1af85462 100644 --- a/vendor/symfony/console/Output/TrimmedBufferOutput.php +++ b/vendor/symfony/console/Output/TrimmedBufferOutput.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Output; +namespace RectorPrefix20211130\Symfony\Component\Console\Output; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; /** * A BufferedOutput that keeps only the last N chars. * * @author Jérémy Derussé */ -class TrimmedBufferOutput extends \RectorPrefix20211129\Symfony\Component\Console\Output\Output +class TrimmedBufferOutput extends \RectorPrefix20211130\Symfony\Component\Console\Output\Output { private $maxLength; private $buffer = ''; - public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) + public function __construct(int $maxLength, ?int $verbosity = self::VERBOSITY_NORMAL, bool $decorated = \false, \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter = null) { if ($maxLength <= 0) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('"%s()" expects a strictly positive maxLength. Got %d.', __METHOD__, $maxLength)); } parent::__construct($verbosity, $decorated, $formatter); $this->maxLength = $maxLength; diff --git a/vendor/symfony/console/Question/ChoiceQuestion.php b/vendor/symfony/console/Question/ChoiceQuestion.php index 545e32af25b..649a6002764 100644 --- a/vendor/symfony/console/Question/ChoiceQuestion.php +++ b/vendor/symfony/console/Question/ChoiceQuestion.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Question; +namespace RectorPrefix20211130\Symfony\Component\Console\Question; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; /** * Represents a choice question. * * @author Fabien Potencier */ -class ChoiceQuestion extends \RectorPrefix20211129\Symfony\Component\Console\Question\Question +class ChoiceQuestion extends \RectorPrefix20211130\Symfony\Component\Console\Question\Question { private $choices; private $multiselect = \false; @@ -113,7 +113,7 @@ class ChoiceQuestion extends \RectorPrefix20211129\Symfony\Component\Console\Que if ($multiselect) { // Check for a separated comma values if (!\preg_match('/^[^,]+(?:,[^,]+)*$/', $selected, $matches)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $selected)); } $selectedChoices = \explode(',', $selected); } else { @@ -133,7 +133,7 @@ class ChoiceQuestion extends \RectorPrefix20211129\Symfony\Component\Console\Que } } if (\count($results) > 1) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The provided answer is ambiguous. Value should be one of "%s".', \implode('" or "', $results))); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The provided answer is ambiguous. Value should be one of "%s".', \implode('" or "', $results))); } $result = \array_search($value, $choices); if (!$isAssoc) { @@ -146,7 +146,7 @@ class ChoiceQuestion extends \RectorPrefix20211129\Symfony\Component\Console\Que $result = $value; } if (\false === $result) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $value)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf($errorMessage, $value)); } // For associative choices, consistently return the key as string: $multiselectChoices[] = $isAssoc ? (string) $result : $result; diff --git a/vendor/symfony/console/Question/ConfirmationQuestion.php b/vendor/symfony/console/Question/ConfirmationQuestion.php index 5278b7d046b..520ad43cc85 100644 --- a/vendor/symfony/console/Question/ConfirmationQuestion.php +++ b/vendor/symfony/console/Question/ConfirmationQuestion.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Question; +namespace RectorPrefix20211130\Symfony\Component\Console\Question; /** * Represents a yes/no question. * * @author Fabien Potencier */ -class ConfirmationQuestion extends \RectorPrefix20211129\Symfony\Component\Console\Question\Question +class ConfirmationQuestion extends \RectorPrefix20211130\Symfony\Component\Console\Question\Question { private $trueAnswerRegex; /** diff --git a/vendor/symfony/console/Question/Question.php b/vendor/symfony/console/Question/Question.php index 229dcb977dd..feac11a7685 100644 --- a/vendor/symfony/console/Question/Question.php +++ b/vendor/symfony/console/Question/Question.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Question; +namespace RectorPrefix20211130\Symfony\Component\Console\Question; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException; /** * Represents a Question. * @@ -94,13 +94,13 @@ class Question public function setHidden($hidden) { if ($this->autocompleterCallback) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); } - $this->hidden = (bool) $hidden; + $this->hidden = $hidden; return $this; } /** - * In case the response can not be hidden, whether to fallback on non-hidden question or not. + * In case the response cannot be hidden, whether to fallback on non-hidden question or not. * * @return bool */ @@ -109,14 +109,14 @@ class Question return $this->hiddenFallback; } /** - * Sets whether to fallback on non-hidden question if the response can not be hidden. + * Sets whether to fallback on non-hidden question if the response cannot be hidden. * * @return $this * @param bool $fallback */ public function setHiddenFallback($fallback) { - $this->hiddenFallback = (bool) $fallback; + $this->hiddenFallback = $fallback; return $this; } /** @@ -172,7 +172,7 @@ class Question public function setAutocompleterCallback($callback = null) : self { if ($this->hidden && null !== $callback) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\LogicException('A hidden question cannot use the autocompleter.'); } $this->autocompleterCallback = $callback; return $this; @@ -209,11 +209,8 @@ class Question */ public function setMaxAttempts($attempts) { - if (null !== $attempts) { - $attempts = (int) $attempts; - if ($attempts < 1) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Maximum number of attempts must be a positive value.'); - } + if (null !== $attempts && $attempts < 1) { + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Maximum number of attempts must be a positive value.'); } $this->attempts = $attempts; return $this; diff --git a/vendor/symfony/console/README.md b/vendor/symfony/console/README.md index c89b4a1a206..c4c129989cb 100644 --- a/vendor/symfony/console/README.md +++ b/vendor/symfony/console/README.md @@ -4,6 +4,18 @@ Console Component The Console component eases the creation of beautiful and testable command line interfaces. +Sponsor +------- + +The Console component for Symfony 5.4/6.0 is [backed][1] by [Les-Tilleuls.coop][2]. + +Les-Tilleuls.coop is a team of 50+ Symfony experts who can help you design, develop and +fix your projects. We provide a wide range of professional services including development, +consulting, coaching, training and audits. We also are highly skilled in JS, Go and DevOps. +We are a worker cooperative! + +Help Symfony by [sponsoring][3] its development! + Resources --------- @@ -18,3 +30,7 @@ Credits `Resources/bin/hiddeninput.exe` is a third party binary provided within this component. Find sources and license at https://github.com/Seldaek/hidden-input. + +[1]: https://symfony.com/backers +[2]: https://les-tilleuls.coop +[3]: https://symfony.com/sponsor diff --git a/vendor/symfony/console/Resources/completion.bash b/vendor/symfony/console/Resources/completion.bash new file mode 100644 index 00000000000..971af088ba1 --- /dev/null +++ b/vendor/symfony/console/Resources/completion.bash @@ -0,0 +1,75 @@ +# This file is part of the Symfony package. +# +# (c) Fabien Potencier +# +# For the full copyright and license information, please view +# https://symfony.com/doc/current/contributing/code/license.html + +_sf_{{ COMMAND_NAME }}() { + # Use newline as only separator to allow space in completion values + IFS=$'\n' + local sf_cmd="${COMP_WORDS[0]}" + if [ ! -f "$sf_cmd" ]; then + return 1 + fi + + local cur prev words cword + _get_comp_words_by_ref -n := cur prev words cword + + local completecmd=("$sf_cmd" "_complete" "-sbash" "-c$cword" "-S{{ VERSION }}") + for w in ${words[@]}; do + w=$(printf -- '%b' "$w") + # remove quotes from typed values + quote="${w:0:1}" + if [ "$quote" == \' ]; then + w="${w%\'}" + w="${w#\'}" + elif [ "$quote" == \" ]; then + w="${w%\"}" + w="${w#\"}" + fi + # empty values are ignored + if [ ! -z "$w" ]; then + completecmd+=("-i$w") + fi + done + + local sfcomplete + if sfcomplete=$(${completecmd[@]} 2>&1); then + local quote suggestions + quote=${cur:0:1} + + # Use single quotes by default if suggestions contains backslash (FQCN) + if [ "$quote" == '' ] && [[ "$sfcomplete" =~ \\ ]]; then + quote=\' + fi + + if [ "$quote" == \' ]; then + # single quotes: no additional escaping (does not accept ' in values) + suggestions=$(for s in $sfcomplete; do printf $'%q%q%q\n' "$quote" "$s" "$quote"; done) + elif [ "$quote" == \" ]; then + # double quotes: double escaping for \ $ ` " + suggestions=$(for s in $sfcomplete; do + s=${s//\\/\\\\} + s=${s//\$/\\\$} + s=${s//\`/\\\`} + s=${s//\"/\\\"} + printf $'%q%q%q\n' "$quote" "$s" "$quote"; + done) + else + # no quotes: double escaping + suggestions=$(for s in $sfcomplete; do printf $'%q\n' $(printf '%q' "$s"); done) + fi + COMPREPLY=($(IFS=$'\n' compgen -W "$suggestions" -- $(printf -- "%q" "$cur"))) + __ltrim_colon_completions "$cur" + else + if [[ "$sfcomplete" != *"Command \"_complete\" is not defined."* ]]; then + >&2 echo + >&2 echo $sfcomplete + fi + + return 1 + fi +} + +complete -F _sf_{{ COMMAND_NAME }} {{ COMMAND_NAME }} diff --git a/vendor/symfony/console/SignalRegistry/SignalRegistry.php b/vendor/symfony/console/SignalRegistry/SignalRegistry.php index 5c303584664..6e8efb2e27a 100644 --- a/vendor/symfony/console/SignalRegistry/SignalRegistry.php +++ b/vendor/symfony/console/SignalRegistry/SignalRegistry.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\SignalRegistry; +namespace RectorPrefix20211130\Symfony\Component\Console\SignalRegistry; final class SignalRegistry { diff --git a/vendor/symfony/console/SingleCommandApplication.php b/vendor/symfony/console/SingleCommandApplication.php index 5766d8b67e3..bf820e6b227 100644 --- a/vendor/symfony/console/SingleCommandApplication.php +++ b/vendor/symfony/console/SingleCommandApplication.php @@ -8,20 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * @author Grégoire Pineau */ -class SingleCommandApplication extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +class SingleCommandApplication extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { private $version = 'UNKNOWN'; private $autoExit = \true; private $running = \false; /** + * @return $this * @param string $version */ public function setVersion($version) : self @@ -31,6 +32,8 @@ class SingleCommandApplication extends \RectorPrefix20211129\Symfony\Component\C } /** * @final + * + * @return $this * @param bool $autoExit */ public function setAutoExit($autoExit) : self @@ -48,7 +51,7 @@ class SingleCommandApplication extends \RectorPrefix20211129\Symfony\Component\C return parent::run($input, $output); } // We use the command name as the application name - $application = new \RectorPrefix20211129\Symfony\Component\Console\Application($this->getName() ?: 'UNKNOWN', $this->version); + $application = new \RectorPrefix20211130\Symfony\Component\Console\Application($this->getName() ?: 'UNKNOWN', $this->version); $application->setAutoExit($this->autoExit); // Fix the usage of the command displayed with "--help" $this->setName($_SERVER['argv'][0]); diff --git a/vendor/symfony/console/Style/OutputStyle.php b/vendor/symfony/console/Style/OutputStyle.php index 1dabd2b5b20..ee6d24fe4ee 100644 --- a/vendor/symfony/console/Style/OutputStyle.php +++ b/vendor/symfony/console/Style/OutputStyle.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Style; +namespace RectorPrefix20211130\Symfony\Component\Console\Style; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface; -use RectorPrefix20211129\Symfony\Component\Console\Helper\ProgressBar; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface; +use RectorPrefix20211130\Symfony\Component\Console\Helper\ProgressBar; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; /** * Decorates output to add console style guide helpers. * * @author Kevin Bond */ -abstract class OutputStyle implements \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20211129\Symfony\Component\Console\Style\StyleInterface +abstract class OutputStyle implements \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface, \RectorPrefix20211130\Symfony\Component\Console\Style\StyleInterface { private $output; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $this->output = $output; } @@ -38,7 +38,7 @@ abstract class OutputStyle implements \RectorPrefix20211129\Symfony\Component\Co */ public function createProgressBar(int $max = 0) { - return new \RectorPrefix20211129\Symfony\Component\Console\Helper\ProgressBar($this->output, $max); + return new \RectorPrefix20211130\Symfony\Component\Console\Helper\ProgressBar($this->output, $max); } /** * {@inheritdoc} @@ -85,7 +85,7 @@ abstract class OutputStyle implements \RectorPrefix20211129\Symfony\Component\Co /** * {@inheritdoc} */ - public function setFormatter(\RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) + public function setFormatter(\RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatterInterface $formatter) { $this->output->setFormatter($formatter); } @@ -126,7 +126,7 @@ abstract class OutputStyle implements \RectorPrefix20211129\Symfony\Component\Co } protected function getErrorOutput() { - if (!$this->output instanceof \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutputInterface) { + if (!$this->output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface) { return $this->output; } return $this->output->getErrorOutput(); diff --git a/vendor/symfony/console/Style/StyleInterface.php b/vendor/symfony/console/Style/StyleInterface.php index 7aa83438854..eaba2648943 100644 --- a/vendor/symfony/console/Style/StyleInterface.php +++ b/vendor/symfony/console/Style/StyleInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Style; +namespace RectorPrefix20211130\Symfony\Component\Console\Style; /** * Output style helpers. diff --git a/vendor/symfony/console/Style/SymfonyStyle.php b/vendor/symfony/console/Style/SymfonyStyle.php index b2c6714a187..e821d3a77db 100644 --- a/vendor/symfony/console/Style/SymfonyStyle.php +++ b/vendor/symfony/console/Style/SymfonyStyle.php @@ -8,45 +8,47 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Style; +namespace RectorPrefix20211130\Symfony\Component\Console\Style; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Helper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\ProgressBar; -use RectorPrefix20211129\Symfony\Component\Console\Helper\SymfonyQuestionHelper; -use RectorPrefix20211129\Symfony\Component\Console\Helper\Table; -use RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell; -use RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\TrimmedBufferOutput; -use RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion; -use RectorPrefix20211129\Symfony\Component\Console\Question\ConfirmationQuestion; -use RectorPrefix20211129\Symfony\Component\Console\Question\Question; -use RectorPrefix20211129\Symfony\Component\Console\Terminal; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Helper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\ProgressBar; +use RectorPrefix20211130\Symfony\Component\Console\Helper\SymfonyQuestionHelper; +use RectorPrefix20211130\Symfony\Component\Console\Helper\Table; +use RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell; +use RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\TrimmedBufferOutput; +use RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion; +use RectorPrefix20211130\Symfony\Component\Console\Question\ConfirmationQuestion; +use RectorPrefix20211130\Symfony\Component\Console\Question\Question; +use RectorPrefix20211130\Symfony\Component\Console\Terminal; /** * Output decorator helpers for the Symfony Style Guide. * * @author Kevin Bond */ -class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style\OutputStyle +class SymfonyStyle extends \RectorPrefix20211130\Symfony\Component\Console\Style\OutputStyle { public const MAX_LINE_LENGTH = 120; private $input; + private $output; private $questionHelper; private $progressBar; private $lineLength; private $bufferedOutput; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface $output) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, \RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface $output) { $this->input = $input; - $this->bufferedOutput = new \RectorPrefix20211129\Symfony\Component\Console\Output\TrimmedBufferOutput(\DIRECTORY_SEPARATOR === '\\' ? 4 : 2, $output->getVerbosity(), \false, clone $output->getFormatter()); + $this->bufferedOutput = new \RectorPrefix20211130\Symfony\Component\Console\Output\TrimmedBufferOutput(\DIRECTORY_SEPARATOR === '\\' ? 4 : 2, $output->getVerbosity(), \false, clone $output->getFormatter()); // Windows cmd wraps lines as soon as the terminal width is reached, whether there are following chars or not. - $width = (new \RectorPrefix20211129\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH; + $width = (new \RectorPrefix20211130\Symfony\Component\Console\Terminal())->getWidth() ?: self::MAX_LINE_LENGTH; $this->lineLength = \min($width - (int) (\DIRECTORY_SEPARATOR === '\\'), self::MAX_LINE_LENGTH); - parent::__construct($output); + parent::__construct($this->output = $output); } /** * Formats a message as a block of text. @@ -66,7 +68,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style public function title(string $message) { $this->autoPrependBlock(); - $this->writeln([\sprintf('%s', \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('=', \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); + $this->writeln([\sprintf('%s', \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('=', \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); $this->newLine(); } /** @@ -75,7 +77,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style public function section(string $message) { $this->autoPrependBlock(); - $this->writeln([\sprintf('%s', \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('-', \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); + $this->writeln([\sprintf('%s', \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escapeTrailingBackslash($message)), \sprintf('%s', \str_repeat('-', \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message))))]); $this->newLine(); } /** @@ -159,13 +161,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style */ public function table(array $headers, array $rows) { - $style = clone \RectorPrefix20211129\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); - $style->setCellHeaderFormat('%s'); - $table = new \RectorPrefix20211129\Symfony\Component\Console\Helper\Table($this); - $table->setHeaders($headers); - $table->setRows($rows); - $table->setStyle($style); - $table->render(); + $this->createTable()->setHeaders($headers)->setRows($rows)->render(); $this->newLine(); } /** @@ -173,14 +169,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style */ public function horizontalTable(array $headers, array $rows) { - $style = clone \RectorPrefix20211129\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); - $style->setCellHeaderFormat('%s'); - $table = new \RectorPrefix20211129\Symfony\Component\Console\Helper\Table($this); - $table->setHeaders($headers); - $table->setRows($rows); - $table->setStyle($style); - $table->setHorizontal(\true); - $table->render(); + $this->createTable()->setHorizontal(\true)->setHeaders($headers)->setRows($rows)->render(); $this->newLine(); } /** @@ -195,41 +184,33 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style */ public function definitionList(...$list) { - $style = clone \RectorPrefix20211129\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); - $style->setCellHeaderFormat('%s'); - $table = new \RectorPrefix20211129\Symfony\Component\Console\Helper\Table($this); $headers = []; $row = []; foreach ($list as $value) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\Console\Helper\TableSeparator) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\Console\Helper\TableSeparator) { $headers[] = $value; $row[] = $value; continue; } if (\is_string($value)) { - $headers[] = new \RectorPrefix20211129\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]); + $headers[] = new \RectorPrefix20211130\Symfony\Component\Console\Helper\TableCell($value, ['colspan' => 2]); $row[] = null; continue; } if (!\is_array($value)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException('Value should be an array, string, or an instance of TableSeparator.'); } $headers[] = \key($value); $row[] = \current($value); } - $table->setHeaders($headers); - $table->setRows([$row]); - $table->setHorizontal(); - $table->setStyle($style); - $table->render(); - $this->newLine(); + $this->horizontalTable($headers, [$row]); } /** * {@inheritdoc} */ public function ask(string $question, string $default = null, callable $validator = null) { - $question = new \RectorPrefix20211129\Symfony\Component\Console\Question\Question($question, $default); + $question = new \RectorPrefix20211130\Symfony\Component\Console\Question\Question($question, $default); $question->setValidator($validator); return $this->askQuestion($question); } @@ -238,7 +219,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style */ public function askHidden(string $question, callable $validator = null) { - $question = new \RectorPrefix20211129\Symfony\Component\Console\Question\Question($question); + $question = new \RectorPrefix20211130\Symfony\Component\Console\Question\Question($question); $question->setHidden(\true); $question->setValidator($validator); return $this->askQuestion($question); @@ -248,7 +229,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style */ public function confirm(string $question, bool $default = \true) { - return $this->askQuestion(new \RectorPrefix20211129\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default)); + return $this->askQuestion(new \RectorPrefix20211130\Symfony\Component\Console\Question\ConfirmationQuestion($question, $default)); } /** * {@inheritdoc} @@ -259,7 +240,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style $values = \array_flip($choices); $default = $values[$default] ?? $default; } - return $this->askQuestion(new \RectorPrefix20211129\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default)); + return $this->askQuestion(new \RectorPrefix20211130\Symfony\Component\Console\Question\ChoiceQuestion($question, $choices, $default)); } /** * {@inheritdoc} @@ -300,16 +281,24 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style } return $progressBar; } + /** + * @see ProgressBar::iterate() + */ + public function progressIterate(iterable $iterable, int $max = null) : iterable + { + yield from $this->createProgressBar()->iterate($iterable, $max); + $this->newLine(2); + } /** * @return mixed */ - public function askQuestion(\RectorPrefix20211129\Symfony\Component\Console\Question\Question $question) + public function askQuestion(\RectorPrefix20211130\Symfony\Component\Console\Question\Question $question) { if ($this->input->isInteractive()) { $this->autoPrependBlock(); } if (!$this->questionHelper) { - $this->questionHelper = new \RectorPrefix20211129\Symfony\Component\Console\Helper\SymfonyQuestionHelper(); + $this->questionHelper = new \RectorPrefix20211130\Symfony\Component\Console\Helper\SymfonyQuestionHelper(); } $answer = $this->questionHelper->ask($this->input, $this, $question); if ($this->input->isInteractive()) { @@ -361,10 +350,17 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style { return new self($this->input, $this->getErrorOutput()); } - private function getProgressBar() : \RectorPrefix20211129\Symfony\Component\Console\Helper\ProgressBar + public function createTable() : \RectorPrefix20211130\Symfony\Component\Console\Helper\Table + { + $output = $this->output instanceof \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutputInterface ? $this->output->section() : $this->output; + $style = clone \RectorPrefix20211130\Symfony\Component\Console\Helper\Table::getStyleDefinition('symfony-style-guide'); + $style->setCellHeaderFormat('%s'); + return (new \RectorPrefix20211130\Symfony\Component\Console\Helper\Table($output))->setStyle($style); + } + private function getProgressBar() : \RectorPrefix20211130\Symfony\Component\Console\Helper\ProgressBar { if (!$this->progressBar) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException('The ProgressBar is not started.'); } return $this->progressBar; } @@ -395,7 +391,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style private function createBlock(iterable $messages, string $type = null, string $style = null, string $prefix = ' ', bool $padding = \false, bool $escape = \false) : array { $indentLength = 0; - $prefixLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix)); + $prefixLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $prefix)); $lines = []; if (null !== $type) { $type = \sprintf('[%s] ', $type); @@ -405,9 +401,9 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style // wrap and add newlines for each element foreach ($messages as $key => $message) { if ($escape) { - $message = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); + $message = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape($message); } - $decorationLength = \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message)); + $decorationLength = \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width($message) - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $message)); $messageLineLength = \min($this->lineLength - $prefixLength - $indentLength + $decorationLength, $this->lineLength); $messageLines = \explode(\PHP_EOL, \wordwrap($message, $messageLineLength, \PHP_EOL, \true)); foreach ($messageLines as $messageLine) { @@ -428,7 +424,7 @@ class SymfonyStyle extends \RectorPrefix20211129\Symfony\Component\Console\Style $line = $firstLineIndex === $i ? $type . $line : $lineIndentation . $line; } $line = $prefix . $line; - $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211129\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $line)), 0)); + $line .= \str_repeat(' ', \max($this->lineLength - \RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::width(\RectorPrefix20211130\Symfony\Component\Console\Helper\Helper::removeDecoration($this->getFormatter(), $line)), 0)); if ($style) { $line = \sprintf('<%s>%s', $style, $line); } diff --git a/vendor/symfony/console/Terminal.php b/vendor/symfony/console/Terminal.php index 01cd7910e8a..2b04069bcc7 100644 --- a/vendor/symfony/console/Terminal.php +++ b/vendor/symfony/console/Terminal.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console; +namespace RectorPrefix20211130\Symfony\Component\Console; class Terminal { @@ -49,10 +49,8 @@ class Terminal } /** * @internal - * - * @return bool */ - public static function hasSttyAvailable() + public static function hasSttyAvailable() : bool { if (null !== self::$stty) { return self::$stty; diff --git a/vendor/symfony/console/Tester/ApplicationTester.php b/vendor/symfony/console/Tester/ApplicationTester.php index 696e707ca32..d91205abfc8 100644 --- a/vendor/symfony/console/Tester/ApplicationTester.php +++ b/vendor/symfony/console/Tester/ApplicationTester.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Tester; +namespace RectorPrefix20211130\Symfony\Component\Console\Tester; -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput; /** * Eases the testing of console applications. * @@ -26,9 +26,7 @@ class ApplicationTester { use TesterTrait; private $application; - private $input; - private $statusCode; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Application $application) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Application $application) { $this->application = $application; } @@ -46,7 +44,7 @@ class ApplicationTester */ public function run(array $input, array $options = []) { - $this->input = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput($input); + $this->input = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput($input); if (isset($options['interactive'])) { $this->input->setInteractive($options['interactive']); } diff --git a/vendor/symfony/console/Tester/CommandCompletionTester.php b/vendor/symfony/console/Tester/CommandCompletionTester.php new file mode 100644 index 00000000000..aeb257a44db --- /dev/null +++ b/vendor/symfony/console/Tester/CommandCompletionTester.php @@ -0,0 +1,48 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Tester; + +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +/** + * Eases the testing of command completion. + * + * @author Jérôme Tamarelle + */ +class CommandCompletionTester +{ + private $command; + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command) + { + $this->command = $command; + } + /** + * Create completion suggestions from input tokens. + */ + public function complete(array $input) : array + { + $currentIndex = \count($input); + if ('' === \end($input)) { + \array_pop($input); + } + \array_unshift($input, $this->command->getName()); + $completionInput = \RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput::fromTokens($input, $currentIndex); + $completionInput->bind($this->command->getDefinition()); + $suggestions = new \RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions(); + $this->command->complete($completionInput, $suggestions); + $options = []; + foreach ($suggestions->getOptionSuggestions() as $option) { + $options[] = '--' . $option->getName(); + } + return \array_map('strval', \array_merge($options, $suggestions->getValueSuggestions())); + } +} diff --git a/vendor/symfony/console/Tester/CommandTester.php b/vendor/symfony/console/Tester/CommandTester.php index 06f6a9caeeb..1ea98bf553d 100644 --- a/vendor/symfony/console/Tester/CommandTester.php +++ b/vendor/symfony/console/Tester/CommandTester.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Tester; +namespace RectorPrefix20211130\Symfony\Component\Console\Tester; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput; /** * Eases the testing of console commands. * @@ -22,9 +22,7 @@ class CommandTester { use TesterTrait; private $command; - private $input; - private $statusCode; - public function __construct(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command) + public function __construct(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command) { $this->command = $command; } @@ -50,7 +48,7 @@ class CommandTester if (!isset($input['command']) && null !== ($application = $this->command->getApplication()) && $application->getDefinition()->hasArgument('command')) { $input = \array_merge(['command' => $this->command->getName()], $input); } - $this->input = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArrayInput($input); + $this->input = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArrayInput($input); // Use an in-memory input stream even if no inputs are set so that QuestionHelper::ask() does not rely on the blocking STDIN. $this->input->setStream(self::createStream($this->inputs)); if (isset($options['interactive'])) { diff --git a/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php b/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php new file mode 100644 index 00000000000..a778988258c --- /dev/null +++ b/vendor/symfony/console/Tester/Constraint/CommandIsSuccessful.php @@ -0,0 +1,46 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Console\Tester\Constraint; + +use RectorPrefix20211130\PHPUnit\Framework\Constraint\Constraint; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +final class CommandIsSuccessful extends \RectorPrefix20211130\PHPUnit\Framework\Constraint\Constraint +{ + /** + * {@inheritdoc} + */ + public function toString() : string + { + return 'is successful'; + } + /** + * {@inheritdoc} + */ + protected function matches($other) : bool + { + return \RectorPrefix20211130\Symfony\Component\Console\Command\Command::SUCCESS === $other; + } + /** + * {@inheritdoc} + */ + protected function failureDescription($other) : string + { + return 'the command ' . $this->toString(); + } + /** + * {@inheritdoc} + */ + protected function additionalFailureDescription($other) : string + { + $mapping = [\RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE => 'Command failed.', \RectorPrefix20211130\Symfony\Component\Console\Command\Command::INVALID => 'Command was invalid.']; + return $mapping[$other] ?? \sprintf('Command returned exit status %d.', $other); + } +} diff --git a/vendor/symfony/console/Tester/TesterTrait.php b/vendor/symfony/console/Tester/TesterTrait.php index 99e357645e7..f186938dc7d 100644 --- a/vendor/symfony/console/Tester/TesterTrait.php +++ b/vendor/symfony/console/Tester/TesterTrait.php @@ -8,12 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Console\Tester; +namespace RectorPrefix20211130\Symfony\Component\Console\Tester; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput; +use RectorPrefix20211130\PHPUnit\Framework\Assert; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput; +use RectorPrefix20211130\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful; /** * @author Amrouche Hamza */ @@ -23,12 +25,16 @@ trait TesterTrait private $output; private $inputs = []; private $captureStreamsIndependently = \false; + /** @var InputInterface */ + private $input; + /** @var int */ + private $statusCode; /** * Gets the display returned by the last execution of the command or application. * * @throws \RuntimeException If it's called before the execute method * - * @return string The display + * @return string */ public function getDisplay(bool $normalize = \false) { @@ -64,7 +70,7 @@ trait TesterTrait /** * Gets the input instance used by the last execution of the command or application. * - * @return InputInterface The current input instance + * @return InputInterface */ public function getInput() { @@ -73,7 +79,7 @@ trait TesterTrait /** * Gets the output instance used by the last execution of the command or application. * - * @return OutputInterface The current output instance + * @return OutputInterface */ public function getOutput() { @@ -84,7 +90,7 @@ trait TesterTrait * * @throws \RuntimeException If it's called before the execute method * - * @return int The status code + * @return int */ public function getStatusCode() { @@ -93,6 +99,10 @@ trait TesterTrait } return $this->statusCode; } + public function assertCommandIsSuccessful(string $message = '') : void + { + \RectorPrefix20211130\PHPUnit\Framework\Assert::assertThat($this->statusCode, new \RectorPrefix20211130\Symfony\Component\Console\Tester\Constraint\CommandIsSuccessful(), $message); + } /** * Sets the user inputs. * @@ -119,7 +129,7 @@ trait TesterTrait { $this->captureStreamsIndependently = \array_key_exists('capture_stderr_separately', $options) && $options['capture_stderr_separately']; if (!$this->captureStreamsIndependently) { - $this->output = new \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); + $this->output = new \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); if (isset($options['decorated'])) { $this->output->setDecorated($options['decorated']); } @@ -127,8 +137,8 @@ trait TesterTrait $this->output->setVerbosity($options['verbosity']); } } else { - $this->output = new \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null); - $errorOutput = new \RectorPrefix20211129\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); + $this->output = new \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput($options['verbosity'] ?? \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput::VERBOSITY_NORMAL, $options['decorated'] ?? null); + $errorOutput = new \RectorPrefix20211130\Symfony\Component\Console\Output\StreamOutput(\fopen('php://memory', 'w', \false)); $errorOutput->setFormatter($this->output->getFormatter()); $errorOutput->setVerbosity($this->output->getVerbosity()); $errorOutput->setDecorated($this->output->isDecorated()); diff --git a/vendor/symfony/console/composer.json b/vendor/symfony/console/composer.json index 986f37a50f0..9f4a2e4442d 100644 --- a/vendor/symfony/console/composer.json +++ b/vendor/symfony/console/composer.json @@ -22,20 +22,20 @@ ], "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-mbstring": "~1.0", "symfony\/polyfill-php73": "^1.8", "symfony\/polyfill-php80": "^1.16", - "symfony\/service-contracts": "^1.1|^2", - "symfony\/string": "^5.1" + "symfony\/service-contracts": "^1.1|^2|^3", + "symfony\/string": "^5.1|^6.0" }, "require-dev": { - "symfony\/config": "^4.4|^5.0", - "symfony\/event-dispatcher": "^4.4|^5.0", - "symfony\/dependency-injection": "^4.4|^5.0", - "symfony\/lock": "^4.4|^5.0", - "symfony\/process": "^4.4|^5.0", - "symfony\/var-dumper": "^4.4|^5.0", + "symfony\/config": "^4.4|^5.0|^6.0", + "symfony\/event-dispatcher": "^4.4|^5.0|^6.0", + "symfony\/dependency-injection": "^4.4|^5.0|^6.0", + "symfony\/lock": "^4.4|^5.0|^6.0", + "symfony\/process": "^4.4|^5.0|^6.0", + "symfony\/var-dumper": "^4.4|^5.0|^6.0", "psr\/log": "^1|^2" }, "provide": { @@ -48,6 +48,7 @@ "psr\/log": "For using the console logger" }, "conflict": { + "psr\/log": ">=3", "symfony\/dependency-injection": "<4.4", "symfony\/dotenv": "<5.1", "symfony\/event-dispatcher": "<4.4", @@ -56,7 +57,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Console\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Console\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/contracts/Cache/CacheInterface.php b/vendor/symfony/contracts/Cache/CacheInterface.php index 4b10566e148..0dbfca59f0a 100644 --- a/vendor/symfony/contracts/Cache/CacheInterface.php +++ b/vendor/symfony/contracts/Cache/CacheInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Cache; -use RectorPrefix20211129\Psr\Cache\CacheItemInterface; -use RectorPrefix20211129\Psr\Cache\InvalidArgumentException; +use RectorPrefix20211130\Psr\Cache\CacheItemInterface; +use RectorPrefix20211130\Psr\Cache\InvalidArgumentException; /** * Covers most simple to advanced caching needs. * diff --git a/vendor/symfony/contracts/Cache/CacheTrait.php b/vendor/symfony/contracts/Cache/CacheTrait.php index ca91f4774e5..536843465c2 100644 --- a/vendor/symfony/contracts/Cache/CacheTrait.php +++ b/vendor/symfony/contracts/Cache/CacheTrait.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Cache; -use RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20211129\Psr\Cache\InvalidArgumentException; -use RectorPrefix20211129\Psr\Log\LoggerInterface; +use RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20211130\Psr\Cache\InvalidArgumentException; +use RectorPrefix20211130\Psr\Log\LoggerInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20211129\Psr\Cache\InvalidArgumentException::class); +\class_exists(\RectorPrefix20211130\Psr\Cache\InvalidArgumentException::class); /** * An implementation of CacheInterface for PSR-6 CacheItemPoolInterface classes. * @@ -38,19 +38,19 @@ trait CacheTrait { return $this->deleteItem($key); } - private function doGet(\RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20211129\Psr\Log\LoggerInterface $logger = null) + private function doGet(\RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface $pool, string $key, callable $callback, ?float $beta, array &$metadata = null, \RectorPrefix20211130\Psr\Log\LoggerInterface $logger = null) { if (0 > ($beta = $beta ?? 1.0)) { - throw new class(\sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements \RectorPrefix20211129\Psr\Cache\InvalidArgumentException + throw new class(\sprintf('Argument "$beta" provided to "%s::get()" must be a positive number, %f given.', static::class, $beta)) extends \InvalidArgumentException implements \RectorPrefix20211130\Psr\Cache\InvalidArgumentException { }; } $item = $pool->getItem($key); $recompute = !$item->isHit() || \INF === $beta; - $metadata = $item instanceof \RectorPrefix20211129\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : []; + $metadata = $item instanceof \RectorPrefix20211130\Symfony\Contracts\Cache\ItemInterface ? $item->getMetadata() : []; if (!$recompute && $metadata) { - $expiry = $metadata[\RectorPrefix20211129\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false; - $ctime = $metadata[\RectorPrefix20211129\Symfony\Contracts\Cache\ItemInterface::METADATA_CTIME] ?? \false; + $expiry = $metadata[\RectorPrefix20211130\Symfony\Contracts\Cache\ItemInterface::METADATA_EXPIRY] ?? \false; + $ctime = $metadata[\RectorPrefix20211130\Symfony\Contracts\Cache\ItemInterface::METADATA_CTIME] ?? \false; if ($recompute = $ctime && $expiry && $expiry <= ($now = \microtime(\true)) - $ctime / 1000 * $beta * \log(\random_int(1, \PHP_INT_MAX) / \PHP_INT_MAX)) { // force applying defaultLifetime to expiry $item->expiresAt(null); diff --git a/vendor/symfony/contracts/Cache/CallbackInterface.php b/vendor/symfony/contracts/Cache/CallbackInterface.php index c9602e90410..fb7ff07a42a 100644 --- a/vendor/symfony/contracts/Cache/CallbackInterface.php +++ b/vendor/symfony/contracts/Cache/CallbackInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Cache; -use RectorPrefix20211129\Psr\Cache\CacheItemInterface; +use RectorPrefix20211130\Psr\Cache\CacheItemInterface; /** * Computes and returns the cached value of an item. * @@ -24,5 +24,5 @@ interface CallbackInterface * * @return mixed The computed value for the passed item */ - public function __invoke(\RectorPrefix20211129\Psr\Cache\CacheItemInterface $item, bool &$save); + public function __invoke(\RectorPrefix20211130\Psr\Cache\CacheItemInterface $item, bool &$save); } diff --git a/vendor/symfony/contracts/Cache/ItemInterface.php b/vendor/symfony/contracts/Cache/ItemInterface.php index 0dfa650b636..cb1687ae2cf 100644 --- a/vendor/symfony/contracts/Cache/ItemInterface.php +++ b/vendor/symfony/contracts/Cache/ItemInterface.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Cache; -use RectorPrefix20211129\Psr\Cache\CacheException; -use RectorPrefix20211129\Psr\Cache\CacheItemInterface; -use RectorPrefix20211129\Psr\Cache\InvalidArgumentException; +use RectorPrefix20211130\Psr\Cache\CacheException; +use RectorPrefix20211130\Psr\Cache\CacheItemInterface; +use RectorPrefix20211130\Psr\Cache\InvalidArgumentException; /** * Augments PSR-6's CacheItemInterface with support for tags and metadata. * * @author Nicolas Grekas */ -interface ItemInterface extends \RectorPrefix20211129\Psr\Cache\CacheItemInterface +interface ItemInterface extends \RectorPrefix20211130\Psr\Cache\CacheItemInterface { /** * References the Unix timestamp stating when the item will expire. diff --git a/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php b/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php index c6f74107343..02b6336c229 100644 --- a/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php +++ b/vendor/symfony/contracts/Cache/TagAwareCacheInterface.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Cache; -use RectorPrefix20211129\Psr\Cache\InvalidArgumentException; +use RectorPrefix20211130\Psr\Cache\InvalidArgumentException; /** * Allows invalidating cached items using tags. * * @author Nicolas Grekas */ -interface TagAwareCacheInterface extends \RectorPrefix20211129\Symfony\Contracts\Cache\CacheInterface +interface TagAwareCacheInterface extends \RectorPrefix20211130\Symfony\Contracts\Cache\CacheInterface { /** * Invalidates cached items using tags. diff --git a/vendor/symfony/contracts/Cache/composer.json b/vendor/symfony/contracts/Cache/composer.json index 4c3901c2942..3a841ba1e6b 100644 --- a/vendor/symfony/contracts/Cache/composer.json +++ b/vendor/symfony/contracts/Cache/composer.json @@ -31,7 +31,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\Cache\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\Cache\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/Deprecation/function.php b/vendor/symfony/contracts/Deprecation/function.php index c44f61b71c1..90541e7f8f5 100644 --- a/vendor/symfony/contracts/Deprecation/function.php +++ b/vendor/symfony/contracts/Deprecation/function.php @@ -1,6 +1,6 @@ * @author Nicolas Grekas */ -class Event implements \RectorPrefix20211129\Psr\EventDispatcher\StoppableEventInterface +class Event implements \RectorPrefix20211130\Psr\EventDispatcher\StoppableEventInterface { private $propagationStopped = \false; /** diff --git a/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php b/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php index 4e5d8936e10..a96f3dbb8f8 100644 --- a/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php +++ b/vendor/symfony/contracts/EventDispatcher/EventDispatcherInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\EventDispatcher; +namespace RectorPrefix20211130\Symfony\Contracts\EventDispatcher; -use RectorPrefix20211129\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface; +use RectorPrefix20211130\Psr\EventDispatcher\EventDispatcherInterface as PsrEventDispatcherInterface; /** * Allows providing hooks on domain-specific lifecycles by dispatching events. */ -interface EventDispatcherInterface extends \RectorPrefix20211129\Psr\EventDispatcher\EventDispatcherInterface +interface EventDispatcherInterface extends \RectorPrefix20211130\Psr\EventDispatcher\EventDispatcherInterface { /** * Dispatches an event to all registered listeners. diff --git a/vendor/symfony/contracts/EventDispatcher/composer.json b/vendor/symfony/contracts/EventDispatcher/composer.json index e6c2d2e1357..5075b514fc0 100644 --- a/vendor/symfony/contracts/EventDispatcher/composer.json +++ b/vendor/symfony/contracts/EventDispatcher/composer.json @@ -31,7 +31,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\EventDispatcher\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\EventDispatcher\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/HttpClient/ChunkInterface.php b/vendor/symfony/contracts/HttpClient/ChunkInterface.php index 74aba1340ef..b8113030e9c 100644 --- a/vendor/symfony/contracts/HttpClient/ChunkInterface.php +++ b/vendor/symfony/contracts/HttpClient/ChunkInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; /** * The interface of chunks returned by ResponseStreamInterface::current(). * diff --git a/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php index 58a8cd00a50..26ae0073b41 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/ClientExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When a 4xx response is returned. * * @author Nicolas Grekas */ -interface ClientExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface ClientExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php index cc5004614b2..24ac4f8ed3b 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/DecodingExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When a content-type cannot be decoded to the expected representation. * * @author Nicolas Grekas */ -interface DecodingExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface DecodingExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php index b910697618c..89ddecdb3ac 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * The base interface for all exceptions in the contract. diff --git a/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php index 5039b9c15ef..7175fa9d4ce 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/HttpExceptionInterface.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\ResponseInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\ResponseInterface; /** * Base interface for HTTP-related exceptions. * * @author Anton Chernikov */ -interface HttpExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface HttpExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { - public function getResponse() : \RectorPrefix20211129\Symfony\Contracts\HttpClient\ResponseInterface; + public function getResponse() : \RectorPrefix20211130\Symfony\Contracts\HttpClient\ResponseInterface; } diff --git a/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php index ad1449f1293..b25b514ea3c 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/RedirectionExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When a 3xx response is returned and the "max_redirects" option has been reached. * * @author Nicolas Grekas */ -interface RedirectionExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface RedirectionExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php index 89404906487..fe21a08e691 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/ServerExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When a 5xx response is returned. * * @author Nicolas Grekas */ -interface ServerExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface +interface ServerExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\HttpExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php index ec07b103929..a8be2c9248d 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/TimeoutExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When an idle timeout occurs. * * @author Nicolas Grekas */ -interface TimeoutExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface +interface TimeoutExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php b/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php index 977994c5d90..191ba5d2efd 100644 --- a/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php +++ b/vendor/symfony/contracts/HttpClient/Exception/TransportExceptionInterface.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception; /** * When any error happens at the transport level. * * @author Nicolas Grekas */ -interface TransportExceptionInterface extends \RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ExceptionInterface +interface TransportExceptionInterface extends \RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ExceptionInterface { } diff --git a/vendor/symfony/contracts/HttpClient/HttpClientInterface.php b/vendor/symfony/contracts/HttpClient/HttpClientInterface.php index 143522b1701..7601b53efc6 100644 --- a/vendor/symfony/contracts/HttpClient/HttpClientInterface.php +++ b/vendor/symfony/contracts/HttpClient/HttpClientInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Test\HttpClientTestCase; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Test\HttpClientTestCase; /** * Provides flexible methods for requesting HTTP resources synchronously or asynchronously. * @@ -102,12 +102,12 @@ interface HttpClientInterface * @param string $url * @param mixed[] $options */ - public function request($method, $url, $options = []) : \RectorPrefix20211129\Symfony\Contracts\HttpClient\ResponseInterface; + public function request($method, $url, $options = []) : \RectorPrefix20211130\Symfony\Contracts\HttpClient\ResponseInterface; /** * Yields responses chunk by chunk as they complete. * * @param ResponseInterface|iterable $responses One or more responses created by the current HTTP client * @param float|null $timeout The idle timeout before yielding timeout chunks */ - public function stream($responses, $timeout = null) : \RectorPrefix20211129\Symfony\Contracts\HttpClient\ResponseStreamInterface; + public function stream($responses, $timeout = null) : \RectorPrefix20211130\Symfony\Contracts\HttpClient\ResponseStreamInterface; } diff --git a/vendor/symfony/contracts/HttpClient/ResponseInterface.php b/vendor/symfony/contracts/HttpClient/ResponseInterface.php index 221f1ae3c39..1f432672cef 100644 --- a/vendor/symfony/contracts/HttpClient/ResponseInterface.php +++ b/vendor/symfony/contracts/HttpClient/ResponseInterface.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface; -use RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\DecodingExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ServerExceptionInterface; +use RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface; /** * A (lazily retrieved) HTTP response. * diff --git a/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php b/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php index 3e25dbc2cc1..97d902cbca4 100644 --- a/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php +++ b/vendor/symfony/contracts/HttpClient/ResponseStreamInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient; /** * Yields response chunks, returned by HttpClientInterface::stream(). @@ -19,6 +19,6 @@ namespace RectorPrefix20211129\Symfony\Contracts\HttpClient; */ interface ResponseStreamInterface extends \Iterator { - public function key() : \RectorPrefix20211129\Symfony\Contracts\HttpClient\ResponseInterface; - public function current() : \RectorPrefix20211129\Symfony\Contracts\HttpClient\ChunkInterface; + public function key() : \RectorPrefix20211130\Symfony\Contracts\HttpClient\ResponseInterface; + public function current() : \RectorPrefix20211130\Symfony\Contracts\HttpClient\ChunkInterface; } diff --git a/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php b/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php index faafc914bb1..db2a6bbc637 100644 --- a/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php +++ b/vendor/symfony/contracts/HttpClient/Test/Fixtures/web/index.php @@ -1,6 +1,6 @@ getHttpClient(__FUNCTION__); @@ -50,7 +50,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame('localhost:8057', $body['HTTP_HOST']); $this->assertSame('baR', $body['HTTP_FOO']); $response = $client->request('GET', 'http://localhost:8057/length-broken'); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testHeadRequest() @@ -74,7 +74,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057', ['buffer' => \false, 'headers' => ['Foo' => 'baR']]); $body = $response->toArray(); $this->assertSame('baR', $body['HTTP_FOO']); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testBufferSink() @@ -99,7 +99,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor return \false; }]); $response->getContent(); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testReentrantBufferCallback() @@ -110,7 +110,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor return \true; }]); $this->assertSame(200, $response->getStatusCode()); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testThrowingBufferCallback() @@ -120,7 +120,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor throw new \Exception('Boo.'); }]); $this->assertSame(200, $response->getStatusCode()); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $this->expectExceptionMessage('Boo'); $response->getContent(); } @@ -148,7 +148,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame(['chunked'], $response->getHeaders()['transfer-encoding']); $this->assertSame('Symfony is awesome!', $response->getContent()); $response = $client->request('GET', 'http://localhost:8057/chunked-broken'); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testClientError() @@ -159,13 +159,13 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame(404, $response->getInfo('http_code')); try { $response->getHeaders(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { } try { $response->getContent(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { } $this->assertSame(404, $response->getStatusCode()); $this->assertSame(['application/json'], $response->getHeaders(\false)['content-type']); @@ -175,8 +175,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor foreach ($client->stream($response) as $chunk) { $this->assertTrue($chunk->isFirst()); } - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { } } public function testIgnoreErrors() @@ -191,27 +191,27 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/301/bad-tld'); try { $response->getStatusCode(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } try { $response->getStatusCode(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' still expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } $response = $client->request('GET', 'http://localhost:8057/301/bad-tld'); try { foreach ($client->stream($response) as $r => $chunk) { } - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } $this->assertSame($response, $r); $this->assertNotNull($chunk->getError()); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($client->stream($response) as $chunk) { } } @@ -226,7 +226,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor public function testBadRequestBody() { $client = $this->getHttpClient(__FUNCTION__); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response = $client->request('POST', 'http://localhost:8057/', ['body' => function () { (yield []); }]); @@ -265,7 +265,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame(['//?foo=bar'], $response->getHeaders(\false)['location']); $this->assertSame(0, $response->getInfo('redirect_count')); $this->assertNull($response->getInfo('redirect_url')); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class); $response->getHeaders(); } public function testRelativeRedirects() @@ -296,8 +296,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/301', ['max_redirects' => 1, 'auth_basic' => 'foo:bar']); try { $response->getHeaders(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\RedirectionExceptionInterface $e) { } $this->assertSame(302, $response->getStatusCode()); $this->assertSame(1, $response->getInfo('redirect_count')); @@ -415,7 +415,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-header'); $response->cancel(); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getHeaders(); } public function testInfoOnCanceledResponse() @@ -433,7 +433,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor foreach ($client->stream($response) as $chunk) { $response->cancel(); } - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($client->stream($response) as $chunk) { } } @@ -448,12 +448,12 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor try { foreach ($client->stream([$response]) as $chunk) { } - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->assertSame('Aborting the request.', $e->getPrevious()->getMessage()); } $this->assertNotNull($response->getInfo('error')); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testOnProgressError() @@ -472,7 +472,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame('BUG.', $e->getMessage()); } $this->assertNotNull($response->getInfo('error')); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testResolve() @@ -482,7 +482,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $this->assertSame(200, $response->getStatusCode()); $this->assertSame(200, $client->request('GET', 'http://symfony.com:8057/')->getStatusCode()); $response = null; - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $client->request('GET', 'http://symfony.com:8057/', ['timeout' => 1]); } public function testIdnResolve() @@ -504,7 +504,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor { $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-header', ['timeout' => 0.1]); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getHeaders(); } public function testTimeoutIsNotAFatalError() @@ -515,14 +515,14 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $response = $client->request('GET', 'http://localhost:8057/timeout-body', ['timeout' => 0.25]); try { $response->getContent(); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { } for ($i = 0; $i < 10; ++$i) { try { $this->assertSame('<1><2>', $response->getContent()); break; - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TimeoutExceptionInterface $e) { } } if (10 === $i) { @@ -557,20 +557,20 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/timeout-body'); $chunks = $client->stream([$response], 0.1); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); foreach ($chunks as $r => $chunk) { } } public function testTimeoutWithActiveConcurrentStream() { - $p1 = \RectorPrefix20211129\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); - $p2 = \RectorPrefix20211129\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); + $p1 = \RectorPrefix20211130\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); + $p2 = \RectorPrefix20211130\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); $client = $this->getHttpClient(__FUNCTION__); $streamingResponse = $client->request('GET', 'http://localhost:8067/max-duration'); $blockingResponse = $client->request('GET', 'http://localhost:8077/timeout-body', ['timeout' => 0.25]); $this->assertSame(200, $streamingResponse->getStatusCode()); $this->assertSame(200, $blockingResponse->getStatusCode()); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); try { $blockingResponse->getContent(); } finally { @@ -580,8 +580,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor } public function testTimeoutOnDestruct() { - $p1 = \RectorPrefix20211129\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); - $p2 = \RectorPrefix20211129\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); + $p1 = \RectorPrefix20211130\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8067); + $p2 = \RectorPrefix20211130\Symfony\Contracts\HttpClient\Test\TestHttpServer::start(8077); $client = $this->getHttpClient(__FUNCTION__); $start = \microtime(\true); $responses = []; @@ -593,8 +593,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor while ($response = \array_shift($responses)) { try { unset($response); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { } } $duration = \microtime(\true) - $start; @@ -619,8 +619,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); try { $client->request('GET', 'http://localhost:8057/404'); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { $this->assertSame('GET', $e->getResponse()->toArray(\false)['REQUEST_METHOD']); } } @@ -629,8 +629,8 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $client = $this->getHttpClient(__FUNCTION__); try { $client->request('GET', 'http://localhost:8057/404-gzipped'); - $this->fail(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { + $this->fail(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface::class . ' expected'); + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\ClientExceptionInterface $e) { $this->assertSame('some text', $e->getResponse()->getContent(\false)); } } @@ -735,7 +735,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor { $client = $this->getHttpClient(__FUNCTION__); $response = $client->request('GET', 'http://localhost:8057/gzip-broken'); - $this->expectException(\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface::class); $response->getContent(); } public function testMaxDuration() @@ -745,7 +745,7 @@ abstract class HttpClientTestCase extends \RectorPrefix20211129\PHPUnit\Framewor $start = \microtime(\true); try { $response->getContent(); - } catch (\RectorPrefix20211129\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Contracts\HttpClient\Exception\TransportExceptionInterface $e) { $this->addToAssertionCount(1); } $duration = \microtime(\true) - $start; diff --git a/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php b/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php index aea22cf60e5..5aff29bc70f 100644 --- a/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php +++ b/vendor/symfony/contracts/HttpClient/Test/TestHttpServer.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\HttpClient\Test; +namespace RectorPrefix20211130\Symfony\Contracts\HttpClient\Test; -use RectorPrefix20211129\Symfony\Component\Process\PhpExecutableFinder; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\PhpExecutableFinder; +use RectorPrefix20211130\Symfony\Component\Process\Process; class TestHttpServer { private static $process = []; @@ -27,8 +27,8 @@ class TestHttpServer self::$process[$port]->stop(); }); } - $finder = new \RectorPrefix20211129\Symfony\Component\Process\PhpExecutableFinder(); - $process = new \RectorPrefix20211129\Symfony\Component\Process\Process(\array_merge([$finder->find(\false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:' . $port])); + $finder = new \RectorPrefix20211130\Symfony\Component\Process\PhpExecutableFinder(); + $process = new \RectorPrefix20211130\Symfony\Component\Process\Process(\array_merge([$finder->find(\false)], $finder->findArguments(), ['-dopcache.enable=0', '-dvariables_order=EGPCS', '-S', '127.0.0.1:' . $port])); $process->setWorkingDirectory(__DIR__ . '/Fixtures/web'); $process->start(); self::$process[$port] = $process; diff --git a/vendor/symfony/contracts/HttpClient/composer.json b/vendor/symfony/contracts/HttpClient/composer.json index 21c70bba739..102e2895b77 100644 --- a/vendor/symfony/contracts/HttpClient/composer.json +++ b/vendor/symfony/contracts/HttpClient/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\HttpClient\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\HttpClient\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/Service/Attribute/Required.php b/vendor/symfony/contracts/Service/Attribute/Required.php index 4f189716071..ba52d65fe89 100644 --- a/vendor/symfony/contracts/Service/Attribute/Required.php +++ b/vendor/symfony/contracts/Service/Attribute/Required.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service\Attribute; +namespace RectorPrefix20211130\Symfony\Contracts\Service\Attribute; /** * A required dependency. diff --git a/vendor/symfony/contracts/Service/Attribute/SubscribedService.php b/vendor/symfony/contracts/Service/Attribute/SubscribedService.php index ea38c52c60d..3bddc941133 100644 --- a/vendor/symfony/contracts/Service/Attribute/SubscribedService.php +++ b/vendor/symfony/contracts/Service/Attribute/SubscribedService.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service\Attribute; +namespace RectorPrefix20211130\Symfony\Contracts\Service\Attribute; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberTrait; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberTrait; /** * Use with {@see ServiceSubscriberTrait} to mark a method's return type * as a subscribed service. diff --git a/vendor/symfony/contracts/Service/ResetInterface.php b/vendor/symfony/contracts/Service/ResetInterface.php index e18d509ca80..82601ed8ade 100644 --- a/vendor/symfony/contracts/Service/ResetInterface.php +++ b/vendor/symfony/contracts/Service/ResetInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Service; /** * Provides a way to reset an object to its initial state. diff --git a/vendor/symfony/contracts/Service/ServiceLocatorTrait.php b/vendor/symfony/contracts/Service/ServiceLocatorTrait.php index a364b03d85d..e0af47c0060 100644 --- a/vendor/symfony/contracts/Service/ServiceLocatorTrait.php +++ b/vendor/symfony/contracts/Service/ServiceLocatorTrait.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Service; -use RectorPrefix20211129\Psr\Container\ContainerExceptionInterface; -use RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20211130\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20211129\Psr\Container\ContainerExceptionInterface::class); -\class_exists(\RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface::class); +\class_exists(\RectorPrefix20211130\Psr\Container\ContainerExceptionInterface::class); +\class_exists(\RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface::class); /** * A trait to help implement ServiceProviderInterface. * @@ -85,7 +85,7 @@ trait ServiceLocatorTrait } return $this->providedTypes; } - private function createNotFoundException(string $id) : \RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface + private function createNotFoundException(string $id) : \RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface { if (!($alternatives = \array_keys($this->factories))) { $message = 'is empty...'; @@ -102,13 +102,13 @@ trait ServiceLocatorTrait } else { $message = \sprintf('Service "%s" not found: the current service locator %s', $id, $message); } - return new class($message) extends \InvalidArgumentException implements \RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface + return new class($message) extends \InvalidArgumentException implements \RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface { }; } - private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20211129\Psr\Container\ContainerExceptionInterface + private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20211130\Psr\Container\ContainerExceptionInterface { - return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20211129\Psr\Container\ContainerExceptionInterface + return new class(\sprintf('Circular reference detected for service "%s", path: "%s".', $id, \implode(' -> ', $path))) extends \RuntimeException implements \RectorPrefix20211130\Psr\Container\ContainerExceptionInterface { }; } diff --git a/vendor/symfony/contracts/Service/ServiceProviderInterface.php b/vendor/symfony/contracts/Service/ServiceProviderInterface.php index a5c006200eb..ee196668f52 100644 --- a/vendor/symfony/contracts/Service/ServiceProviderInterface.php +++ b/vendor/symfony/contracts/Service/ServiceProviderInterface.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Service; -use RectorPrefix20211129\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface; /** * A ServiceProviderInterface exposes the identifiers and the types of services provided by a container. * * @author Nicolas Grekas * @author Mateusz Sip */ -interface ServiceProviderInterface extends \RectorPrefix20211129\Psr\Container\ContainerInterface +interface ServiceProviderInterface extends \RectorPrefix20211130\Psr\Container\ContainerInterface { /** * Returns an associative array of service types keyed by the identifiers provided by the current container. diff --git a/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php b/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php index 2f8a2903b34..cf66554d8b7 100644 --- a/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php +++ b/vendor/symfony/contracts/Service/ServiceSubscriberInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Service; /** * A ServiceSubscriber exposes its dependencies via the static {@link getSubscribedServices} method. diff --git a/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php b/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php index 7c89c16f147..9514f096d94 100644 --- a/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php +++ b/vendor/symfony/contracts/Service/ServiceSubscriberTrait.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Service; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService; /** * Implementation of ServiceSubscriberInterface that determines subscribed services from * method return types. Service ids are available as "ClassName::methodName". @@ -38,14 +38,14 @@ trait ServiceSubscriberTrait if (self::class !== $method->getDeclaringClass()->name) { continue; } - if (!($attribute = $method->getAttributes(\RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService::class)[0] ?? null)) { + if (!($attribute = $method->getAttributes(\RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService::class)[0] ?? null)) { continue; } if ($method->isStatic() || $method->isAbstract() || $method->isGenerator() || $method->isInternal() || $method->getNumberOfRequiredParameters()) { - throw new \LogicException(\sprintf('Cannot use "%s" on method "%s::%s()" (can only be used on non-static, non-abstract methods with no parameters).', \RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService::class, self::class, $method->name)); + throw new \LogicException(\sprintf('Cannot use "%s" on method "%s::%s()" (can only be used on non-static, non-abstract methods with no parameters).', \RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService::class, self::class, $method->name)); } if (!($returnType = $method->getReturnType())) { - throw new \LogicException(\sprintf('Cannot use "%s" on methods without a return type in "%s::%s()".', \RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService::class, $method->name, self::class)); + throw new \LogicException(\sprintf('Cannot use "%s" on methods without a return type in "%s::%s()".', \RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService::class, $method->name, self::class)); } $serviceId = $returnType instanceof \ReflectionNamedType ? $returnType->getName() : (string) $returnType; if ($returnType->allowsNull()) { @@ -70,7 +70,7 @@ trait ServiceSubscriberTrait continue; } if (\PHP_VERSION_ID >= 80000) { - trigger_deprecation('symfony/service-contracts', '2.5', 'Using "%s" in "%s" without using the "%s" attribute on any method is deprecated.', \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberTrait::class, self::class, \RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService::class); + trigger_deprecation('symfony/service-contracts', '2.5', 'Using "%s" in "%s" without using the "%s" attribute on any method is deprecated.', \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberTrait::class, self::class, \RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService::class); } $services[self::class . '::' . $method->name] = '?' . ($returnType instanceof \ReflectionNamedType ? $returnType->getName() : $returnType); } @@ -82,7 +82,7 @@ trait ServiceSubscriberTrait * * @return ContainerInterface|null */ - public function setContainer(\RectorPrefix20211129\Psr\Container\ContainerInterface $container) + public function setContainer(\RectorPrefix20211130\Psr\Container\ContainerInterface $container) { $this->container = $container; if (\is_callable(['parent', __FUNCTION__])) { diff --git a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php index 89b0f278cf7..5b68aaf15ce 100644 --- a/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php +++ b/vendor/symfony/contracts/Service/Test/ServiceLocatorTest.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Service\Test; +namespace RectorPrefix20211130\Symfony\Contracts\Service\Test; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceLocatorTrait; -abstract class ServiceLocatorTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase +use RectorPrefix20211130\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceLocatorTrait; +abstract class ServiceLocatorTest extends \RectorPrefix20211130\PHPUnit\Framework\TestCase { /** * @return ContainerInterface */ protected function getServiceLocator(array $factories) { - return new class($factories) implements \RectorPrefix20211129\Psr\Container\ContainerInterface + return new class($factories) implements \RectorPrefix20211130\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; @@ -62,7 +62,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20211129\PHPUnit\Framewor public function testThrowsOnUndefinedInternalService() { if (!$this->getExpectedException()) { - $this->expectException(\RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface::class); $this->expectExceptionMessage('The service "foo" has a dependency on a non-existent service "bar". This locator only knows about the "foo" service.'); } $locator = $this->getServiceLocator(['foo' => function () use(&$locator) { @@ -72,7 +72,7 @@ abstract class ServiceLocatorTest extends \RectorPrefix20211129\PHPUnit\Framewor } public function testThrowsOnCircularReference() { - $this->expectException(\RectorPrefix20211129\Psr\Container\ContainerExceptionInterface::class); + $this->expectException(\RectorPrefix20211130\Psr\Container\ContainerExceptionInterface::class); $this->expectExceptionMessage('Circular reference detected for service "bar", path: "bar -> baz -> bar".'); $locator = $this->getServiceLocator(['foo' => function () use(&$locator) { return $locator->get('bar'); diff --git a/vendor/symfony/contracts/Service/composer.json b/vendor/symfony/contracts/Service/composer.json index 878d4b40940..32632a09206 100644 --- a/vendor/symfony/contracts/Service/composer.json +++ b/vendor/symfony/contracts/Service/composer.json @@ -35,7 +35,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\Service\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\Service\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php b/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php index eddbb53b824..76b25308d8d 100644 --- a/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php +++ b/vendor/symfony/contracts/Tests/Cache/CacheTraitTest.php @@ -8,69 +8,69 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Tests\Cache; +namespace RectorPrefix20211130\Symfony\Contracts\Tests\Cache; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; -use RectorPrefix20211129\Psr\Cache\CacheItemInterface; -use RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20211129\Symfony\Contracts\Cache\CacheTrait; +use RectorPrefix20211130\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\Psr\Cache\CacheItemInterface; +use RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20211130\Symfony\Contracts\Cache\CacheTrait; /** * @author Tobias Nyholm */ -class CacheTraitTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase +class CacheTraitTest extends \RectorPrefix20211130\PHPUnit\Framework\TestCase { public function testSave() { - $item = $this->createMock(\RectorPrefix20211129\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20211130\Psr\Cache\CacheItemInterface::class); $item->method('set')->willReturn($item); $item->method('isHit')->willReturn(\false); $item->expects($this->once())->method('set')->with('computed data'); - $cache = $this->getMockBuilder(\RectorPrefix20211129\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20211130\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); $cache->expects($this->once())->method('getItem')->with('key')->willReturn($item); $cache->expects($this->once())->method('save'); - $callback = function (\RectorPrefix20211129\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20211130\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $cache->get('key', $callback); } public function testNoCallbackCallOnHit() { - $item = $this->createMock(\RectorPrefix20211129\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20211130\Psr\Cache\CacheItemInterface::class); $item->method('isHit')->willReturn(\true); $item->expects($this->never())->method('set'); - $cache = $this->getMockBuilder(\RectorPrefix20211129\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20211130\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); $cache->expects($this->once())->method('getItem')->with('key')->willReturn($item); $cache->expects($this->never())->method('save'); - $callback = function (\RectorPrefix20211129\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20211130\Psr\Cache\CacheItemInterface $item) { $this->assertTrue(\false, 'This code should never be reached'); }; $cache->get('key', $callback); } public function testRecomputeOnBetaInf() { - $item = $this->createMock(\RectorPrefix20211129\Psr\Cache\CacheItemInterface::class); + $item = $this->createMock(\RectorPrefix20211130\Psr\Cache\CacheItemInterface::class); $item->method('set')->willReturn($item); $item->method('isHit')->willReturn(\true); $item->expects($this->once())->method('set')->with('computed data'); - $cache = $this->getMockBuilder(\RectorPrefix20211129\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $cache = $this->getMockBuilder(\RectorPrefix20211130\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); $cache->expects($this->once())->method('getItem')->with('key')->willReturn($item); $cache->expects($this->once())->method('save'); - $callback = function (\RectorPrefix20211129\Psr\Cache\CacheItemInterface $item) { + $callback = function (\RectorPrefix20211130\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $cache->get('key', $callback, \INF); } public function testExceptionOnNegativeBeta() { - $cache = $this->getMockBuilder(\RectorPrefix20211129\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); - $callback = function (\RectorPrefix20211129\Psr\Cache\CacheItemInterface $item) { + $cache = $this->getMockBuilder(\RectorPrefix20211130\Symfony\Contracts\Tests\Cache\TestPool::class)->setMethods(['getItem', 'save'])->getMock(); + $callback = function (\RectorPrefix20211130\Psr\Cache\CacheItemInterface $item) { return 'computed data'; }; $this->expectException(\InvalidArgumentException::class); $cache->get('key', $callback, -2); } } -class TestPool implements \RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface +class TestPool implements \RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface { use CacheTrait; public function hasItem($key) : bool @@ -85,7 +85,7 @@ class TestPool implements \RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface public function deleteItems($keys = []) : bool { } - public function getItem($key) : \RectorPrefix20211129\Psr\Cache\CacheItemInterface + public function getItem($key) : \RectorPrefix20211130\Psr\Cache\CacheItemInterface { } /** diff --git a/vendor/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php b/vendor/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php index 25de22d725b..2b34197fcad 100644 --- a/vendor/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php +++ b/vendor/symfony/contracts/Tests/Fixtures/TestServiceSubscriberUnion.php @@ -1,12 +1,12 @@ container->get(__METHOD__); } diff --git a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php index 0ec607a91a4..5bf05d3298d 100644 --- a/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php +++ b/vendor/symfony/contracts/Tests/Service/ServiceSubscriberTraitTest.php @@ -8,42 +8,42 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Tests\Service; +namespace RectorPrefix20211130\Symfony\Contracts\Tests\Service; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\SubscribedService; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceLocatorTrait; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberTrait; -use RectorPrefix20211129\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion; -class ServiceSubscriberTraitTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase +use RectorPrefix20211130\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\SubscribedService; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceLocatorTrait; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberTrait; +use RectorPrefix20211130\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion; +class ServiceSubscriberTraitTest extends \RectorPrefix20211130\PHPUnit\Framework\TestCase { /** * @group legacy */ public function testLegacyMethodsOnParentsAndChildrenAreIgnoredInGetSubscribedServices() { - $expected = [\RectorPrefix20211129\Symfony\Contracts\Tests\Service\LegacyTestService::class . '::aService' => '?' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; - $this->assertEquals($expected, \RectorPrefix20211129\Symfony\Contracts\Tests\Service\LegacyChildTestService::getSubscribedServices()); + $expected = [\RectorPrefix20211130\Symfony\Contracts\Tests\Service\LegacyTestService::class . '::aService' => '?' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; + $this->assertEquals($expected, \RectorPrefix20211130\Symfony\Contracts\Tests\Service\LegacyChildTestService::getSubscribedServices()); } /** * @requires PHP 8 */ public function testMethodsOnParentsAndChildrenAreIgnoredInGetSubscribedServices() { - $expected = [\RectorPrefix20211129\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20211129\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; - $this->assertEquals($expected, \RectorPrefix20211129\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices()); + $expected = [\RectorPrefix20211130\Symfony\Contracts\Tests\Service\TestService::class . '::aService' => \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class, \RectorPrefix20211130\Symfony\Contracts\Tests\Service\TestService::class . '::nullableService' => '?' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2::class]; + $this->assertEquals($expected, \RectorPrefix20211130\Symfony\Contracts\Tests\Service\ChildTestService::getSubscribedServices()); } public function testSetContainerIsCalledOnParent() { - $container = new class([]) implements \RectorPrefix20211129\Psr\Container\ContainerInterface + $container = new class([]) implements \RectorPrefix20211130\Psr\Container\ContainerInterface { use ServiceLocatorTrait; }; - $this->assertSame($container, (new \RectorPrefix20211129\Symfony\Contracts\Tests\Service\TestService())->setContainer($container)); + $this->assertSame($container, (new \RectorPrefix20211130\Symfony\Contracts\Tests\Service\TestService())->setContainer($container)); } /** * @requires PHP 8 @@ -51,13 +51,13 @@ class ServiceSubscriberTraitTest extends \RectorPrefix20211129\PHPUnit\Framework */ public function testMethodsWithUnionReturnTypesAreIgnored() { - $expected = [\RectorPrefix20211129\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion::class . '::method1' => 'RectorPrefix20211129\\?Symfony\\Contracts\\Tests\\Fixtures\\Service1']; - $this->assertEquals($expected, \RectorPrefix20211129\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion::getSubscribedServices()); + $expected = [\RectorPrefix20211130\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion::class . '::method1' => 'RectorPrefix20211130\\?Symfony\\Contracts\\Tests\\Fixtures\\Service1']; + $this->assertEquals($expected, \RectorPrefix20211130\Symfony\Contracts\Tests\Fixtures\TestServiceSubscriberUnion::getSubscribedServices()); } } class ParentTestService { - public function aParentService() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1 + public function aParentService() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir1\Service1 { } /** @@ -68,35 +68,35 @@ class ParentTestService return $container; } } -class LegacyTestService extends \RectorPrefix20211129\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface +class LegacyTestService extends \RectorPrefix20211130\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface { use ServiceSubscriberTrait; - public function aService() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 + public function aService() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 { } } -class LegacyChildTestService extends \RectorPrefix20211129\Symfony\Contracts\Tests\Service\LegacyTestService +class LegacyChildTestService extends \RectorPrefix20211130\Symfony\Contracts\Tests\Service\LegacyTestService { - public function aChildService() : \RectorPrefix20211129\Symfony\Contracts\Tests\Service\Service3 + public function aChildService() : \RectorPrefix20211130\Symfony\Contracts\Tests\Service\Service3 { } } -class TestService extends \RectorPrefix20211129\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface +class TestService extends \RectorPrefix20211130\Symfony\Contracts\Tests\Service\ParentTestService implements \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface { use ServiceSubscriberTrait; #[SubscribedService] - public function aService() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 + public function aService() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 { } #[SubscribedService] - public function nullableService() : ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 + public function nullableService() : ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\Tests\Fixtures\Prototype\OtherDir\Component1\Dir2\Service2 { } } -class ChildTestService extends \RectorPrefix20211129\Symfony\Contracts\Tests\Service\TestService +class ChildTestService extends \RectorPrefix20211130\Symfony\Contracts\Tests\Service\TestService { #[SubscribedService] - public function aChildService() : \RectorPrefix20211129\Symfony\Contracts\Tests\Service\Service3 + public function aChildService() : \RectorPrefix20211130\Symfony\Contracts\Tests\Service\Service3 { } } diff --git a/vendor/symfony/contracts/Translation/LocaleAwareInterface.php b/vendor/symfony/contracts/Translation/LocaleAwareInterface.php index 0898a6a436b..9d2e6d76606 100644 --- a/vendor/symfony/contracts/Translation/LocaleAwareInterface.php +++ b/vendor/symfony/contracts/Translation/LocaleAwareInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Translation; +namespace RectorPrefix20211130\Symfony\Contracts\Translation; interface LocaleAwareInterface { diff --git a/vendor/symfony/contracts/Translation/Test/TranslatorTest.php b/vendor/symfony/contracts/Translation/Test/TranslatorTest.php index 8e64b9b238d..7c90daa369c 100644 --- a/vendor/symfony/contracts/Translation/Test/TranslatorTest.php +++ b/vendor/symfony/contracts/Translation/Test/TranslatorTest.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Translation\Test; +namespace RectorPrefix20211130\Symfony\Contracts\Translation\Test; -use RectorPrefix20211129\PHPUnit\Framework\TestCase; -use RectorPrefix20211129\Symfony\Contracts\Translation\TranslatorInterface; -use RectorPrefix20211129\Symfony\Contracts\Translation\TranslatorTrait; +use RectorPrefix20211130\PHPUnit\Framework\TestCase; +use RectorPrefix20211130\Symfony\Contracts\Translation\TranslatorInterface; +use RectorPrefix20211130\Symfony\Contracts\Translation\TranslatorTrait; /** * Test should cover all languages mentioned on http://translate.sourceforge.net/wiki/l10n/pluralforms * and Plural forms mentioned on http://www.gnu.org/software/gettext/manual/gettext.html#Plural-forms. @@ -26,7 +26,7 @@ use RectorPrefix20211129\Symfony\Contracts\Translation\TranslatorTrait; * * @author Clemens Tolboom clemens@build2be.nl */ -class TranslatorTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase +class TranslatorTest extends \RectorPrefix20211130\PHPUnit\Framework\TestCase { private $defaultLocale; protected function setUp() : void @@ -43,7 +43,7 @@ class TranslatorTest extends \RectorPrefix20211129\PHPUnit\Framework\TestCase */ public function getTranslator() { - return new class implements \RectorPrefix20211129\Symfony\Contracts\Translation\TranslatorInterface + return new class implements \RectorPrefix20211130\Symfony\Contracts\Translation\TranslatorInterface { use TranslatorTrait; }; diff --git a/vendor/symfony/contracts/Translation/TranslatableInterface.php b/vendor/symfony/contracts/Translation/TranslatableInterface.php index adac5b64956..8dcb0c0a6ab 100644 --- a/vendor/symfony/contracts/Translation/TranslatableInterface.php +++ b/vendor/symfony/contracts/Translation/TranslatableInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Translation; +namespace RectorPrefix20211130\Symfony\Contracts\Translation; /** * @author Nicolas Grekas diff --git a/vendor/symfony/contracts/Translation/TranslatorInterface.php b/vendor/symfony/contracts/Translation/TranslatorInterface.php index 0a3c1caba84..7110bc26b3a 100644 --- a/vendor/symfony/contracts/Translation/TranslatorInterface.php +++ b/vendor/symfony/contracts/Translation/TranslatorInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Translation; +namespace RectorPrefix20211130\Symfony\Contracts\Translation; /** * @author Fabien Potencier diff --git a/vendor/symfony/contracts/Translation/TranslatorTrait.php b/vendor/symfony/contracts/Translation/TranslatorTrait.php index aa6c2bca4fc..cbc2667f76c 100644 --- a/vendor/symfony/contracts/Translation/TranslatorTrait.php +++ b/vendor/symfony/contracts/Translation/TranslatorTrait.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Contracts\Translation; +namespace RectorPrefix20211130\Symfony\Contracts\Translation; -use RectorPrefix20211129\Symfony\Component\Translation\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Translation\Exception\InvalidArgumentException; /** * A trait to help implement TranslatorInterface and LocaleAwareInterface. * @@ -108,8 +108,8 @@ EOF; return \strtr($standardRules[0], $parameters); } $message = \sprintf('Unable to choose a translation for "%s" with locale "%s" for value "%d". Double check that this translation has the correct plural options (e.g. "There is one apple|There are %%count%% apples").', $id, $locale, $number); - if (\class_exists(\RectorPrefix20211129\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) { - throw new \RectorPrefix20211129\Symfony\Component\Translation\Exception\InvalidArgumentException($message); + if (\class_exists(\RectorPrefix20211130\Symfony\Component\Translation\Exception\InvalidArgumentException::class)) { + throw new \RectorPrefix20211130\Symfony\Component\Translation\Exception\InvalidArgumentException($message); } throw new \InvalidArgumentException($message); } diff --git a/vendor/symfony/contracts/Translation/composer.json b/vendor/symfony/contracts/Translation/composer.json index c9bcc302c88..719fa60584e 100644 --- a/vendor/symfony/contracts/Translation/composer.json +++ b/vendor/symfony/contracts/Translation/composer.json @@ -30,7 +30,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\Translation\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\Translation\\": "" } }, "minimum-stability": "dev", diff --git a/vendor/symfony/contracts/composer.json b/vendor/symfony/contracts/composer.json index 3033f1ba055..ba357f26e7b 100644 --- a/vendor/symfony/contracts/composer.json +++ b/vendor/symfony/contracts/composer.json @@ -51,7 +51,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Contracts\\": "" + "RectorPrefix20211130\\Symfony\\Contracts\\": "" }, "files": [ "Deprecation\/function.php" diff --git a/vendor/symfony/dependency-injection/Alias.php b/vendor/symfony/dependency-injection/Alias.php index b9fa86e87f5..66a9d40aae7 100644 --- a/vendor/symfony/dependency-injection/Alias.php +++ b/vendor/symfony/dependency-injection/Alias.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; class Alias { private const DEFAULT_DEPRECATION_TEMPLATE = 'The "%alias_id%" service alias is deprecated. You should stop using it, as it will be removed in the future.'; @@ -95,10 +95,10 @@ class Alias } if ('' !== $message) { if (\preg_match('#[\\r\\n]|\\*/#', $message)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); } if (\strpos($message, '%alias_id%') === \false) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%alias_id%" placeholder.'); } } $this->deprecation = $status ? ['package' => $package, 'version' => $version, 'message' => $message ?: self::DEFAULT_DEPRECATION_TEMPLATE] : []; @@ -127,7 +127,7 @@ class Alias /** * Returns the Id of this alias. * - * @return string The alias id + * @return string */ public function __toString() { diff --git a/vendor/symfony/dependency-injection/Argument/AbstractArgument.php b/vendor/symfony/dependency-injection/Argument/AbstractArgument.php index c9f39832d5a..ed190ab1faa 100644 --- a/vendor/symfony/dependency-injection/Argument/AbstractArgument.php +++ b/vendor/symfony/dependency-injection/Argument/AbstractArgument.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * Represents an abstract service argument, which have to be set by a compiler pass or a DI extension. diff --git a/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php b/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php index 3d2afcfda75..91405b661ed 100644 --- a/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php +++ b/vendor/symfony/dependency-injection/Argument/ArgumentInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * Represents a complex argument containing nested values. diff --git a/vendor/symfony/dependency-injection/Argument/BoundArgument.php b/vendor/symfony/dependency-injection/Argument/BoundArgument.php index fb7280ef7cf..ecb64407b84 100644 --- a/vendor/symfony/dependency-injection/Argument/BoundArgument.php +++ b/vendor/symfony/dependency-injection/Argument/BoundArgument.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * @author Guilhem Niot */ -final class BoundArgument implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +final class BoundArgument implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { public const SERVICE_BINDING = 0; public const DEFAULTS_BINDING = 1; diff --git a/vendor/symfony/dependency-injection/Argument/IteratorArgument.php b/vendor/symfony/dependency-injection/Argument/IteratorArgument.php index 3ff7f59c4d4..2a2163d2c29 100644 --- a/vendor/symfony/dependency-injection/Argument/IteratorArgument.php +++ b/vendor/symfony/dependency-injection/Argument/IteratorArgument.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * Represents a collection of values to lazily iterate over. * * @author Titouan Galopin */ -class IteratorArgument implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class IteratorArgument implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { use ReferenceSetArgumentTrait; } diff --git a/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php b/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php index 8a027d86481..cf711e65023 100644 --- a/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php +++ b/vendor/symfony/dependency-injection/Argument/ReferenceSetArgumentTrait.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * @author Titouan Galopin * @author Nicolas Grekas @@ -27,7 +27,7 @@ trait ReferenceSetArgumentTrait $this->setValues($values); } /** - * @return Reference[] The values in the set + * @return Reference[] */ public function getValues() { @@ -39,8 +39,8 @@ trait ReferenceSetArgumentTrait public function setValues($values) { foreach ($values as $k => $v) { - if (null !== $v && !$v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "%s" must hold only Reference instances, "%s" given.', __CLASS__, \get_debug_type($v))); + if (null !== $v && !$v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "%s" must hold only Reference instances, "%s" given.', __CLASS__, \get_debug_type($v))); } } $this->values = $values; diff --git a/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php b/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php index ed2ec100f69..9944722c717 100644 --- a/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php +++ b/vendor/symfony/dependency-injection/Argument/RewindableGenerator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * @internal diff --git a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php index d5f959fc964..f3c35c86120 100644 --- a/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php +++ b/vendor/symfony/dependency-injection/Argument/ServiceClosureArgument.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Represents a service wrapped in a memoizing closure. * * @author Nicolas Grekas */ -class ServiceClosureArgument implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class ServiceClosureArgument implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { private $values; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference $reference) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference $reference) { $this->values = [$reference]; } @@ -37,8 +37,8 @@ class ServiceClosureArgument implements \RectorPrefix20211129\Symfony\Component\ */ public function setValues($values) { - if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || null === $values[0])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('A ServiceClosureArgument must hold one and only one Reference.'); + if ([0] !== \array_keys($values) || !($values[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || null === $values[0])) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('A ServiceClosureArgument must hold one and only one Reference.'); } $this->values = $values; } diff --git a/vendor/symfony/dependency-injection/Argument/ServiceLocator.php b/vendor/symfony/dependency-injection/Argument/ServiceLocator.php index 1d2d63e8d18..01c3d93bab3 100644 --- a/vendor/symfony/dependency-injection/Argument/ServiceLocator.php +++ b/vendor/symfony/dependency-injection/Argument/ServiceLocator.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; /** * @author Nicolas Grekas * * @internal */ -class ServiceLocator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator +class ServiceLocator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator { private $factory; private $serviceMap; diff --git a/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php b/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php index b3fc8acabc9..e260a3640d7 100644 --- a/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php +++ b/vendor/symfony/dependency-injection/Argument/ServiceLocatorArgument.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Represents a closure acting as a service locator. * * @author Nicolas Grekas */ -class ServiceLocatorArgument implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface +class ServiceLocatorArgument implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface { use ReferenceSetArgumentTrait; private $taggedIteratorArgument; @@ -25,14 +25,14 @@ class ServiceLocatorArgument implements \RectorPrefix20211129\Symfony\Component\ */ public function __construct($values = []) { - if ($values instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if ($values instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { $this->taggedIteratorArgument = $values; $this->values = []; } else { $this->setValues($values); } } - public function getTaggedIteratorArgument() : ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument + public function getTaggedIteratorArgument() : ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument { return $this->taggedIteratorArgument; } diff --git a/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php b/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php index a45f5b2e466..2fb2782e379 100644 --- a/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php +++ b/vendor/symfony/dependency-injection/Argument/TaggedIteratorArgument.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument; /** * Represents a collection of services found by tag name to lazily iterate over. * * @author Roland Franssen */ -class TaggedIteratorArgument extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument +class TaggedIteratorArgument extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument { private $tag; private $indexAttribute; diff --git a/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php b/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php index 148fd606b02..7a50974946a 100644 --- a/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php +++ b/vendor/symfony/dependency-injection/Attribute/AsTaggedItem.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell under which index and priority a service class should be found in tagged iterators/locators. diff --git a/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php b/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php index 17d55c6214a..773f84ebc5d 100644 --- a/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php +++ b/vendor/symfony/dependency-injection/Attribute/Autoconfigure.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell how a base type should be autoconfigured. diff --git a/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php b/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php index 18318a04845..96c1485f224 100644 --- a/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php +++ b/vendor/symfony/dependency-injection/Attribute/AutoconfigureTag.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell how a base type should be tagged. @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; * @author Nicolas Grekas */ #[\Attribute(\Attribute::TARGET_CLASS | \Attribute::IS_REPEATABLE)] -class AutoconfigureTag extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Autoconfigure +class AutoconfigureTag extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Autoconfigure { public function __construct(string $name = null, array $attributes = []) { diff --git a/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php b/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php index d71f19d8a28..70f2c4775af 100644 --- a/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php +++ b/vendor/symfony/dependency-injection/Attribute/TaggedIterator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; #[\Attribute(\Attribute::TARGET_PARAMETER)] class TaggedIterator @@ -21,9 +21,19 @@ class TaggedIterator * @var string|null */ public $indexAttribute; - public function __construct(string $tag, ?string $indexAttribute = null) + /** + * @var string|null + */ + public $defaultIndexMethod; + /** + * @var string|null + */ + public $defaultPriorityMethod; + public function __construct(string $tag, ?string $indexAttribute = null, ?string $defaultIndexMethod = null, ?string $defaultPriorityMethod = null) { $this->tag = $tag; $this->indexAttribute = $indexAttribute; + $this->defaultIndexMethod = $defaultIndexMethod; + $this->defaultPriorityMethod = $defaultPriorityMethod; } } diff --git a/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php b/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php index 997bc15ffb2..8d6d767af1a 100644 --- a/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php +++ b/vendor/symfony/dependency-injection/Attribute/TaggedLocator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; #[\Attribute(\Attribute::TARGET_PARAMETER)] class TaggedLocator @@ -21,9 +21,19 @@ class TaggedLocator * @var string|null */ public $indexAttribute; - public function __construct(string $tag, ?string $indexAttribute = null) + /** + * @var string|null + */ + public $defaultIndexMethod; + /** + * @var string|null + */ + public $defaultPriorityMethod; + public function __construct(string $tag, ?string $indexAttribute = null, ?string $defaultIndexMethod = null, ?string $defaultPriorityMethod = null) { $this->tag = $tag; $this->indexAttribute = $indexAttribute; + $this->defaultIndexMethod = $defaultIndexMethod; + $this->defaultPriorityMethod = $defaultPriorityMethod; } } diff --git a/vendor/symfony/dependency-injection/Attribute/Target.php b/vendor/symfony/dependency-injection/Attribute/Target.php index c333d712b0a..61f7d74b2ac 100644 --- a/vendor/symfony/dependency-injection/Attribute/Target.php +++ b/vendor/symfony/dependency-injection/Attribute/Target.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * An attribute to tell how a dependency is used and hint named autowiring aliases. * @@ -39,7 +39,7 @@ final class Target } else { $function = $function->name; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid #[Target] name "%s" on parameter "$%s" of "%s()": the first character must be a letter.', $name, $parameter->name, $function)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid #[Target] name "%s" on parameter "$%s" of "%s()": the first character must be a letter.', $name, $parameter->name, $function)); } return $name; } diff --git a/vendor/symfony/dependency-injection/Attribute/When.php b/vendor/symfony/dependency-injection/Attribute/When.php index 8ba2de5e6f4..4703f2874fc 100644 --- a/vendor/symfony/dependency-injection/Attribute/When.php +++ b/vendor/symfony/dependency-injection/Attribute/When.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute; /** * An attribute to tell under which environement this class should be registered as a service. diff --git a/vendor/symfony/dependency-injection/CHANGELOG.md b/vendor/symfony/dependency-injection/CHANGELOG.md index 36a576e99d7..88a6df8df34 100644 --- a/vendor/symfony/dependency-injection/CHANGELOG.md +++ b/vendor/symfony/dependency-injection/CHANGELOG.md @@ -1,6 +1,14 @@ CHANGELOG ========= +5.4 +--- + * Add `$defaultIndexMethod` and `$defaultPriorityMethod` to `TaggedIterator` and `TaggedLocator` attributes + * Add `service_closure()` to the PHP-DSL + * Add support for autoconfigurable attributes on methods, properties and parameters + * Make auto-aliases private by default + * Add support for autowiring union and intersection types + 5.3 --- diff --git a/vendor/symfony/dependency-injection/ChildDefinition.php b/vendor/symfony/dependency-injection/ChildDefinition.php index 909b4be406e..f85e0743187 100644 --- a/vendor/symfony/dependency-injection/ChildDefinition.php +++ b/vendor/symfony/dependency-injection/ChildDefinition.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; /** * This definition extends another definition. * * @author Johannes M. Schmitt */ -class ChildDefinition extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition +class ChildDefinition extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { private $parent; /** @@ -55,7 +55,7 @@ class ChildDefinition extends \RectorPrefix20211129\Symfony\Component\Dependency * * @param int|string $index * - * @return mixed The argument value + * @return mixed * * @throws OutOfBoundsException When the argument does not exist */ @@ -88,7 +88,7 @@ class ChildDefinition extends \RectorPrefix20211129\Symfony\Component\Dependency } elseif (\strncmp($index, '$', \strlen('$')) === 0) { $this->arguments[$index] = $value; } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The argument must be an existing index or the name of a constructor\'s parameter.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The argument must be an existing index or the name of a constructor\'s parameter.'); } return $this; } diff --git a/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php b/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php index 7250afa5b9a..723b0f96e78 100644 --- a/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AbstractRecursivePass.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; /** * @author Nicolas Grekas */ -abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +abstract class AbstractRecursivePass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * @var ContainerBuilder @@ -64,7 +64,7 @@ abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Co * * @param mixed $value * - * @return mixed The processed value + * @return mixed * @param bool $isRoot */ protected function processValue($value, $isRoot = \false) @@ -78,11 +78,11 @@ abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Co $value[$k] = $processedValue; } } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $value->setValues($this->processValue($value->getValues())); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression && $this->processExpressions) { $this->getExpressionLanguage()->compile((string) $value, ['this' => 'container']); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $value->setArguments($this->processValue($value->getArguments())); $value->setProperties($this->processValue($value->getProperties())); $value->setMethodCalls($this->processValue($value->getMethodCalls())); @@ -110,7 +110,7 @@ abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Co } if (\is_string($factory = $definition->getFactory())) { if (!\function_exists($factory)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": function "%s" does not exist.', $this->currentId, $factory)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": function "%s" does not exist.', $this->currentId, $factory)); } $r = new \ReflectionFunction($factory); if (\false !== $r->getFileName() && \file_exists($r->getFileName())) { @@ -120,32 +120,32 @@ abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Co } if ($factory) { [$class, $method] = $factory; - if ($class instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($class instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $class = $this->container->findDefinition((string) $class)->getClass(); - } elseif ($class instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($class instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $class = $class->getClass(); } elseif (null === $class) { $class = $definition->getClass(); } if ('__construct' === $method) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": "__construct()" cannot be used as a factory method.', $this->currentId)); } - return $this->getReflectionMethod(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($class), $method); + return $this->getReflectionMethod(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($class), $method); } $class = $definition->getClass(); try { if (!($r = $this->container->getReflectionClass($class))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); } } catch (\ReflectionException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage())); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \lcfirst($e->getMessage())); } if (!($r = $r->getConstructor())) { if ($required) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class%s has no constructor.', $this->currentId, \sprintf($class !== $this->currentId ? ' "%s"' : '', $class))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class%s has no constructor.', $this->currentId, \sprintf($class !== $this->currentId ? ' "%s"' : '', $class))); } } elseif (!$r->isPublic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \sprintf($class !== $this->currentId ? 'constructor of class "%s"' : 'its constructor', $class) . ' must be public.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": ', $this->currentId) . \sprintf($class !== $this->currentId ? 'constructor of class "%s"' : 'its constructor', $class) . ' must be public.'); } return $r; } @@ -162,35 +162,35 @@ abstract class AbstractRecursivePass implements \RectorPrefix20211129\Symfony\Co return $this->getConstructor($definition, \true); } if (!($class = $definition->getClass())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": the class is not set.', $this->currentId)); } if (!($r = $this->container->getReflectionClass($class))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": class "%s" does not exist.', $this->currentId, $class)); } if (!$r->hasMethod($method)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" does not exist.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" does not exist.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); } $r = $r->getMethod($method); if (!$r->isPublic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" must be public.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid service "%s": method "%s()" must be public.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method)); } return $r; } - private function getExpressionLanguage() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage { if (null === $this->expressionLanguage) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed. Try running "composer require symfony/expression-language".'); } $providers = $this->container->getExpressionLanguageProviders(); - $this->expressionLanguage = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function (string $arg) : string { + $this->expressionLanguage = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function (string $arg) : string { if ('""' === \substr_replace($arg, '', 1, -1)) { $id = \stripcslashes(\substr($arg, 1, -1)); $this->inExpression = \true; - $arg = $this->processValue(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id)); + $arg = $this->processValue(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id)); $this->inExpression = \false; - if (!$arg instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s::processValue()" must return a Reference when processing an expression, "%s" returned for service("%s").', static::class, \get_debug_type($arg), $id)); + if (!$arg instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s::processValue()" must return a Reference when processing an expression, "%s" returned for service("%s").', static::class, \get_debug_type($arg), $id)); } $arg = \sprintf('"%s"', $arg); } diff --git a/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php b/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php index 7c8799a56d9..84049bde90c 100644 --- a/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AliasDeprecatedPublicServicesPass.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $tagName; private $aliases = []; @@ -30,8 +30,8 @@ final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20211129\Symf */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior()); + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && isset($this->aliases[$id = (string) $value])) { + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($this->aliases[$id], $value->getInvalidBehavior()); } return parent::processValue($value, $isRoot); } @@ -43,10 +43,10 @@ final class AliasDeprecatedPublicServicesPass extends \RectorPrefix20211129\Symf { foreach ($container->findTaggedServiceIds($this->tagName) as $id => $tags) { if (null === ($package = $tags[0]['package'] ?? null)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "%s" tag on the "%s" service.', $this->tagName, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "package" attribute is mandatory for the "%s" tag on the "%s" service.', $this->tagName, $id)); } if (null === ($version = $tags[0]['version'] ?? null)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "%s" tag on the "%s" service.', $this->tagName, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "version" attribute is mandatory for the "%s" tag on the "%s" service.', $this->tagName, $id)); } $definition = $container->getDefinition($id); if (!$definition->isPublic() || $definition->isPrivate()) { diff --git a/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php b/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php index 73d1bb50131..2cc796bbfca 100644 --- a/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AnalyzeServiceReferencesPass.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Run this pass before passes that need to know more about the relation of * your services. @@ -26,7 +26,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class AnalyzeServiceReferencesPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AnalyzeServiceReferencesPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $graph; private $currentDefinition; @@ -77,22 +77,22 @@ class AnalyzeServiceReferencesPass extends \RectorPrefix20211129\Symfony\Compone { $lazy = $this->lazy; $inExpression = $this->inExpression(); - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { - $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + $this->lazy = !$this->byFactory || !$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; parent::processValue($value->getValues()); $this->lazy = $lazy; return $value; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $targetId = $this->getDefinitionId((string) $value); $targetDefinition = null !== $targetId ? $this->container->getDefinition($targetId) : null; - $this->graph->connect($this->currentId, $this->currentDefinition, $targetId, $targetDefinition, $value, $this->lazy || $this->hasProxyDumper && $targetDefinition && $targetDefinition->isLazy(), \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior(), $this->byConstructor); + $this->graph->connect($this->currentId, $this->currentDefinition, $targetId, $targetDefinition, $value, $this->lazy || $this->hasProxyDumper && $targetDefinition && $targetDefinition->isLazy(), \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior(), $this->byConstructor); if ($inExpression) { $this->graph->connect('.internal.reference_in_expression', null, $targetId, $targetDefinition, $value, $this->lazy || $targetDefinition && $targetDefinition->isLazy(), \true); } return $value; } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } if ($isRoot) { diff --git a/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php b/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php index b04ec9a2742..7f1b1d1517f 100644 --- a/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AttributeAutoconfigurationPass.php @@ -8,16 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; /** * @author Alexander M. Turek */ -final class AttributeAutoconfigurationPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class AttributeAutoconfigurationPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { + private $classAttributeConfigurators = []; + private $methodAttributeConfigurators = []; + private $propertyAttributeConfigurators = []; + private $parameterAttributeConfigurators = []; /** * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container */ @@ -26,6 +31,43 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20211129\Symfony if (80000 > \PHP_VERSION_ID || !$container->getAutoconfiguredAttributes()) { return; } + foreach ($container->getAutoconfiguredAttributes() as $attributeName => $callable) { + $callableReflector = new \ReflectionFunction(\Closure::fromCallable($callable)); + if ($callableReflector->getNumberOfParameters() <= 2) { + $this->classAttributeConfigurators[$attributeName] = $callable; + continue; + } + $reflectorParameter = $callableReflector->getParameters()[2]; + $parameterType = $reflectorParameter->getType(); + $types = []; + if ($parameterType instanceof \ReflectionUnionType) { + foreach ($parameterType->getTypes() as $type) { + $types[] = $type->getName(); + } + } elseif ($parameterType instanceof \ReflectionNamedType) { + $types[] = $parameterType->getName(); + } else { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Argument "$%s" of attribute autoconfigurator should have a type, use one or more of "\\ReflectionClass|\\ReflectionMethod|\\ReflectionProperty|\\ReflectionParameter|\\Reflector" in "%s" on line "%d".', $reflectorParameter->getName(), $callableReflector->getFileName(), $callableReflector->getStartLine())); + } + try { + $attributeReflector = new \ReflectionClass($attributeName); + } catch (\ReflectionException $e) { + continue; + } + $targets = $attributeReflector->getAttributes(\Attribute::class)[0] ?? 0; + $targets = $targets ? $targets->getArguments()[0] ?? -1 : 0; + foreach (['class', 'method', 'property', 'parameter'] as $symbol) { + if (['Reflector'] !== $types) { + if (!\in_array('Reflection' . \ucfirst($symbol), $types, \true)) { + continue; + } + if (!($targets & \constant('Attribute::TARGET_' . \strtoupper($symbol)))) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Invalid type "Reflection%s" on argument "$%s": attribute "%s" cannot target a ' . $symbol . ' in "%s" on line "%d".', \ucfirst($symbol), $reflectorParameter->getName(), $attributeName, $callableReflector->getFileName(), $callableReflector->getStartLine())); + } + } + $this->{$symbol . 'AttributeConfigurators'}[$attributeName] = $callable; + } + } parent::process($container); } /** @@ -33,19 +75,64 @@ final class AttributeAutoconfigurationPass extends \RectorPrefix20211129\Symfony */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->isAutoconfigured() || $value->isAbstract() || $value->hasTag('container.ignore_attributes') || !($reflector = $this->container->getReflectionClass($value->getClass(), \false))) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->isAutoconfigured() || $value->isAbstract() || $value->hasTag('container.ignore_attributes') || !($classReflector = $this->container->getReflectionClass($value->getClass(), \false))) { return parent::processValue($value, $isRoot); } - $autoconfiguredAttributes = $this->container->getAutoconfiguredAttributes(); $instanceof = $value->getInstanceofConditionals(); - $conditionals = $instanceof[$reflector->getName()] ?? new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition(''); - foreach ($reflector->getAttributes() as $attribute) { - if ($configurator = $autoconfiguredAttributes[$attribute->getName()] ?? null) { - $configurator($conditionals, $attribute->newInstance(), $reflector); + $conditionals = $instanceof[$classReflector->getName()] ?? new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition(''); + if ($this->classAttributeConfigurators) { + foreach ($classReflector->getAttributes() as $attribute) { + if ($configurator = $this->classAttributeConfigurators[$attribute->getName()] ?? null) { + $configurator($conditionals, $attribute->newInstance(), $classReflector); + } } } - if (!isset($instanceof[$reflector->getName()]) && new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) { - $instanceof[$reflector->getName()] = $conditionals; + if ($this->parameterAttributeConfigurators && ($constructorReflector = $this->getConstructor($value, \false))) { + foreach ($constructorReflector->getParameters() as $parameterReflector) { + foreach ($parameterReflector->getAttributes() as $attribute) { + if ($configurator = $this->parameterAttributeConfigurators[$attribute->getName()] ?? null) { + $configurator($conditionals, $attribute->newInstance(), $parameterReflector); + } + } + } + } + if ($this->methodAttributeConfigurators || $this->parameterAttributeConfigurators) { + foreach ($classReflector->getMethods(\ReflectionMethod::IS_PUBLIC) as $methodReflector) { + if ($methodReflector->isStatic() || $methodReflector->isConstructor() || $methodReflector->isDestructor()) { + continue; + } + if ($this->methodAttributeConfigurators) { + foreach ($methodReflector->getAttributes() as $attribute) { + if ($configurator = $this->methodAttributeConfigurators[$attribute->getName()] ?? null) { + $configurator($conditionals, $attribute->newInstance(), $methodReflector); + } + } + } + if ($this->parameterAttributeConfigurators) { + foreach ($methodReflector->getParameters() as $parameterReflector) { + foreach ($parameterReflector->getAttributes() as $attribute) { + if ($configurator = $this->parameterAttributeConfigurators[$attribute->getName()] ?? null) { + $configurator($conditionals, $attribute->newInstance(), $parameterReflector); + } + } + } + } + } + } + if ($this->propertyAttributeConfigurators) { + foreach ($classReflector->getProperties(\ReflectionProperty::IS_PUBLIC) as $propertyReflector) { + if ($propertyReflector->isStatic()) { + continue; + } + foreach ($propertyReflector->getAttributes() as $attribute) { + if ($configurator = $this->propertyAttributeConfigurators[$attribute->getName()] ?? null) { + $configurator($conditionals, $attribute->newInstance(), $propertyReflector); + } + } + } + } + if (!isset($instanceof[$classReflector->getName()]) && new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition('') != $conditionals) { + $instanceof[$classReflector->getName()] = $conditionals; $value->setInstanceofConditionals($instanceof); } return parent::processValue($value, $isRoot); diff --git a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php index 6549b8de2e2..f88ae02e8d9 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutoAliasServicePass.php @@ -8,16 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * Sets a service to be an alias of another one, given a format pattern. */ -class AutoAliasServicePass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class AutoAliasServicePass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { + private $privateAliases = []; /** * {@inheritdoc} * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container @@ -27,13 +28,27 @@ class AutoAliasServicePass implements \RectorPrefix20211129\Symfony\Component\De foreach ($container->findTaggedServiceIds('auto_alias') as $serviceId => $tags) { foreach ($tags as $tag) { if (!isset($tag['format'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing tag information "format" on auto_alias service "%s".', $serviceId)); } $aliasId = $container->getParameterBag()->resolveValue($tag['format']); if ($container->hasDefinition($aliasId) || $container->hasAlias($aliasId)) { - $container->setAlias($serviceId, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias($aliasId, \true)); + $alias = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias($aliasId, $container->getDefinition($serviceId)->isPublic()); + $container->setAlias($serviceId, $alias); + if (!$alias->isPublic()) { + $alias->setPublic(\true); + $this->privateAliases[] = $alias; + } } } } } + /** + * @internal to be removed in Symfony 6.0 + */ + public function getPrivateAliases() : array + { + $privateAliases = $this->privateAliases; + $this->privateAliases = []; + return $privateAliases; + } } diff --git a/vendor/symfony/dependency-injection/Compiler/AutowirePass.php b/vendor/symfony/dependency-injection/Compiler/AutowirePass.php index f59b123181a..5162b43f4cd 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutowirePass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutowirePass.php @@ -8,27 +8,27 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\TaggedIterator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\TaggedLocator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\TaggedIterator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\TaggedLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; /** * Inspects existing service definitions and wires the autowired ones using the type hints of their classes. * * @author Kévin Dunglas * @author Nicolas Grekas */ -class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowirePass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $types; private $ambiguousServiceTypes; @@ -43,6 +43,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj private $decoratedMethodIndex; private $decoratedMethodArgumentIndex; private $typesClone; + private $combinedAliases; public function __construct(bool $throwOnAutowireException = \true) { $this->throwOnAutowiringException = $throwOnAutowireException; @@ -58,6 +59,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj */ public function process($container) { + $this->populateCombinedAliases($container); try { $this->typesClone = clone $this; parent::process($container); @@ -70,6 +72,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj $this->decoratedMethodIndex = null; $this->decoratedMethodArgumentIndex = null; $this->typesClone = null; + $this->combinedAliases = []; } } /** @@ -80,7 +83,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj { try { return $this->doProcessValue($value, $isRoot); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException $e) { if ($this->throwOnAutowiringException) { throw $e; } @@ -93,19 +96,19 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj */ private function doProcessValue($value, bool $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference) { - if ($ref = $this->getAutowiredReference($value)) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference) { + if ($ref = $this->getAutowiredReference($value, \true)) { return $ref; } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { $message = $this->createTypeNotFoundMessageCallback($value, 'it'); // since the error message varies by referenced id and $this->currentId, so should the id of the dummy errored definition $this->container->register($id = \sprintf('.errored.%s.%s', $this->currentId, (string) $value), $value->getType())->addError($message); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior(), $value->getName()); } } $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -115,8 +118,8 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj $this->methodCalls = $value->getMethodCalls(); try { $constructor = $this->getConstructor($value, \false); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $e->getMessage(), 0, $e); } if ($constructor) { \array_unshift($this->methodCalls, [$constructor, $value->getArguments()]); @@ -148,10 +151,10 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj if ($method instanceof \ReflectionFunctionAbstract) { $reflectionMethod = $method; } else { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($reflectionClass->name); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($reflectionClass->name); try { $reflectionMethod = $this->getReflectionMethod($definition, $method); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($definition->getFactory()) { continue; } @@ -190,8 +193,6 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Autowires the constructor or a method. * - * @return array The autowired arguments - * * @throws AutowiringFailedException */ private function autowireMethod(\ReflectionFunctionAbstract $reflectionMethod, array $arguments, bool $checkAttributes, int $methodIndex) : array @@ -208,17 +209,17 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj if (\array_key_exists($index, $arguments) && '' !== $arguments[$index]) { continue; } - $type = \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true); + $type = \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \true); if ($checkAttributes) { foreach ($parameter->getAttributes() as $attribute) { - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\TaggedIterator::class === $attribute->getName()) { $attribute = $attribute->newInstance(); - $arguments[$index] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute); + $arguments[$index] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \false, $attribute->defaultPriorityMethod); break; } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\TaggedLocator::class === $attribute->getName()) { $attribute = $attribute->newInstance(); - $arguments[$index] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, null, \true)); + $arguments[$index] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($attribute->tag, $attribute->indexAttribute, $attribute->defaultIndexMethod, \true, $attribute->defaultPriorityMethod)); break; } } @@ -239,9 +240,9 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj --$index; break; } - $type = \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false); + $type = \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter, \false); $type = $type ? \sprintf('is type-hinted "%s"', \ltrim($type, '\\')) : 'has no type-hint'; - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, \sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method, $type)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, \sprintf('Cannot autowire service "%s": argument "$%s" of method "%s()" %s, you should configure its value explicitly.', $this->currentId, $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method, $type)); } // specifically pass the default value $arguments[$index] = clone $this->defaultArgument; @@ -249,13 +250,13 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj continue; } $getValue = function () use($type, $parameter, $class, $method) { - if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter))))) { + if (!($value = $this->getAutowiredReference($ref = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter)), \true))) { $failureMessage = $this->createTypeNotFoundMessageCallback($ref, \sprintf('argument "$%s" of method "%s()"', $parameter->name, $class !== $this->currentId ? $class . '::' . $method : $method)); if ($parameter->isDefaultValueAvailable()) { $value = clone $this->defaultArgument; $value->value = $parameter->getDefaultValue(); } elseif (!$parameter->allowsNull()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\AutowiringFailedException($this->currentId, $failureMessage); } } return $value; @@ -270,7 +271,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj $this->decoratedClass = null; // Prevent further checks } else { - $arguments[$index] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass); + $arguments[$index] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($this->decoratedId, $this->decoratedClass); $this->getPreviousValue = $getValue; $this->decoratedMethodIndex = $methodIndex; $this->decoratedMethodArgumentIndex = $index; @@ -295,34 +296,45 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Returns a reference to the service matching the given type, if any. */ - private function getAutowiredReference(\RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference $reference) : ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference + private function getAutowiredReference(\RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference $reference, bool $filterType) : ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference { $this->lastFailure = null; $type = $reference->getType(); if ($type !== (string) $reference) { return $reference; } + if ($filterType && \false !== ($m = \strpbrk($type, '&|'))) { + $types = \array_diff(\explode($m[0], $type), ['int', 'string', 'array', 'bool', 'float', 'iterable', 'object', 'callable', 'null']); + \sort($types); + $type = \implode($m[0], $types); + } if (null !== ($name = $reference->getName())) { if ($this->container->has($alias = $type . ' $' . $name) && !$this->container->findDefinition($alias)->isAbstract()) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); + } + if (null !== ($alias = $this->combinedAliases[$alias] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) { + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); } if ($this->container->has($name) && !$this->container->findDefinition($name)->isAbstract()) { - foreach ($this->container->getAliases() as $id => $alias) { + foreach ($this->container->getAliases() + $this->combinedAliases as $id => $alias) { if ($name === (string) $alias && \strncmp($id, $type . ' $', \strlen($type . ' $')) === 0) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($name, $type, $reference->getInvalidBehavior()); } } } } if ($this->container->has($type) && !$this->container->findDefinition($type)->isAbstract()) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($type, $type, $reference->getInvalidBehavior()); + } + if (null !== ($alias = $this->combinedAliases[$type] ?? null) && !$this->container->findDefinition($alias)->isAbstract()) { + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($alias, $type, $reference->getInvalidBehavior()); } return null; } /** * Populates the list of available types. */ - private function populateAvailableTypes(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) + private function populateAvailableTypes(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->types = []; $this->ambiguousServiceTypes = []; @@ -337,7 +349,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Populates the list of available types for a given definition. */ - private function populateAvailableType(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) + private function populateAvailableType(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) { // Never use abstract services if ($definition->isAbstract()) { @@ -376,10 +388,10 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj } $this->ambiguousServiceTypes[$type][] = $id; } - private function createTypeNotFoundMessageCallback(\RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure + private function createTypeNotFoundMessageCallback(\RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference $reference, string $label) : \Closure { if (null === $this->typesClone->container) { - $this->typesClone->container = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder($this->container->getParameterBag()); + $this->typesClone->container = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder($this->container->getParameterBag()); $this->typesClone->container->setAliases($this->container->getAliases()); $this->typesClone->container->setDefinitions($this->container->getDefinitions()); $this->typesClone->container->setResourceTracking(\false); @@ -389,12 +401,12 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj return $this->createTypeNotFoundMessage($reference, $label, $currentId); })->bindTo($this->typesClone); } - private function createTypeNotFoundMessage(\RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference $reference, string $label, string $currentId) : string + private function createTypeNotFoundMessage(\RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference $reference, string $label, string $currentId) : string { if (!($r = $this->container->getReflectionClass($type = $reference->getType(), \false))) { // either $type does not exist or a parent class does not exist try { - $resource = new \RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false); + $resource = new \RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource($type, \false); // isFresh() will explode ONLY if a parent class/trait does not exist $resource->isFresh(0); $parentMsg = \false; @@ -417,7 +429,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj } return $message; } - private function createTypeAlternatives(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference $reference) : string + private function createTypeAlternatives(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference $reference) : string { // try suggesting available aliases first if ($message = $this->getAliasesSuggestionForType($container, $type = $reference->getType())) { @@ -441,7 +453,7 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj } return \sprintf(' You should maybe alias this %s to %s.', \class_exists($type, \false) ? 'class' : 'interface', $message); } - private function getAliasesSuggestionForType(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string + private function getAliasesSuggestionForType(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $type) : ?string { $aliases = []; foreach (\class_parents($type) + \class_implements($type) as $parent) { @@ -473,4 +485,39 @@ class AutowirePass extends \RectorPrefix20211129\Symfony\Component\DependencyInj $this->autowiringAliases[$type][$name] = $name; } } + private function populateCombinedAliases(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) : void + { + $this->combinedAliases = []; + $reverseAliases = []; + foreach ($container->getAliases() as $id => $alias) { + if (!\preg_match('/(?(DEFINE)(?[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+))^((?&V)(?:\\\\(?&V))*+)(?: \\$((?&V)))?$/', $id, $m)) { + continue; + } + $type = $m[2]; + $name = $m[3] ?? ''; + $reverseAliases[(string) $alias][$name][] = $type; + } + foreach ($reverseAliases as $alias => $names) { + foreach ($names as $name => $types) { + if (2 > ($count = \count($types))) { + continue; + } + \sort($types); + $i = 1 << $count; + // compute the powerset of the list of types + while ($i--) { + $set = []; + for ($j = 0; $j < $count; ++$j) { + if ($i & 1 << $j) { + $set[] = $types[$j]; + } + } + if (2 <= \count($set)) { + $this->combinedAliases[\implode('&', $set) . ('' === $name ? '' : ' $' . $name)] = $alias; + $this->combinedAliases[\implode('|', $set) . ('' === $name ? '' : ' $' . $name)] = $alias; + } + } + } + } + } } diff --git a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php index 33a65b2a51b..eebb1cb3456 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredMethodsPass.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * Looks for definitions with autowiring enabled and registers their corresponding "@required" methods as setters. * * @author Nicolas Grekas */ -class AutowireRequiredMethodsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowireRequiredMethodsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -26,7 +26,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20211129\Symfony\Componen protected function processValue($value, $isRoot = \false) { $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -43,7 +43,7 @@ class AutowireRequiredMethodsPass extends \RectorPrefix20211129\Symfony\Componen continue; } while (\true) { - if (\PHP_VERSION_ID >= 80000 && $r->getAttributes(\RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required::class)) { + if (\PHP_VERSION_ID >= 80000 && $r->getAttributes(\RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required::class)) { if ($this->isWither($r, $r->getDocComment() ?: '')) { $withers[] = [$r->name, [], \true]; } else { diff --git a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php index b532207a026..3432b36dee5 100644 --- a/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/AutowireRequiredPropertiesPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required; /** * Looks for definitions with autowiring enabled and registers their corresponding "@required" properties. * * @author Sebastien Morel (Plopix) * @author Nicolas Grekas */ -class AutowireRequiredPropertiesPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class AutowireRequiredPropertiesPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -32,7 +32,7 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20211129\Symfony\Compo return $value; } $value = parent::processValue($value, $isRoot); - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->isAutowired() || $value->isAbstract() || !$value->getClass()) { return $value; } if (!($reflectionClass = $this->container->getReflectionClass($value->getClass(), \false))) { @@ -43,14 +43,14 @@ class AutowireRequiredPropertiesPass extends \RectorPrefix20211129\Symfony\Compo if (!($type = $reflectionProperty->getType()) instanceof \ReflectionNamedType) { continue; } - if ((\PHP_VERSION_ID < 80000 || !$reflectionProperty->getAttributes(\RectorPrefix20211129\Symfony\Contracts\Service\Attribute\Required::class)) && (\false === ($doc = $reflectionProperty->getDocComment()) || \false === \stripos($doc, '@required') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+@required(?:\\s|\\*/$)#i', $doc))) { + if ((\PHP_VERSION_ID < 80000 || !$reflectionProperty->getAttributes(\RectorPrefix20211130\Symfony\Contracts\Service\Attribute\Required::class)) && (\false === ($doc = $reflectionProperty->getDocComment()) || \false === \stripos($doc, '@required') || !\preg_match('#(?:^/\\*\\*|\\n\\s*+\\*)\\s*+@required(?:\\s|\\*/$)#i', $doc))) { continue; } if (\array_key_exists($name = $reflectionProperty->getName(), $properties)) { continue; } $type = $type->getName(); - $value->setProperty($name, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name)); + $value->setProperty($name, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($type, $type, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name)); } return $value; } diff --git a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php index e1ade1ffea7..291cc06de9f 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckArgumentsValidityPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Checks if arguments of methods are properly configured. * * @author Kévin Dunglas * @author Nicolas Grekas */ -class CheckArgumentsValidityPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckArgumentsValidityPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $throwExceptions; public function __construct(bool $throwExceptions = \true) @@ -31,7 +31,7 @@ class CheckArgumentsValidityPass extends \RectorPrefix20211129\Symfony\Component */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } $i = 0; @@ -46,21 +46,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20211129\Symfony\Component $msg = \sprintf('Invalid constructor argument for service "%s": integer expected but found string "%s". Check your service definition.', $this->currentId, $k); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } break; } $msg = \sprintf('Invalid constructor argument %d for service "%s": argument %d must be defined before. Check your service definition.', 1 + $k, $this->currentId, $i); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } } if ($hasNamedArgs) { $msg = \sprintf('Invalid constructor argument for service "%s": cannot use positional argument after named argument. Check your service definition.', $this->currentId); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } break; } @@ -78,21 +78,21 @@ class CheckArgumentsValidityPass extends \RectorPrefix20211129\Symfony\Component $msg = \sprintf('Invalid argument for method call "%s" of service "%s": integer expected but found string "%s". Check your service definition.', $methodCall[0], $this->currentId, $k); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } break; } $msg = \sprintf('Invalid argument %d for method call "%s" of service "%s": argument %d must be defined before. Check your service definition.', 1 + $k, $methodCall[0], $this->currentId, $i); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } } if ($hasNamedArgs) { $msg = \sprintf('Invalid argument for method call "%s" of service "%s": cannot use positional argument after named argument. Check your service definition.', $methodCall[0], $this->currentId); $value->addError($msg); if ($this->throwExceptions) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($msg); } break; } diff --git a/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php b/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php index 6b751bcbe48..396cf50de6a 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckCircularReferencesPass.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; /** * Checks your services for circular references. * @@ -22,7 +22,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\Service * * @author Johannes M. Schmitt */ -class CheckCircularReferencesPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class CheckCircularReferencesPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $currentPath; private $checkedNodes; @@ -57,7 +57,7 @@ class CheckCircularReferencesPass implements \RectorPrefix20211129\Symfony\Compo $searchKey = \array_search($id, $this->currentPath); $this->currentPath[] = $id; if (\false !== $searchKey) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($this->currentPath, $searchKey)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($this->currentPath, $searchKey)); } $this->checkOutEdges($node->getOutEdges()); } diff --git a/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php index fda2d4d60ce..99cab1b3afd 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckDefinitionValidityPass.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader; /** * This pass validates each definition individually only taking the information * into account which is contained in the definition itself. @@ -26,7 +26,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader * * @author Johannes M. Schmitt */ -class CheckDefinitionValidityPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class CheckDefinitionValidityPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Processes the ContainerBuilder to validate the Definition. @@ -39,27 +39,27 @@ class CheckDefinitionValidityPass implements \RectorPrefix20211129\Symfony\Compo foreach ($container->getDefinitions() as $id => $definition) { // synthetic service is public if ($definition->isSynthetic() && !$definition->isPublic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A synthetic service ("%s") must be public.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A synthetic service ("%s") must be public.', $id)); } // non-synthetic, non-abstract service has class - if (!$definition->isAbstract() && !$definition->isSynthetic() && !$definition->getClass() && !$definition->hasTag('container.service_locator') && (!$definition->getFactory() || !\preg_match(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id))) { + if (!$definition->isAbstract() && !$definition->isSynthetic() && !$definition->getClass() && !$definition->hasTag('container.service_locator') && (!$definition->getFactory() || !\preg_match(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader::ANONYMOUS_ID_REGEXP, $id))) { if ($definition->getFactory()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Please add the class to service "%s" even if it is constructed by a factory since we might need to add method calls based on compile-time checks.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Please add the class to service "%s" even if it is constructed by a factory since we might need to add method calls based on compile-time checks.', $id)); } if (\class_exists($id) || \interface_exists($id, \false)) { if (\strncmp($id, '\\', \strlen('\\')) === 0 && 1 < \substr_count($id, '\\')) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "%s" to get rid of this error.', $id, \substr($id, 1))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface. Please specify the class attribute explicitly or remove the leading backslash by renaming the service to "%s" to get rid of this error.', $id, \substr($id, 1))); } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface in the global namespace. Leaving out the "class" attribute is only allowed for namespaced classes. Please specify the class attribute explicitly to get rid of this error.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class attribute, and appears to reference a class or interface in the global namespace. Leaving out the "class" attribute is only allowed for namespaced classes. Please specify the class attribute explicitly to get rid of this error.', $id)); } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition for "%s" has no class. If you intend to inject this service dynamically at runtime, please mark it as synthetic=true. If this is an abstract definition solely used by child definitions, please add abstract=true, otherwise specify a class to get rid of this error.', $id)); } // tag attribute values must be scalars foreach ($definition->getTags() as $name => $tags) { foreach ($tags as $attributes) { foreach ($attributes as $attribute => $value) { if (!\is_scalar($value) && null !== $value) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $id, $name, $attribute)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $id, $name, $attribute)); } } } @@ -67,7 +67,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20211129\Symfony\Compo if ($definition->isPublic() && !$definition->isPrivate()) { $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs); if (null !== $usedEnvs) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'A service name ("%s") cannot contain dynamic values.'); } } } @@ -75,7 +75,7 @@ class CheckDefinitionValidityPass implements \RectorPrefix20211129\Symfony\Compo if ($alias->isPublic() && !$alias->isPrivate()) { $resolvedId = $container->resolveEnvPlaceholders($id, null, $usedEnvs); if (null !== $usedEnvs) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException([$resolvedId], null, 'An alias name ("%s") cannot contain dynamic values.'); } } } diff --git a/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php b/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php index 6f581905e14..1d33514729f 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckExceptionOnInvalidReferenceBehaviorPass.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Checks that all references are pointing to a valid service. * * @author Johannes M. Schmitt */ -class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $serviceLocatorContextIds = []; /** @@ -44,10 +44,10 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20211129 */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $value->getInvalidBehavior() || $this->container->has($id = (string) $value)) { return $value; } $currentId = $this->currentId; @@ -60,13 +60,13 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20211129 if ($k !== $id) { $currentId = $k . '" in the container provided to "' . $currentId; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); } } } if ('.' === $currentId[0] && $graph->hasNode($currentId)) { foreach ($graph->getNode($currentId)->getInEdges() as $edge) { - if (!$edge->getValue() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) { + if (!$edge->getValue() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $edge->getValue()->getInvalidBehavior()) { continue; } $sourceId = $edge->getSourceNode()->getId(); @@ -76,7 +76,7 @@ class CheckExceptionOnInvalidReferenceBehaviorPass extends \RectorPrefix20211129 } } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $currentId, null, $this->getAlternatives($id)); } private function getAlternatives(string $id) : array { diff --git a/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php b/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php index a7435b45327..51e63b3b082 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckReferenceValidityPass.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Checks the validity of references. * @@ -21,20 +21,20 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; * * @author Johannes M. Schmitt */ -class CheckReferenceValidityPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class CheckReferenceValidityPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param bool $isRoot */ protected function processValue($value, $isRoot = \false) { - if ($isRoot && $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) { + if ($isRoot && $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && ($value->isSynthetic() || $value->isAbstract())) { return $value; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && $this->container->hasDefinition((string) $value)) { $targetDefinition = $this->container->getDefinition((string) $value); if ($targetDefinition->isAbstract()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition "%s" has a reference to an abstract definition "%s". Abstract definitions cannot be the target of references.', $this->currentId, $value)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The definition "%s" has a reference to an abstract definition "%s". Abstract definitions cannot be the target of references.', $this->currentId, $value)); } } return parent::processValue($value, $isRoot); diff --git a/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php b/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php index f6ba5a367b6..e156520b5af 100644 --- a/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/CheckTypeDeclarationsPass.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; /** * Checks whether injected parameters are compatible with type declarations. * @@ -37,7 +37,7 @@ use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; * @author Nicolas Grekas * @author Julien Maulny */ -final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class CheckTypeDeclarationsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private const SCALAR_TYPES = ['int' => \true, 'float' => \true, 'bool' => \true, 'string' => \true]; private const BUILTIN_TYPES = ['array' => \true, 'bool' => \true, 'callable' => \true, 'float' => \true, 'int' => \true, 'iterable' => \true, 'object' => \true, 'string' => \true]; @@ -63,7 +63,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp if (isset($this->skippedIds[$this->currentId])) { return $value; } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || $value->hasErrors() || $value->isDeprecated()) { return parent::processValue($value, $isRoot); } if (!$this->autoload) { @@ -74,7 +74,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp return parent::processValue($value, $isRoot); } } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class === $value->getClass()) { return parent::processValue($value, $isRoot); } if ($constructor = $this->getConstructor($value, \false)) { @@ -83,7 +83,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp foreach ($value->getMethodCalls() as $methodCall) { try { $reflectionMethod = $this->getReflectionMethod($value, $methodCall[0]); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($value->getFactory()) { continue; } @@ -96,15 +96,15 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp /** * @throws InvalidArgumentException When not enough parameters are defined for the method */ - private function checkTypeDeclarations(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void + private function checkTypeDeclarations(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $checkedDefinition, \ReflectionFunctionAbstract $reflectionFunction, array $values) : void { $numberOfRequiredParameters = $reflectionFunction->getNumberOfRequiredParameters(); if (\count($values) < $numberOfRequiredParameters) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": "%s::%s()" requires %d arguments, %d passed.', $this->currentId, $reflectionFunction->class, $reflectionFunction->name, $numberOfRequiredParameters, \count($values))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": "%s::%s()" requires %d arguments, %d passed.', $this->currentId, $reflectionFunction->class, $reflectionFunction->name, $numberOfRequiredParameters, \count($values))); } $reflectionParameters = $reflectionFunction->getParameters(); $checksCount = \min($reflectionFunction->getNumberOfParameters(), \count($values)); - $envPlaceholderUniquePrefix = $this->container->getParameterBag() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null; + $envPlaceholderUniquePrefix = $this->container->getParameterBag() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $this->container->getParameterBag()->getEnvPlaceholderUniquePrefix() : null; for ($i = 0; $i < $checksCount; ++$i) { if (!$reflectionParameters[$i]->hasType() || $reflectionParameters[$i]->isVariadic()) { continue; @@ -121,7 +121,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp /** * @throws InvalidParameterTypeException When a parameter is not compatible with the declared type */ - private function checkType(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void + private function checkType(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $checkedDefinition, $value, \ReflectionParameter $parameter, ?string $envPlaceholderUniquePrefix, \ReflectionType $reflectionType = null) : void { $reflectionType = $reflectionType ?? $parameter->getType(); if ($reflectionType instanceof \ReflectionUnionType) { @@ -129,12 +129,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp try { $this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t); return; - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException $e) { } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, $e->getCode(), $parameter); } - if ($reflectionType instanceof \RectorPrefix20211129\ReflectionIntersectionType) { + if ($reflectionType instanceof \RectorPrefix20211130\ReflectionIntersectionType) { foreach ($reflectionType->getTypes() as $t) { $this->checkType($checkedDefinition, $value, $parameter, $envPlaceholderUniquePrefix, $t); } @@ -144,11 +144,11 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp return; } $type = $reflectionType->getName(); - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { if (!$this->container->has($value = (string) $value)) { return; } - if ('service_container' === $value && \is_a($type, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class, \true)) { + if ('service_container' === $value && \is_a($type, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class, \true)) { return; } $value = $this->container->findDefinition($value); @@ -160,16 +160,16 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp $type = $checkedDefinition->getClass(); } $class = null; - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $class = $value->getClass(); if ($class && isset(self::BUILTIN_TYPES[\strtolower($class)])) { $class = \strtolower($class); } elseif (!$class || !$this->autoload && !\class_exists($class, \false) && !\interface_exists($class, \false)) { return; } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { $value = $this->container->getParameter($value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { try { $value = $this->getExpressionLanguage()->evaluate($value, ['container' => $this->container]); } catch (\Exception $e) { @@ -197,12 +197,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp return; } if (null === $class) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { - $class = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + $class = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class; + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $class = \Closure::class; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { - $class = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class; + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + $class = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class; } elseif (\is_object($value)) { $class = \get_class($value); } else { @@ -219,7 +219,7 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp if ('callable' === $type && (\Closure::class === $class || \method_exists($class, '__invoke'))) { return; } - if ('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) { + if ('callable' === $type && \is_array($value) && isset($value[0]) && ($value[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $value[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || \is_string($value[0]))) { return; } if ('iterable' === $type && (\is_array($value) || 'array' === $class || \is_subclass_of($class, \Traversable::class))) { @@ -247,12 +247,12 @@ final class CheckTypeDeclarationsPass extends \RectorPrefix20211129\Symfony\Comp return; } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidParameterTypeException($this->currentId, \is_object($value) ? $class : \get_debug_type($value), $parameter); } - private function getExpressionLanguage() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage { if (null === $this->expressionLanguage) { - $this->expressionLanguage = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders()); + $this->expressionLanguage = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->container->getExpressionLanguageProviders()); } return $this->expressionLanguage; } diff --git a/vendor/symfony/dependency-injection/Compiler/Compiler.php b/vendor/symfony/dependency-injection/Compiler/Compiler.php index 0d15d0c0933..7c35556aa7d 100644 --- a/vendor/symfony/dependency-injection/Compiler/Compiler.php +++ b/vendor/symfony/dependency-injection/Compiler/Compiler.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException; /** * This class is used to remove circular dependencies between individual passes. * @@ -24,34 +24,29 @@ class Compiler private $serviceReferenceGraph; public function __construct() { - $this->passConfig = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig(); - $this->serviceReferenceGraph = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph(); + $this->passConfig = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig(); + $this->serviceReferenceGraph = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraph(); } /** - * Returns the PassConfig. - * - * @return PassConfig The PassConfig instance + * @return PassConfig */ public function getPassConfig() { return $this->passConfig; } /** - * Returns the ServiceReferenceGraph. - * - * @return ServiceReferenceGraph The ServiceReferenceGraph instance + * @return ServiceReferenceGraph */ public function getServiceReferenceGraph() { return $this->serviceReferenceGraph; } /** - * Adds a pass to the PassConfig. * @param \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass * @param string $type * @param int $priority */ - public function addPass($pass, $type = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) + public function addPass($pass, $type = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) { $this->passConfig->addPass($pass, $type, $priority); } @@ -68,9 +63,7 @@ class Compiler $this->log[] = \get_class($pass) . ': ' . $message; } /** - * Returns the log. - * - * @return array Log array + * @return array */ public function getLog() { @@ -98,7 +91,7 @@ class Compiler } } while ($prev = $prev->getPrevious()); if ($usedEnvs) { - $e = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException($usedEnvs, $e); + $e = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException($usedEnvs, $e); } throw $e; } finally { diff --git a/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php b/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php index a9dc6b52ea3..627f0dfac74 100644 --- a/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php +++ b/vendor/symfony/dependency-injection/Compiler/CompilerPassInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Interface that must be implemented by compilation passes. * diff --git a/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php b/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php index c1d0ba2133c..17dc2a6fa05 100644 --- a/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php +++ b/vendor/symfony/dependency-injection/Compiler/DecoratorServicePass.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Overwrites a service but keeps the overridden one. * @@ -23,7 +23,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; * @author Fabien Potencier * @author Diego Saint Esteben */ -class DecoratorServicePass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class DecoratorServicePass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $innerId = '.inner'; public function __construct(?string $innerId = '.inner') @@ -50,7 +50,7 @@ class DecoratorServicePass extends \RectorPrefix20211129\Symfony\Component\Depen foreach ($definitions as [$id, $definition]) { $decoratedService = $definition->getDecoratedService(); [$inner, $renamedId] = $decoratedService; - $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = $decoratedService[3] ?? \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; $definition->setDecoratedService(null); if (!$renamedId) { $renamedId = $id . '.inner'; @@ -64,28 +64,25 @@ class DecoratorServicePass extends \RectorPrefix20211129\Symfony\Component\Depen if ($container->hasAlias($inner)) { $alias = $container->getAlias($inner); $public = $alias->isPublic(); - $private = $alias->isPrivate(); - $container->setAlias($renamedId, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias((string) $alias, \false)); + $container->setAlias($renamedId, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias((string) $alias, \false)); $decoratedDefinition = $container->findDefinition($alias); } elseif ($container->hasDefinition($inner)) { $decoratedDefinition = $container->getDefinition($inner); $public = $decoratedDefinition->isPublic(); - $private = $decoratedDefinition->isPrivate(); $decoratedDefinition->setPublic(\false); $container->setDefinition($renamedId, $decoratedDefinition); $decoratingDefinitions[$inner] = $decoratedDefinition; - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { $container->removeDefinition($id); continue; - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { $public = $definition->isPublic(); - $private = $definition->isPrivate(); $decoratedDefinition = null; } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($inner, $id); } if ($decoratedDefinition && $decoratedDefinition->isSynthetic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A synthetic service cannot be decorated: service "%s" cannot decorate "%s".', $id, $inner)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A synthetic service cannot be decorated: service "%s" cannot decorate "%s".', $id, $inner)); } if (isset($decoratingDefinitions[$inner])) { $decoratingDefinition = $decoratingDefinitions[$inner]; @@ -110,8 +107,8 @@ class DecoratorServicePass extends \RectorPrefix20211129\Symfony\Component\Depen */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && $this->innerId === (string) $value) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($this->currentId, $value->getInvalidBehavior()); + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && $this->innerId === (string) $value) { + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($this->currentId, $value->getInvalidBehavior()); } return parent::processValue($value, $isRoot); } diff --git a/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php b/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php index 468cf1ba680..ca328d91a59 100644 --- a/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php +++ b/vendor/symfony/dependency-injection/Compiler/DefinitionErrorExceptionPass.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Throws an exception for any Definitions that have errors and still exist. * * @author Ryan Weaver */ -class DefinitionErrorExceptionPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class DefinitionErrorExceptionPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -27,14 +27,14 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20211129\Symfony\Compone */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->hasErrors()) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->hasErrors()) { return parent::processValue($value, $isRoot); } if ($isRoot && !$value->isPublic()) { $graph = $this->container->getCompiler()->getServiceReferenceGraph(); $runtimeException = \false; foreach ($graph->getNode($this->currentId)->getInEdges() as $edge) { - if (!$edge->getValue() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) { + if (!$edge->getValue() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE !== $edge->getValue()->getInvalidBehavior()) { $runtimeException = \false; break; } @@ -47,6 +47,6 @@ class DefinitionErrorExceptionPass extends \RectorPrefix20211129\Symfony\Compone // only show the first error so the user can focus on it $errors = $value->getErrors(); $message = \reset($errors); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($message); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($message); } } diff --git a/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php b/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php index 94828036d8f..08f0a70ba02 100644 --- a/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ExtensionCompilerPass.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * A pass to automatically process extensions if they implement * CompilerPassInterface. * * @author Wouter J */ -class ExtensionCompilerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ExtensionCompilerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} @@ -26,7 +26,7 @@ class ExtensionCompilerPass implements \RectorPrefix20211129\Symfony\Component\D public function process($container) { foreach ($container->getExtensions() as $extension) { - if (!$extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface) { + if (!$extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface) { continue; } $extension->process($container); diff --git a/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php index 6b5c472dd07..b1720d41f93 100644 --- a/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/InlineServiceDefinitionsPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Inline service definitions where this is possible. * * @author Johannes M. Schmitt */ -class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class InlineServiceDefinitionsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $analyzingPass; private $cloningIds = []; @@ -29,7 +29,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone private $inlinedIds = []; private $notInlinableIds = []; private $graph; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass $analyzingPass = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass $analyzingPass = null) { $this->analyzingPass = $analyzingPass; } @@ -40,7 +40,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone { $this->container = $container; if ($this->analyzingPass) { - $analyzedContainer = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder(); + $analyzedContainer = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder(); $analyzedContainer->setAliases($container->getAliases()); $analyzedContainer->setDefinitions($container->getDefinitions()); foreach ($container->getExpressionLanguageProviders() as $provider) { @@ -103,17 +103,17 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { // References found in ArgumentInterface::getValues() are not inlineable return $value; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && $this->cloningIds) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && $this->cloningIds) { if ($value->isShared()) { return $value; } $value = clone $value; } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } elseif (!$this->container->hasDefinition($id = (string) $value)) { return $value; @@ -132,7 +132,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone if (isset($this->cloningIds[$id])) { $ids = \array_keys($this->cloningIds); $ids[] = $id; - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($ids, \array_search($id, $ids))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($ids, \array_search($id, $ids))); } $this->cloningIds[$id] = \true; try { @@ -144,7 +144,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone /** * Checks if the definition is inlineable. */ - private function isInlineableDefinition(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isInlineableDefinition(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->hasErrors() || $definition->isDeprecated() || $definition->isLazy() || $definition->isSynthetic()) { return \false; @@ -187,7 +187,7 @@ class InlineServiceDefinitionsPass extends \RectorPrefix20211129\Symfony\Compone $this->notInlinedIds[$id] = \true; return \false; } - if ($srcCount > 1 && \is_array($factory = $definition->getFactory()) && ($factory[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $factory[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition)) { + if ($srcCount > 1 && \is_array($factory = $definition->getFactory()) && ($factory[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $factory[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition)) { return \false; } return $this->container->getDefinition($srcId)->isShared(); diff --git a/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php b/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php index 1c98e83cbb8..c2a0dc2aa43 100644 --- a/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php +++ b/vendor/symfony/dependency-injection/Compiler/MergeExtensionConfigurationPass.php @@ -8,24 +8,24 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\Extension; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\Extension; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; /** * Merges extension configs into the container builder. * * @author Fabien Potencier */ -class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class MergeExtensionConfigurationPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} @@ -37,9 +37,9 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\C $definitions = $container->getDefinitions(); $aliases = $container->getAliases(); $exprLangProviders = $container->getExpressionLanguageProviders(); - $configAvailable = \class_exists(\RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::class); + $configAvailable = \class_exists(\RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::class); foreach ($container->getExtensions() as $extension) { - if ($extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface) { + if ($extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\PrependExtensionInterface) { $extension->prepend($container); } } @@ -49,19 +49,19 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\C continue; } $resolvingBag = $container->getParameterBag(); - if ($resolvingBag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\Extension) { + if ($resolvingBag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\Extension) { // create a dedicated bag so that we can track env vars per-extension - $resolvingBag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag($resolvingBag); + $resolvingBag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag($resolvingBag); if ($configAvailable) { - \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::setPlaceholderUniquePrefix($resolvingBag->getEnvPlaceholderUniquePrefix()); + \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::setPlaceholderUniquePrefix($resolvingBag->getEnvPlaceholderUniquePrefix()); } } $config = $resolvingBag->resolveValue($config); try { - $tmpContainer = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder($extension, $resolvingBag); + $tmpContainer = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationContainerBuilder($extension, $resolvingBag); $tmpContainer->setResourceTracking($container->isTrackingResources()); $tmpContainer->addObjectResource($extension); - if ($extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface && null !== ($configuration = $extension->getConfiguration($config, $tmpContainer))) { + if ($extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface && null !== ($configuration = $extension->getConfiguration($config, $tmpContainer))) { $tmpContainer->addObjectResource($configuration); } foreach ($exprLangProviders as $provider) { @@ -69,15 +69,15 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\C } $extension->load($config, $tmpContainer); } catch (\Exception $e) { - if ($resolvingBag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { + if ($resolvingBag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { $container->getParameterBag()->mergeEnvPlaceholders($resolvingBag); } if ($configAvailable) { - \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); + \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); } throw $e; } - if ($resolvingBag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { + if ($resolvingBag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationParameterBag) { // don't keep track of env vars that are *overridden* when configs are merged $resolvingBag->freezeAfterProcessing($extension, $tmpContainer); } @@ -85,7 +85,7 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\C $container->getParameterBag()->add($parameters); } if ($configAvailable) { - \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); + \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); } $container->addDefinitions($definitions); $container->addAliases($aliases); @@ -94,7 +94,7 @@ class MergeExtensionConfigurationPass implements \RectorPrefix20211129\Symfony\C /** * @internal */ -class MergeExtensionConfigurationParameterBag extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag +class MergeExtensionConfigurationParameterBag extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag { private $processedEnvPlaceholders; public function __construct(parent $parameterBag) @@ -141,10 +141,10 @@ class MergeExtensionConfigurationParameterBag extends \RectorPrefix20211129\Symf * * @internal */ -class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder +class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder { private $extensionClass; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $extension, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { parent::__construct($parameterBag); $this->extensionClass = \get_class($extension); @@ -155,9 +155,9 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\ * @param string $type * @param int $priority */ - public function addCompilerPass($pass, $type = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) : self + public function addCompilerPass($pass, $type = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) : self { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('You cannot add compiler pass "%s" from extension "%s". Compiler passes must be registered before the container is compiled.', \get_debug_type($pass), $this->extensionClass)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('You cannot add compiler pass "%s" from extension "%s". Compiler passes must be registered before the container is compiled.', \get_debug_type($pass), $this->extensionClass)); } /** * {@inheritdoc} @@ -165,7 +165,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\ */ public function registerExtension($extension) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('You cannot register extension "%s" from "%s". Extensions must be registered before the container is compiled.', \get_debug_type($extension), $this->extensionClass)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('You cannot register extension "%s" from "%s". Extensions must be registered before the container is compiled.', \get_debug_type($extension), $this->extensionClass)); } /** * {@inheritdoc} @@ -173,7 +173,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\ */ public function compile($resolveEnvPlaceholders = \false) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Cannot compile the container in extension "%s".', $this->extensionClass)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Cannot compile the container in extension "%s".', $this->extensionClass)); } /** * {@inheritdoc} @@ -186,7 +186,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\ } $bag = $this->getParameterBag(); $value = $bag->resolveValue($value); - if (!$bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!$bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return parent::resolveEnvPlaceholders($value, $format, $usedEnvs); } foreach ($bag->getEnvPlaceholders() as $env => $placeholders) { @@ -195,7 +195,7 @@ class MergeExtensionConfigurationContainerBuilder extends \RectorPrefix20211129\ } foreach ($placeholders as $placeholder) { if (\false !== \stripos($value, $placeholder)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Using a cast in "env(%s)" is incompatible with resolution at compile time in "%s". The logic in the extension should be moved to a compiler pass, or an env parameter with no cast should be used instead.', $env, $this->extensionClass)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Using a cast in "env(%s)" is incompatible with resolution at compile time in "%s". The logic in the extension should be moved to a compiler pass, or an env parameter with no cast should be used instead.', $env, $this->extensionClass)); } } } diff --git a/vendor/symfony/dependency-injection/Compiler/PassConfig.php b/vendor/symfony/dependency-injection/Compiler/PassConfig.php index 4f73d62a0f9..c60e685ef5a 100644 --- a/vendor/symfony/dependency-injection/Compiler/PassConfig.php +++ b/vendor/symfony/dependency-injection/Compiler/PassConfig.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * Compiler Pass Configuration. * @@ -33,11 +33,11 @@ class PassConfig private $removingPasses; public function __construct() { - $this->mergePass = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass(); - $this->beforeOptimizationPasses = [100 => [new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveClassPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterEnvVarProcessorsPass()], -1000 => [new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ExtensionCompilerPass()]]; - $this->optimizationPasses = [[new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ValidateEnvPlaceholdersPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveDecoratorStackPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterServiceSubscribersPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveParameterPlaceHoldersPass(\false, \false), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveFactoryClassPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveNamedArgumentsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredPropertiesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AutowirePass(\false), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveTaggedIteratorArgumentPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveServiceSubscribersPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveInvalidReferencesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass(\false)]]; - $this->removingPasses = [[new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RemovePrivateAliasesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RemoveAbstractDefinitionsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass()), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass()]]; - $this->afterRemovingPasses = [[new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveHotPathPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveNoPreloadPass(), new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass()]]; + $this->mergePass = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\MergeExtensionConfigurationPass(); + $this->beforeOptimizationPasses = [100 => [new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveClassPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AttributeAutoconfigurationPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveInstanceofConditionalsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterEnvVarProcessorsPass()], -1000 => [new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ExtensionCompilerPass()]]; + $this->optimizationPasses = [[$autoAliasServicePass = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ValidateEnvPlaceholdersPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveDecoratorStackPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveChildDefinitionsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterServiceSubscribersPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveParameterPlaceHoldersPass(\false, \false), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveFactoryClassPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveNamedArgumentsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredMethodsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AutowireRequiredPropertiesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveBindingsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\DecoratorServicePass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckDefinitionValidityPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AutowirePass(\false), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveTaggedIteratorArgumentPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveServiceSubscribersPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveReferencesToAliasesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveInvalidReferencesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckReferenceValidityPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckArgumentsValidityPass(\false)]]; + $this->removingPasses = [[new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RemovePrivateAliasesPass(), (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ReplaceAliasByActualDefinitionPass())->setAutoAliasServicePass($autoAliasServicePass), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RemoveAbstractDefinitionsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RemoveUnusedDefinitionsPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckExceptionOnInvalidReferenceBehaviorPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\InlineServiceDefinitionsPass(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass()), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\DefinitionErrorExceptionPass()]]; + $this->afterRemovingPasses = [[new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveHotPathPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveNoPreloadPass(), new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AliasDeprecatedPublicServicesPass()]]; } /** * Returns all passes in order to be processed. @@ -60,7 +60,7 @@ class PassConfig { $property = $type . 'Passes'; if (!isset($this->{$property})) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s".', $type)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s".', $type)); } $passes =& $this->{$property}; if (!isset($passes[$priority])) { diff --git a/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php b/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php index d2d38457fac..4f176871c91 100644 --- a/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php +++ b/vendor/symfony/dependency-injection/Compiler/PriorityTaggedServiceTrait.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; /** * Trait that allows a generic method to find and sort service by priority option in the tag. * @@ -37,10 +37,10 @@ trait PriorityTaggedServiceTrait * * @return Reference[] */ - private function findAndSortTaggedServices($tagName, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array + private function findAndSortTaggedServices($tagName, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array { $indexAttribute = $defaultIndexMethod = $needsIndexes = $defaultPriorityMethod = null; - if ($tagName instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if ($tagName instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { $indexAttribute = $tagName->getIndexAttribute(); $defaultIndexMethod = $tagName->getDefaultIndexMethod(); $needsIndexes = $tagName->needsIndexes(); @@ -61,7 +61,7 @@ trait PriorityTaggedServiceTrait if (isset($attribute['priority'])) { $priority = $attribute['priority']; } elseif (null === $defaultPriority && $defaultPriorityMethod && $class) { - $defaultPriority = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultPriorityMethod, $tagName, 'priority', $checkTaggedItem); + $defaultPriority = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultPriorityMethod, $tagName, 'priority', $checkTaggedItem); } $priority = $priority ?? $defaultPriority ?? ($defaultPriority = 0); if (null === $indexAttribute && !$defaultIndexMethod && !$needsIndexes) { @@ -71,7 +71,7 @@ trait PriorityTaggedServiceTrait if (null !== $indexAttribute && isset($attribute[$indexAttribute])) { $index = $attribute[$indexAttribute]; } elseif (null === $defaultIndex && $defaultPriorityMethod && $class) { - $defaultIndex = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultIndexMethod ?? 'getDefaultName', $tagName, $indexAttribute, $checkTaggedItem); + $defaultIndex = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PriorityTaggedServiceUtil::getDefault($container, $serviceId, $class, $defaultIndexMethod ?? 'getDefaultName', $tagName, $indexAttribute, $checkTaggedItem); } $index = $index ?? $defaultIndex ?? ($defaultIndex = $serviceId); $services[] = [$priority, ++$i, $index, $serviceId, $class]; @@ -83,11 +83,11 @@ trait PriorityTaggedServiceTrait $refs = []; foreach ($services as [, , $index, $serviceId, $class]) { if (!$class) { - $reference = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($serviceId); + $reference = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($serviceId); } elseif ($index === $serviceId) { - $reference = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class); + $reference = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class); } else { - $reference = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, $index); + $reference = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($serviceId, $class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::EXCEPTION_ON_INVALID_REFERENCE, $index); } if (null === $index) { $refs[] = $reference; @@ -119,7 +119,7 @@ class PriorityTaggedServiceUtil return null; } if ($checkTaggedItem && !$r->hasMethod($defaultMethod)) { - foreach ($r->getAttributes(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem::class) as $attribute) { + foreach ($r->getAttributes(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\AsTaggedItem::class) as $attribute) { return 'priority' === $indexAttribute ? $attribute->newInstance()->priority : $attribute->newInstance()->index; } return null; @@ -131,15 +131,15 @@ class PriorityTaggedServiceUtil $message = [\sprintf('Method "%s::%s()" should ', $class, $defaultMethod), '.']; } if (!($rm = $r->getMethod($defaultMethod))->isStatic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be static', $message)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be static', $message)); } if (!$rm->isPublic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be public', $message)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode('be public', $message)); } $default = $rm->invoke(null); if ('priority' === $indexAttribute) { if (!\is_int($default)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return int (got "%s")', \get_debug_type($default)), $message)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return int (got "%s")', \get_debug_type($default)), $message)); } return $default; } @@ -147,7 +147,7 @@ class PriorityTaggedServiceUtil $default = (string) $default; } if (!\is_string($default)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return string|int (got "%s")', \get_debug_type($default)), $message)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\implode(\sprintf('return string|int (got "%s")', \get_debug_type($default)), $message)); } return $default; } diff --git a/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php b/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php index 61c760f4d34..36732182f06 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterAutoconfigureAttributesPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Autoconfigure; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Autoconfigure; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\YamlFileLoader; /** * Reads #[Autoconfigure] attributes on definitions that are autoconfigured * and don't have the "container.ignore_attributes" tag. * * @author Nicolas Grekas */ -final class RegisterAutoconfigureAttributesPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +final class RegisterAutoconfigureAttributesPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private static $registerForAutoconfiguration; /** @@ -51,19 +51,19 @@ final class RegisterAutoconfigureAttributesPass implements \RectorPrefix20211129 */ public function processClass($container, $class) { - foreach ($class->getAttributes(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Autoconfigure::class, \ReflectionAttribute::IS_INSTANCEOF) as $attribute) { + foreach ($class->getAttributes(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Autoconfigure::class, \ReflectionAttribute::IS_INSTANCEOF) as $attribute) { self::registerForAutoconfiguration($container, $class, $attribute); } } - private static function registerForAutoconfiguration(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) + private static function registerForAutoconfiguration(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) { if (self::$registerForAutoconfiguration) { return (self::$registerForAutoconfiguration)($container, $class, $attribute); } - $parseDefinitions = new \ReflectionMethod(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\YamlFileLoader::class, 'parseDefinitions'); + $parseDefinitions = new \ReflectionMethod(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\YamlFileLoader::class, 'parseDefinitions'); $parseDefinitions->setAccessible(\true); $yamlLoader = $parseDefinitions->getDeclaringClass()->newInstanceWithoutConstructor(); - self::$registerForAutoconfiguration = static function (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) use($parseDefinitions, $yamlLoader) { + self::$registerForAutoconfiguration = static function (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \ReflectionClass $class, \ReflectionAttribute $attribute) use($parseDefinitions, $yamlLoader) { $attribute = (array) $attribute->newInstance(); foreach ($attribute['tags'] ?? [] as $i => $tag) { if (\is_array($tag) && [0] === \array_keys($tag)) { diff --git a/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php b/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php index 8d581622308..800186981a7 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterEnvVarProcessorsPass.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessor; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessor; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessorInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Creates the container.env_var_processors_locator service. * * @author Nicolas Grekas */ -class RegisterEnvVarProcessorsPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RegisterEnvVarProcessorsPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private const ALLOWED_TYPES = ['array', 'bool', 'float', 'int', 'string']; /** @@ -34,25 +34,25 @@ class RegisterEnvVarProcessorsPass implements \RectorPrefix20211129\Symfony\Comp $processors = []; foreach ($container->findTaggedServiceIds('container.env_var_processor') as $id => $tags) { if (!($r = $container->getReflectionClass($class = $container->getDefinition($id)->getClass()))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); - } elseif (!$r->isSubclassOf(\RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $id)); + } elseif (!$r->isSubclassOf(\RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessorInterface::class)); } foreach ($class::getProvidedTypes() as $prefix => $type) { - $processors[$prefix] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id); + $processors[$prefix] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id); $types[$prefix] = self::validateProvidedTypes($type, $class); } } - if ($bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { - foreach (\RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessor::getProvidedTypes() as $prefix => $type) { + if ($bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + foreach (\RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessor::getProvidedTypes() as $prefix => $type) { if (!isset($types[$prefix])) { - $types[$prefix] = self::validateProvidedTypes($type, \RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessor::class); + $types[$prefix] = self::validateProvidedTypes($type, \RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessor::class); } } $bag->setProvidedTypes($types); } if ($processors) { - $container->setAlias('container.env_var_processors_locator', (string) \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $processors))->setPublic(\true); + $container->setAlias('container.env_var_processors_locator', (string) \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($container, $processors))->setPublic(\true); } } private static function validateProvidedTypes(string $types, string $class) : array @@ -60,7 +60,7 @@ class RegisterEnvVarProcessorsPass implements \RectorPrefix20211129\Symfony\Comp $types = \explode('|', $types); foreach ($types as $type) { if (!\in_array($type, self::ALLOWED_TYPES)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s" returned by "%s::getProvidedTypes()", expected one of "%s".', $type, $class, \implode('", "', self::ALLOWED_TYPES))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type "%s" returned by "%s::getProvidedTypes()", expected one of "%s".', $type, $class, \implode('", "', self::ALLOWED_TYPES))); } } return $types; diff --git a/vendor/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php b/vendor/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php index 66d1177f4fc..b3349359e65 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterReverseContainerPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * @author Nicolas Grekas */ -class RegisterReverseContainerPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RegisterReverseContainerPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $beforeRemoving; private $serviceId; @@ -40,22 +40,22 @@ class RegisterReverseContainerPass implements \RectorPrefix20211129\Symfony\Comp if (!$container->hasDefinition($this->serviceId)) { return; } - $refType = $this->beforeRemoving ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $refType = $this->beforeRemoving ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; $services = []; foreach ($container->findTaggedServiceIds($this->tagName) as $id => $tags) { - $services[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id, $refType); + $services[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id, $refType); } if ($this->beforeRemoving) { // prevent inlining of the reverse container - $services[$this->serviceId] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($this->serviceId, $refType); + $services[$this->serviceId] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($this->serviceId, $refType); } $locator = $container->getDefinition($this->serviceId)->getArgument(1); - if ($locator instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($locator instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $locator = $container->getDefinition((string) $locator); } - if ($locator instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($locator instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { foreach ($services as $id => $ref) { - $services[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); + $services[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); } $locator->replaceArgument(0, $services); } else { diff --git a/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php b/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php index c4e5a6d5e64..0d8a9fc5ab0 100644 --- a/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RegisterServiceSubscribersPass.php @@ -8,32 +8,32 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Psr\Container\ContainerInterface as PsrContainerInterface; -use RectorPrefix20211129\Symfony\Bundle\FrameworkBundle\Controller\AbstractController; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20211129\Symfony\Component\HttpFoundation\Session\SessionInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface as PsrContainerInterface; +use RectorPrefix20211130\Symfony\Bundle\FrameworkBundle\Controller\AbstractController; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\HttpFoundation\Session\SessionInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * Compiler pass to register tagged services that require a service locator. * * @author Nicolas Grekas */ -class RegisterServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class RegisterServiceSubscribersPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param bool $isRoot */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || $value->isAbstract() || $value->isSynthetic() || !$value->hasTag('container.service_subscriber')) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || $value->isAbstract() || $value->isSynthetic() || !$value->hasTag('container.service_subscriber')) { return parent::processValue($value, $isRoot); } $serviceMap = []; @@ -45,10 +45,10 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Compo } \ksort($attributes); if ([] !== \array_diff(\array_keys($attributes), ['id', 'key'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "container.service_subscriber" tag accepts only the "key" and "id" attributes, "%s" given for service "%s".', \implode('", "', \array_keys($attributes)), $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "container.service_subscriber" tag accepts only the "key" and "id" attributes, "%s" given for service "%s".', \implode('", "', \array_keys($attributes)), $this->currentId)); } if (!\array_key_exists('id', $attributes)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing "id" attribute on "container.service_subscriber" tag with key="%s" for service "%s".', $attributes['key'], $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing "id" attribute on "container.service_subscriber" tag with key="%s" for service "%s".', $attributes['key'], $this->currentId)); } if (!\array_key_exists('key', $attributes)) { $attributes['key'] = $attributes['id']; @@ -56,25 +56,25 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Compo if (isset($serviceMap[$attributes['key']])) { continue; } - $serviceMap[$attributes['key']] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($attributes['id']); + $serviceMap[$attributes['key']] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($attributes['id']); } $class = $value->getClass(); if (!($r = $this->container->getReflectionClass($class))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Class "%s" used for service "%s" cannot be found.', $class, $this->currentId)); } - if (!$r->isSubclassOf(\RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $this->currentId, \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class)); + if (!$r->isSubclassOf(\RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" must implement interface "%s".', $this->currentId, \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class)); } $class = $r->name; - $replaceDeprecatedSession = $this->container->has('.session.deprecated') && $r->isSubclassOf(\RectorPrefix20211129\Symfony\Bundle\FrameworkBundle\Controller\AbstractController::class); + $replaceDeprecatedSession = $this->container->has('.session.deprecated') && $r->isSubclassOf(\RectorPrefix20211130\Symfony\Bundle\FrameworkBundle\Controller\AbstractController::class); $subscriberMap = []; foreach ($class::getSubscribedServices() as $key => $type) { - if (!\is_string($type) || !\preg_match('/^\\??[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+(?:\\\\[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+)*+$/', $type)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s::getSubscribedServices()" must return valid PHP types for service "%s" key "%s", "%s" returned.', $class, $this->currentId, $key, \is_string($type) ? $type : \get_debug_type($type))); + if (!\is_string($type) || !\preg_match('/(?(DEFINE)(?[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+))(?(DEFINE)(?(?&cn)(?:\\\\(?&cn))*+))^\\??(?&fqcn)(?:(?:\\|(?&fqcn))*+|(?:&(?&fqcn))*+)$/', $type)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s::getSubscribedServices()" must return valid PHP types for service "%s" key "%s", "%s" returned.', $class, $this->currentId, $key, \is_string($type) ? $type : \get_debug_type($type))); } if ($optionalBehavior = '?' === $type[0]) { $type = \substr($type, 1); - $optionalBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $optionalBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } if (\is_int($name = $key)) { $key = $type; @@ -82,14 +82,14 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Compo } if (!isset($serviceMap[$key])) { if (!$autowire) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" misses a "container.service_subscriber" tag with "key"/"id" attributes corresponding to entry "%s" as returned by "%s::getSubscribedServices()".', $this->currentId, $key, $class)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "%s" misses a "container.service_subscriber" tag with "key"/"id" attributes corresponding to entry "%s" as returned by "%s::getSubscribedServices()".', $this->currentId, $key, $class)); } - if ($replaceDeprecatedSession && \RectorPrefix20211129\Symfony\Component\HttpFoundation\Session\SessionInterface::class === $type) { + if ($replaceDeprecatedSession && \RectorPrefix20211130\Symfony\Component\HttpFoundation\Session\SessionInterface::class === $type) { // This prevents triggering the deprecation when building the container // Should be removed in Symfony 6.0 $type = '.session.deprecated'; } - $serviceMap[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($type); + $serviceMap[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($type); } if ($name) { if (\false !== ($i = \strpos($name, '::get'))) { @@ -102,16 +102,16 @@ class RegisterServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Compo $camelCaseName = \lcfirst(\str_replace(' ', '', \ucwords(\preg_replace('/[^a-zA-Z0-9\\x7f-\\xff]++/', ' ', $name)))); $name = $this->container->has($type . ' $' . $camelCaseName) ? $camelCaseName : $name; } - $subscriberMap[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference((string) $serviceMap[$key], $type, $optionalBehavior ?: \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name); + $subscriberMap[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference((string) $serviceMap[$key], $type, $optionalBehavior ?: \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, $name); unset($serviceMap[$key]); } if ($serviceMap = \array_keys($serviceMap)) { $message = \sprintf(1 < \count($serviceMap) ? 'keys "%s" do' : 'key "%s" does', \str_replace('%', '%%', \implode('", "', $serviceMap))); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service %s not exist in the map returned by "%s::getSubscribedServices()" for service "%s".', $message, $class, $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service %s not exist in the map returned by "%s::getSubscribedServices()" for service "%s".', $message, $class, $this->currentId)); } - $locatorRef = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($this->container, $subscriberMap, $this->currentId); + $locatorRef = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceLocatorTagPass::register($this->container, $subscriberMap, $this->currentId); $value->addTag('container.service_subscriber.locator', ['id' => (string) $locatorRef]); - $value->setBindings([\RectorPrefix20211129\Psr\Container\ContainerInterface::class => new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false), \RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface::class => new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false)] + $value->getBindings()); + $value->setBindings([\RectorPrefix20211130\Psr\Container\ContainerInterface::class => new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false), \RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface::class => new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($locatorRef, \false)] + $value->getBindings()); return parent::processValue($value); } } diff --git a/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php index f872776a09b..89754bef00e 100644 --- a/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RemoveAbstractDefinitionsPass.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Removes abstract Definitions. */ -class RemoveAbstractDefinitionsPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RemoveAbstractDefinitionsPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Removes abstract definitions from the ContainerBuilder. diff --git a/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php b/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php index 4c71b67b9ca..8dca72d3b3c 100644 --- a/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RemovePrivateAliasesPass.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Remove private aliases from the container. They were only used to establish * dependencies between services, and these dependencies have been resolved in @@ -18,7 +18,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; * * @author Johannes M. Schmitt */ -class RemovePrivateAliasesPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class RemovePrivateAliasesPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * Removes private aliases from the ContainerBuilder. diff --git a/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php index 5dbb0624b33..49bff601e3f 100644 --- a/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/RemoveUnusedDefinitionsPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Removes unused service definitions from the container. * * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class RemoveUnusedDefinitionsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class RemoveUnusedDefinitionsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $connectedIds = []; /** @@ -71,10 +71,10 @@ class RemoveUnusedDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior()) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior()) { $this->connectedIds[] = (string) $value; } return $value; diff --git a/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php b/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php index e709b315076..676e9b4273b 100644 --- a/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ReplaceAliasByActualDefinitionPass.php @@ -8,21 +8,33 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Replaces aliases with actual service definitions, effectively removing these * aliases. * * @author Johannes M. Schmitt */ -class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $replacements; + private $autoAliasServicePass; + /** + * @internal to be removed in Symfony 6.0 + * + * @return $this + * @param \Symfony\Component\DependencyInjection\Compiler\AutoAliasServicePass $autoAliasServicePass + */ + public function setAutoAliasServicePass($autoAliasServicePass) : self + { + $this->autoAliasServicePass = $autoAliasServicePass; + return $this; + } /** * Process the Container to replace aliases with service definitions. * @@ -34,15 +46,22 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211129\Symfony\C // First collect all alias targets that need to be replaced $seenAliasTargets = []; $replacements = []; + $privateAliases = $this->autoAliasServicePass ? $this->autoAliasServicePass->getPrivateAliases() : []; + foreach ($privateAliases as $target) { + $target->setDeprecated('symfony/dependency-injection', '5.4', 'Accessing the "%alias_id%" service directly from the container is deprecated, use dependency injection instead.'); + } foreach ($container->getAliases() as $definitionId => $target) { $targetId = (string) $target; // Special case: leave this target alone if ('service_container' === $targetId) { continue; } - // Check if target needs to be replaces + // Check if target needs to be replaced if (isset($replacements[$targetId])) { $container->setAlias($definitionId, $replacements[$targetId])->setPublic($target->isPublic()); + if ($target->isDeprecated()) { + $container->getAlias($definitionId)->setDeprecated(...\array_values($target->getDeprecation('%alias_id%'))); + } } // No need to process the same target twice if (isset($seenAliasTargets[$targetId])) { @@ -52,9 +71,9 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211129\Symfony\C $seenAliasTargets[$targetId] = \true; try { $definition = $container->getDefinition($targetId); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { if ('' !== $e->getId() && '@' === $e->getId()[0]) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($e->getId(), $e->getSourceId(), null, [\substr($e->getId(), 1)]); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($e->getId(), $e->getSourceId(), null, [\substr($e->getId(), 1)]); } throw $e; } @@ -66,6 +85,9 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211129\Symfony\C $container->setDefinition($definitionId, $definition); $container->removeDefinition($targetId); $replacements[$targetId] = $definitionId; + if ($target->isPublic() && $target->isDeprecated()) { + $definition->addTag('container.private', $target->getDeprecation('%service_id%')); + } } $this->replacements = $replacements; parent::process($container); @@ -77,10 +99,10 @@ class ReplaceAliasByActualDefinitionPass extends \RectorPrefix20211129\Symfony\C */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && isset($this->replacements[$referenceId = (string) $value])) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && isset($this->replacements[$referenceId = (string) $value])) { // Perform the replacement $newId = $this->replacements[$referenceId]; - $value = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($newId, $value->getInvalidBehavior()); + $value = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($newId, $value->getInvalidBehavior()); $this->container->log($this, \sprintf('Changed reference of service "%s" previously pointing to "%s" to "%s".', $this->currentId, $referenceId, $newId)); } return parent::processValue($value, $isRoot); diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveBindingsPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveBindingsPass.php index 7460e0c5cb1..3fc3eba668b 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveBindingsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveBindingsPass.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; /** * @author Guilhem Niot */ -class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveBindingsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $usedBindings = []; private $unusedBindings = []; @@ -53,9 +53,9 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend if ($argumentName) { $message .= \sprintf('named "%s" ', $argumentName); } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING === $bindingType) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING === $bindingType) { $message .= 'under "_defaults"'; - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING === $bindingType) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING === $bindingType) { $message .= 'under "_instanceof"'; } else { $message .= \sprintf('for service "%s"', $serviceId); @@ -70,7 +70,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend foreach ($this->errorMessages as $m) { $message .= "\n - " . $m; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException($message); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException($message); } } finally { $this->usedBindings = []; @@ -84,7 +84,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference && $value->getType() === (string) $value) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference && $value->getType() === (string) $value) { // Already checked $bindings = $this->container->getDefinition($this->currentId)->getBindings(); $name = $value->getName(); @@ -96,7 +96,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend } return parent::processValue($value, $isRoot); } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !($bindings = $value->getBindings())) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !($bindings = $value->getBindings())) { return parent::processValue($value, $isRoot); } $bindingNames = []; @@ -114,8 +114,8 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend if (!isset($m[1])) { continue; } - if (null !== $bindingValue && !$bindingValue instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && !$bindingValue instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && !$bindingValue instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument && !$bindingValue instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value for binding key "%s" for service "%s": expected "%s", "%s", "%s", "%s" or null, "%s" given.', $key, $this->currentId, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition::class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument::class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument::class, \get_debug_type($bindingValue))); + if (null !== $bindingValue && !$bindingValue instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && !$bindingValue instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && !$bindingValue instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument && !$bindingValue instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value for binding key "%s" for service "%s": expected "%s", "%s", "%s", "%s" or null, "%s" given.', $key, $this->currentId, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition::class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument::class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument::class, \get_debug_type($bindingValue))); } } if ($value->isAbstract()) { @@ -126,7 +126,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend if ($constructor = $this->getConstructor($value, \false)) { $calls[] = [$constructor, $value->getArguments()]; } - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { $this->errorMessages[] = $e->getMessage(); $this->container->getDefinition($this->currentId)->addError($e->getMessage()); return parent::processValue($value, $isRoot); @@ -138,7 +138,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend } else { try { $reflectionMethod = $this->getReflectionMethod($value, $method); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($value->getFactory()) { continue; } @@ -149,8 +149,8 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend if (\array_key_exists($key, $arguments) && '' !== $arguments[$key]) { continue; } - $typeHint = \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter); - $name = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter); + $typeHint = \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($reflectionMethod, $parameter); + $name = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target::parseName($parameter); if ($typeHint && \array_key_exists($k = \ltrim($typeHint, '\\') . ' $' . $name, $bindings)) { $arguments[$key] = $this->getBindingValue($bindings[$k]); continue; @@ -188,7 +188,7 @@ class ResolveBindingsPass extends \RectorPrefix20211129\Symfony\Component\Depend /** * @return mixed */ - private function getBindingValue(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument $binding) + private function getBindingValue(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument $binding) { [$bindingValue, $bindingId] = $binding->getValues(); $this->usedBindings[$bindingId] = \true; diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php index b9d6da33f8a..bb7b1735e08 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveChildDefinitionsPass.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; /** * This replaces all ChildDefinition instances with their equivalent fully * merged Definition instance. @@ -23,7 +23,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\Service * @author Johannes M. Schmitt * @author Nicolas Grekas */ -class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveChildDefinitionsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $currentPath; /** @@ -31,7 +31,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } if ($isRoot) { @@ -39,7 +39,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen // container to ensure we are not operating on stale data $value = $this->container->getDefinition($this->currentId); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { $this->currentPath = []; $value = $this->resolveDefinition($value); if ($isRoot) { @@ -53,31 +53,31 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen * * @throws RuntimeException When the definition is invalid */ - private function resolveDefinition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function resolveDefinition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { try { return $this->doResolveDefinition($definition); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { throw $e; - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface $e) { $r = new \ReflectionProperty($e, 'message'); $r->setAccessible(\true); $r->setValue($e, \sprintf('Service "%s": %s', $this->currentId, $e->getMessage())); throw $e; } } - private function doResolveDefinition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function doResolveDefinition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition $definition) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { if (!$this->container->has($parent = $definition->getParent())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Parent definition "%s" does not exist.', $parent)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Parent definition "%s" does not exist.', $parent)); } $searchKey = \array_search($parent, $this->currentPath); $this->currentPath[] = $parent; if (\false !== $searchKey) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($parent, \array_slice($this->currentPath, $searchKey)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($parent, \array_slice($this->currentPath, $searchKey)); } $parentDef = $this->container->findDefinition($parent); - if ($parentDef instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($parentDef instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { $id = $this->currentId; $this->currentId = $parent; $parentDef = $this->resolveDefinition($parentDef); @@ -85,7 +85,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen $this->currentId = $id; } $this->container->log($this, \sprintf('Resolving inheritance for "%s" (parent: %s).', $this->currentId, $parent)); - $def = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $def = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); // merge in parent definition // purposely ignored attributes: abstract, shared, tags, autoconfigured $def->setClass($parentDef->getClass()); @@ -145,7 +145,7 @@ class ResolveChildDefinitionsPass extends \RectorPrefix20211129\Symfony\Componen if (null === $decoratedService) { $def->setDecoratedService($decoratedService); } else { - $def->setDecoratedService($decoratedService[0], $decoratedService[1], $decoratedService[2], $decoratedService[3] ?? \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $def->setDecoratedService($decoratedService[0], $decoratedService[1], $decoratedService[2], $decoratedService[3] ?? \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); } } // merge arguments diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php index 5e239d03f38..603f79d4700 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveClassPass.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * @author Nicolas Grekas */ -class ResolveClassPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveClassPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} @@ -29,8 +29,8 @@ class ResolveClassPass implements \RectorPrefix20211129\Symfony\Component\Depend continue; } if (\preg_match('/^[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+(?:\\\\[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+)++$/', $id)) { - if ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition && !\class_exists($id)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service definition "%s" has a parent but no class, and its name looks like an FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.', $id)); + if ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition && !\class_exists($id)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service definition "%s" has a parent but no class, and its name looks like an FQCN. Either the class is missing or you want to inherit it from the parent service. To resolve this ambiguity, please rename this service to a non-FQCN (e.g. using dots), or create the missing class.', $id)); } $definition->setClass($id); } diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php index a629e3fd78a..b13f9d2d974 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveDecoratorStackPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * @author Nicolas Grekas */ -class ResolveDecoratorStackPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveDecoratorStackPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $tag; public function __construct(string $tag = 'container.stack') @@ -38,11 +38,11 @@ class ResolveDecoratorStackPass implements \RectorPrefix20211129\Symfony\Compone $stacks = []; foreach ($container->findTaggedServiceIds($this->tag) as $id => $tags) { $definition = $container->getDefinition($id); - if (!$definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": only definitions with a "parent" can have the "%s" tag.', $id, $this->tag)); + if (!$definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": only definitions with a "parent" can have the "%s" tag.', $id, $this->tag)); } if (!($stack = $definition->getArguments())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the stack of decorators is empty.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the stack of decorators is empty.', $id)); } $stacks[$id] = $stack; } @@ -74,27 +74,27 @@ class ResolveDecoratorStackPass implements \RectorPrefix20211129\Symfony\Compone $id = \end($path); $prefix = '.' . $id . '.'; if (!isset($stacks[$id])) { - return [$id => new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition($id)]; + return [$id => new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition($id)]; } if (\key($path) !== ($searchKey = \array_search($id, $path))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($path, $searchKey)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_slice($path, $searchKey)); } foreach ($stacks[$id] as $k => $definition) { - if ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition && isset($stacks[$definition->getParent()])) { + if ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition && isset($stacks[$definition->getParent()])) { $path[] = $definition->getParent(); $definition = \unserialize(\serialize($definition)); // deep clone - } elseif ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $definitions[$decoratedId = $prefix . $k] = $definition; continue; - } elseif ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias) { + } elseif ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias) { $path[] = (string) $definition; } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": unexpected value of type "%s" found in the stack of decorators.', $id, \get_debug_type($definition))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": unexpected value of type "%s" found in the stack of decorators.', $id, \get_debug_type($definition))); } $p = $prefix . $k; foreach ($this->resolveStack($stacks, $path) as $k => $v) { - $definitions[$decoratedId = $p . $k] = $definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->setParent($k) : new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition($k); + $definitions[$decoratedId = $p . $k] = $definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->setParent($k) : new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition($k); $definition = null; } \array_pop($path); diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php index 4178ce89386..adedd5612d5 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveEnvPlaceholdersPass.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * Replaces env var placeholders by their current values. */ -class ResolveEnvPlaceholdersPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveEnvPlaceholdersPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * @param bool $isRoot @@ -24,7 +24,7 @@ class ResolveEnvPlaceholdersPass extends \RectorPrefix20211129\Symfony\Component if (\is_string($value)) { return $this->container->resolveEnvPlaceholders($value, \true); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $changes = $value->getChanges(); if (isset($changes['class'])) { $value->setClass($this->container->resolveEnvPlaceholders($value->getClass(), \true)); diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php index 1ac701e5119..643c79ee9bc 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveFactoryClassPass.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Maxime Steinhausser */ -class ResolveFactoryClassPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveFactoryClassPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -23,9 +23,9 @@ class ResolveFactoryClassPass extends \RectorPrefix20211129\Symfony\Component\De */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && \is_array($factory = $value->getFactory()) && null === $factory[0]) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && \is_array($factory = $value->getFactory()) && null === $factory[0]) { if (null === ($class = $value->getClass())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The "%s" service is defined to be created by a factory, but is missing the factory class. Did you forget to define the factory or service class?', $this->currentId)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The "%s" service is defined to be created by a factory, but is missing the factory class. Did you forget to define the factory or service class?', $this->currentId)); } $factory[0] = $class; $value->setFactory($factory); diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveHotPathPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveHotPathPass.php index 3d2a2d5f5e6..e8e2ecef9cd 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveHotPathPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveHotPathPass.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Propagate "container.hot_path" tags to referenced services. * * @author Nicolas Grekas */ -class ResolveHotPathPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveHotPathPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $tagName; private $resolvedIds = []; @@ -49,10 +49,10 @@ class ResolveHotPathPass extends \RectorPrefix20211129\Symfony\Component\Depende */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { return $value; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && $isRoot) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && $isRoot) { if ($value->isDeprecated()) { return $value->clearTag($this->tagName); } @@ -61,7 +61,7 @@ class ResolveHotPathPass extends \RectorPrefix20211129\Symfony\Component\Depende return $value; } } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { $definition = $this->container->getDefinition($id); if ($definition->isDeprecated() || $definition->hasTag($this->tagName)) { return $value; diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php index 0956b509734..483d5a7e94a 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveInstanceofConditionalsPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Applies instanceof conditionals to definitions. * * @author Nicolas Grekas */ -class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveInstanceofConditionalsPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} @@ -30,7 +30,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony { foreach ($container->getAutoconfiguredInstanceof() as $interface => $definition) { if ($definition->getArguments()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Autoconfigured instanceof for type "%s" defines arguments but these are not supported and should be removed.', $interface)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Autoconfigured instanceof for type "%s" defines arguments but these are not supported and should be removed.', $interface)); } } $tagsToKeep = []; @@ -44,7 +44,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony $container->getParameterBag()->remove('container.behavior_describing_tags'); } } - private function processDefinition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, array $tagsToKeep) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function processDefinition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, array $tagsToKeep) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { $instanceofConditionals = $definition->getInstanceofConditionals(); $autoconfiguredInstanceof = $definition->isAutoconfigured() ? $container->getAutoconfiguredInstanceof() : []; @@ -61,7 +61,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony $instanceofCalls = []; $instanceofBindings = []; $reflectionClass = null; - $parent = $definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->getParent() : null; + $parent = $definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition ? $definition->getParent() : null; foreach ($conditionals as $interface => $instanceofDefs) { if ($interface !== $class && !($reflectionClass ?? ($reflectionClass = $container->getReflectionClass($class, \false) ?: \false))) { continue; @@ -93,7 +93,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony $abstract = $container->setDefinition('.abstract.instanceof.' . $id, $definition); $definition->setBindings([]); $definition = \serialize($definition); - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition::class === \get_class($abstract)) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition::class === \get_class($abstract)) { // cast Definition to ChildDefinition $definition = \substr_replace($definition, '53', 2, 2); $definition = \substr_replace($definition, 'Child', 44, 0); @@ -125,7 +125,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony } return $definition; } - private function mergeConditionals(array $autoconfiguredInstanceof, array $instanceofConditionals, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array + private function mergeConditionals(array $autoconfiguredInstanceof, array $instanceofConditionals, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) : array { // make each value an array of ChildDefinition $conditionals = \array_map(function ($childDef) { @@ -134,7 +134,7 @@ class ResolveInstanceofConditionalsPass implements \RectorPrefix20211129\Symfony foreach ($instanceofConditionals as $interface => $instanceofDef) { // make sure the interface/class exists (but don't validate automaticInstanceofConditionals) if (!$container->getReflectionClass($interface)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s" is set as an "instanceof" conditional, but it does not exist.', $interface)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('"%s" is set as an "instanceof" conditional, but it does not exist.', $interface)); } if (!isset($autoconfiguredInstanceof[$interface])) { $conditionals[$interface] = []; diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php index a422f1d4c2c..373c88d18a4 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveInvalidReferencesPass.php @@ -8,24 +8,24 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; /** * Emulates the invalid behavior if the reference is not found within the * container. * * @author Johannes M. Schmitt */ -class ResolveInvalidReferencesPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolveInvalidReferencesPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private $container; private $signalingException; @@ -37,7 +37,7 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20211129\Symfony\Comp public function process($container) { $this->container = $container; - $this->signalingException = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Invalid reference.'); + $this->signalingException = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Invalid reference.'); try { foreach ($container->getDefinitions() as $this->currentId => $definition) { $this->processValue($definition); @@ -55,11 +55,11 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20211129\Symfony\Comp */ private function processValue($value, int $rootLevel = 0, int $level = 0) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value->setValues($this->processValue($value->getValues(), 1, 1)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $value->setValues($this->processValue($value->getValues(), $rootLevel, 1 + $level)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { if ($value->isSynthetic() || $value->isAbstract()) { return $value; } @@ -76,7 +76,7 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20211129\Symfony\Comp if ($v !== ($processedValue = $this->processValue($v, $rootLevel, 1 + $level))) { $value[$k] = $processedValue; } - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { if ($rootLevel < $level || $rootLevel && !$level) { unset($value[$k]); } elseif ($rootLevel) { @@ -90,26 +90,26 @@ class ResolveInvalidReferencesPass implements \RectorPrefix20211129\Symfony\Comp if (\false !== $i) { $value = \array_values($value); } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { if ($this->container->has($id = (string) $value)) { return $value; } $currentDefinition = $this->container->getDefinition($this->currentId); // resolve decorated service behavior depending on decorator service - if ($currentDefinition->innerServiceId === $id && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $currentDefinition->decorationOnInvalid) { + if ($currentDefinition->innerServiceId === $id && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $currentDefinition->decorationOnInvalid) { return null; } $invalidBehavior = $value->getInvalidBehavior(); - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior && $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference && !$this->container->has($id)) { - $e = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $this->currentId); + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE === $invalidBehavior && $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference && !$this->container->has($id)) { + $e = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, $this->currentId); // since the error message varies by $id and $this->currentId, so should the id of the dummy errored definition $this->container->register($id = \sprintf('.errored.%s.%s', $this->currentId, $id), $value->getType())->addError($e->getMessage()); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference($id, $value->getType(), $value->getInvalidBehavior()); } // resolve invalid behavior - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $invalidBehavior) { $value = null; - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $invalidBehavior) { if (0 < $level || $rootLevel) { throw $this->signalingException; } diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php index 8d250e0c5c6..1bc8de3e592 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveNamedArgumentsPass.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Resolves named arguments to their corresponding numeric index. * * @author Kévin Dunglas */ -class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveNamedArgumentsPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -28,10 +28,10 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\ */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $value->getText() . '.' === $value->getTextWithContext()) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $value->getText() . '.' === $value->getTextWithContext()) { $value->setContext(\sprintf('A value found in service "%s"', $this->currentId)); } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } $calls = $value->getMethodCalls(); @@ -41,7 +41,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\ $parameters = null; $resolvedArguments = []; foreach ($arguments as $key => $argument) { - if ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { + if ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { $argument->setContext(\sprintf('Argument ' . (\is_int($key) ? 1 + $key : '"%3$s"') . ' of ' . ('__construct' === $method ? 'service "%s"' : 'method call "%s::%s()"'), $this->currentId, $method, $key)); } if (\is_int($key)) { @@ -55,7 +55,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\ $parameters = $r->getParameters(); } if (isset($key[0]) && '$' !== $key[0] && !\class_exists($key) && !\interface_exists($key, \false)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": did you forget to add the "$" prefix to argument "%s"?', $this->currentId, $key)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": did you forget to add the "$" prefix to argument "%s"?', $this->currentId, $key)); } if (isset($key[0]) && '$' === $key[0]) { foreach ($parameters as $j => $p) { @@ -70,20 +70,20 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\ continue 2; } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": method "%s()" has no argument named "%s". Check your service definition.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method, $key)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": method "%s()" has no argument named "%s". Check your service definition.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method, $key)); } - if (null !== $argument && !$argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && !$argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the value of argument "%s" of method "%s()" must be null, an instance of "%s" or an instance of "%s", "%s" given.', $this->currentId, $key, $class !== $this->currentId ? $class . '::' . $method : $method, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition::class, \get_debug_type($argument))); + if (null !== $argument && !$argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && !$argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": the value of argument "%s" of method "%s()" must be null, an instance of "%s" or an instance of "%s", "%s" given.', $this->currentId, $key, $class !== $this->currentId ? $class . '::' . $method : $method, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference::class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition::class, \get_debug_type($argument))); } $typeFound = \false; foreach ($parameters as $j => $p) { - if (!\array_key_exists($j, $resolvedArguments) && \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($r, $p, \true) === $key) { + if (!\array_key_exists($j, $resolvedArguments) && \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\ProxyHelper::getTypeHint($r, $p, \true) === $key) { $resolvedArguments[$j] = $argument; $typeFound = \true; } } if (!$typeFound) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": method "%s()" has no argument type-hinted as "%s". Check your service definition.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method, $key)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service "%s": method "%s()" has no argument type-hinted as "%s". Check your service definition.', $this->currentId, $class !== $this->currentId ? $class . '::' . $method : $method, $key)); } } if ($resolvedArguments !== $call[1]) { @@ -99,7 +99,7 @@ class ResolveNamedArgumentsPass extends \RectorPrefix20211129\Symfony\Component\ $value->setMethodCalls($calls); } foreach ($value->getProperties() as $key => $argument) { - if ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { + if ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument && $argument->getText() . '.' === $argument->getTextWithContext()) { $argument->setContext(\sprintf('Property "%s" of service "%s"', $key, $this->currentId)); } } diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php index bcd92a4e231..c797a38f713 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveNoPreloadPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Propagate the "container.no_preload" tag. * * @author Nicolas Grekas */ -class ResolveNoPreloadPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveNoPreloadPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private const DO_PRELOAD_TAG = '.container.do_preload'; private $tagName; @@ -68,7 +68,7 @@ class ResolveNoPreloadPass extends \RectorPrefix20211129\Symfony\Component\Depen */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::IGNORE_ON_UNINITIALIZED_REFERENCE !== $value->getInvalidBehavior() && $this->container->hasDefinition($id = (string) $value)) { $definition = $this->container->getDefinition($id); if (!isset($this->resolvedIds[$id]) && (!$definition->isPublic() || $definition->isPrivate())) { $this->resolvedIds[$id] = \true; @@ -76,7 +76,7 @@ class ResolveNoPreloadPass extends \RectorPrefix20211129\Symfony\Component\Depen } return $value; } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } if ($value->hasTag($this->tagName) || $value->isDeprecated() || $value->hasErrors()) { diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php index 55f073e0709..97874477860 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveParameterPlaceHoldersPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * Resolves all parameter placeholders "%somevalue%" to their real values. * * @author Johannes M. Schmitt */ -class ResolveParameterPlaceHoldersPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveParameterPlaceHoldersPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $bag; private $resolveArrays; @@ -45,7 +45,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20211129\Symfony\Com $aliases[$this->bag->resolveValue($name)] = $target; } $container->setAliases($aliases); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { $e->setSourceId($this->currentId); throw $e; } @@ -60,7 +60,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20211129\Symfony\Com if (\is_string($value)) { try { $v = $this->bag->resolveValue($value); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { if ($this->throwOnResolveException) { throw $e; } @@ -69,7 +69,7 @@ class ResolveParameterPlaceHoldersPass extends \RectorPrefix20211129\Symfony\Com } return $this->resolveArrays || !$v || !\is_array($v) ? $v : $value; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $value->setBindings($this->processValue($value->getBindings())); $changes = $value->getChanges(); if (isset($changes['class'])) { diff --git a/vendor/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php b/vendor/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php index c342d7c828b..77986d46724 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolvePrivatesPass.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -trigger_deprecation('symfony/dependency-injection', '5.2', 'The "%s" class is deprecated.', \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolvePrivatesPass::class); -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +trigger_deprecation('symfony/dependency-injection', '5.2', 'The "%s" class is deprecated.', \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolvePrivatesPass::class); +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * @author Nicolas Grekas * * @deprecated since Symfony 5.2 */ -class ResolvePrivatesPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ResolvePrivatesPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php index beee1f950f4..5ff2f810140 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveReferencesToAliasesPass.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * Replaces all references to aliases with references to the actual service. * * @author Johannes M. Schmitt */ -class ResolveReferencesToAliasesPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveReferencesToAliasesPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { /** * {@inheritdoc} @@ -41,13 +41,13 @@ class ResolveReferencesToAliasesPass extends \RectorPrefix20211129\Symfony\Compo */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { return parent::processValue($value, $isRoot); } $defId = $this->getDefinitionId($id = (string) $value, $this->container); - return $defId !== $id ? new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($defId, $value->getInvalidBehavior()) : $value; + return $defId !== $id ? new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($defId, $value->getInvalidBehavior()) : $value; } - private function getDefinitionId(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) : string + private function getDefinitionId(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) : string { if (!$container->hasAlias($id)) { return $id; @@ -63,7 +63,7 @@ class ResolveReferencesToAliasesPass extends \RectorPrefix20211129\Symfony\Compo $seen = []; do { if (isset($seen[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($seen), [$id])); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($seen), [$id])); } $seen[$id] = \true; $id = (string) $container->getAlias($id); diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php index 83b5c1cb5f9..b34e618e831 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveServiceSubscribersPass.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface; /** * Compiler pass to inject their service locator to service subscribers. * * @author Nicolas Grekas */ -class ResolveServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveServiceSubscribersPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { private $serviceLocator; /** @@ -27,10 +27,10 @@ class ResolveServiceSubscribersPass extends \RectorPrefix20211129\Symfony\Compon */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && $this->serviceLocator && \in_array((string) $value, [\RectorPrefix20211129\Psr\Container\ContainerInterface::class, \RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface::class], \true)) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($this->serviceLocator); + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && $this->serviceLocator && \in_array((string) $value, [\RectorPrefix20211130\Psr\Container\ContainerInterface::class, \RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface::class], \true)) { + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($this->serviceLocator); } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { return parent::processValue($value, $isRoot); } $serviceLocator = $this->serviceLocator; diff --git a/vendor/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php b/vendor/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php index 0059d5d4ff6..8206112aef1 100644 --- a/vendor/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ResolveTaggedIteratorArgumentPass.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; /** * Resolves all TaggedIteratorArgument arguments. * * @author Roland Franssen */ -class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { use PriorityTaggedServiceTrait; /** @@ -25,7 +25,7 @@ class ResolveTaggedIteratorArgumentPass extends \RectorPrefix20211129\Symfony\Co */ protected function processValue($value, $isRoot = \false) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { return parent::processValue($value, $isRoot); } $value->setValues($this->findAndSortTaggedServices($value, $this->container)); diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php b/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php index f7294e3baa4..267bcdff470 100644 --- a/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ServiceLocatorTagPass.php @@ -8,22 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator; /** * Applies the "container.service_locator" tag by wrapping references into ServiceClosureArgument instances. * * @author Nicolas Grekas */ -final class ServiceLocatorTagPass extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass +final class ServiceLocatorTagPass extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AbstractRecursivePass { use PriorityTaggedServiceTrait; /** @@ -31,70 +32,72 @@ final class ServiceLocatorTagPass extends \RectorPrefix20211129\Symfony\Componen */ protected function processValue($value, $isRoot = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { if ($value->getTaggedIteratorArgument()) { $value->setValues($this->findAndSortTaggedServices($value->getTaggedIteratorArgument(), $this->container)); } return self::register($this->container, $value->getValues()); } - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->hasTag('container.service_locator')) { + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->hasTag('container.service_locator')) { return parent::processValue($value, $isRoot); } if (!$value->getClass()) { - $value->setClass(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class); + $value->setClass(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class); } - $arguments = $value->getArguments(); - if (!isset($arguments[0]) || !\is_array($arguments[0])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": an array of references is expected as first argument when the "container.service_locator" tag is set.', $this->currentId)); + $services = $value->getArguments()[0] ?? null; + if ($services instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument) { + $services = $this->findAndSortTaggedServices($services, $this->container); + } + if (!\is_array($services)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": an array of references is expected as first argument when the "container.service_locator" tag is set.', $this->currentId)); } $i = 0; - foreach ($arguments[0] as $k => $v) { - if ($v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + foreach ($services as $k => $v) { + if ($v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { continue; } - if (!$v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": an array of references is expected as first argument when the "container.service_locator" tag is set, "%s" found for key "%s".', $this->currentId, \get_debug_type($v), $k)); + if (!$v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid definition for service "%s": an array of references is expected as first argument when the "container.service_locator" tag is set, "%s" found for key "%s".', $this->currentId, \get_debug_type($v), $k)); } if ($i === $k) { - unset($arguments[0][$k]); + unset($services[$k]); $k = (string) $v; ++$i; } elseif (\is_int($k)) { $i = null; } - $arguments[0][$k] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($v); + $services[$k] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($v); } - \ksort($arguments[0]); - $value->setArguments($arguments); - $id = '.service_locator.' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::hash($value); + \ksort($services); + $value->setArgument(0, $services); + $id = '.service_locator.' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::hash($value); if ($isRoot) { if ($id !== $this->currentId) { - $this->container->setAlias($id, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias($this->currentId, \false)); + $this->container->setAlias($id, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias($this->currentId, \false)); } return $value; } $this->container->setDefinition($id, $value->setPublic(\false)); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id); } /** * @param Reference[] $refMap * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container * @param string|null $callerId */ - public static function register($container, $refMap, $callerId = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference + public static function register($container, $refMap, $callerId = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference { foreach ($refMap as $id => $ref) { - if (!$ref instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service locator definition: only services can be referenced, "%s" found for key "%s". Inject parameter values using constructors instead.', \get_debug_type($ref), $id)); + if (!$ref instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service locator definition: only services can be referenced, "%s" found for key "%s". Inject parameter values using constructors instead.', \get_debug_type($ref), $id)); } - $refMap[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); + $refMap[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($ref); } - \ksort($refMap); - $locator = (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class))->addArgument($refMap)->addTag('container.service_locator'); + $locator = (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class))->addArgument($refMap)->addTag('container.service_locator'); if (null !== $callerId && $container->hasDefinition($callerId)) { $locator->setBindings($container->getDefinition($callerId)->getBindings()); } - if (!$container->hasDefinition($id = '.service_locator.' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::hash($locator))) { + if (!$container->hasDefinition($id = '.service_locator.' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::hash($locator))) { $container->setDefinition($id, $locator); } if (null !== $callerId) { @@ -102,8 +105,8 @@ final class ServiceLocatorTagPass extends \RectorPrefix20211129\Symfony\Componen // Locators are shared when they hold the exact same list of factories; // to have them specialized per consumer service, we use a cloning factory // to derivate customized instances from the prototype one. - $container->register($id .= '.' . $callerId, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class)->setFactory([new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($locatorId), 'withContext'])->addTag('container.service_locator_context', ['id' => $callerId])->addArgument($callerId)->addArgument(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference('service_container')); + $container->register($id .= '.' . $callerId, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class)->setFactory([new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($locatorId), 'withContext'])->addTag('container.service_locator_context', ['id' => $callerId])->addArgument($callerId)->addArgument(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference('service_container')); } - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id); } } diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php index d278248bbe7..f24cf336ab6 100644 --- a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php +++ b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraph.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * This is a directed graph of your services. * @@ -37,10 +37,10 @@ class ServiceReferenceGraph * * @throws InvalidArgumentException if no node matches the supplied identifier */ - public function getNode(string $id) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + public function getNode(string $id) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { if (!isset($this->nodes[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no node with id "%s".', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no node with id "%s".', $id)); } return $this->nodes[$id]; } @@ -66,22 +66,22 @@ class ServiceReferenceGraph /** * Connects 2 nodes together in the Graph. */ - public function connect(?string $sourceId, $sourceValue, ?string $destId, $destValue = null, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference $reference = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) + public function connect(?string $sourceId, $sourceValue, ?string $destId, $destValue = null, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference $reference = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) { if (null === $sourceId || null === $destId) { return; } $sourceNode = $this->createNode($sourceId, $sourceValue); $destNode = $this->createNode($destId, $destValue); - $edge = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge($sourceNode, $destNode, $reference, $lazy, $weak, $byConstructor); + $edge = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphEdge($sourceNode, $destNode, $reference, $lazy, $weak, $byConstructor); $sourceNode->addOutEdge($edge); $destNode->addInEdge($edge); } - private function createNode(string $id, $value) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode + private function createNode(string $id, $value) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode { if (isset($this->nodes[$id]) && $this->nodes[$id]->getValue() === $value) { return $this->nodes[$id]; } - return $this->nodes[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode($id, $value); + return $this->nodes[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode($id, $value); } } diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php index e9a52d9435e..f9d74385ea3 100644 --- a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php +++ b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphEdge.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; /** * Represents an edge in your service graph. @@ -25,7 +25,7 @@ class ServiceReferenceGraphEdge private $lazy; private $weak; private $byConstructor; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode, $value = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $sourceNode, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $destNode, $value = null, bool $lazy = \false, bool $weak = \false, bool $byConstructor = \false) { $this->sourceNode = $sourceNode; $this->destNode = $destNode; diff --git a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php index 0439387a26f..16beb544295 100644 --- a/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php +++ b/vendor/symfony/dependency-injection/Compiler/ServiceReferenceGraphNode.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * Represents a node in your service graph. * @@ -51,20 +51,20 @@ class ServiceReferenceGraphNode /** * Checks if the value of this node is an Alias. * - * @return bool True if the value is an Alias instance + * @return bool */ public function isAlias() { - return $this->value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; + return $this->value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; } /** * Checks if the value of this node is a Definition. * - * @return bool True if the value is a Definition instance + * @return bool */ public function isDefinition() { - return $this->value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; + return $this->value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; } /** * Returns the identifier. @@ -96,7 +96,7 @@ class ServiceReferenceGraphNode /** * Returns the value of this Node. * - * @return mixed The value + * @return mixed */ public function getValue() { diff --git a/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php b/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php index 05837de07d3..b03af105d42 100644 --- a/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php +++ b/vendor/symfony/dependency-injection/Compiler/ValidateEnvPlaceholdersPass.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler; -use RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Processor; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Processor; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; /** * Validates environment variable placeholders used in extension configuration with dummy values. * * @author Roland Franssen */ -class ValidateEnvPlaceholdersPass implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface +class ValidateEnvPlaceholdersPass implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface { private const TYPE_FIXTURES = ['array' => [], 'bool' => \false, 'float' => 0.0, 'int' => 0, 'string' => '']; private $extensionConfig = []; @@ -33,14 +33,14 @@ class ValidateEnvPlaceholdersPass implements \RectorPrefix20211129\Symfony\Compo public function process($container) { $this->extensionConfig = []; - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::class) || !($extensions = $container->getExtensions())) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::class) || !($extensions = $container->getExtensions())) { return; } $resolvingBag = $container->getParameterBag(); - if (!$resolvingBag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!$resolvingBag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return; } - $defaultBag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($resolvingBag->all()); + $defaultBag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($resolvingBag->all()); $envTypes = $resolvingBag->getProvidedTypes(); try { foreach ($resolvingBag->getEnvPlaceholders() + $resolvingBag->getUnusedEnvPlaceholders() as $env => $placeholders) { @@ -56,17 +56,17 @@ class ValidateEnvPlaceholdersPass implements \RectorPrefix20211129\Symfony\Compo } } foreach ($placeholders as $placeholder) { - \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::setPlaceholder($placeholder, $values); + \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::setPlaceholder($placeholder, $values); } } - $processor = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Processor(); + $processor = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Processor(); foreach ($extensions as $name => $extension) { - if (!($extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface || $extension instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface) || !($config = \array_filter($container->getExtensionConfig($name)))) { + if (!($extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface || $extension instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface) || !($config = \array_filter($container->getExtensionConfig($name)))) { // this extension has no semantic configuration or was not called continue; } $config = $resolvingBag->resolveValue($config); - if ($extension instanceof \RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface) { + if ($extension instanceof \RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface) { $configuration = $extension; } elseif (null === ($configuration = $extension->getConfiguration($config, $container))) { continue; @@ -74,7 +74,7 @@ class ValidateEnvPlaceholdersPass implements \RectorPrefix20211129\Symfony\Compo $this->extensionConfig[$name] = $processor->processConfiguration($configuration, $config); } } finally { - \RectorPrefix20211129\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); + \RectorPrefix20211130\Symfony\Component\Config\Definition\BaseNode::resetPlaceholders(); } $resolvingBag->clearUnusedEnvPlaceholders(); } diff --git a/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php b/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php index 543b431939c..e9a33d5adf7 100644 --- a/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php +++ b/vendor/symfony/dependency-injection/Config/ContainerParametersResource.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Config; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; /** * Tracks container parameters. * @@ -18,7 +18,7 @@ use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; * * @final */ -class ContainerParametersResource implements \RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface +class ContainerParametersResource implements \RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface { private $parameters; /** @@ -32,9 +32,6 @@ class ContainerParametersResource implements \RectorPrefix20211129\Symfony\Compo { return 'container_parameters_' . \md5(\serialize($this->parameters)); } - /** - * @return array Tracked parameters - */ public function getParameters() : array { return $this->parameters; diff --git a/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php b/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php index d5590f2ac9b..3c186069fa1 100644 --- a/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php +++ b/vendor/symfony/dependency-injection/Config/ContainerParametersResourceChecker.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Config; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Config; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; /** * @author Maxime Steinhausser */ -class ContainerParametersResourceChecker implements \RectorPrefix20211129\Symfony\Component\Config\ResourceCheckerInterface +class ContainerParametersResourceChecker implements \RectorPrefix20211130\Symfony\Component\Config\ResourceCheckerInterface { /** @var ContainerInterface */ private $container; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface $container) { $this->container = $container; } @@ -30,7 +30,7 @@ class ContainerParametersResourceChecker implements \RectorPrefix20211129\Symfon */ public function supports($metadata) { - return $metadata instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Config\ContainerParametersResource; + return $metadata instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Config\ContainerParametersResource; } /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Container.php b/vendor/symfony/dependency-injection/Container.php index 2367f1f79aa..5605e643049 100644 --- a/vendor/symfony/dependency-injection/Container.php +++ b/vendor/symfony/dependency-injection/Container.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator as ArgumentServiceLocator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator as ArgumentServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface; // Help opcache.preload discover always-needed symbols -\class_exists(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class); -\class_exists(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class); +\class_exists(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator::class); +\class_exists(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class); /** * Container is a dependency injection container. * @@ -42,7 +42,7 @@ use RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface; * @author Fabien Potencier * @author Johannes M. Schmitt */ -class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface, \RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface +class Container implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface, \RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface { protected $parameterBag; protected $services = []; @@ -57,9 +57,9 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj private $envCache = []; private $compiled = \false; private $getEnv; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { - $this->parameterBag = $parameterBag ?? new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag(); + $this->parameterBag = $parameterBag ?? new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag(); } /** * Compiles the container. @@ -72,7 +72,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj public function compile() { $this->parameterBag->resolve(); - $this->parameterBag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag($this->parameterBag->all()); + $this->parameterBag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag($this->parameterBag->all()); $this->compiled = \true; } /** @@ -87,7 +87,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Gets the service container parameter bag. * - * @return ParameterBagInterface A ParameterBagInterface instance + * @return ParameterBagInterface */ public function getParameterBag() { @@ -105,7 +105,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj return $this->parameterBag->get($name); } /** - * @return bool The presence of parameter in container + * @return bool */ public function hasParameter(string $name) { @@ -138,18 +138,18 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj $initialize(); } if ('service_container' === $id) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot set service "service_container".'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot set service "service_container".'); } if (!(isset($this->fileMap[$id]) || isset($this->methodMap[$id]))) { if (isset($this->syntheticIds[$id]) || !isset($this->getRemovedIds()[$id])) { // no-op } elseif (null === $service) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot unset it.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot unset it.', $id)); } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot replace it.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is private, you cannot replace it.', $id)); } } elseif (isset($this->services[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is already initialized, you cannot replace it.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" service is already initialized, you cannot replace it.', $id)); } if (isset($this->aliases[$id])) { unset($this->aliases[$id]); @@ -165,7 +165,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj * * @param string $id The service identifier * - * @return bool true if the service is defined, false otherwise + * @return bool */ public function has($id) { @@ -183,7 +183,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Gets a service. * - * @return object|null The associated service + * @return object|null * * @throws ServiceCircularReferenceException When a circular reference is detected * @throws ServiceNotFoundException When the service is not defined @@ -205,7 +205,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj private function make(string $id, int $invalidBehavior) { if (isset($this->loading[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($this->loading), [$id])); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, \array_merge(\array_keys($this->loading), [$id])); } $this->loading[$id] = \true; try { @@ -222,13 +222,13 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj } if (1 === $invalidBehavior) { if (!$id) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); } if (isset($this->syntheticIds[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service is synthetic, it needs to be set at boot time before it can be used.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service is synthetic, it needs to be set at boot time before it can be used.', $id)); } if (isset($this->getRemovedIds()[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service or alias has been removed or inlined when the container was compiled. You should either make it public, or stop using the container directly and use dependency injection instead.', $id)); } $alternatives = []; foreach ($this->getServiceIds() as $knownId) { @@ -240,14 +240,14 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj $alternatives[] = $knownId; } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, $alternatives); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, $alternatives); } return null; } /** * Returns true if the given service has actually been initialized. * - * @return bool true if service has already been initialized, false otherwise + * @return bool * @param string $id */ public function initialized($id) @@ -269,7 +269,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj $this->services = $this->factories = $this->privates = []; foreach ($services as $service) { try { - if ($service instanceof \RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface) { + if ($service instanceof \RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface) { $service->reset(); } } catch (\Throwable $e) { @@ -280,7 +280,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Gets all service ids. * - * @return string[] An array of all defined service ids + * @return string[] */ public function getServiceIds() { @@ -298,7 +298,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Camelizes a string. * - * @return string The camelized string + * @return string * @param string $id */ public static function camelize($id) @@ -308,7 +308,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * A string to underscore. * - * @return string The underscored string + * @return string * @param string $id */ public static function underscore($id) @@ -326,7 +326,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj /** * Fetches a variable from the environment. * - * @return mixed The value to use for the provided environment variable name + * @return mixed * * @throws EnvNotFoundException When the environment variable is not found and has no default value * @param string $name @@ -334,13 +334,13 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj protected function getEnv($name) { if (isset($this->resolving[$envName = "env({$name})"])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($this->resolving)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($this->resolving)); } if (isset($this->envCache[$name]) || \array_key_exists($name, $this->envCache)) { return $this->envCache[$name]; } if (!$this->has($id = 'container.env_var_processors_locator')) { - $this->set($id, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator([])); + $this->set($id, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator([])); } if (!$this->getEnv) { $this->getEnv = \Closure::fromCallable([$this, 'getEnv']); @@ -353,7 +353,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj $prefix = 'string'; $localName = $name; } - $processor = $processors->has($prefix) ? $processors->get($prefix) : new \RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessor($this); + $processor = $processors->has($prefix) ? $processors->get($prefix) : new \RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessor($this); $this->resolving[$envName] = \true; try { return $this->envCache[$name] = $processor->getEnv($prefix, $localName, $this->getEnv); @@ -377,7 +377,7 @@ class Container implements \RectorPrefix20211129\Symfony\Component\DependencyInj return $this; } if (\is_string($load)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($load); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($load); } if (null === $method) { return \false !== $registry ? $this->{$registry}[$id] ?? null : null; diff --git a/vendor/symfony/dependency-injection/ContainerAwareInterface.php b/vendor/symfony/dependency-injection/ContainerAwareInterface.php index 934fdbc5fa3..9e9a324d76e 100644 --- a/vendor/symfony/dependency-injection/ContainerAwareInterface.php +++ b/vendor/symfony/dependency-injection/ContainerAwareInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * ContainerAwareInterface should be implemented by classes that depends on a Container. diff --git a/vendor/symfony/dependency-injection/ContainerAwareTrait.php b/vendor/symfony/dependency-injection/ContainerAwareTrait.php index fefc742da2f..6736a17f46e 100644 --- a/vendor/symfony/dependency-injection/ContainerAwareTrait.php +++ b/vendor/symfony/dependency-injection/ContainerAwareTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * ContainerAware trait. diff --git a/vendor/symfony/dependency-injection/ContainerBuilder.php b/vendor/symfony/dependency-injection/ContainerBuilder.php index c0b9dbd0b73..59efc1fbfad 100644 --- a/vendor/symfony/dependency-injection/ContainerBuilder.php +++ b/vendor/symfony/dependency-injection/ContainerBuilder.php @@ -8,75 +8,81 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Composer\InstalledVersions; -use RectorPrefix20211129\Psr\Container\ContainerInterface as PsrContainerInterface; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ComposerResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\DirectoryResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\FileExistenceResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\FileResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ReflectionClassResource; -use RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\Compiler; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; +use RectorPrefix20211130\Composer\InstalledVersions; +use RectorPrefix20211130\Psr\Container\ContainerInterface as PsrContainerInterface; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ComposerResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\DirectoryResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\FileExistenceResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\FileResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ReflectionClassResource; +use RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\Compiler; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /** * ContainerBuilder is a DI container that provides an API to easily describe services. * * @author Fabien Potencier */ -class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\TaggedContainerInterface +class ContainerBuilder extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\TaggedContainerInterface { /** - * @var ExtensionInterface[] + * @var array */ private $extensions = []; /** - * @var ExtensionInterface[] + * @var array */ private $extensionsByNs = []; /** - * @var Definition[] + * @var array */ private $definitions = []; /** - * @var Alias[] + * @var array */ private $aliasDefinitions = []; /** - * @var ResourceInterface[] + * @var array */ private $resources = []; + /** + * @var array>> + */ private $extensionConfigs = []; /** * @var Compiler */ private $compiler; + /** + * @var bool + */ private $trackResources; /** * @var InstantiatorInterface|null @@ -106,24 +112,33 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * @var string[] the list of vendor directories */ private $vendors; + /** + * @var array + */ private $autoconfiguredInstanceof = []; /** - * @var callable[] + * @var array */ private $autoconfiguredAttributes = []; + /** + * @var array + */ private $removedIds = []; + /** + * @var array + */ private $removedBindingIds = []; private const INTERNAL_TYPES = ['int' => \true, 'float' => \true, 'string' => \true, 'bool' => \true, 'resource' => \true, 'object' => \true, 'array' => \true, 'null' => \true, 'callable' => \true, 'iterable' => \true, 'mixed' => \true]; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface $parameterBag = null) { parent::__construct($parameterBag); - $this->trackResources = \interface_exists(\RectorPrefix20211129\Symfony\Component\Config\Resource\ResourceInterface::class); - $this->setDefinition('service_container', (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::class))->setSynthetic(\true)->setPublic(\true)); - $this->setAlias(\RectorPrefix20211129\Psr\Container\ContainerInterface::class, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias('service_container', \false))->setDeprecated('symfony/dependency-injection', '5.1', $deprecationMessage = 'The "%alias_id%" autowiring alias is deprecated. Define it explicitly in your app if you want to keep using it.'); - $this->setAlias(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::class, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias('service_container', \false))->setDeprecated('symfony/dependency-injection', '5.1', $deprecationMessage); + $this->trackResources = \interface_exists(\RectorPrefix20211130\Symfony\Component\Config\Resource\ResourceInterface::class); + $this->setDefinition('service_container', (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::class))->setSynthetic(\true)->setPublic(\true)); + $this->setAlias(\RectorPrefix20211130\Psr\Container\ContainerInterface::class, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias('service_container', \false))->setDeprecated('symfony/dependency-injection', '5.1', $deprecationMessage = 'The "%alias_id%" autowiring alias is deprecated. Define it explicitly in your app if you want to keep using it.'); + $this->setAlias(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::class, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias('service_container', \false))->setDeprecated('symfony/dependency-injection', '5.1', $deprecationMessage); } /** - * @var \ReflectionClass[] a list of class reflectors + * @var array */ private $classReflectors; /** @@ -140,7 +155,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Checks if resources are tracked. * - * @return bool true If resources are tracked, false otherwise + * @return bool */ public function isTrackingResources() { @@ -167,7 +182,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns an extension by alias or namespace. * - * @return ExtensionInterface An extension instance + * @return ExtensionInterface * * @throws LogicException if the extension is not registered * @param string $name @@ -180,12 +195,12 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if (isset($this->extensionsByNs[$name])) { return $this->extensionsByNs[$name]; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Container extension "%s" is not registered.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('Container extension "%s" is not registered.', $name)); } /** * Returns all registered extensions. * - * @return ExtensionInterface[] An array of ExtensionInterface + * @return array */ public function getExtensions() { @@ -194,7 +209,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Checks if we have an extension. * - * @return bool If the extension exists + * @return bool * @param string $name */ public function hasExtension($name) @@ -204,7 +219,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns an array of resources loaded to build this configuration. * - * @return ResourceInterface[] An array of resources + * @return ResourceInterface[] */ public function getResources() { @@ -219,7 +234,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if (!$this->trackResources) { return $this; } - if ($resource instanceof \RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource && $this->inVendors($resource->getPrefix())) { + if ($resource instanceof \RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource && $this->inVendors($resource->getPrefix())) { return $this; } $this->resources[(string) $resource] = $resource; @@ -228,7 +243,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Sets the resources for this configuration. * - * @param ResourceInterface[] $resources An array of resources + * @param array $resources * * @return $this */ @@ -299,8 +314,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc try { if (isset($this->classReflectors[$class])) { $classReflector = $this->classReflectors[$class]; - } elseif (\class_exists(\RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource::class)) { - $resource = new \RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false); + } elseif (\class_exists(\RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource::class)) { + $resource = new \RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false); $classReflector = $resource->isFresh(0) ? \false : new \ReflectionClass($class); } else { $classReflector = \class_exists($class) ? new \ReflectionClass($class) : \false; @@ -312,11 +327,11 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } if ($this->trackResources) { if (!$classReflector) { - $this->addResource($resource ?? new \RectorPrefix20211129\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false)); + $this->addResource($resource ?? new \RectorPrefix20211130\Symfony\Component\Config\Resource\ClassExistenceResource($class, \false)); } elseif (!$classReflector->isInternal()) { $path = $classReflector->getFileName(); if (!$this->inVendors($path)) { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\ReflectionClassResource($classReflector, $this->vendors)); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\ReflectionClassResource($classReflector, $this->vendors)); } } $this->classReflectors[$class] = $classReflector; @@ -339,25 +354,25 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc return $exists; } if (!$exists) { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\FileExistenceResource($path)); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\FileExistenceResource($path)); return $exists; } if (\is_dir($path)) { if ($trackContents) { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\DirectoryResource($path, \is_string($trackContents) ? $trackContents : null)); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\DirectoryResource($path, \is_string($trackContents) ? $trackContents : null)); } else { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource($path, '/*', \false)); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource($path, '/*', \false)); } } elseif ($trackContents) { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\FileResource($path)); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\FileResource($path)); } return $exists; } /** * Loads the configuration for an extension. * - * @param string $extension The extension alias or namespace - * @param array $values An array of values that customizes the extension + * @param string $extension The extension alias or namespace + * @param array|null $values An array of values that customizes the extension * * @return $this * @@ -367,13 +382,10 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function loadFromExtension($extension, $values = null) { if ($this->isCompiled()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot load from an extension on a compiled container.'); - } - if (\func_num_args() < 2) { - $values = []; + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot load from an extension on a compiled container.'); } $namespace = $this->getExtension($extension)->getAlias(); - $this->extensionConfigs[$namespace][] = $values; + $this->extensionConfigs[$namespace][] = $values ?? []; return $this; } /** @@ -385,7 +397,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * @return $this * @param \Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface $pass */ - public function addCompilerPass($pass, $type = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) + public function addCompilerPass($pass, $type = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_BEFORE_OPTIMIZATION, $priority = 0) { $this->getCompiler()->addPass($pass, $type, $priority); $this->addObjectResource($pass); @@ -394,7 +406,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns the compiler pass config which can then be modified. * - * @return PassConfig The compiler pass config + * @return PassConfig */ public function getCompilerPassConfig() { @@ -403,12 +415,12 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns the compiler. * - * @return Compiler The compiler + * @return Compiler */ public function getCompiler() { if (null === $this->compiler) { - $this->compiler = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\Compiler(); + $this->compiler = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\Compiler(); } return $this->compiler; } @@ -423,7 +435,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc { if ($this->isCompiled() && (isset($this->definitions[$id]) && !$this->definitions[$id]->isSynthetic())) { // setting a synthetic service on a compiled container is alright - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException(\sprintf('Setting service "%s" for an unknown or non-synthetic service definition on a compiled container is not allowed.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException(\sprintf('Setting service "%s" for an unknown or non-synthetic service definition on a compiled container is not allowed.', $id)); } unset($this->definitions[$id], $this->aliasDefinitions[$id], $this->removedIds[$id]); parent::set($id, $service); @@ -444,14 +456,14 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * * @param string $id The service identifier * - * @return bool true if the service is defined, false otherwise + * @return bool */ public function has($id) { return isset($this->definitions[$id]) || isset($this->aliasDefinitions[$id]) || parent::has($id); } /** - * @return object|null The associated service + * @return object|null * * @throws InvalidArgumentException when no definitions are available * @throws ServiceCircularReferenceException When a circular reference is detected @@ -462,14 +474,14 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * @param string $id * @param int $invalidBehavior */ - public function get($id, $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public function get($id, $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { - if ($this->isCompiled() && isset($this->removedIds[$id]) && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $invalidBehavior) { + if ($this->isCompiled() && isset($this->removedIds[$id]) && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $invalidBehavior) { return parent::get($id); } return $this->doGet($id, $invalidBehavior); } - private function doGet(string $id, int $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, array &$inlineServices = null, bool $isConstructorArgument = \false) + private function doGet(string $id, int $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, array &$inlineServices = null, bool $isConstructorArgument = \false) { if (isset($inlineServices[$id])) { return $inlineServices[$id]; @@ -479,13 +491,13 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc $inlineServices = []; } try { - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $invalidBehavior) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $invalidBehavior) { return parent::get($id, $invalidBehavior); } - if ($service = parent::get($id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE)) { + if ($service = parent::get($id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE)) { return $service; } - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { if ($isConstructorArgument) { throw $e; } @@ -500,14 +512,14 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } try { $definition = $this->getDefinition($id); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $invalidBehavior) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $invalidBehavior) { return null; } throw $e; } if ($definition->hasErrors() && ($e = $definition->getErrors())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\reset($e)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\reset($e)); } if ($isConstructorArgument) { $this->loading[$id] = \true; @@ -544,7 +556,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function merge($container) { if ($this->isCompiled()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot merge on a compiled container.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Cannot merge on a compiled container.'); } $this->addDefinitions($container->getDefinitions()); $this->addAliases($container->getAliases()); @@ -560,7 +572,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } $this->extensionConfigs[$name] = \array_merge($this->extensionConfigs[$name], $container->getExtensionConfig($name)); } - if ($this->getParameterBag() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $container->getParameterBag() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if ($this->getParameterBag() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag && $container->getParameterBag() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { $envPlaceholders = $container->getParameterBag()->getEnvPlaceholders(); $this->getParameterBag()->mergeEnvPlaceholders($container->getParameterBag()); } else { @@ -578,13 +590,13 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } foreach ($container->getAutoconfiguredInstanceof() as $interface => $childDefinition) { if (isset($this->autoconfiguredInstanceof[$interface])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same class/interface.', $interface)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same class/interface.', $interface)); } $this->autoconfiguredInstanceof[$interface] = $childDefinition; } foreach ($container->getAutoconfiguredAttributes() as $attribute => $configurator) { if (isset($this->autoconfiguredAttributes[$attribute])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same attribute.', $attribute)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" has already been autoconfigured and merge() does not support merging autoconfiguration for the same attribute.', $attribute)); } $this->autoconfiguredAttributes[$attribute] = $configurator; } @@ -592,7 +604,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns the configuration array for the given extension. * - * @return array An array of configuration + * @return array> * @param string $name */ public function getExtensionConfig($name) @@ -604,8 +616,9 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } /** * Prepends a config array to the configs of the given extension. + * + * @param array $config * @param string $name - * @param mixed[] $config */ public function prependExtensionConfig($name, $config) { @@ -642,8 +655,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } $bag = $this->getParameterBag(); - if ($resolveEnvPlaceholders && $bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { - $compiler->addPass(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass(), \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_AFTER_REMOVING, -1000); + if ($resolveEnvPlaceholders && $bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + $compiler->addPass(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ResolveEnvPlaceholdersPass(), \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\PassConfig::TYPE_AFTER_REMOVING, -1000); } $compiler->compile($this); foreach ($this->definitions as $id => $definition) { @@ -652,9 +665,9 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } $this->extensionConfigs = []; - if ($bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if ($bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { if ($resolveEnvPlaceholders) { - $this->parameterBag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->resolveEnvPlaceholders($bag->all(), \true)); + $this->parameterBag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->resolveEnvPlaceholders($bag->all(), \true)); } $this->envPlaceholders = $bag->getEnvPlaceholders(); } @@ -675,7 +688,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Gets removed service or alias ids. * - * @return array + * @return array */ public function getRemovedIds() { @@ -683,7 +696,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } /** * Adds the service aliases. - * @param mixed[] $aliases + * + * @param array $aliases */ public function addAliases($aliases) { @@ -693,7 +707,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } /** * Sets the service aliases. - * @param mixed[] $aliases + * + * @param array $aliases */ public function setAliases($aliases) { @@ -714,15 +729,15 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function setAlias($alias, $id) { if ('' === $alias || '\\' === $alias[-1] || \strlen($alias) !== \strcspn($alias, "\0\r\n'")) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid alias id: "%s".', $alias)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid alias id: "%s".', $alias)); } if (\is_string($id)) { - $id = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias($id); - } elseif (!$id instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('$id must be a string, or an Alias object.'); + $id = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias($id); + } elseif (!$id instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('$id must be a string, or an Alias object.'); } if ($alias === (string) $id) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An alias can not reference itself, got a circular reference on "%s".', $alias)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An alias cannot reference itself, got a circular reference on "%s".', $alias)); } unset($this->definitions[$alias], $this->removedIds[$alias]); return $this->aliasDefinitions[$alias] = $id; @@ -738,7 +753,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } /** - * @return bool true if the alias exists, false otherwise + * @return bool * @param string $id */ public function hasAlias($id) @@ -746,14 +761,14 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc return isset($this->aliasDefinitions[$id]); } /** - * @return Alias[] An array of aliases + * @return array */ public function getAliases() { return $this->aliasDefinitions; } /** - * @return Alias An Alias instance + * @return Alias * * @throws InvalidArgumentException if the alias does not exist * @param string $id @@ -761,7 +776,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function getAlias($id) { if (!isset($this->aliasDefinitions[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service alias "%s" does not exist.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service alias "%s" does not exist.', $id)); } return $this->aliasDefinitions[$id]; } @@ -771,13 +786,13 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * This methods allows for simple registration of service definition * with a fluid interface. * - * @return Definition A Definition instance + * @return Definition * @param string $id * @param string|null $class */ public function register($id, $class = null) { - return $this->setDefinition($id, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($class)); + return $this->setDefinition($id, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($class)); } /** * Registers an autowired service definition. @@ -785,18 +800,18 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * This method implements a shortcut for using setDefinition() with * an autowired definition. * - * @return Definition The created definition + * @return Definition * @param string $id * @param string|null $class */ public function autowire($id, $class = null) { - return $this->setDefinition($id, (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($class))->setAutowired(\true)); + return $this->setDefinition($id, (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($class))->setAutowired(\true)); } /** * Adds the service definitions. * - * @param Definition[] $definitions An array of service definitions + * @param array $definitions */ public function addDefinitions($definitions) { @@ -807,7 +822,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Sets the service definitions. * - * @param Definition[] $definitions An array of service definitions + * @param array $definitions */ public function setDefinitions($definitions) { @@ -817,7 +832,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Gets all service definitions. * - * @return Definition[] An array of Definition instances + * @return array */ public function getDefinitions() { @@ -826,7 +841,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Sets a service definition. * - * @return Definition the service definition + * @return Definition * * @throws BadMethodCallException When this ContainerBuilder is compiled * @param string $id @@ -835,10 +850,10 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function setDefinition($id, $definition) { if ($this->isCompiled()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Adding definition to a compiled container is not allowed.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('Adding definition to a compiled container is not allowed.'); } if ('' === $id || '\\' === $id[-1] || \strlen($id) !== \strcspn($id, "\0\r\n'")) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service id: "%s".', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid service id: "%s".', $id)); } unset($this->aliasDefinitions[$id], $this->removedIds[$id]); return $this->definitions[$id] = $definition; @@ -846,7 +861,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns true if a service definition exists under the given identifier. * - * @return bool true if the service definition exists, false otherwise + * @return bool * @param string $id */ public function hasDefinition($id) @@ -856,7 +871,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Gets a service definition. * - * @return Definition A Definition instance + * @return Definition * * @throws ServiceNotFoundException if the service definition does not exist * @param string $id @@ -864,7 +879,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function getDefinition($id) { if (!isset($this->definitions[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id); } return $this->definitions[$id]; } @@ -873,7 +888,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * * The method "unaliases" recursively to return a Definition instance. * - * @return Definition A Definition instance + * @return Definition * * @throws ServiceNotFoundException if the service definition does not exist * @param string $id @@ -887,7 +902,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc $seen = \array_values($seen); $seen = \array_slice($seen, \array_search($id, $seen)); $seen[] = $id; - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $seen); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $seen); } $seen[$id] = $id; } @@ -896,28 +911,28 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Creates a service for a service definition. * - * @return mixed The service described by the service definition + * @return mixed * * @throws RuntimeException When the factory definition is incomplete * @throws RuntimeException When the service is a synthetic service * @throws InvalidArgumentException When configure callable is not callable */ - private function createService(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, array &$inlineServices, bool $isConstructorArgument = \false, string $id = null, bool $tryProxy = \true) + private function createService(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, array &$inlineServices, bool $isConstructorArgument = \false, string $id = null, bool $tryProxy = \true) { if (null === $id && isset($inlineServices[$h = \spl_object_hash($definition)])) { return $inlineServices[$h]; } - if ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Constructing service "%s" from a parent definition is not supported at build time.', $id)); + if ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Constructing service "%s" from a parent definition is not supported at build time.', $id)); } if ($definition->isSynthetic()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('You have requested a synthetic service ("%s"). The DIC does not know how to construct this service.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('You have requested a synthetic service ("%s"). The DIC does not know how to construct this service.', $id)); } if ($definition->isDeprecated()) { $deprecation = $definition->getDeprecation($id); trigger_deprecation($deprecation['package'], $deprecation['version'], $deprecation['message']); } - if ($tryProxy && $definition->isLazy() && !($tryProxy = !($proxy = $this->proxyInstantiator) || $proxy instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator)) { + if ($tryProxy && $definition->isLazy() && !($tryProxy = !($proxy = $this->proxyInstantiator) || $proxy instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\RealServiceInstantiator)) { $proxy = $proxy->instantiateProxy($this, $definition, $id, function () use($definition, &$inlineServices, $id) { return $this->createService($definition, $inlineServices, \true, $id, \false); }); @@ -933,7 +948,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if (\is_array($factory)) { $factory = [$this->doResolveServices($parameterBag->resolveValue($factory[0]), $inlineServices, $isConstructorArgument), $factory[1]]; } elseif (!\is_string($factory)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot create service "%s" because of invalid factory.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot create service "%s" because of invalid factory.', $id)); } } if (null !== $id && $definition->isShared() && isset($this->services[$id]) && ($tryProxy || !$definition->isLazy())) { @@ -978,14 +993,14 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if ($callable = $definition->getConfigurator()) { if (\is_array($callable)) { $callable[0] = $parameterBag->resolveValue($callable[0]); - if ($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $callable[0] = $this->doGet((string) $callable[0], $callable[0]->getInvalidBehavior(), $inlineServices); - } elseif ($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $callable[0] = $this->createService($callable[0], $inlineServices); } } if (!\is_callable($callable)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configure callable for class "%s" is not a callable.', \get_debug_type($service))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configure callable for class "%s" is not a callable.', \get_debug_type($service))); } $callable($service); } @@ -994,7 +1009,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Replaces service references by the real service instance and evaluates expressions. * - * @param mixed $value A value + * @param mixed $value * * @return mixed The same value with all service references replaced by * the real service instances and all expressions evaluated @@ -1009,13 +1024,13 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc foreach ($value as $k => $v) { $value[$k] = $this->doResolveServices($v, $inlineServices, $isConstructorArgument); } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $reference = $value->getValues()[0]; $value = function () use($reference) { return $this->resolveServices($reference); }; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { - $value = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\RewindableGenerator(function () use($value, &$inlineServices) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + $value = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\RewindableGenerator(function () use($value, &$inlineServices) { foreach ($value->getValues() as $k => $v) { foreach (self::getServiceConditionals($v) as $s) { if (!$this->has($s)) { @@ -1023,7 +1038,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($v) as $s) { - if (!$this->doGet($s, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { + if (!$this->doGet($s, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { continue 2; } } @@ -1038,7 +1053,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($v) as $s) { - if (!$this->doGet($s, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE)) { + if (!$this->doGet($s, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE)) { continue 2; } } @@ -1046,25 +1061,25 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } return $count; }); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $refs = $types = []; foreach ($value->getValues() as $k => $v) { if ($v) { $refs[$k] = [$v]; - $types[$k] = $v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?'; + $types[$k] = $v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?'; } } - $value = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator(\Closure::fromCallable([$this, 'resolveServices']), $refs, $types); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + $value = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator(\Closure::fromCallable([$this, 'resolveServices']), $refs, $types); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $value = $this->doGet((string) $value, $value->getInvalidBehavior(), $inlineServices, $isConstructorArgument); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $value = $this->createService($value, $inlineServices, $isConstructorArgument); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { $value = $this->getParameter((string) $value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { $value = $this->getExpressionLanguage()->evaluate($value, ['container' => $this]); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); } return $value; } @@ -1082,7 +1097,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * } * } * - * @return array An array of tags with the tagged service as key, holding a list of attribute arrays + * @return array An array of tags with the tagged service as key, holding a list of attribute arrays * @param string $name * @param bool $throwOnAbstract */ @@ -1093,7 +1108,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc foreach ($this->getDefinitions() as $id => $definition) { if ($definition->hasTag($name)) { if ($throwOnAbstract && $definition->isAbstract()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must not be abstract.', $id, $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service "%s" tagged "%s" must not be abstract.', $id, $name)); } $tags[$id] = $definition->getTag($name); } @@ -1103,20 +1118,20 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Returns all tags the defined services use. * - * @return array An array of tags + * @return string[] */ public function findTags() { $tags = []; foreach ($this->getDefinitions() as $id => $definition) { - $tags = \array_merge(\array_keys($definition->getTags()), $tags); + $tags[] = \array_keys($definition->getTags()); } - return \array_unique($tags); + return \array_unique(\array_merge([], ...$tags)); } /** * Returns all tags not queried by findTaggedServiceIds. * - * @return string[] An array of tags + * @return string[] */ public function findUnusedTags() { @@ -1145,16 +1160,22 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function registerForAutoconfiguration($interface) { if (!isset($this->autoconfiguredInstanceof[$interface])) { - $this->autoconfiguredInstanceof[$interface] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition(''); + $this->autoconfiguredInstanceof[$interface] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition(''); } return $this->autoconfiguredInstanceof[$interface]; } /** * Registers an attribute that will be used for autoconfiguring annotated classes. * - * The configurator will receive a ChildDefinition instance, an instance of the attribute and the corresponding \ReflectionClass, in that order. - * @param string $attributeClass - * @param callable $configurator + * The third argument passed to the callable is the reflector of the + * class/method/property/parameter that the attribute targets. Using one or many of + * \ReflectionClass|\ReflectionMethod|\ReflectionProperty|\ReflectionParameter as a type-hint + * for this argument allows filtering which attributes should be passed to the callable. + * + * @template T + * + * @param class-string $attributeClass + * @param callable(ChildDefinition, T, \Reflector): void $configurator */ public function registerAttributeForAutoconfiguration($attributeClass, $configurator) : void { @@ -1171,25 +1192,25 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * @param string $type * @param string|null $name */ - public function registerAliasForArgument($id, $type, $name = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias + public function registerAliasForArgument($id, $type, $name = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias { - $name = (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\Target($name ?? $id))->name; + $name = (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\Target($name ?? $id))->name; if (!\preg_match('/^[a-zA-Z_\\x7f-\\xff]/', $name)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid argument name "%s" for service "%s": the first character must be a letter.', $name, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid argument name "%s" for service "%s": the first character must be a letter.', $name, $id)); } return $this->setAlias($type . ' $' . $name, $id); } /** * Returns an array of ChildDefinition[] keyed by interface. * - * @return ChildDefinition[] + * @return array */ public function getAutoconfiguredInstanceof() { return $this->autoconfiguredInstanceof; } /** - * @return callable[] + * @return array */ public function getAutoconfiguredAttributes() : array { @@ -1215,7 +1236,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if (\true === $format) { $value = $bag->resolveValue($value); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $value = (array) $value; } if (\is_array($value)) { @@ -1228,7 +1249,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc if (!\is_string($value) || 38 > \strlen($value)) { return $value; } - $envPlaceholders = $bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; + $envPlaceholders = $bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; $completed = \false; foreach ($envPlaceholders as $env => $placeholders) { foreach ($placeholders as $placeholder) { @@ -1243,7 +1264,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc $completed = \true; } else { if (!\is_string($resolved) && !\is_numeric($resolved)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A string value must be composed of strings and/or numbers, but found parameter "env(%s)" of type "%s" inside string value "%s".', $env, \get_debug_type($resolved), $this->resolveEnvPlaceholders($value))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A string value must be composed of strings and/or numbers, but found parameter "env(%s)" of type "%s" inside string value "%s".', $env, \get_debug_type($resolved), $this->resolveEnvPlaceholders($value))); } $value = \str_ireplace($placeholder, $resolved, $value); } @@ -1265,7 +1286,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc public function getEnvCounters() { $bag = $this->getParameterBag(); - $envPlaceholders = $bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; + $envPlaceholders = $bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag ? $bag->getEnvPlaceholders() : $this->envPlaceholders; foreach ($envPlaceholders as $env => $placeholders) { if (!isset($this->envCounters[$env])) { $this->envCounters[$env] = 0; @@ -1293,19 +1314,24 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc */ public static final function willBeAvailable($package, $class, $parentPackages) : bool { + $skipDeprecation = 3 < \func_num_args() && \func_get_arg(3); + $hasRuntimeApi = \class_exists(\RectorPrefix20211130\Composer\InstalledVersions::class); + if (!$hasRuntimeApi && !$skipDeprecation) { + trigger_deprecation('symfony/dependency-injection', '5.4', 'Calling "%s" when dependencies have been installed with Composer 1 is deprecated. Consider upgrading to Composer 2.', __METHOD__); + } if (!\class_exists($class) && !\interface_exists($class, \false) && !\trait_exists($class, \false)) { return \false; } - if (!\class_exists(\RectorPrefix20211129\Composer\InstalledVersions::class) || !\RectorPrefix20211129\Composer\InstalledVersions::isInstalled($package) || \RectorPrefix20211129\Composer\InstalledVersions::isInstalled($package, \false)) { + if (!$hasRuntimeApi || !\RectorPrefix20211130\Composer\InstalledVersions::isInstalled($package) || \RectorPrefix20211130\Composer\InstalledVersions::isInstalled($package, \false)) { return \true; } // the package is installed but in dev-mode only, check if this applies to one of the parent packages too - $rootPackage = \RectorPrefix20211129\Composer\InstalledVersions::getRootPackage()['name'] ?? ''; + $rootPackage = \RectorPrefix20211130\Composer\InstalledVersions::getRootPackage()['name'] ?? ''; if ('symfony/symfony' === $rootPackage) { return \true; } foreach ($parentPackages as $parentPackage) { - if ($rootPackage === $parentPackage || \RectorPrefix20211129\Composer\InstalledVersions::isInstalled($parentPackage) && !\RectorPrefix20211129\Composer\InstalledVersions::isInstalled($parentPackage, \false)) { + if ($rootPackage === $parentPackage || \RectorPrefix20211130\Composer\InstalledVersions::isInstalled($parentPackage) && !\RectorPrefix20211130\Composer\InstalledVersions::isInstalled($parentPackage, \false)) { return \true; } } @@ -1314,6 +1340,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc /** * Gets removed binding ids. * + * @return array + * * @internal */ public function getRemovedBindingIds() : array @@ -1340,6 +1368,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * * @param mixed $value An array of conditionals to return * + * @return string[] + * * @internal */ public static function getServiceConditionals($value) : array @@ -1349,7 +1379,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc foreach ($value as $v) { $services = \array_unique(\array_merge($services, self::getServiceConditionals($v))); } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE === $value->getInvalidBehavior()) { $services[] = (string) $value; } return $services; @@ -1359,6 +1389,8 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * * @param mixed $value An array of conditionals to return * + * @return string[] + * * @internal */ public static function getInitializedConditionals($value) : array @@ -1368,7 +1400,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc foreach ($value as $v) { $services = \array_unique(\array_merge($services, self::getInitializedConditionals($v))); } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior()) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $value->getInvalidBehavior()) { $services[] = (string) $value; } return $services; @@ -1393,12 +1425,12 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc { $value = parent::getEnv($name); $bag = $this->getParameterBag(); - if (!\is_string($value) || !$bag instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { + if (!\is_string($value) || !$bag instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\EnvPlaceholderParameterBag) { return $value; } $envPlaceholders = $bag->getEnvPlaceholders(); if (isset($envPlaceholders[$name][$value])) { - $bag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($bag->all()); + $bag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($bag->all()); return $bag->unescapeValue($bag->get("env({$name})")); } foreach ($envPlaceholders as $env => $placeholders) { @@ -1424,7 +1456,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc } } foreach (self::getInitializedConditionals($call[1]) as $s) { - if (!$this->doGet($s, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { + if (!$this->doGet($s, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE, $inlineServices)) { return $service; } } @@ -1436,7 +1468,7 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc * * @param mixed $service */ - private function shareService(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, $service, ?string $id, array &$inlineServices) + private function shareService(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, $service, ?string $id, array &$inlineServices) { $inlineServices[$id ?? \spl_object_hash($definition)] = $service; if (null !== $id && $definition->isShared()) { @@ -1444,25 +1476,25 @@ class ContainerBuilder extends \RectorPrefix20211129\Symfony\Component\Dependenc unset($this->loading[$id]); } } - private function getExpressionLanguage() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage { if (null === $this->expressionLanguage) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); } - $this->expressionLanguage = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->expressionLanguageProviders); + $this->expressionLanguage = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $this->expressionLanguageProviders); } return $this->expressionLanguage; } private function inVendors(string $path) : bool { if (null === $this->vendors) { - $this->vendors = (new \RectorPrefix20211129\Symfony\Component\Config\Resource\ComposerResource())->getVendors(); + $this->vendors = (new \RectorPrefix20211130\Symfony\Component\Config\Resource\ComposerResource())->getVendors(); } $path = \realpath($path) ?: $path; foreach ($this->vendors as $vendor) { if (\strncmp($path, $vendor, \strlen($vendor)) === 0 && \false !== \strpbrk(\substr($path, \strlen($vendor), 1), '/' . \DIRECTORY_SEPARATOR)) { - $this->addResource(new \RectorPrefix20211129\Symfony\Component\Config\Resource\FileResource($vendor . '/composer/installed.json')); + $this->addResource(new \RectorPrefix20211130\Symfony\Component\Config\Resource\FileResource($vendor . '/composer/installed.json')); return \true; } } diff --git a/vendor/symfony/dependency-injection/ContainerInterface.php b/vendor/symfony/dependency-injection/ContainerInterface.php index 8cfadb02c59..59d062b88dd 100644 --- a/vendor/symfony/dependency-injection/ContainerInterface.php +++ b/vendor/symfony/dependency-injection/ContainerInterface.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Psr\Container\ContainerInterface as PsrContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Psr\Container\ContainerInterface as PsrContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; /** * ContainerInterface is the interface implemented by service container classes. * * @author Fabien Potencier * @author Johannes M. Schmitt */ -interface ContainerInterface extends \RectorPrefix20211129\Psr\Container\ContainerInterface +interface ContainerInterface extends \RectorPrefix20211130\Psr\Container\ContainerInterface { public const RUNTIME_EXCEPTION_ON_INVALID_REFERENCE = 0; public const EXCEPTION_ON_INVALID_REFERENCE = 1; @@ -39,7 +39,7 @@ interface ContainerInterface extends \RectorPrefix20211129\Psr\Container\Contain * @param string $id The service identifier * @param int $invalidBehavior The behavior when the service does not exist * - * @return object|null The associated service + * @return object|null * * @throws ServiceCircularReferenceException When a circular reference is detected * @throws ServiceNotFoundException When the service is not defined @@ -48,14 +48,14 @@ interface ContainerInterface extends \RectorPrefix20211129\Psr\Container\Contain */ public function get($id, $invalidBehavior = self::EXCEPTION_ON_INVALID_REFERENCE); /** - * @return bool true if the service is defined, false otherwise + * @return bool * @param string $id */ public function has($id); /** * Check for whether or not a service has been initialized. * - * @return bool true if the service has been initialized, false otherwise + * @return bool * @param string $id */ public function initialized($id); diff --git a/vendor/symfony/dependency-injection/Definition.php b/vendor/symfony/dependency-injection/Definition.php index 1df4a4ff171..4fba9f07502 100644 --- a/vendor/symfony/dependency-injection/Definition.php +++ b/vendor/symfony/dependency-injection/Definition.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException; /** * Definition represents a service definition. * @@ -64,7 +64,7 @@ class Definition /** * Returns all changes tracked for the Definition object. * - * @return array An array of changes for this Definition + * @return array */ public function getChanges() { @@ -94,7 +94,7 @@ class Definition $this->changes['factory'] = \true; if (\is_string($factory) && \strpos($factory, '::') !== \false) { $factory = \explode('::', $factory, 2); - } elseif ($factory instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($factory instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $factory = [$factory, '__invoke']; } $this->factory = $factory; @@ -121,17 +121,17 @@ class Definition * @param int $priority * @param int $invalidBehavior */ - public function setDecoratedService($id, $renamedId = null, $priority = 0, $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public function setDecoratedService($id, $renamedId = null, $priority = 0, $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { if ($renamedId && $id === $renamedId) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The decorated service inner name for "%s" must be different than the service name itself.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The decorated service inner name for "%s" must be different than the service name itself.', $id)); } $this->changes['decorated_service'] = \true; if (null === $id) { $this->decoratedService = null; } else { - $this->decoratedService = [$id, $renamedId, (int) $priority]; - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) { + $this->decoratedService = [$id, $renamedId, $priority]; + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE !== $invalidBehavior) { $this->decoratedService[] = $invalidBehavior; } } @@ -161,7 +161,7 @@ class Definition /** * Gets the service class. * - * @return string|null The service class + * @return string|null */ public function getClass() { @@ -236,13 +236,13 @@ class Definition public function replaceArgument($index, $argument) { if (0 === \count($this->arguments)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException('Cannot replace arguments if none have been configured yet.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('Cannot replace arguments for class "%s" if none have been configured yet.', $this->class)); } if (\is_int($index) && ($index < 0 || $index > \count($this->arguments) - 1)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The index "%d" is not in the range [0, %d].', $index, \count($this->arguments) - 1)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The index "%d" is not in the range [0, %d] of the arguments of class "%s".', $index, \count($this->arguments) - 1, $this->class)); } if (!\array_key_exists($index, $this->arguments)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist.', $index)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); } $this->arguments[$index] = $argument; return $this; @@ -263,7 +263,7 @@ class Definition /** * Gets the arguments to pass to the service constructor/factory method. * - * @return array The array of arguments + * @return array */ public function getArguments() { @@ -274,14 +274,14 @@ class Definition * * @param int|string $index * - * @return mixed The argument value + * @return mixed * * @throws OutOfBoundsException When the argument does not exist */ public function getArgument($index) { if (!\array_key_exists($index, $this->arguments)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist.', $index)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\OutOfBoundsException(\sprintf('The argument "%s" doesn\'t exist in class "%s".', $index, $this->class)); } return $this->arguments[$index]; } @@ -313,7 +313,7 @@ class Definition public function addMethodCall($method, $arguments = [], $returnsClone = \false) { if (empty($method)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Method name cannot be empty.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Method name cannot be empty.'); } $this->calls[] = $returnsClone ? [$method, $arguments, \true] : [$method, $arguments]; return $this; @@ -351,7 +351,7 @@ class Definition /** * Gets the methods to call after service initialization. * - * @return array An array of method calls + * @return array */ public function getMethodCalls() { @@ -411,7 +411,7 @@ class Definition /** * Returns all tags. * - * @return array An array of tags + * @return array */ public function getTags() { @@ -420,7 +420,7 @@ class Definition /** * Gets a tag by name. * - * @return array An array of attributes + * @return array * @param string $name */ public function getTag($name) @@ -485,7 +485,7 @@ class Definition /** * Gets the file to require before creating the service. * - * @return string|null The full pathname to include + * @return string|null */ public function getFile() { @@ -654,10 +654,10 @@ class Definition } if ('' !== $message) { if (\preg_match('#[\\r\\n]|\\*/#', $message)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('Invalid characters found in deprecation template.'); } if (\strpos($message, '%service_id%') === \false) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%service_id%" placeholder.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The deprecation template must contain the "%service_id%" placeholder.'); } } $this->changes['deprecated'] = \true; @@ -707,7 +707,7 @@ class Definition $this->changes['configurator'] = \true; if (\is_string($configurator) && \strpos($configurator, '::') !== \false) { $configurator = \explode('::', $configurator, 2); - } elseif ($configurator instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($configurator instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $configurator = [$configurator, '__invoke']; } $this->configurator = $configurator; @@ -716,7 +716,7 @@ class Definition /** * Gets the configurator to call after the service is fully initialized. * - * @return callable|array|null + * @return string|array|null */ public function getConfigurator() { @@ -746,7 +746,7 @@ class Definition /** * Gets bindings. * - * @return array|BoundArgument[] + * @return BoundArgument[] */ public function getBindings() { @@ -769,8 +769,8 @@ class Definition unset($bindings[$key]); $bindings[$key = $k] = $binding; } - if (!$binding instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument) { - $bindings[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($binding); + if (!$binding instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument) { + $bindings[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($binding); } } $this->bindings = $bindings; diff --git a/vendor/symfony/dependency-injection/Dumper/Dumper.php b/vendor/symfony/dependency-injection/Dumper/Dumper.php index 4e2f7f91230..f9ec8a0d81a 100644 --- a/vendor/symfony/dependency-injection/Dumper/Dumper.php +++ b/vendor/symfony/dependency-injection/Dumper/Dumper.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * Dumper is the abstract class for all built-in dumpers. * * @author Fabien Potencier */ -abstract class Dumper implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper\DumperInterface +abstract class Dumper implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper\DumperInterface { protected $container; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; } diff --git a/vendor/symfony/dependency-injection/Dumper/DumperInterface.php b/vendor/symfony/dependency-injection/Dumper/DumperInterface.php index 76b7acab8ef..ed63dba9ba8 100644 --- a/vendor/symfony/dependency-injection/Dumper/DumperInterface.php +++ b/vendor/symfony/dependency-injection/Dumper/DumperInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; /** * DumperInterface is the interface implemented by service container dumper classes. @@ -20,7 +20,7 @@ interface DumperInterface /** * Dumps the service container. * - * @return string|array The representation of the service container + * @return string|array * @param mixed[] $options */ public function dump($options = []); diff --git a/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php b/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php index 496528053f5..4a48ff5b26d 100644 --- a/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php +++ b/vendor/symfony/dependency-injection/Dumper/GraphvizDumper.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; /** * GraphvizDumper dumps a service container as a graphviz file. * @@ -26,7 +26,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; * * @author Fabien Potencier */ -class GraphvizDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper\Dumper +class GraphvizDumper extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper\Dumper { private $nodes; private $edges; @@ -44,7 +44,7 @@ class GraphvizDumper extends \RectorPrefix20211129\Symfony\Component\DependencyI * * node.definition: The default options for services that are defined via service definition instances * * node.missing: The default options for missing services * - * @return string The dot representation of the service container + * @return string * @param mixed[] $options */ public function dump($options = []) @@ -90,31 +90,32 @@ class GraphvizDumper extends \RectorPrefix20211129\Symfony\Component\DependencyI { $edges = []; foreach ($arguments as $argument) { - if ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + if ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { $argument = $this->container->hasParameter($argument) ? $this->container->getParameter($argument) : null; } elseif (\is_string($argument) && \preg_match('/^%([^%]+)%$/', $argument, $match)) { $argument = $this->container->hasParameter($match[1]) ? $this->container->getParameter($match[1]) : null; } - if ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $lazyEdge = $lazy; if (!$this->container->has((string) $argument)) { $this->nodes[(string) $argument] = ['name' => $name, 'required' => $required, 'class' => '', 'attributes' => $this->options['node.missing']]; } elseif ('service_container' !== (string) $argument) { $lazyEdge = $lazy || $this->container->getDefinition((string) $argument)->isLazy(); } - $edges[] = ['name' => $name, 'required' => $required, 'to' => $argument, 'lazy' => $lazyEdge]; - } elseif ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { - $edges = \array_merge($edges, $this->findEdges($id, $argument->getValues(), $required, $name, \true)); - } elseif ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { - $edges = \array_merge($edges, $this->findEdges($id, $argument->getArguments(), $required, ''), $this->findEdges($id, $argument->getProperties(), \false, '')); + $edges[] = [['name' => $name, 'required' => $required, 'to' => $argument, 'lazy' => $lazyEdge]]; + } elseif ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + $edges[] = $this->findEdges($id, $argument->getValues(), $required, $name, \true); + } elseif ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { + $edges[] = $this->findEdges($id, $argument->getArguments(), $required, ''); + $edges[] = $this->findEdges($id, $argument->getProperties(), \false, ''); foreach ($argument->getMethodCalls() as $call) { - $edges = \array_merge($edges, $this->findEdges($id, $call[1], \false, $call[0] . '()')); + $edges[] = $this->findEdges($id, $call[1], \false, $call[0] . '()'); } } elseif (\is_array($argument)) { - $edges = \array_merge($edges, $this->findEdges($id, $argument, $required, $name, $lazy)); + $edges[] = $this->findEdges($id, $argument, $required, $name, $lazy); } } - return $edges; + return \array_merge([], ...$edges); } private function findNodes() : array { @@ -127,10 +128,10 @@ class GraphvizDumper extends \RectorPrefix20211129\Symfony\Component\DependencyI } try { $class = $this->container->getParameterBag()->resolveValue($class); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { } $nodes[$id] = ['class' => \str_replace('\\', '\\\\', $class), 'attributes' => \array_merge($this->options['node.definition'], ['style' => $definition->isShared() ? 'filled' : 'dotted'])]; - $container->setDefinition($id, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition('stdClass')); + $container->setDefinition($id, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition('stdClass')); } foreach ($container->getServiceIds() as $id) { if (\array_key_exists($id, $container->getAliases())) { @@ -142,10 +143,10 @@ class GraphvizDumper extends \RectorPrefix20211129\Symfony\Component\DependencyI } return $nodes; } - private function cloneContainer() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder + private function cloneContainer() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder { - $parameterBag = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->container->getParameterBag()->all()); - $container = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder($parameterBag); + $parameterBag = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag($this->container->getParameterBag()->all()); + $container = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder($parameterBag); $container->setDefinitions($this->container->getDefinitions()); $container->setAliases($this->container->getAliases()); $container->setResources($this->container->getResources()); diff --git a/vendor/symfony/dependency-injection/Dumper/PhpDumper.php b/vendor/symfony/dependency-injection/Dumper/PhpDumper.php index 3e61d7ab63c..15313047cce 100644 --- a/vendor/symfony/dependency-injection/Dumper/PhpDumper.php +++ b/vendor/symfony/dependency-injection/Dumper/PhpDumper.php @@ -8,47 +8,47 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20211129\Composer\Autoload\ClassLoader; -use RectorPrefix20211129\Symfony\Component\Debug\DebugClassLoader as LegacyDebugClassLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface as ProxyDumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable; -use RectorPrefix20211129\Symfony\Component\ErrorHandler\DebugClassLoader; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20211129\Symfony\Component\HttpKernel\Kernel; +use RectorPrefix20211130\Composer\Autoload\ClassLoader; +use RectorPrefix20211130\Symfony\Component\Debug\DebugClassLoader as LegacyDebugClassLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface as ProxyDumper; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator as BaseServiceLocator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable; +use RectorPrefix20211130\Symfony\Component\ErrorHandler\DebugClassLoader; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\HttpKernel\Kernel; /** * PhpDumper dumps a service container as a PHP class. * * @author Fabien Potencier * @author Johannes M. Schmitt */ -class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper\Dumper +class PhpDumper extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper\Dumper { /** * Characters that might appear in the generated variable name as first character. @@ -58,6 +58,9 @@ class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject * Characters that might appear in the generated variable name as any but the first character. */ public const NON_FIRST_CHARS = 'abcdefghijklmnopqrstuvwxyz0123456789_'; + /** + * @var \SplObjectStorage|null + */ private $definitionVariables; private $referenceVariables; private $variableCount; @@ -93,10 +96,10 @@ class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject /** * {@inheritdoc} */ - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) { if (!$container->isCompiled()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Cannot dump an uncompiled container.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Cannot dump an uncompiled container.'); } parent::__construct($container); } @@ -142,20 +145,20 @@ class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $baseClass = \sprintf('%s\\%s', $options['namespace'] ? '\\' . $options['namespace'] : '', $baseClass); $this->baseClass = $baseClass; } elseif ('Container' === $baseClass) { - $this->baseClass = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class; + $this->baseClass = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class; } else { $this->baseClass = $baseClass; } - $this->initializeMethodNamesMap('Container' === $baseClass ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class : $baseClass); - if ($this->getProxyDumper() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper) { - (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true, \false))->process($this->container); + $this->initializeMethodNamesMap('Container' === $baseClass ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class : $baseClass); + if ($this->getProxyDumper() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper) { + (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\true, \false))->process($this->container); try { - (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass())->process($this->container); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { + (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\CheckCircularReferencesPass())->process($this->container); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException $e) { $path = $e->getPath(); \end($path); $path[\key($path)] .= '". Try running "composer require symfony/proxy-manager-bridge'; - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($e->getServiceId(), $path); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($e->getServiceId(), $path); } } $this->analyzeReferences(); @@ -183,7 +186,7 @@ class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject if ($options['preload_classes']) { $this->preload = \array_combine($options['preload_classes'], $options['preload_classes']); } - $code = $this->startClass($options['class'], $baseClass) . $this->addServices($services) . $this->addDeprecatedAliases() . $this->addDefaultParametersMethod(); + $code = $this->startClass($options['class'], $baseClass, $this->inlineFactories && $proxyClasses) . $this->addServices($services) . $this->addDeprecatedAliases() . $this->addDefaultParametersMethod(); $proxyClasses = $proxyClasses ?? $this->generateProxyClasses(); if ($this->addGetService) { $code = \preg_replace("/(\r?\n\r?\n public function __construct.+?\\{\r?\n)/s", "\n protected \$getService;\$1 \$this->getService = \\Closure::fromCallable([\$this, 'getService']);\n", $code, 1); @@ -192,8 +195,8 @@ class PhpDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $fileTemplate = <<docStar} * @internal This class has been auto-generated by the Symfony Dependency Injection Component. @@ -231,14 +234,14 @@ EOF; } } $code .= $this->endClass(); - if ($this->inlineFactories) { + if ($this->inlineFactories && $proxyClasses) { + $files['proxy-classes.php'] = " $c) { $code["Container{$hash}/{$file}"] = \substr_replace($c, "preload && null !== ($autoloadFile = $this->getAutoloadFile())) { $autoloadFile = \trim($this->export($autoloadFile), '()\\'); $preloadedFiles = \array_reverse($preloadedFiles); - $preloadedFiles = \implode("';\nrequire __DIR__.'/", $preloadedFiles); + if ('' !== ($preloadedFiles = \implode("';\nrequire __DIR__.'/", $preloadedFiles))) { + $preloadedFiles = "require __DIR__.'/{$preloadedFiles}';\n"; + } $code[$options['class'] . '.preload.php'] = <<= 7.4 when preloading is desired -use RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader; +use RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Dumper\\Preloader; if (in_array(PHP_SAPI, ['cli', 'phpdbg'], true)) { return; } require {$autoloadFile}; -require __DIR__.'/{$preloadedFiles}'; - +(require __DIR__.'/{$options['class']}.php')->set(\\Container{$hash}\\{$options['class']}::class, null); +{$preloadedFiles} \$classes = []; EOF; @@ -282,7 +287,7 @@ EOF; } $code[$options['class'] . '.preload.php'] .= <<<'EOF' -Preloader::preload($classes); +$preloaded = Preloader::preload($classes); EOF; } @@ -329,28 +334,28 @@ EOF; } } if ($unusedEnvs) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvParameterException($unusedEnvs, null, 'Environment variables "%s" are never used. Please, check your container\'s configuration.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvParameterException($unusedEnvs, null, 'Environment variables "%s" are never used. Please, check your container\'s configuration.'); } return $code; } /** * Retrieves the currently set proxy dumper or instantiates one. */ - private function getProxyDumper() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface + private function getProxyDumper() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface { if (!$this->proxyDumper) { - $this->proxyDumper = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper(); + $this->proxyDumper = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper(); } return $this->proxyDumper; } private function analyzeReferences() { - (new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\false, !$this->getProxyDumper() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper))->process($this->container); + (new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\AnalyzeServiceReferencesPass(\false, !$this->getProxyDumper() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\NullDumper))->process($this->container); $checkedNodes = []; $this->circularReferences = []; $this->singleUsePrivateIds = []; foreach ($this->container->getCompiler()->getServiceReferenceGraph()->getNodes() as $id => $node) { - if (!$node->getValue() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (!$node->getValue() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { continue; } if ($this->isSingleUsePrivateNode($node)) { @@ -368,7 +373,7 @@ EOF; foreach ($edges as $edge) { $node = $edge->getDestNode(); $id = $node->getId(); - if ($sourceId === $id || !$node->getValue() instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || $edge->isLazy() || $edge->isWeak()) { + if ($sourceId === $id || !$node->getValue() instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || $edge->isLazy() || $edge->isWeak()) { continue; } if (isset($path[$id])) { @@ -471,7 +476,7 @@ EOF; $proxyClasses = []; $alreadyGenerated = []; $definitions = $this->container->getDefinitions(); - $strip = '' === $this->docStar && \method_exists(\RectorPrefix20211129\Symfony\Component\HttpKernel\Kernel::class, 'stripComments'); + $strip = '' === $this->docStar && \method_exists(\RectorPrefix20211130\Symfony\Component\HttpKernel\Kernel::class, 'stripComments'); $proxyDumper = $this->getProxyDumper(); \ksort($definitions); foreach ($definitions as $definition) { @@ -501,7 +506,7 @@ EOF; } if ($strip) { $proxyCode = "inlineRequires ? \substr($proxyCode, \strlen($code)) : $proxyCode, 3)[1]; if ($this->asFiles || $this->namespace) { @@ -511,7 +516,7 @@ EOF; } return $proxyClasses; } - private function addServiceInclude(string $cId, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : string + private function addServiceInclude(string $cId, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : string { $code = ''; if ($this->inlineRequires && (!$this->isHotPath($definition) || $this->getProxyDumper()->isProxyCandidate($definition))) { @@ -524,7 +529,7 @@ EOF; } } foreach ($this->serviceCalls as $id => [$callCount, $behavior]) { - if ('service_container' !== $id && $id !== $cId && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $behavior && $this->container->has($id) && $this->isTrivialInstance($def = $this->container->findDefinition($id))) { + if ('service_container' !== $id && $id !== $cId && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $behavior && $this->container->has($id) && $this->isTrivialInstance($def = $this->container->findDefinition($id))) { foreach ($this->getClasses($def, $cId) as $class) { $this->collectLineage($class, $lineage); } @@ -550,11 +555,11 @@ EOF; * @throws InvalidArgumentException * @throws RuntimeException */ - private function addServiceInstance(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, bool $isSimpleInstance) : string + private function addServiceInstance(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, bool $isSimpleInstance) : string { $class = $this->dumpValue($definition->getClass()); if (\strncmp($class, "'", \strlen("'")) === 0 && \strpos($class, '$') === \false && !\preg_match('/^\'(?:\\\\{2})?[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*(?:\\\\{2}[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*)*\'$/', $class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" is not a valid class name for the "%s" service.', $class, $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s" is not a valid class name for the "%s" service.', $class, $id)); } $isProxyCandidate = $this->getProxyDumper()->isProxyCandidate($definition); $instantiation = ''; @@ -577,7 +582,7 @@ EOF; } return $this->addNewInstance($definition, ' ' . $return . $instantiation, $id); } - private function isTrivialInstance(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isTrivialInstance(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->hasErrors()) { return \true; @@ -589,7 +594,7 @@ EOF; return \false; } foreach ($definition->getArguments() as $arg) { - if (!$arg || $arg instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + if (!$arg || $arg instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { continue; } if (\is_array($arg) && 3 >= \count($arg)) { @@ -597,17 +602,17 @@ EOF; if ($this->dumpValue($k) !== $this->dumpValue($k, \false)) { return \false; } - if (!$v || $v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + if (!$v || $v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { continue; } - if ($v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $v) && $this->container->findDefinition($id)->isSynthetic()) { + if ($v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $v) && $this->container->findDefinition($id)->isSynthetic()) { continue; } if (!\is_scalar($v) || $this->dumpValue($v) !== $this->dumpValue($v, \false)) { return \false; } } - } elseif ($arg instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $arg) && $this->container->findDefinition($id)->isSynthetic()) { + } elseif ($arg instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference && $this->container->has($id = (string) $arg) && $this->container->findDefinition($id)->isSynthetic()) { continue; } elseif (!\is_scalar($arg) || $this->dumpValue($arg) !== $this->dumpValue($arg, \false)) { return \false; @@ -615,7 +620,7 @@ EOF; } return \true; } - private function addServiceMethodCalls(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $variableName, ?string $sharedNonLazyId) : string + private function addServiceMethodCalls(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $variableName, ?string $sharedNonLazyId) : string { $lastWitherIndex = null; foreach ($definition->getMethodCalls() as $k => $call) { @@ -640,7 +645,7 @@ EOF; } return $calls; } - private function addServiceProperties(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string + private function addServiceProperties(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string { $code = ''; foreach ($definition->getProperties() as $name => $value) { @@ -648,13 +653,13 @@ EOF; } return $code; } - private function addServiceConfigurator(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string + private function addServiceConfigurator(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $variableName = 'instance') : string { if (!($callable = $definition->getConfigurator())) { return ''; } if (\is_array($callable)) { - if ($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { + if ($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { return \sprintf(" %s->%s(\$%s);\n", $this->dumpValue($callable[0]), $callable[1], $variableName); } $class = $this->dumpValue($callable[0]); @@ -669,23 +674,23 @@ EOF; } return \sprintf(" %s(\$%s);\n", $callable, $variableName); } - private function addService(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : array + private function addService(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : array { $this->definitionVariables = new \SplObjectStorage(); $this->referenceVariables = []; $this->variableCount = 0; - $this->referenceVariables[$id] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable('instance'); + $this->referenceVariables[$id] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable('instance'); $return = []; if ($class = $definition->getClass()) { - $class = $class instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); + $class = $class instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); $return[] = \sprintf(\strncmp($class, '%', \strlen('%')) === 0 ? '@return object A %1$s instance' : '@return \\%s', \ltrim($class, '\\')); } elseif ($definition->getFactory()) { $factory = $definition->getFactory(); if (\is_string($factory)) { $return[] = \sprintf('@return object An instance returned by %s()', $factory); - } elseif (\is_array($factory) && (\is_string($factory[0]) || $factory[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || $factory[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference)) { - $class = $factory[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition ? $factory[0]->getClass() : (string) $factory[0]; - $class = $class instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); + } elseif (\is_array($factory) && (\is_string($factory[0]) || $factory[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || $factory[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference)) { + $class = $factory[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition ? $factory[0]->getClass() : (string) $factory[0]; + $class = $class instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter ? '%' . $class . '%' : $this->container->resolveEnvPlaceholders($class); $return[] = \sprintf('@return object An instance returned by %s::%s()', $class, $factory[1]); } } @@ -794,21 +799,21 @@ EOF; $this->referenceVariables = $this->serviceCalls = null; return [$file, $code]; } - private function addInlineVariables(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, array $arguments, bool $forConstructor) : string + private function addInlineVariables(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, array $arguments, bool $forConstructor) : string { $code = ''; foreach ($arguments as $argument) { if (\is_array($argument)) { $code .= $this->addInlineVariables($id, $definition, $argument, $forConstructor); - } elseif ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $code .= $this->addInlineReference($id, $definition, $argument, $forConstructor); - } elseif ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $code .= $this->addInlineService($id, $definition, $argument, $forConstructor); } } return $code; } - private function addInlineReference(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $targetId, bool $forConstructor) : string + private function addInlineReference(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $targetId, bool $forConstructor) : string { while ($this->container->hasAlias($targetId)) { $targetId = (string) $this->container->getAlias($targetId); @@ -833,8 +838,8 @@ EOF; return $code; } $name = $this->getNextVariableName(); - $this->referenceVariables[$targetId] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable($name); - $reference = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $behavior ? new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($targetId, $behavior) : null; + $this->referenceVariables[$targetId] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable($name); + $reference = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $behavior ? new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($targetId, $behavior) : null; $code .= \sprintf(" \$%s = %s;\n", $name, $this->getServiceCall($targetId, $reference)); if (!$hasSelfRef || !$forConstructor) { return $code; @@ -849,7 +854,7 @@ EOTXT , $this->container->getDefinition($id)->isPublic() ? 'services' : 'privates', $this->doExport($id)); return $code; } - private function addInlineService(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $inlineDef = null, bool $forConstructor = \true) : string + private function addInlineService(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $inlineDef = null, bool $forConstructor = \true) : string { $code = ''; if ($isSimpleInstance = $isRootInstance = null === $inlineDef) { @@ -873,7 +878,7 @@ EOTXT $isSimpleInstance = \false; } else { $name = $definition === $inlineDef ? 'instance' : $this->getNextVariableName(); - $this->definitionVariables[$inlineDef] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable($name); + $this->definitionVariables[$inlineDef] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable($name); $code .= '' !== $code ? "\n" : ''; if ('instance' === $name) { $code .= $this->addServiceInstance($id, $definition, $isSimpleInstance); @@ -931,15 +936,15 @@ EOTXT } } } - private function addNewInstance(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $return = '', string $id = null) : string + private function addNewInstance(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $return = '', string $id = null) : string { $tail = $return ? ";\n" : ''; - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ServiceLocator::class === $definition->getClass() && $definition->hasTag($this->serviceLocatorTag)) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ServiceLocator::class === $definition->getClass() && $definition->hasTag($this->serviceLocatorTag)) { $arguments = []; foreach ($definition->getArgument(0) as $k => $argument) { $arguments[$k] = $argument->getValues()[0]; } - return $return . $this->dumpValue(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments)) . $tail; + return $return . $this->dumpValue(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments)) . $tail; } $arguments = []; foreach ($definition->getArguments() as $i => $value) { @@ -949,16 +954,16 @@ EOTXT $callable = $definition->getFactory(); if (\is_array($callable)) { if (!\preg_match('/^[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*$/', $callable[1])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid factory method (%s).', $callable[1] ?: 'n/a')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid factory method (%s).', $callable[1] ?: 'n/a')); } - if ($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { + if ($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition && $this->definitionVariables->contains($callable[0])) { return $return . \sprintf('%s->%s(%s)', $this->dumpValue($callable[0]), $callable[1], $arguments ? \implode(', ', $arguments) : '') . $tail; } $class = $this->dumpValue($callable[0]); // If the class is a string we can optimize away if (\strncmp($class, "'", \strlen("'")) === 0 && \strpos($class, '$') === \false) { if ("''" === $class) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition: "%s" service is defined to be created by a factory but is missing the service reference, did you forget to define the factory service id or class?', $id ? 'The "' . $id . '"' : 'inline')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition: "%s" service is defined to be created by a factory but is missing the service reference, did you forget to define the factory service id or class?', $id ? 'The "' . $id . '"' : 'inline')); } return $return . \sprintf('%s::%s(%s)', $this->dumpLiteralClass($class), $callable[1], $arguments ? \implode(', ', $arguments) : '') . $tail; } @@ -970,24 +975,24 @@ EOTXT return $return . \sprintf('%s(%s)', $this->dumpLiteralClass($this->dumpValue($callable)), $arguments ? \implode(', ', $arguments) : '') . $tail; } if (null === ($class = $definition->getClass())) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have no class nor factory.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have no class nor factory.'); } return $return . \sprintf('new %s(%s)', $this->dumpLiteralClass($this->dumpValue($class)), \implode(', ', $arguments)) . $tail; } - private function startClass(string $class, string $baseClass) : string + private function startClass(string $class, string $baseClass, bool $hasProxyClasses) : string { $namespaceLine = !$this->asFiles && $this->namespace ? "\nnamespace {$this->namespace};\n" : ''; $code = <<docStar} * @internal This class has been auto-generated by the Symfony Dependency Injection Component. @@ -1010,9 +1015,9 @@ EOF; $code .= ' $this->targetDir = \\dirname($containerDir);' . "\n"; } } - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class !== $this->baseClass) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class !== $this->baseClass) { $r = $this->container->getReflectionClass($this->baseClass, \false); - if (null !== $r && null !== ($constructor = $r->getConstructor()) && 0 === $constructor->getNumberOfRequiredParameters() && \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class !== $constructor->getDeclaringClass()->name) { + if (null !== $r && null !== ($constructor = $r->getConstructor()) && 0 === $constructor->getNumberOfRequiredParameters() && \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class !== $constructor->getDeclaringClass()->name) { $code .= " parent::__construct();\n"; $code .= " \$this->parameterBag = null;\n\n"; } @@ -1025,7 +1030,7 @@ EOF; $code .= $this->addMethodMap(); $code .= $this->asFiles && !$this->inlineFactories ? $this->addFileMap() : ''; $code .= $this->addAliases(); - $code .= $this->addInlineRequires(); + $code .= $this->addInlineRequires($hasProxyClasses); $code .= <<doExport($id) . " => true,\n"; @@ -1215,13 +1220,11 @@ EOF; } return $code; } - private function addInlineRequires() : string + private function addInlineRequires(bool $hasProxyClasses) : string { - if (!$this->hotPathTag || !$this->inlineRequires) { - return ''; - } $lineage = []; - foreach ($this->container->findTaggedServiceIds($this->hotPathTag) as $id => $tags) { + $hotPathServices = $this->hotPathTag && $this->inlineRequires ? $this->container->findTaggedServiceIds($this->hotPathTag) : []; + foreach ($hotPathServices as $id => $tags) { $definition = $this->container->getDefinition($id); if ($this->getProxyDumper()->isProxyCandidate($definition)) { continue; @@ -1240,6 +1243,9 @@ EOF; $code .= \sprintf("\n include_once %s;", $file); } } + if ($hasProxyClasses) { + $code .= "\n include_once __DIR__.'/proxy-classes.php';"; + } return $code ? \sprintf("\n \$this->privates['service_container'] = function () {%s\n };\n", $code) : ''; } private function addDefaultParametersMethod() : string @@ -1251,7 +1257,7 @@ EOF; $dynamicPhp = []; foreach ($this->container->getParameterBag()->all() as $key => $value) { if ($key !== ($resolvedKey = $this->container->resolveEnvPlaceholders($key))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter name cannot use env parameters: "%s".', $resolvedKey)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter name cannot use env parameters: "%s".', $resolvedKey)); } $export = $this->exportParameters([$value]); $export = \explode('0 => ', \substr(\rtrim($export, " ]\n"), 2, -1), 2); @@ -1360,16 +1366,16 @@ EOF; foreach ($parameters as $key => $value) { if (\is_array($value)) { $value = $this->exportParameters($value, $path . '/' . $key, $indent + 4); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain special arguments. "%s" found in "%s".', \get_debug_type($value), $path . '/' . $key)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain variable references. Variable "%s" found in "%s".', $value, $path . '/' . $key)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain service definitions. Definition for "%s" found in "%s".', $value->getClass(), $path . '/' . $key)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain references to other services (reference to service "%s" found in "%s").', $value, $path . '/' . $key)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain expressions. Expression "%s" found in "%s".', $value, $path . '/' . $key)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain special arguments. "%s" found in "%s".', \get_debug_type($value), $path . '/' . $key)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain variable references. Variable "%s" found in "%s".', $value, $path . '/' . $key)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain service definitions. Definition for "%s" found in "%s".', $value->getClass(), $path . '/' . $key)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain references to other services (reference to service "%s" found in "%s").', $value, $path . '/' . $key)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('You cannot dump a container with parameters that contain expressions. Expression "%s" found in "%s".', $value, $path . '/' . $key)); } else { $value = $this->export($value); } @@ -1409,13 +1415,13 @@ EOF; private function getServiceConditionals($value) : string { $conditions = []; - foreach (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::getInitializedConditionals($value) as $service) { + foreach (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::getInitializedConditionals($value) as $service) { if (!$this->container->hasDefinition($service)) { return 'false'; } $conditions[] = \sprintf('isset($this->%s[%s])', $this->container->getDefinition($service)->isPublic() ? 'services' : 'privates', $this->doExport($service)); } - foreach (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::getServiceConditionals($value) as $service) { + foreach (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::getServiceConditionals($value) as $service) { if ($this->container->hasDefinition($service) && !$this->container->getDefinition($service)->isPublic()) { continue; } @@ -1434,7 +1440,7 @@ EOF; foreach ($arguments as $argument) { if (\is_array($argument)) { $this->getDefinitionsFromArguments($argument, $definitions, $calls, $byConstructor); - } elseif ($argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $id = (string) $argument; while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1445,7 +1451,7 @@ EOF; $calls[$id][1] = \min($calls[$id][1], $argument->getInvalidBehavior()); } ++$calls[$id][0]; - } elseif (!$argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif (!$argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { // no-op } elseif (isset($definitions[$argument])) { $definitions[$argument] = 1 + $definitions[$argument]; @@ -1473,21 +1479,21 @@ EOF; $code[] = \sprintf('%s => %s', $this->dumpValue($k, $interpolate), $this->dumpValue($v, $interpolate)); } return \sprintf('[%s]', \implode(', ', $code)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $scope = [$this->definitionVariables, $this->referenceVariables]; $this->definitionVariables = $this->referenceVariables = null; try { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value = $value->getValues()[0]; $code = $this->dumpValue($value, $interpolate); $returnedType = ''; - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference) { - $returnedType = \sprintf(': %s\\%s', \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $value->getInvalidBehavior() ? '' : '?', $value->getType()); + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference) { + $returnedType = \sprintf(': %s\\%s', \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE >= $value->getInvalidBehavior() ? '' : '?', \str_replace(['|', '&'], ['|\\', '&\\'], $value->getType())); } $code = \sprintf('return %s;', $code); return \sprintf("function ()%s {\n %s\n }", $returnedType, $code); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $operands = [0]; $code = []; $code[] = 'new RewindableGenerator(function () {'; @@ -1511,7 +1517,7 @@ EOF; $code[] = \sprintf(' }, %s)', \count($operands) > 1 ? \implode("\n", $countCode) : $operands[0]); return \implode("\n", $code); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $serviceMap = ''; $serviceTypes = ''; foreach ($value->getValues() as $k => $v) { @@ -1524,17 +1530,17 @@ EOF; } $definition = $this->container->getDefinition($id); $load = !($definition->hasErrors() && ($e = $definition->getErrors())) ? $this->asFiles && !$this->inlineFactories && !$this->isHotPath($definition) : \reset($e); - $serviceMap .= \sprintf("\n %s => [%s, %s, %s, %s],", $this->export($k), $this->export($definition->isShared() ? $definition->isPublic() ? 'services' : 'privates' : \false), $this->doExport($id), $this->export(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $v->getInvalidBehavior() && !\is_string($load) ? $this->generateMethodName($id) : null), $this->export($load)); - $serviceTypes .= \sprintf("\n %s => %s,", $this->export($k), $this->export($v instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?')); + $serviceMap .= \sprintf("\n %s => [%s, %s, %s, %s],", $this->export($k), $this->export($definition->isShared() ? $definition->isPublic() ? 'services' : 'privates' : \false), $this->doExport($id), $this->export(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE !== $v->getInvalidBehavior() && !\is_string($load) ? $this->generateMethodName($id) : null), $this->export($load)); + $serviceTypes .= \sprintf("\n %s => %s,", $this->export($k), $this->export($v instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\TypedReference ? $v->getType() : '?')); $this->locatedIds[$id] = \true; } $this->addGetService = \true; - return \sprintf('new \\%s($this->getService, [%s%s], [%s%s])', \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class, $serviceMap, $serviceMap ? "\n " : '', $serviceTypes, $serviceTypes ? "\n " : ''); + return \sprintf('new \\%s($this->getService, [%s%s], [%s%s])', \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocator::class, $serviceMap, $serviceMap ? "\n " : '', $serviceTypes, $serviceTypes ? "\n " : ''); } } finally { [$this->definitionVariables, $this->referenceVariables] = $scope; } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { if ($value->hasErrors() && ($e = $value->getErrors())) { $this->addThrow = \true; return \sprintf('$this->throw(%s)', $this->export(\reset($e))); @@ -1543,18 +1549,18 @@ EOF; return $this->dumpValue($this->definitionVariables[$value], $interpolate); } if ($value->getMethodCalls()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have method calls.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have method calls.'); } if ($value->getProperties()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have properties.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have properties.'); } if (null !== $value->getConfigurator()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have a configurator.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Cannot dump definitions which have a configurator.'); } return $this->addNewInstance($value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Variable) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Variable) { return '$' . $value; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $id = (string) $value; while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1563,9 +1569,9 @@ EOF; return $this->dumpValue($this->referenceVariables[$id], $interpolate); } return $this->getServiceCall($id, $value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { return $this->getExpressionLanguage()->compile((string) $value, ['this' => 'container']); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { return $this->dumpParameter($value); } elseif (\true === $interpolate && \is_string($value)) { if (\preg_match('/^%([^%]+)%$/', $value, $match)) { @@ -1579,12 +1585,12 @@ EOF; $code = \str_replace('%%', '%', \preg_replace_callback('/(?export($value))); return $code; } - } elseif ($value instanceof \RectorPrefix20211129\UnitEnum) { + } elseif ($value instanceof \RectorPrefix20211130\UnitEnum) { return \sprintf('\\%s::%s', \get_class($value), $value->name); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException($value->getTextWithContext()); } elseif (\is_object($value) || \is_resource($value)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); } return $this->export($value); } @@ -1599,7 +1605,7 @@ EOF; return \sprintf('${($_ = %s) && false ?: "_"}', $class); } if (\strncmp($class, "'", \strlen("'")) !== 0 || !\preg_match('/^\'(?:\\\\{2})?[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*(?:\\\\{2}[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*)*\'$/', $class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid class name (%s).', $class ?: 'n/a')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Cannot dump definition because of invalid class name (%s).', $class ?: 'n/a')); } $class = \substr(\str_replace('\\\\', '\\', $class), 1, -1); return \strncmp($class, '\\', \strlen('\\')) === 0 ? $class : '\\' . $class; @@ -1618,7 +1624,7 @@ EOF; } return \sprintf('$this->getParameter(%s)', $this->doExport($name)); } - private function getServiceCall(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference $reference = null) : string + private function getServiceCall(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference $reference = null) : string { while ($this->container->hasAlias($id)) { $id = (string) $this->container->getAlias($id); @@ -1629,7 +1635,7 @@ EOF; if ($this->container->hasDefinition($id) && ($definition = $this->container->getDefinition($id))) { if ($definition->isSynthetic()) { $code = \sprintf('$this->get(%s%s)', $this->doExport($id), null !== $reference ? ', ' . $reference->getInvalidBehavior() : ''); - } elseif (null !== $reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { + } elseif (null !== $reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { $code = 'null'; if (!$definition->isShared()) { return $code; @@ -1657,11 +1663,11 @@ EOF; } return $code; } - if (null !== $reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { + if (null !== $reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE === $reference->getInvalidBehavior()) { return 'null'; } - if (null !== $reference && \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $reference->getInvalidBehavior()) { - $code = \sprintf('$this->get(%s, /* ContainerInterface::NULL_ON_INVALID_REFERENCE */ %d)', $this->doExport($id), \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE); + if (null !== $reference && \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE < $reference->getInvalidBehavior()) { + $code = \sprintf('$this->get(%s, /* ContainerInterface::NULL_ON_INVALID_REFERENCE */ %d)', $this->doExport($id), \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE); } else { $code = \sprintf('$this->get(%s)', $this->doExport($id)); } @@ -1689,7 +1695,7 @@ EOF; return $this->serviceIdToMethodNameMap[$id]; } $i = \strrpos($id, '\\'); - $name = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::camelize(\false !== $i && isset($id[1 + $i]) ? \substr($id, 1 + $i) : $id); + $name = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::camelize(\false !== $i && isset($id[1 + $i]) ? \substr($id, 1 + $i) : $id); $name = \preg_replace('/[^a-zA-Z0-9_\\x7f-\\xff]/', '', $name); $methodName = 'get' . $name . 'Service'; $suffix = 1; @@ -1727,14 +1733,14 @@ EOF; return $name; } } - private function getExpressionLanguage() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage + private function getExpressionLanguage() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage { if (null === $this->expressionLanguage) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to use expressions as the Symfony ExpressionLanguage component is not installed.'); } $providers = $this->container->getExpressionLanguageProviders(); - $this->expressionLanguage = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function ($arg) { + $this->expressionLanguage = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguage(null, $providers, function ($arg) { $id = '""' === \substr_replace($arg, '', 1, -1) ? \stripcslashes(\substr($arg, 1, -1)) : null; if (null !== $id && ($this->container->hasAlias($id) || $this->container->hasDefinition($id))) { return $this->getServiceCall($id); @@ -1749,11 +1755,11 @@ EOF; } return $this->expressionLanguage; } - private function isHotPath(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function isHotPath(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : bool { return $this->hotPathTag && $definition->hasTag($this->hotPathTag) && !$definition->isDeprecated(); } - private function isSingleUsePrivateNode(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $node) : bool + private function isSingleUsePrivateNode(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\ServiceReferenceGraphNode $node) : bool { if ($node->getValue()->isPublic()) { return \false; @@ -1763,7 +1769,7 @@ EOF; if (!($value = $edge->getSourceNode()->getValue())) { continue; } - if ($edge->isLazy() || !$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition || !$value->isShared()) { + if ($edge->isLazy() || !$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition || !$value->isShared()) { return \false; } $ids[$edge->getSourceNode()->getId()] = \true; @@ -1851,10 +1857,10 @@ EOF; if (!\is_array($autoloader)) { continue; } - if ($autoloader[0] instanceof \RectorPrefix20211129\Symfony\Component\ErrorHandler\DebugClassLoader || $autoloader[0] instanceof \RectorPrefix20211129\Symfony\Component\Debug\DebugClassLoader) { + if ($autoloader[0] instanceof \RectorPrefix20211130\Symfony\Component\ErrorHandler\DebugClassLoader || $autoloader[0] instanceof \RectorPrefix20211130\Symfony\Component\Debug\DebugClassLoader) { $autoloader = $autoloader[0]->getClassLoader(); } - if (!\is_array($autoloader) || !$autoloader[0] instanceof \RectorPrefix20211129\Composer\Autoload\ClassLoader || !$autoloader[0]->findFile(__CLASS__)) { + if (!\is_array($autoloader) || !$autoloader[0] instanceof \RectorPrefix20211130\Composer\Autoload\ClassLoader || !$autoloader[0]->findFile(__CLASS__)) { continue; } foreach (\get_declared_classes() as $class) { @@ -1868,13 +1874,13 @@ EOF; } return $file; } - private function getClasses(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $id) : array + private function getClasses(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $id) : array { $classes = []; - while ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + while ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { foreach ($definition->getTag($this->preloadTags[0]) as $tag) { if (!isset($tag['class'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "class" on tag "%s" for service "%s".', $this->preloadTags[0], $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Missing attribute "class" on tag "%s" for service "%s".', $this->preloadTags[0], $id)); } $classes[] = \trim($tag['class'], '\\'); } diff --git a/vendor/symfony/dependency-injection/Dumper/Preloader.php b/vendor/symfony/dependency-injection/Dumper/Preloader.php index def0468fa6d..e9c5b9d09ca 100644 --- a/vendor/symfony/dependency-injection/Dumper/Preloader.php +++ b/vendor/symfony/dependency-injection/Dumper/Preloader.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; /** * @author Nicolas Grekas @@ -29,9 +29,9 @@ final class Preloader } $classes[] = \sprintf("\$classes[] = %s;\n", \var_export($item, \true)); } - \file_put_contents($file, \sprintf("\n\$classes = [];\n%sPreloader::preload(\$classes);\n", \implode('', $classes)), \FILE_APPEND); + \file_put_contents($file, \sprintf("\n\$classes = [];\n%s\$preloaded = Preloader::preload(\$classes, \$preloaded);\n", \implode('', $classes)), \FILE_APPEND); } - public static function preload(array $classes) : void + public static function preload(array $classes, array $preloaded = []) : array { \set_error_handler(function ($t, $m, $f, $l) { if (\error_reporting() & $t) { @@ -42,7 +42,6 @@ final class Preloader } }); $prev = []; - $preloaded = []; try { while ($prev !== $classes) { $prev = $classes; @@ -56,6 +55,7 @@ final class Preloader } finally { \restore_error_handler(); } + return $preloaded; } private static function doPreload(string $class, array &$preloaded) : void { @@ -64,6 +64,9 @@ final class Preloader } $preloaded[$class] = \true; try { + if (!\class_exists($class) && !\interface_exists($class, \false) && !\trait_exists($class, \false)) { + return; + } $r = new \ReflectionClass($class); if ($r->isInternal()) { return; @@ -96,7 +99,7 @@ final class Preloader if (!$t) { return; } - foreach ($t instanceof \ReflectionUnionType || $t instanceof \RectorPrefix20211129\ReflectionIntersectionType ? $t->getTypes() : [$t] as $t) { + foreach ($t instanceof \ReflectionUnionType || $t instanceof \RectorPrefix20211130\ReflectionIntersectionType ? $t->getTypes() : [$t] as $t) { if (!$t->isBuiltin()) { self::doPreload($t instanceof \ReflectionNamedType ? $t->getName() : $t, $preloaded); } diff --git a/vendor/symfony/dependency-injection/Dumper/XmlDumper.php b/vendor/symfony/dependency-injection/Dumper/XmlDumper.php index 0f7944e2adf..7d435270344 100644 --- a/vendor/symfony/dependency-injection/Dumper/XmlDumper.php +++ b/vendor/symfony/dependency-injection/Dumper/XmlDumper.php @@ -8,27 +8,27 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; /** * XmlDumper dumps a service container as an XML string. * * @author Fabien Potencier * @author Martin Hasoň */ -class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper\Dumper +class XmlDumper extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper\Dumper { /** * @var \DOMDocument @@ -37,7 +37,7 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject /** * Dumps the service container as an XML string. * - * @return string An xml string representing of the service container + * @return string * @param mixed[] $options */ public function dump($options = []) @@ -81,7 +81,7 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $parent->appendChild($call); } } - private function addService(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, \DOMElement $parent) + private function addService(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, \DOMElement $parent) { $service = $this->document->createElement('service'); if (null !== $id) { @@ -108,9 +108,9 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject if (null !== ($decoratedService = $definition->getDecoratedService())) { [$decorated, $renamedId, $priority] = $decoratedService; $service->setAttribute('decorates', $decorated); - $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; - if (\in_array($decorationOnInvalid, [\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE], \true)) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; + $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + if (\in_array($decorationOnInvalid, [\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE], \true)) { + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; $service->setAttribute('decoration-on-invalid', $invalidBehavior); } if (null !== $renamedId) { @@ -148,12 +148,12 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $this->addMethodCalls($definition->getMethodCalls(), $service); if ($callable = $definition->getFactory()) { $factory = $this->document->createElement('factory'); - if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $this->addService($callable[0], null, $factory); $factory->setAttribute('method', $callable[1]); } elseif (\is_array($callable)) { if (null !== $callable[0]) { - $factory->setAttribute($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); + $factory->setAttribute($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); } $factory->setAttribute('method', $callable[1]); } else { @@ -180,11 +180,11 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject } if ($callable = $definition->getConfigurator()) { $configurator = $this->document->createElement('configurator'); - if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if (\is_array($callable) && $callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $this->addService($callable[0], null, $configurator); $configurator->setAttribute('method', $callable[1]); } elseif (\is_array($callable)) { - $configurator->setAttribute($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); + $configurator->setAttribute($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference ? 'service' : 'class', $callable[0]); $configurator->setAttribute('method', $callable[1]); } else { $configurator->setAttribute('function', $callable); @@ -193,7 +193,7 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject } $parent->appendChild($service); } - private function addServiceAlias(string $alias, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias $id, \DOMElement $parent) + private function addServiceAlias(string $alias, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias $id, \DOMElement $parent) { $service = $this->document->createElement('service'); $service->setAttribute('id', $alias); @@ -232,7 +232,7 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject } private function convertParameters(array $parameters, string $type, \DOMElement $parent, string $keyAttribute = 'key') { - $withKeys = \array_keys($parameters) !== \range(0, \count($parameters) - 1); + $withKeys = !array_is_list($parameters); foreach ($parameters as $key => $value) { $element = $this->document->createElement($type); if ($withKeys) { @@ -241,8 +241,8 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject if (\is_array($tag = $value)) { $element->setAttribute('type', 'collection'); $this->convertParameters($value, $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { - $element->setAttribute('type', $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator'); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { + $element->setAttribute('type', $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator'); $element->setAttribute('tag', $tag->getTag()); if (null !== $tag->getIndexAttribute()) { $element->setAttribute('index-by', $tag->getIndexAttribute()); @@ -253,31 +253,31 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $element->setAttribute('default-priority-method', $tag->getDefaultPriorityMethod()); } } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $element->setAttribute('type', 'iterator'); $this->convertParameters($value->getValues(), $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $element->setAttribute('type', 'service_locator'); $this->convertParameters($value->getValues(), $type, $element, 'key'); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $element->setAttribute('type', 'service'); - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $element->setAttribute('type', 'service_closure'); $value = $value->getValues()[0]; } $element->setAttribute('id', (string) $value); $behavior = $value->getInvalidBehavior(); - if (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE == $behavior) { + if (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'null'); - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behavior) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'ignore'); - } elseif (\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behavior) { + } elseif (\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE == $behavior) { $element->setAttribute('on-invalid', 'ignore_uninitialized'); } - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $element->setAttribute('type', 'service'); $this->addService($value, null, $element); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { $element->setAttribute('type', 'expression'); $text = $this->document->createTextNode(self::phpToXml((string) $value)); $element->appendChild($text); @@ -285,10 +285,10 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject $element->setAttribute('type', 'binary'); $text = $this->document->createTextNode(self::phpToXml(\base64_encode($value))); $element->appendChild($text); - } elseif ($value instanceof \RectorPrefix20211129\UnitEnum) { + } elseif ($value instanceof \RectorPrefix20211130\UnitEnum) { $element->setAttribute('type', 'constant'); $element->appendChild($this->document->createTextNode(self::phpToXml($value))); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { $element->setAttribute('type', 'abstract'); $text = $this->document->createTextNode(self::phpToXml($value->getText())); $element->appendChild($text); @@ -338,12 +338,12 @@ class XmlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInject return 'true'; case \false === $value: return 'false'; - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter: return '%' . $value . '%'; - case $value instanceof \RectorPrefix20211129\UnitEnum: + case $value instanceof \RectorPrefix20211130\UnitEnum: return \sprintf('%s::%s', \get_class($value), $value->name); case \is_object($value) || \is_resource($value): - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); default: return (string) $value; } diff --git a/vendor/symfony/dependency-injection/Dumper/YamlDumper.php b/vendor/symfony/dependency-injection/Dumper/YamlDumper.php index 82f1fdb3745..c206f049b53 100644 --- a/vendor/symfony/dependency-injection/Dumper/YamlDumper.php +++ b/vendor/symfony/dependency-injection/Dumper/YamlDumper.php @@ -8,51 +8,51 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20211129\Symfony\Component\Yaml\Dumper as YmlDumper; -use RectorPrefix20211129\Symfony\Component\Yaml\Parser; -use RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue; -use RectorPrefix20211129\Symfony\Component\Yaml\Yaml; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\Yaml\Dumper as YmlDumper; +use RectorPrefix20211130\Symfony\Component\Yaml\Parser; +use RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20211130\Symfony\Component\Yaml\Yaml; /** * YamlDumper dumps a service container as a YAML string. * * @author Fabien Potencier */ -class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Dumper\Dumper +class YamlDumper extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Dumper\Dumper { private $dumper; /** * Dumps the service container as an YAML string. * - * @return string A YAML string representing of the service container + * @return string * @param mixed[] $options */ public function dump($options = []) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Yaml\Dumper::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to dump the container as the Symfony Yaml Component is not installed.'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Yaml\Dumper::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Unable to dump the container as the Symfony Yaml Component is not installed.'); } if (null === $this->dumper) { - $this->dumper = new \RectorPrefix20211129\Symfony\Component\Yaml\Dumper(); + $this->dumper = new \RectorPrefix20211130\Symfony\Component\Yaml\Dumper(); } return $this->container->resolveEnvPlaceholders($this->addParameters() . "\n" . $this->addServices()); } - private function addService(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : string + private function addService(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : string { $code = " {$id}:\n"; if ($class = $definition->getClass()) { @@ -125,9 +125,9 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec if (0 !== $priority) { $code .= \sprintf(" decoration_priority: %s\n", $priority); } - $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; - if (\in_array($decorationOnInvalid, [\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE])) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; + $decorationOnInvalid = $decoratedService[3] ?? \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + if (\in_array($decorationOnInvalid, [\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE])) { + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE === $decorationOnInvalid ? 'null' : 'ignore'; $code .= \sprintf(" decoration_on_invalid: %s\n", $invalidBehavior); } } @@ -139,7 +139,7 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec } return $code; } - private function addServiceAlias(string $alias, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias $id) : string + private function addServiceAlias(string $alias, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias $id) : string { $deprecated = ''; if ($id->isDeprecated()) { @@ -194,7 +194,7 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec private function dumpCallable($callable) { if (\is_array($callable)) { - if ($callable[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + if ($callable[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { $callable = [$this->getServiceCall((string) $callable[0], $callable[0]), $callable[1]]; } else { $callable = [$callable[0], $callable[1]]; @@ -211,13 +211,13 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec */ private function dumpValue($value) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument) { $value = $value->getValues()[0]; - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue('service_closure', $this->getServiceCall((string) $value, $value)); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue('service_closure', $this->getServiceCall((string) $value, $value)); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface) { $tag = $value; - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument || $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument && ($tag = $value->getTaggedIteratorArgument())) { if (null === $tag->getIndexAttribute()) { $content = $tag->getTag(); } else { @@ -229,16 +229,16 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec $content['default_priority_method'] = $tag->getDefaultPriorityMethod(); } } - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator', $content); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument ? 'tagged_iterator' : 'tagged_locator', $content); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument) { $tag = 'iterator'; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument) { $tag = 'service_locator'; } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unspecified Yaml tag for type "%s".', \get_debug_type($value))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unspecified Yaml tag for type "%s".', \get_debug_type($value))); } - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $this->dumpValue($value->getValues())); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $this->dumpValue($value->getValues())); } if (\is_array($value)) { $code = []; @@ -246,32 +246,32 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec $code[$k] = $this->dumpValue($v); } return $code; - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { return $this->getServiceCall((string) $value, $value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter) { return $this->getParameterCall((string) $value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression) { return $this->getExpressionCall((string) $value); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue('service', (new \RectorPrefix20211129\Symfony\Component\Yaml\Parser())->parse("_:\n" . $this->addService('_', $value), \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS)['_']['_']); - } elseif ($value instanceof \RectorPrefix20211129\UnitEnum) { - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue('php/const', \sprintf('%s::%s', \get_class($value), $value->name)); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue('abstract', $value->getText()); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue('service', (new \RectorPrefix20211130\Symfony\Component\Yaml\Parser())->parse("_:\n" . $this->addService('_', $value), \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS)['_']['_']); + } elseif ($value instanceof \RectorPrefix20211130\UnitEnum) { + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue('php/const', \sprintf('%s::%s', \get_class($value), $value->name)); + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument) { + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue('abstract', $value->getText()); } elseif (\is_object($value) || \is_resource($value)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to dump a service container if a parameter is an object or a resource.'); } return $value; } - private function getServiceCall(string $id, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference $reference = null) : string + private function getServiceCall(string $id, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference $reference = null) : string { if (null !== $reference) { switch ($reference->getInvalidBehavior()) { - case \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE: + case \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::RUNTIME_EXCEPTION_ON_INVALID_REFERENCE: break; - case \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE: + case \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE: break; - case \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE: + case \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE: return \sprintf('@!%s', $id); default: return \sprintf('@?%s', $id); @@ -293,7 +293,7 @@ class YamlDumper extends \RectorPrefix20211129\Symfony\Component\DependencyInjec foreach ($parameters as $key => $value) { if (\is_array($value)) { $value = $this->prepareParameters($value, $escape); - } elseif ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference || \is_string($value) && \strncmp($value, '@', \strlen('@')) === 0) { + } elseif ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference || \is_string($value) && \strncmp($value, '@', \strlen('@')) === 0) { $value = '@' . $value; } $filtered[$key] = $value; diff --git a/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php b/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php index d821a23009d..157bb4bc509 100644 --- a/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php +++ b/vendor/symfony/dependency-injection/EnvVarLoaderInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * EnvVarLoaderInterface objects return key/value pairs that are added to the list of available env vars. diff --git a/vendor/symfony/dependency-injection/EnvVarProcessor.php b/vendor/symfony/dependency-injection/EnvVarProcessor.php index e9b0c1bd685..92d34792c34 100644 --- a/vendor/symfony/dependency-injection/EnvVarProcessor.php +++ b/vendor/symfony/dependency-injection/EnvVarProcessor.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Nicolas Grekas */ -class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\EnvVarProcessorInterface +class EnvVarProcessor implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\EnvVarProcessorInterface { private $container; private $loaders; @@ -24,7 +24,7 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende /** * @param EnvVarLoaderInterface[] $loaders */ - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface $container, \Traversable $loaders = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface $container, \Traversable $loaders = null) { $this->container = $container; $this->loaders = $loaders ?? new \ArrayIterator(); @@ -47,44 +47,44 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende $i = \strpos($name, ':'); if ('key' === $prefix) { if (\false === $i) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "key:%s": a key specifier should be provided.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "key:%s": a key specifier should be provided.', $name)); } $next = \substr($name, $i + 1); $key = \substr($name, 0, $i); $array = $getEnv($next); if (!\is_array($array)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Resolved value of "%s" did not result in an array value.', $next)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Resolved value of "%s" did not result in an array value.', $next)); } if (!isset($array[$key]) && !\array_key_exists($key, $array)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Key "%s" not found in %s (resolved from "%s").', $key, \json_encode($array), $next)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Key "%s" not found in %s (resolved from "%s").', $key, \json_encode($array), $next)); } return $array[$key]; } if ('default' === $prefix) { if (\false === $i) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "default:%s": a fallback parameter should be provided.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env "default:%s": a fallback parameter should be provided.', $name)); } $next = \substr($name, $i + 1); $default = \substr($name, 0, $i); if ('' !== $default && !$this->container->hasParameter($default)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env fallback in "default:%s": parameter "%s" not found.', $name, $default)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid env fallback in "default:%s": parameter "%s" not found.', $name, $default)); } try { $env = $getEnv($next); if ('' !== $env && null !== $env) { return $env; } - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException $e) { // no-op } return '' === $default ? null : $this->container->getParameter($default); } if ('file' === $prefix || 'require' === $prefix) { if (!\is_scalar($file = $getEnv($name))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid file name: env var "%s" is non-scalar.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid file name: env var "%s" is non-scalar.', $name)); } if (!\is_file($file)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('File "%s" not found (resolved from "%s").', $file, $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('File "%s" not found (resolved from "%s").', $file, $name)); } if ('file' === $prefix) { return \file_get_contents($file); @@ -125,7 +125,7 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende if ($ended || $count === $i) { $loaders = $this->loaders; } - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException $e) { // skip loaders that need an env var that is not defined } finally { $this->loaders = $loaders; @@ -133,19 +133,19 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende } if (\false === $env || null === $env) { if (!$this->container->hasParameter("env({$name})")) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Environment variable not found: "%s".', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\EnvNotFoundException(\sprintf('Environment variable not found: "%s".', $name)); } $env = $this->container->getParameter("env({$name})"); } } if (null === $env) { if (!isset($this->getProvidedTypes()[$prefix])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s".', $prefix)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s".', $prefix)); } return null; } if (!\is_scalar($env)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-scalar env var "%s" cannot be cast to "%s".', $name, $prefix)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-scalar env var "%s" cannot be cast to "%s".', $name, $prefix)); } if ('string' === $prefix) { return (string) $env; @@ -156,19 +156,19 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende } if ('int' === $prefix) { if (\false === ($env = \filter_var($env, \FILTER_VALIDATE_INT) ?: \filter_var($env, \FILTER_VALIDATE_FLOAT))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to int.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to int.', $name)); } return (int) $env; } if ('float' === $prefix) { if (\false === ($env = \filter_var($env, \FILTER_VALIDATE_FLOAT))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to float.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Non-numeric env var "%s" cannot be cast to float.', $name)); } return (float) $env; } if ('const' === $prefix) { if (!\defined($env)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Env var "%s" maps to undefined constant "%s".', $name, $env)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Env var "%s" maps to undefined constant "%s".', $name, $env)); } return \constant($env); } @@ -178,20 +178,20 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende if ('json' === $prefix) { $env = \json_decode($env, \true); if (\JSON_ERROR_NONE !== \json_last_error()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON in env var "%s": ', $name) . \json_last_error_msg()); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON in env var "%s": ', $name) . \json_last_error_msg()); } if (null !== $env && !\is_array($env)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON env var "%s": array or null expected, "%s" given.', $name, \get_debug_type($env))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid JSON env var "%s": array or null expected, "%s" given.', $name, \get_debug_type($env))); } return $env; } if ('url' === $prefix) { $parsedEnv = \parse_url($env); if (\false === $parsedEnv) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL in env var "%s".', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL in env var "%s".', $name)); } if (!isset($parsedEnv['scheme'], $parsedEnv['host'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL env var "%s": schema and host expected, "%s" given.', $name, $env)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Invalid URL env var "%s": schema and host expected, "%s" given.', $name, $env)); } $parsedEnv += ['port' => null, 'user' => null, 'pass' => null, 'path' => null, 'query' => null, 'fragment' => null]; // remove the '/' separator @@ -210,7 +210,7 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende } $value = $this->container->getParameter($match[1]); if (!\is_scalar($value)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Parameter "%s" found when resolving env var "%s" must be scalar, "%s" given.', $match[1], $name, \get_debug_type($value))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Parameter "%s" found when resolving env var "%s" must be scalar, "%s" given.', $match[1], $name, \get_debug_type($value))); } return $value; }, $env); @@ -221,6 +221,6 @@ class EnvVarProcessor implements \RectorPrefix20211129\Symfony\Component\Depende if ('trim' === $prefix) { return \trim($env); } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s" for env name "%s".', $prefix, $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Unsupported env var prefix "%s" for env name "%s".', $prefix, $name)); } } diff --git a/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php b/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php index 5d4f02d7774..eb6e5acbc61 100644 --- a/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php +++ b/vendor/symfony/dependency-injection/EnvVarProcessorInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * The EnvVarProcessorInterface is implemented by objects that manage environment-like variables. * diff --git a/vendor/symfony/dependency-injection/Exception/AutowiringFailedException.php b/vendor/symfony/dependency-injection/Exception/AutowiringFailedException.php index 36be7dc3579..947bc522f69 100644 --- a/vendor/symfony/dependency-injection/Exception/AutowiringFailedException.php +++ b/vendor/symfony/dependency-injection/Exception/AutowiringFailedException.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Thrown when a definition cannot be autowired. */ -class AutowiringFailedException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException +class AutowiringFailedException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException { private $serviceId; private $messageCallback; diff --git a/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php b/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php index 45e2341f35c..9f1336b7628 100644 --- a/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php +++ b/vendor/symfony/dependency-injection/Exception/BadMethodCallException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Base BadMethodCallException for Dependency Injection component. */ -class BadMethodCallException extends \BadMethodCallException implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class BadMethodCallException extends \BadMethodCallException implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php b/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php index 0f9cfb0d500..32ccfa9ad5e 100644 --- a/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php +++ b/vendor/symfony/dependency-injection/Exception/EnvNotFoundException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when an environment variable is not found. * * @author Nicolas Grekas */ -class EnvNotFoundException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class EnvNotFoundException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException { } diff --git a/vendor/symfony/dependency-injection/Exception/EnvParameterException.php b/vendor/symfony/dependency-injection/Exception/EnvParameterException.php index ba60fcd342e..74c1318aead 100644 --- a/vendor/symfony/dependency-injection/Exception/EnvParameterException.php +++ b/vendor/symfony/dependency-injection/Exception/EnvParameterException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * This exception wraps exceptions whose messages contain a reference to an env parameter. * * @author Nicolas Grekas */ -class EnvParameterException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class EnvParameterException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException { public function __construct(array $envs, \Throwable $previous = null, string $message = 'Incompatible use of dynamic environment variables "%s" found in parameters.') { diff --git a/vendor/symfony/dependency-injection/Exception/ExceptionInterface.php b/vendor/symfony/dependency-injection/Exception/ExceptionInterface.php index 6917006e4f6..424825c5c39 100644 --- a/vendor/symfony/dependency-injection/Exception/ExceptionInterface.php +++ b/vendor/symfony/dependency-injection/Exception/ExceptionInterface.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20211129\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20211130\Psr\Container\ContainerExceptionInterface; /** * Base ExceptionInterface for Dependency Injection component. * * @author Fabien Potencier * @author Bulat Shakirzyanov */ -interface ExceptionInterface extends \RectorPrefix20211129\Psr\Container\ContainerExceptionInterface +interface ExceptionInterface extends \RectorPrefix20211130\Psr\Container\ContainerExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php b/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php index 91e77b93763..b92d3f52f44 100644 --- a/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php +++ b/vendor/symfony/dependency-injection/Exception/InvalidArgumentException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Base InvalidArgumentException for Dependency Injection component. * * @author Bulat Shakirzyanov */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php b/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php index d98a2433249..08104be058b 100644 --- a/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php +++ b/vendor/symfony/dependency-injection/Exception/InvalidParameterTypeException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Thrown when trying to inject a parameter into a constructor/method with an incompatible type. @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; * @author Nicolas Grekas * @author Julien Maulny */ -class InvalidParameterTypeException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException +class InvalidParameterTypeException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException { public function __construct(string $serviceId, string $type, \ReflectionParameter $parameter) { diff --git a/vendor/symfony/dependency-injection/Exception/LogicException.php b/vendor/symfony/dependency-injection/Exception/LogicException.php index e0c3ffca7f9..7469c530da5 100644 --- a/vendor/symfony/dependency-injection/Exception/LogicException.php +++ b/vendor/symfony/dependency-injection/Exception/LogicException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Base LogicException for Dependency Injection component. */ -class LogicException extends \LogicException implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php b/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php index 6852ac73875..01a8f2c03ac 100644 --- a/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php +++ b/vendor/symfony/dependency-injection/Exception/OutOfBoundsException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Base OutOfBoundsException for Dependency Injection component. */ -class OutOfBoundsException extends \OutOfBoundsException implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class OutOfBoundsException extends \OutOfBoundsException implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php b/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php index cdab8d7945e..dfd2f22d091 100644 --- a/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php +++ b/vendor/symfony/dependency-injection/Exception/ParameterCircularReferenceException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when a circular reference in a parameter is detected. * * @author Fabien Potencier */ -class ParameterCircularReferenceException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException +class ParameterCircularReferenceException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException { private $parameters; public function __construct(array $parameters, \Throwable $previous = null) diff --git a/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php b/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php index 95324969e45..1cc779490af 100644 --- a/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php +++ b/vendor/symfony/dependency-injection/Exception/ParameterNotFoundException.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface; /** * This exception is thrown when a non-existent parameter is used. * * @author Fabien Potencier */ -class ParameterNotFoundException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface +class ParameterNotFoundException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface { private $key; private $sourceId; diff --git a/vendor/symfony/dependency-injection/Exception/RuntimeException.php b/vendor/symfony/dependency-injection/Exception/RuntimeException.php index f1b86c930d7..f2df709ba33 100644 --- a/vendor/symfony/dependency-injection/Exception/RuntimeException.php +++ b/vendor/symfony/dependency-injection/Exception/RuntimeException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * Base RuntimeException for Dependency Injection component. * * @author Johannes M. Schmitt */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ExceptionInterface { } diff --git a/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php b/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php index ceb2830d450..bd64b11255a 100644 --- a/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php +++ b/vendor/symfony/dependency-injection/Exception/ServiceCircularReferenceException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; /** * This exception is thrown when a circular reference is detected. * * @author Johannes M. Schmitt */ -class ServiceCircularReferenceException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException +class ServiceCircularReferenceException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException { private $serviceId; private $path; diff --git a/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php b/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php index e85f4ada047..13465bf56c9 100644 --- a/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php +++ b/vendor/symfony/dependency-injection/Exception/ServiceNotFoundException.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception; -use RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface; /** * This exception is thrown when a non-existent service is requested. * * @author Johannes M. Schmitt */ -class ServiceNotFoundException extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface +class ServiceNotFoundException extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException implements \RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface { private $id; private $sourceId; diff --git a/vendor/symfony/dependency-injection/ExpressionLanguage.php b/vendor/symfony/dependency-injection/ExpressionLanguage.php index cbd214b3413..f82c027e378 100644 --- a/vendor/symfony/dependency-injection/ExpressionLanguage.php +++ b/vendor/symfony/dependency-injection/ExpressionLanguage.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage; -if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { +use RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionLanguage as BaseExpressionLanguage; +if (!\class_exists(\RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionLanguage::class)) { return; } /** @@ -22,15 +22,15 @@ if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Ex * * @see ExpressionLanguageProvider */ -class ExpressionLanguage extends \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionLanguage +class ExpressionLanguage extends \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionLanguage { /** * {@inheritdoc} */ - public function __construct(\RectorPrefix20211129\Psr\Cache\CacheItemPoolInterface $cache = null, array $providers = [], callable $serviceCompiler = null) + public function __construct(\RectorPrefix20211130\Psr\Cache\CacheItemPoolInterface $cache = null, array $providers = [], callable $serviceCompiler = null) { // prepend the default provider to let users override it easily - \array_unshift($providers, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ExpressionLanguageProvider($serviceCompiler)); + \array_unshift($providers, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ExpressionLanguageProvider($serviceCompiler)); parent::__construct($cache, $providers); } } diff --git a/vendor/symfony/dependency-injection/ExpressionLanguageProvider.php b/vendor/symfony/dependency-injection/ExpressionLanguageProvider.php index 62ea0014645..a3cd45149ad 100644 --- a/vendor/symfony/dependency-injection/ExpressionLanguageProvider.php +++ b/vendor/symfony/dependency-injection/ExpressionLanguageProvider.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunction; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunction; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface; /** * Define some ExpressionLanguage functions. * @@ -20,7 +20,7 @@ use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunction * * @author Fabien Potencier */ -class ExpressionLanguageProvider implements \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface +class ExpressionLanguageProvider implements \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunctionProviderInterface { private $serviceCompiler; public function __construct(callable $serviceCompiler = null) @@ -29,11 +29,11 @@ class ExpressionLanguageProvider implements \RectorPrefix20211129\Symfony\Compon } public function getFunctions() { - return [new \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunction('service', $this->serviceCompiler ?: function ($arg) { + return [new \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunction('service', $this->serviceCompiler ?: function ($arg) { return \sprintf('$this->get(%s)', $arg); }, function (array $variables, $value) { return $variables['container']->get($value); - }), new \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\ExpressionFunction('parameter', function ($arg) { + }), new \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\ExpressionFunction('parameter', function ($arg) { return \sprintf('$this->getParameter(%s)', $arg); }, function (array $variables, $value) { return $variables['container']->getParameter($value); diff --git a/vendor/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php b/vendor/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php index 544b9f3f373..f8546c38267 100644 --- a/vendor/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php +++ b/vendor/symfony/dependency-injection/Extension/ConfigurationExtensionInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ConfigurationExtensionInterface is the interface implemented by container extension classes. * @@ -22,7 +22,7 @@ interface ConfigurationExtensionInterface /** * Returns extension configuration. * - * @return ConfigurationInterface|null The configuration or null + * @return ConfigurationInterface|null * @param mixed[] $config * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container */ diff --git a/vendor/symfony/dependency-injection/Extension/Extension.php b/vendor/symfony/dependency-injection/Extension/Extension.php index 731847921b4..8cf05486291 100644 --- a/vendor/symfony/dependency-injection/Extension/Extension.php +++ b/vendor/symfony/dependency-injection/Extension/Extension.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface; -use RectorPrefix20211129\Symfony\Component\Config\Definition\Processor; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface; +use RectorPrefix20211130\Symfony\Component\Config\Definition\Processor; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; /** * Provides useful features shared by many extensions. * * @author Fabien Potencier */ -abstract class Extension implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface +abstract class Extension implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface { private $processedConfigs = []; /** @@ -55,7 +55,7 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe * * This can be overridden in a sub-class to specify the alias manually. * - * @return string The alias + * @return string * * @throws BadMethodCallException When the extension name does not follow conventions */ @@ -63,10 +63,10 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe { $className = static::class; if (\substr_compare($className, 'Extension', -\strlen('Extension')) !== 0) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('This extension does not follow the naming convention; you must overwrite the getAlias() method.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\BadMethodCallException('This extension does not follow the naming convention; you must overwrite the getAlias() method.'); } $classBaseName = \substr(\strrchr($className, '\\'), 1, -9); - return \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::underscore($classBaseName); + return \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::underscore($classBaseName); } /** * {@inheritdoc} @@ -85,8 +85,8 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe if (!$class) { return null; } - if (!$class->implementsInterface(\RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('The extension configuration class "%s" must implement "%s".', $class->getName(), \RectorPrefix20211129\Symfony\Component\Config\Definition\ConfigurationInterface::class)); + if (!$class->implementsInterface(\RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException(\sprintf('The extension configuration class "%s" must implement "%s".', $class->getName(), \RectorPrefix20211130\Symfony\Component\Config\Definition\ConfigurationInterface::class)); } if (!($constructor = $class->getConstructor()) || !$constructor->getNumberOfRequiredParameters()) { return $class->newInstance(); @@ -99,7 +99,7 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe */ protected final function processConfiguration($configuration, $configs) : array { - $processor = new \RectorPrefix20211129\Symfony\Component\Config\Definition\Processor(); + $processor = new \RectorPrefix20211130\Symfony\Component\Config\Definition\Processor(); return $this->processedConfigs[] = $processor->processConfiguration($configuration, $configs); } /** @@ -114,7 +114,7 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe } } /** - * @return bool Whether the configuration is enabled + * @return bool * * @throws InvalidArgumentException When the config is not enableable * @param \Symfony\Component\DependencyInjection\ContainerBuilder $container @@ -123,7 +123,7 @@ abstract class Extension implements \RectorPrefix20211129\Symfony\Component\Depe protected function isConfigEnabled($container, $config) { if (!\array_key_exists('enabled', $config)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException("The config array has no 'enabled' key."); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException("The config array has no 'enabled' key."); } return (bool) $container->getParameterBag()->resolveValue($config['enabled']); } diff --git a/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php b/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php index ba0fab90559..a432e1b98cc 100644 --- a/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php +++ b/vendor/symfony/dependency-injection/Extension/ExtensionInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ExtensionInterface is the interface implemented by container extension classes. * @@ -29,7 +29,7 @@ interface ExtensionInterface /** * Returns the namespace to be used for this extension (XML namespace). * - * @return string The XML namespace + * @return string */ public function getNamespace(); /** @@ -43,7 +43,7 @@ interface ExtensionInterface * * This alias is also the mandatory prefix to use when using YAML. * - * @return string The alias + * @return string */ public function getAlias(); } diff --git a/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php b/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php index 63666df30a0..ee3d5ef1592 100644 --- a/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php +++ b/vendor/symfony/dependency-injection/Extension/PrependExtensionInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; interface PrependExtensionInterface { /** diff --git a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php index 8505a009bc5..d5b9e4363db 100644 --- a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php +++ b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/InstantiatorInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * Lazy proxy instantiator, capable of instantiating a proxy given a container, the * service definitions and a callback that produces the real service instance. diff --git a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php index 4d1a12517d3..fd4da728da0 100644 --- a/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php +++ b/vendor/symfony/dependency-injection/LazyProxy/Instantiator/RealServiceInstantiator.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * {@inheritdoc} * @@ -19,7 +19,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; * * @author Marco Pivetta */ -class RealServiceInstantiator implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface +class RealServiceInstantiator implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\Instantiator\InstantiatorInterface { /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php index a8910506e9e..ee96d11f358 100644 --- a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php +++ b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/DumperInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * Lazy proxy dumper capable of generating the instantiation logic PHP code for proxied services. * diff --git a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php index d4baa1096d9..0665c98248a 100644 --- a/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php +++ b/vendor/symfony/dependency-injection/LazyProxy/PhpDumper/NullDumper.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * Null dumper, negates any proxy code generation for any given service definition. * @@ -18,7 +18,7 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; * * @final */ -class NullDumper implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface +class NullDumper implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy\PhpDumper\DumperInterface { /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php b/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php index 1221f4a5aab..ff96c7f9a90 100644 --- a/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php +++ b/vendor/symfony/dependency-injection/LazyProxy/ProxyHelper.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\LazyProxy; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\LazyProxy; /** * @author Nicolas Grekas @@ -37,7 +37,7 @@ class ProxyHelper $glue = '|'; if ($type instanceof \ReflectionUnionType) { $reflectionTypes = $type->getTypes(); - } elseif ($type instanceof \RectorPrefix20211129\ReflectionIntersectionType) { + } elseif ($type instanceof \RectorPrefix20211130\ReflectionIntersectionType) { $reflectionTypes = $type->getTypes(); $glue = '&'; } elseif ($type instanceof \ReflectionNamedType) { @@ -67,6 +67,7 @@ class ProxyHelper $types[] = ($parent = $r->getDeclaringClass()->getParentClass()) ? $prefix . $parent->name : null; } } + \sort($types); return $types ? \implode($glue, $types) : null; } } diff --git a/vendor/symfony/dependency-injection/Loader/ClosureLoader.php b/vendor/symfony/dependency-injection/Loader/ClosureLoader.php index 2262592a900..662a44dbbd2 100644 --- a/vendor/symfony/dependency-injection/Loader/ClosureLoader.php +++ b/vendor/symfony/dependency-injection/Loader/ClosureLoader.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Loader\Loader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\Config\Loader\Loader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * ClosureLoader loads service definitions from a PHP closure. * @@ -19,10 +19,10 @@ use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; * * @author Fabien Potencier */ -class ClosureLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loader\Loader +class ClosureLoader extends \RectorPrefix20211130\Symfony\Component\Config\Loader\Loader { private $container; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $env = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, string $env = null) { $this->container = $container; parent::__construct($env); @@ -33,7 +33,7 @@ class ClosureLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loade */ public function load($resource, $type = null) { - $resource($this->container, $this->env); + return $resource($this->container, $this->env); } /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php index 2131011b2b2..88f3240acfc 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractConfigurator.php @@ -8,16 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; abstract class AbstractConfigurator { public const FACTORY = 'unknown'; @@ -64,34 +65,35 @@ abstract class AbstractConfigurator if (self::$valuePreProcessor) { $value = (self::$valuePreProcessor)($value, $allowServices); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($value->id, $value->invalidBehavior); + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { + $reference = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($value->id, $value->invalidBehavior); + return $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator ? new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($reference) : $reference; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { $def = $value->definition; $value->definition = null; return $def; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator) { return (string) $value; } if ($value instanceof self) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s()" can be used only at the root of service configuration files.', $value::FACTORY)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s()" can be used only at the root of service configuration files.', $value::FACTORY)); } switch (\true) { case null === $value: case \is_scalar($value): return $value; - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface: - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition: - case $value instanceof \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression: - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Parameter: - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument: - case $value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ArgumentInterface: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition: + case $value instanceof \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Parameter: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument: + case $value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference: if ($allowServices) { return $value; } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Cannot use values of type "%s" in service configuration files.', \get_debug_type($value))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Cannot use values of type "%s" in service configuration files.', \get_debug_type($value))); } } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php index ade3c94f0ed..e0de914b4f3 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AbstractServiceConfigurator.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +abstract class AbstractServiceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { protected $parent; protected $id; private $defaultTags = []; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $id = null, array $defaultTags = []) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $id = null, array $defaultTags = []) { $this->parent = $parent; $this->definition = $definition; @@ -39,7 +39,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * @param string|null $id * @param string|null $class */ - public final function set($id, $class = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function set($id, $class = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $this->__destruct(); return $this->parent->set($id, $class); @@ -49,7 +49,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * @param string $id * @param string $referencedId */ - public final function alias($id, $referencedId) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function alias($id, $referencedId) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $this->__destruct(); return $this->parent->alias($id, $referencedId); @@ -59,7 +59,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * @param string $namespace * @param string $resource */ - public final function load($namespace, $resource) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator + public final function load($namespace, $resource) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator { $this->__destruct(); return $this->parent->load($namespace, $resource); @@ -70,7 +70,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * @throws ServiceNotFoundException if the service definition does not exist * @param string $id */ - public final function get($id) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function get($id) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $this->__destruct(); return $this->parent->get($id); @@ -79,7 +79,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * Removes an already defined service definition or alias. * @param string $id */ - public final function remove($id) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator + public final function remove($id) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator { $this->__destruct(); return $this->parent->remove($id); @@ -90,7 +90,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony * @param InlineServiceConfigurator[]|ReferenceConfigurator[] $services * @param string $id */ - public final function stack($id, $services) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function stack($id, $services) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $this->__destruct(); return $this->parent->stack($id, $services); @@ -98,7 +98,7 @@ abstract class AbstractServiceConfigurator extends \RectorPrefix20211129\Symfony /** * Registers a service. */ - public final function __invoke(string $id, string $class = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function __invoke(string $id, string $class = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $this->__destruct(); return $this->parent->set($id, $class); diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php index 9f3e2f3f303..36b0ba71078 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/AliasConfigurator.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; /** * @author Nicolas Grekas */ -class AliasConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class AliasConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\DeprecateTrait; use Traits\PublicTrait; public const FACTORY = 'alias'; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias $alias) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias $alias) { $this->parent = $parent; $this->definition = $alias; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php new file mode 100644 index 00000000000..88bba0749f0 --- /dev/null +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ClosureReferenceConfigurator.php @@ -0,0 +1,15 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; + +class ClosureReferenceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator +{ +} diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php index 139607bd7ec..afae3dee83f 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ContainerConfigurator.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; /** * @author Nicolas Grekas */ -class ContainerConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ContainerConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'container'; private $container; @@ -34,7 +34,7 @@ class ContainerConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe private $file; private $anonymousCount = 0; private $env; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path, string $file, string $env = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path, string $file, string $env = null) { $this->container = $container; $this->loader = $loader; @@ -50,10 +50,10 @@ class ContainerConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe public final function extension($namespace, $config) { if (!$this->container->hasExtension($namespace)) { - $extensions = \array_filter(\array_map(function (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensions = \array_filter(\array_map(function (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $this->file, $namespace, $extensions ? \implode('", "', $extensions) : 'none')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $this->file, $namespace, $extensions ? \implode('", "', $extensions) : 'none')); } $this->container->loadFromExtension($namespace, static::processValue($config)); } @@ -66,13 +66,13 @@ class ContainerConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe $this->loader->setCurrentDir(\dirname($this->path)); $this->loader->import($resource, $type, $ignoreErrors, $this->file); } - public final function parameters() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator + public final function parameters() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator($this->container); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ParametersConfigurator($this->container); } - public final function services() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator + public final function services() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator($this->container, $this->loader, $this->instanceof, $this->path, $this->anonymousCount); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator($this->container, $this->loader, $this->instanceof, $this->path, $this->anonymousCount); } /** * Get the current environment to be able to write conditional configuration. @@ -96,98 +96,105 @@ class ContainerConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe /** * @author Nicolas Grekas */ -\class_alias('RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', \false); +\class_alias('RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', 'Symfony\\Component\\DependencyInjection\\Loader\\Configurator\\ContainerConfigurator', \false); /** * Creates a parameter. */ -function param(string $name) : \RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator +function param(string $name) : \RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator { - return new \RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator($name); + return new \RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator($name); } /** * Creates a service reference. * * @deprecated since Symfony 5.1, use service() instead. */ -function ref(string $id) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator +function ref(string $id) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator { trigger_deprecation('symfony/dependency-injection', '5.1', '"%s()" is deprecated, use "service()" instead.', __FUNCTION__); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($id); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($id); } /** * Creates a reference to a service. */ -function service(string $serviceId) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator +function service(string $serviceId) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($serviceId); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($serviceId); } /** * Creates an inline service. * * @deprecated since Symfony 5.1, use inline_service() instead. */ -function inline(string $class = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator +function inline(string $class = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator { trigger_deprecation('symfony/dependency-injection', '5.1', '"%s()" is deprecated, use "inline_service()" instead.', __FUNCTION__); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($class)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($class)); } /** * Creates an inline service. */ -function inline_service(string $class = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator +function inline_service(string $class = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($class)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($class)); } /** * Creates a service locator. * * @param ReferenceConfigurator[] $values */ -function service_locator(array $values) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument +function service_locator(array $values) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); } /** * Creates a lazy iterator. * * @param ReferenceConfigurator[] $values */ -function iterator(array $values) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument +function iterator(array $values) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator::processValue($values, \true)); } /** * Creates a lazy iterator by tag name. */ -function tagged_iterator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null, string $defaultPriorityMethod = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument +function tagged_iterator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null, string $defaultPriorityMethod = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \false, $defaultPriorityMethod); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \false, $defaultPriorityMethod); } /** * Creates a service locator by tag name. */ -function tagged_locator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument +function tagged_locator(string $tag, string $indexAttribute = null, string $defaultIndexMethod = null, string $defaultPriorityMethod = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \true)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($tag, $indexAttribute, $defaultIndexMethod, \true, $defaultPriorityMethod)); } /** * Creates an expression. */ -function expr(string $expression) : \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression +function expr(string $expression) : \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression { - return new \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression($expression); + return new \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression($expression); } /** * Creates an abstract argument. */ -function abstract_arg(string $description) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument +function abstract_arg(string $description) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument($description); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument($description); } /** * Creates an environment variable reference. */ -function env(string $name) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator +function env(string $name) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator($name); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\EnvConfigurator($name); +} +/** + * Creates a closure service reference. + */ +function service_closure(string $serviceId) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator +{ + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ClosureReferenceConfigurator($serviceId); } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php index 76a3cdd378c..4fb521de447 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/DefaultsConfigurator.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * @author Nicolas Grekas */ -class DefaultsConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class DefaultsConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AutoconfigureTrait; use Traits\AutowireTrait; @@ -23,7 +23,7 @@ class DefaultsConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen use Traits\PublicTrait; public const FACTORY = 'defaults'; private $path; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $path = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $path = null) { parent::__construct($parent, $definition, null, []); $this->path = $path; @@ -40,11 +40,11 @@ class DefaultsConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen public final function tag($name, $attributes = []) : self { if ('' === $name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The tag name in "_defaults" must be a non-empty string.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('The tag name in "_defaults" must be a non-empty string.'); } foreach ($attributes as $attribute => $value) { if (null !== $value && !\is_scalar($value)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type.', $name, $attribute)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type.', $name, $attribute)); } } $this->definition->addTag($name, $attributes); @@ -54,7 +54,7 @@ class DefaultsConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen * Defines an instanceof-conditional to be applied to following service definitions. * @param string $fqcn */ - public final function instanceof($fqcn) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator + public final function instanceof($fqcn) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator { return $this->parent->instanceof($fqcn); } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php index 2779d06a49d..d8ad752d7a9 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/EnvConfigurator.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator; -class EnvConfigurator extends \RectorPrefix20211129\Symfony\Component\Config\Loader\ParamConfigurator +use RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator; +class EnvConfigurator extends \RectorPrefix20211130\Symfony\Component\Config\Loader\ParamConfigurator { /** * @var string[] @@ -30,7 +30,7 @@ class EnvConfigurator extends \RectorPrefix20211129\Symfony\Component\Config\Loa */ public function __call(string $name, array $arguments) : self { - $processor = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20211129\\1_\\2', $name)); + $processor = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20211130\\1_\\2', $name)); $this->custom($processor, ...$arguments); return $this; } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php index 532bc6c3374..b1bda1fb8ac 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/InlineServiceConfigurator.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class InlineServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class InlineServiceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { use Traits\ArgumentTrait; use Traits\AutowireTrait; @@ -31,7 +31,7 @@ class InlineServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\ private $id = '[inline]'; private $allowParent = \true; private $path = null; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) { $this->definition = $definition; } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php index 788bb8395dd..4940d735a6c 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/InstanceofConfigurator.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class InstanceofConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class InstanceofConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AutowireTrait; use Traits\BindTrait; @@ -27,7 +27,7 @@ class InstanceofConfigurator extends \RectorPrefix20211129\Symfony\Component\Dep use Traits\TagTrait; public const FACTORY = 'instanceof'; private $path; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $path = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, string $id, string $path = null) { parent::__construct($parent, $definition, $id, []); $this->path = $path; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php index af411b81055..85c6b76839e 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ParametersConfigurator.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; /** * @author Nicolas Grekas */ -class ParametersConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ParametersConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'parameters'; private $container; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container) { $this->container = $container; } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php index c587171b9cb..7ff0e93d190 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/PrototypeConfigurator.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @author Nicolas Grekas */ -class PrototypeConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class PrototypeConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AbstractTrait; use Traits\ArgumentTrait; @@ -37,9 +37,9 @@ class PrototypeConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe private $resource; private $excludes; private $allowParent; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $defaults, string $namespace, string $resource, bool $allowParent) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $defaults, string $namespace, string $resource, bool $allowParent) { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); if (!$defaults->isPublic() || !$defaults->isPrivate()) { $definition->setPublic($defaults->isPublic()); } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php index 061987f1966..e80997793d9 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ReferenceConfigurator.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; /** * @author Nicolas Grekas */ -class ReferenceConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ReferenceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { /** @internal */ protected $id; /** @internal */ - protected $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + protected $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; public function __construct(string $id) { $this->id = $id; @@ -29,7 +29,7 @@ class ReferenceConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe */ public final function ignoreOnInvalid() : self { - $this->invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $this->invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; return $this; } /** @@ -37,7 +37,7 @@ class ReferenceConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe */ public final function nullOnInvalid() : self { - $this->invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $this->invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; return $this; } /** @@ -45,7 +45,7 @@ class ReferenceConfigurator extends \RectorPrefix20211129\Symfony\Component\Depe */ public final function ignoreOnUninitialized() : self { - $this->invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $this->invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; return $this; } /** diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php index aec4ef41d0d..4a675f78cd8 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ServiceConfigurator.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; /** * @author Nicolas Grekas */ -class ServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator +class ServiceConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractServiceConfigurator { use Traits\AbstractTrait; use Traits\ArgumentTrait; @@ -42,7 +42,7 @@ class ServiceConfigurator extends \RectorPrefix20211129\Symfony\Component\Depend private $allowParent; private $path; private $destructed = \false; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $instanceof, bool $allowParent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, array $defaultTags, string $path = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, array $instanceof, bool $allowParent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $parent, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, ?string $id, array $defaultTags, string $path = null) { $this->container = $container; $this->instanceof = $instanceof; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php b/vendor/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php index f59503f46ce..a77d60fd202 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/ServicesConfigurator.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader; /** * @author Nicolas Grekas */ -class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator +class ServicesConfigurator extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator { public const FACTORY = 'services'; private $defaults; @@ -30,32 +30,32 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen private $path; private $anonymousHash; private $anonymousCount; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path = null, int &$anonymousCount = 0) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader $loader, array &$instanceof, string $path = null, int &$anonymousCount = 0) { - $this->defaults = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $this->defaults = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); $this->container = $container; $this->loader = $loader; $this->instanceof =& $instanceof; $this->path = $path; - $this->anonymousHash = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path ?: \mt_rand()); + $this->anonymousHash = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path ?: \mt_rand()); $this->anonymousCount =& $anonymousCount; $instanceof = []; } /** * Defines a set of defaults for following service definitions. */ - public final function defaults() : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator + public final function defaults() : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator($this, $this->defaults = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(), $this->path); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator($this, $this->defaults = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(), $this->path); } /** * Defines an instanceof-conditional to be applied to following service definitions. * @param string $fqcn */ - public final function instanceof($fqcn) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator + public final function instanceof($fqcn) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator { - $this->instanceof[$fqcn] = $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition(''); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator($this, $definition, $fqcn, $this->path); + $this->instanceof[$fqcn] = $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition(''); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator($this, $definition, $fqcn, $this->path); } /** * Registers a service. @@ -66,7 +66,7 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen public final function set($id, $class = null) : \Rector\Core\DependencyInjection\Loader\Configurator\RectorServiceConfigurator { $defaults = $this->defaults; - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); if (null === $id) { if (!$class) { throw new \LogicException('Anonymous services must have a class name.'); @@ -85,6 +85,8 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen } /** * Removes an already defined service definition or alias. + * + * @return $this * @param string $id */ public final function remove($id) : self @@ -98,24 +100,24 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen * @param string $id * @param string $referencedId */ - public final function alias($id, $referencedId) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function alias($id, $referencedId) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { $ref = static::processValue($referencedId, \true); - $alias = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias((string) $ref); + $alias = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias((string) $ref); if (!$this->defaults->isPublic() || !$this->defaults->isPrivate()) { $alias->setPublic($this->defaults->isPublic()); } $this->container->setAlias($id, $alias); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator($this, $alias); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator($this, $alias); } /** * Registers a PSR-4 namespace using a glob pattern. * @param string $namespace * @param string $resource */ - public final function load($namespace, $resource) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator + public final function load($namespace, $resource) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator($this, $this->loader, $this->defaults, $namespace, $resource, \true); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\PrototypeConfigurator($this, $this->loader, $this->defaults, $namespace, $resource, \true); } /** * Gets an already defined service definition. @@ -123,10 +125,10 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen * @throws ServiceNotFoundException if the service definition does not exist * @param string $id */ - public final function get($id) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function get($id) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { $definition = $this->container->getDefinition($id); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator($this->container, $definition->getInstanceofConditionals(), \true, $this, $definition, $id, []); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator($this->container, $definition->getInstanceofConditionals(), \true, $this, $definition, $id, []); } /** * Registers a stack of decorator services. @@ -134,10 +136,10 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen * @param InlineServiceConfigurator[]|ReferenceConfigurator[] $services * @param string $id */ - public final function stack($id, $services) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator + public final function stack($id, $services) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AliasConfigurator { foreach ($services as $i => $service) { - if ($service instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { + if ($service instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator) { $definition = $service->definition->setInstanceofConditionals($this->instanceof); $changes = $definition->getChanges(); $definition->setAutowired((isset($changes['autowired']) ? $definition : $this->defaults)->isAutowired()); @@ -145,8 +147,8 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen $definition->setBindings(\array_merge($this->defaults->getBindings(), $definition->getBindings())); $definition->setChanges($changes); $services[$i] = $definition; - } elseif (!$service instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s()" expects a list of definitions as returned by "%s()" or "%s()", "%s" given at index "%s" for service "%s".', __METHOD__, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator::FACTORY, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator::FACTORY, $service instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator ? $service::FACTORY . '()' : \get_debug_type($service), $i, $id)); + } elseif (!$service instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"%s()" expects a list of definitions as returned by "%s()" or "%s()", "%s" given at index "%s" for service "%s".', __METHOD__, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator::FACTORY, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator::FACTORY, $service instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\AbstractConfigurator ? $service::FACTORY . '()' : \get_debug_type($service), $i, $id)); } } $alias = $this->alias($id, ''); @@ -156,7 +158,7 @@ class ServicesConfigurator extends \RectorPrefix20211129\Symfony\Component\Depen /** * Registers a service. */ - public final function __invoke(string $id, string $class = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator + public final function __invoke(string $id, string $class = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServiceConfigurator { return $this->set($id, $class); } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php index d0af4fe2690..12b36a7f89a 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AbstractTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait AbstractTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php index 6a37cfe8b25..b0f6baed82d 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ArgumentTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait ArgumentTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php index f51e33e99b9..1c5a23b516e 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutoconfigureTrait.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait AutoconfigureTrait { /** diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php index 5d8d1cfff4a..a949242a86b 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/AutowireTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait AutowireTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php index a4171e96cef..27d02edc344 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/BindTrait.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; trait BindTrait { /** @@ -32,12 +32,12 @@ trait BindTrait public final function bind($nameOrFqcn, $valueOrRef) : self { $valueOrRef = static::processValue($valueOrRef, \true); - if (!\preg_match('/^(?:(?:array|bool|float|int|string|iterable)[ \\t]*+)?\\$/', $nameOrFqcn) && !$valueOrRef instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid binding for service "%s": named arguments must start with a "$", and FQCN must map to references. Neither applies to binding "%s".', $this->id, $nameOrFqcn)); + if (!\preg_match('/^(?:(?:array|bool|float|int|string|iterable)[ \\t]*+)?\\$/', $nameOrFqcn) && !$valueOrRef instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid binding for service "%s": named arguments must start with a "$", and FQCN must map to references. Neither applies to binding "%s".', $this->id, $nameOrFqcn)); } $bindings = $this->definition->getBindings(); - $type = $this instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING : ($this instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING); - $bindings[$nameOrFqcn] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($valueOrRef, \true, $type, $this->path ?? null); + $type = $this instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\DefaultsConfigurator ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING : ($this instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InstanceofConfigurator ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING); + $bindings[$nameOrFqcn] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($valueOrRef, \true, $type, $this->path ?? null); $this->definition->setBindings($bindings); return $this; } diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php index 0fa5e7a30bf..48ed2709c6a 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/CallTrait.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait CallTrait { /** diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php index e5a866f05e8..63c223ad13a 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ClassTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait ClassTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php index d010d3faf4a..f13e7c0977a 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ConfiguratorTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait ConfiguratorTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php index 972555d0548..a43faa24cac 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DecorateTrait.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait DecorateTrait { /** @@ -26,7 +26,7 @@ trait DecorateTrait * @param int $priority * @param int $invalidBehavior */ - public final function decorate($id, $renamedId = null, $priority = 0, $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) : self + public final function decorate($id, $renamedId = null, $priority = 0, $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) : self { $this->definition->setDecoratedService($id, $renamedId, $priority, $invalidBehavior); return $this; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php index 1ef2e077f32..29857867390 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/DeprecateTrait.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait DeprecateTrait { /** diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php index 69bb4b5335a..3ed3b2a16bb 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FactoryTrait.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; trait FactoryTrait { /** @@ -25,7 +25,7 @@ trait FactoryTrait { if (\is_string($factory) && 1 === \substr_count($factory, ':')) { $factoryParts = \explode(':', $factory); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid factory "%s": the "service:method" notation is not available when using PHP-based DI configuration. Use "[service(\'%s\'), \'%s\']" instead.', $factory, $factoryParts[0], $factoryParts[1])); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid factory "%s": the "service:method" notation is not available when using PHP-based DI configuration. Use "[service(\'%s\'), \'%s\']" instead.', $factory, $factoryParts[0], $factoryParts[1])); } $this->definition->setFactory(static::processValue($factory, \true)); return $this; diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php index 5220f60f14e..d7ae09a23c7 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/FileTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait FileTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php index b2b82d3c6e0..fdf6ea36928 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/LazyTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait LazyTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php index a5a091adf10..ca14dc3c877 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ParentTrait.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait ParentTrait { /** @@ -25,9 +25,9 @@ trait ParentTrait public final function parent($parent) : self { if (!$this->allowParent) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A parent cannot be defined when either "_instanceof" or "_defaults" are also defined for service prototype "%s".', $this->id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A parent cannot be defined when either "_instanceof" or "_defaults" are also defined for service prototype "%s".', $this->id)); } - if ($this->definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { + if ($this->definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { $this->definition->setParent($parent); } else { // cast Definition to ChildDefinition diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php index 9f063caf783..bcc7df757fe 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PropertyTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait PropertyTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php index 75dcf8081b1..f0c0cd708b2 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/PublicTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait PublicTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php index 5d5991b9c2c..c78e292330b 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/ShareTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait ShareTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php index e8bf3eb0790..644e094a4ac 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/SyntheticTrait.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; trait SyntheticTrait { diff --git a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php index 928f9633468..186d4199fd1 100644 --- a/vendor/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php +++ b/vendor/symfony/dependency-injection/Loader/Configurator/Traits/TagTrait.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\Traits; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; trait TagTrait { /** @@ -23,11 +23,11 @@ trait TagTrait public final function tag($name, $attributes = []) : self { if ('' === $name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" must be a non-empty string.', $this->id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" must be a non-empty string.', $this->id)); } foreach ($attributes as $attribute => $value) { if (!\is_scalar($value) && null !== $value) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A tag attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $this->id, $name, $attribute)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A tag attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s".', $this->id, $name, $attribute)); } } $this->definition->addTag($name, $attributes); diff --git a/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php b/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php index a75c112a0db..2c70bfff43e 100644 --- a/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php +++ b/vendor/symfony/dependency-injection/Loader/DirectoryLoader.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; /** * DirectoryLoader is a recursive loader to go through directories. * * @author Sebastien Lavoie */ -class DirectoryLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class DirectoryLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} @@ -36,6 +36,7 @@ class DirectoryLoader extends \RectorPrefix20211129\Symfony\Component\Dependency $this->import($dir, null, \false, $path); } } + return null; } /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Loader/FileLoader.php b/vendor/symfony/dependency-injection/Loader/FileLoader.php index f31b26294b4..08ce20a0439 100644 --- a/vendor/symfony/dependency-injection/Loader/FileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/FileLoader.php @@ -8,26 +8,26 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; -use RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException; -use RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20211129\Symfony\Component\Config\Loader\FileLoader as BaseFileLoader; -use RectorPrefix20211129\Symfony\Component\Config\Loader\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\When; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException; +use RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20211130\Symfony\Component\Config\Loader\FileLoader as BaseFileLoader; +use RectorPrefix20211130\Symfony\Component\Config\Loader\Loader; +use RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\When; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * FileLoader is the abstract class used by all built-in loaders that are file based. * * @author Fabien Potencier */ -abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config\Loader\FileLoader +abstract class FileLoader extends \RectorPrefix20211130\Symfony\Component\Config\Loader\FileLoader { public const ANONYMOUS_ID_REGEXP = '/^\\.\\d+_[^~]*+~[._a-zA-Z\\d]{7}$/'; protected $container; @@ -36,7 +36,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config protected $interfaces = []; protected $singlyImplemented = []; protected $autoRegisterAliasesForSinglyImplementedInterfaces = \true; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null) { $this->container = $container; parent::__construct($locator, $env); @@ -57,13 +57,13 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config throw new \TypeError(\sprintf('Invalid argument $ignoreErrors provided to "%s::import()": boolean or "not_found" expected, "%s" given.', static::class, \get_debug_type($ignoreErrors))); } try { - parent::import(...$args); - } catch (\RectorPrefix20211129\Symfony\Component\Config\Exception\LoaderLoadException $e) { - if (!$ignoreNotFound || !($prev = $e->getPrevious()) instanceof \RectorPrefix20211129\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException) { + return parent::import(...$args); + } catch (\RectorPrefix20211130\Symfony\Component\Config\Exception\LoaderLoadException $e) { + if (!$ignoreNotFound || !($prev = $e->getPrevious()) instanceof \RectorPrefix20211130\Symfony\Component\Config\Exception\FileLocatorFileNotFoundException) { throw $e; } foreach ($prev->getTrace() as $frame) { - if ('import' === ($frame['function'] ?? null) && \is_a($frame['class'] ?? '', \RectorPrefix20211129\Symfony\Component\Config\Loader\Loader::class, \true)) { + if ('import' === ($frame['function'] ?? null) && \is_a($frame['class'] ?? '', \RectorPrefix20211130\Symfony\Component\Config\Loader\Loader::class, \true)) { break; } } @@ -71,6 +71,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config throw $e; } } + return null; } /** * Registers a set of classes as services using PSR-4 for discovery. @@ -83,12 +84,12 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config public function registerClasses($prototype, $namespace, $resource, $exclude = null) { if (\substr_compare($namespace, '\\', -\strlen('\\')) !== 0) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace prefix must end with a "\\": "%s".', $namespace)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace prefix must end with a "\\": "%s".', $namespace)); } if (!\preg_match('/^(?:[a-zA-Z_\\x7f-\\xff][a-zA-Z0-9_\\x7f-\\xff]*+\\\\)++$/', $namespace)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace is not a valid PSR-4 prefix: "%s".', $namespace)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Namespace is not a valid PSR-4 prefix: "%s".', $namespace)); } - $autoconfigureAttributes = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(); + $autoconfigureAttributes = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass(); $autoconfigureAttributes = $autoconfigureAttributes->accept($prototype) ? $autoconfigureAttributes : null; $classes = $this->findClasses($namespace, $resource, (array) $exclude, $autoconfigureAttributes); // prepare for deep cloning @@ -97,7 +98,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config if (null === $errorMessage && $autoconfigureAttributes && $this->env) { $r = $this->container->getReflectionClass($class); $attribute = null; - foreach ($r->getAttributes(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { + foreach ($r->getAttributes(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { if ($this->env === $attribute->newInstance()->env) { $attribute = null; break; @@ -142,15 +143,15 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config { $this->container->removeBindings($id); if ($this->isLoadingInstanceof) { - if (!$definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type definition "%s": ChildDefinition expected, "%s" given.', $id, \get_debug_type($definition))); + if (!$definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid type definition "%s": ChildDefinition expected, "%s" given.', $id, \get_debug_type($definition))); } $this->instanceof[$id] = $definition; } else { $this->container->setDefinition($id, $definition->setInstanceofConditionals($this->instanceof)); } } - private function findClasses(string $namespace, string $pattern, array $excludePatterns, ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass $autoconfigureAttributes) : array + private function findClasses(string $namespace, string $pattern, array $excludePatterns, ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\Compiler\RegisterAutoconfigureAttributesPass $autoconfigureAttributes) : array { $parameterBag = $this->container->getParameterBag(); $excludePaths = []; @@ -173,7 +174,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config if (null === $prefixLen) { $prefixLen = \strlen($resource->getPrefix()); if ($excludePrefix && \strncmp($excludePrefix, $resource->getPrefix(), \strlen($resource->getPrefix())) !== 0) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid "exclude" pattern when importing classes for "%s": make sure your "exclude" pattern (%s) is a subset of the "resource" pattern (%s).', $namespace, $excludePattern, $pattern)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid "exclude" pattern when importing classes for "%s": make sure your "exclude" pattern (%s) is a subset of the "resource" pattern (%s).', $namespace, $excludePattern, $pattern)); } } if (isset($excludePaths[\str_replace('\\', '/', $path)])) { @@ -194,7 +195,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config } // check to make sure the expected class exists if (!$r) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Expected to find class "%s" in file "%s" while importing services from resource "%s", but it was not found! Check the namespace prefix used with the resource.', $class, $path, $pattern)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Expected to find class "%s" in file "%s" while importing services from resource "%s", but it was not found! Check the namespace prefix used with the resource.', $class, $path, $pattern)); } if ($r->isInstantiable() || $r->isInterface()) { $classes[$class] = null; @@ -204,7 +205,7 @@ abstract class FileLoader extends \RectorPrefix20211129\Symfony\Component\Config } } // track only for new & removed files - if ($resource instanceof \RectorPrefix20211129\Symfony\Component\Config\Resource\GlobResource) { + if ($resource instanceof \RectorPrefix20211130\Symfony\Component\Config\Resource\GlobResource) { $this->container->addResource($resource); } else { foreach ($resource as $path) { diff --git a/vendor/symfony/dependency-injection/Loader/GlobFileLoader.php b/vendor/symfony/dependency-injection/Loader/GlobFileLoader.php index 918c082a98b..809b86511d5 100644 --- a/vendor/symfony/dependency-injection/Loader/GlobFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/GlobFileLoader.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; /** * GlobFileLoader loads files from a glob pattern. * * @author Nicolas Grekas */ -class GlobFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class GlobFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} @@ -27,6 +27,7 @@ class GlobFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $this->import($path); } $this->container->addResource($globResource); + return null; } /** * {@inheritdoc} diff --git a/vendor/symfony/dependency-injection/Loader/IniFileLoader.php b/vendor/symfony/dependency-injection/Loader/IniFileLoader.php index 5e607b9931d..d1d46ed837d 100644 --- a/vendor/symfony/dependency-injection/Loader/IniFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/IniFileLoader.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; /** * IniFileLoader loads parameters from INI files. * * @author Fabien Potencier */ -class IniFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class IniFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { /** * {@inheritdoc} @@ -30,7 +30,7 @@ class IniFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn // first pass to catch parsing errors $result = \parse_ini_file($path, \true); if (\false === $result || [] === $result) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" file is not valid.', $resource)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "%s" file is not valid.', $resource)); } // real raw parsing $result = \parse_ini_file($path, \true, \INI_SCANNER_RAW); @@ -44,6 +44,7 @@ class IniFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $this->container->setParameter($key, $this->phpize($value)); } } + return null; } /** * {@inheritdoc} @@ -84,7 +85,7 @@ class IniFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn // quoted string return \substr($value, 1, -1); default: - return \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($value); + return \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($value); } } } diff --git a/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php b/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php index 4fe74bf235b..b19e9d7cf58 100644 --- a/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/PhpFileLoader.php @@ -8,18 +8,18 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderGenerator; -use RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface; -use RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderInterface; -use RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\When; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Container; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderGenerator; +use RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface; +use RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderInterface; +use RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\When; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator; /** * PhpFileLoader loads service definitions from a PHP file. @@ -29,11 +29,11 @@ use Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigura * * @author Fabien Potencier */ -class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class PhpFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { protected $autoRegisterAliasesForSinglyImplementedInterfaces = \false; private $generator; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211129\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null, \RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface $generator = null) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $container, \RectorPrefix20211130\Symfony\Component\Config\FileLocatorInterface $locator, string $env = null, \RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderGeneratorInterface $generator = null) { parent::__construct($container, $locator, $env); $this->generator = $generator; @@ -53,7 +53,7 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn // the closure forbids access to the private scope in the included file $load = \Closure::bind(function ($path, $env) use($container, $loader, $resource, $type) { return include $path; - }, $this, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\ProtectedPhpFileLoader::class); + }, $this, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\ProtectedPhpFileLoader::class); try { $callback = $load($path, $this->env); if (\is_object($callback) && \is_callable($callback)) { @@ -63,6 +63,7 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $this->instanceof = []; $this->registerAliasesForSinglyImplementedInterfaces(); } + return null; } /** * {@inheritdoc} @@ -91,7 +92,7 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $r = new \ReflectionFunction($callback); if (\PHP_VERSION_ID >= 80000) { $attribute = null; - foreach ($r->getAttributes(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { + foreach ($r->getAttributes(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Attribute\When::class) as $attribute) { if ($this->env === $attribute->newInstance()->env) { $attribute = null; break; @@ -104,24 +105,24 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn foreach ($r->getParameters() as $parameter) { $reflectionType = $parameter->getType(); if (!$reflectionType instanceof \ReflectionNamedType) { - throw new \InvalidArgumentException(\sprintf('Could not resolve argument "$%s" for "%s". You must typehint it (for example with "%s" or "%s").', $parameter->getName(), $path, \Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::class, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::class)); + throw new \InvalidArgumentException(\sprintf('Could not resolve argument "$%s" for "%s". You must typehint it (for example with "%s" or "%s").', $parameter->getName(), $path, \Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::class, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::class)); } $type = $reflectionType->getName(); switch ($type) { case \Symfony\Component\DependencyInjection\Loader\Configurator\ContainerConfigurator::class: $arguments[] = $containerConfigurator; break; - case \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::class: + case \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::class: $arguments[] = $this->container; break; - case \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader::class: + case \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader::class: case self::class: $arguments[] = $this; break; default: try { $configBuilder = $this->configBuilder($type); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException|\LogicException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException|\LogicException $e) { throw new \InvalidArgumentException(\sprintf('Could not resolve argument "%s" for "%s".', $type . ' $' . $parameter->getName(), $path), 0, $e); } $configBuilders[] = $configBuilder; @@ -139,36 +140,36 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn /** * @param string $namespace FQCN string for a class implementing ConfigBuilderInterface */ - private function configBuilder(string $namespace) : \RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderInterface + private function configBuilder(string $namespace) : \RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderInterface { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderGenerator::class)) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderGenerator::class)) { throw new \LogicException('You cannot use the config builder as the Config component is not installed. Try running "composer require symfony/config".'); } if (null === $this->generator) { throw new \LogicException('You cannot use the ConfigBuilders without providing a class implementing ConfigBuilderGeneratorInterface.'); } // If class exists and implements ConfigBuilderInterface - if (\class_exists($namespace) && \is_subclass_of($namespace, \RectorPrefix20211129\Symfony\Component\Config\Builder\ConfigBuilderInterface::class)) { + if (\class_exists($namespace) && \is_subclass_of($namespace, \RectorPrefix20211130\Symfony\Component\Config\Builder\ConfigBuilderInterface::class)) { return new $namespace(); } // If it does not start with Symfony\Config\ we dont know how to handle this if ('Symfony\\Config\\' !== \substr($namespace, 0, 15)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Could not find or generate class "%s".', $namespace)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Could not find or generate class "%s".', $namespace)); } // Try to get the extension alias - $alias = \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::underscore(\substr($namespace, 15, -6)); + $alias = \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::underscore(\substr($namespace, 15, -6)); if (\false !== \strpos($alias, '\\')) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You can only use "root" ConfigBuilders from "Symfony\\Config\\" namespace. Nested classes like "Symfony\\Config\\Framework\\CacheConfig" cannot be used.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You can only use "root" ConfigBuilders from "Symfony\\Config\\" namespace. Nested classes like "Symfony\\Config\\Framework\\CacheConfig" cannot be used.'); } if (!$this->container->hasExtension($alias)) { - $extensions = \array_filter(\array_map(function (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensions = \array_filter(\array_map(function (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s". Looked for namespace "%s", found "%s".', $namespace, $alias, $extensions ? \implode('", "', $extensions) : 'none')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s". Looked for namespace "%s", found "%s".', $namespace, $alias, $extensions ? \implode('", "', $extensions) : 'none')); } $extension = $this->container->getExtension($alias); - if (!$extension instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface) { - throw new \LogicException(\sprintf('You cannot use the config builder for "%s" because the extension does not implement "%s".', $namespace, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface::class)); + if (!$extension instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface) { + throw new \LogicException(\sprintf('You cannot use the config builder for "%s" because the extension does not implement "%s".', $namespace, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ConfigurationExtensionInterface::class)); } $configuration = $extension->getConfiguration([], $this->container); $loader = $this->generator->build($configuration); @@ -178,6 +179,6 @@ class PhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn /** * @internal */ -final class ProtectedPhpFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\PhpFileLoader +final class ProtectedPhpFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\PhpFileLoader { } diff --git a/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php b/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php index d66a7c2c666..394c60a167d 100644 --- a/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/XmlFileLoader.php @@ -8,31 +8,31 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; /** * XmlFileLoader loads XML files service definitions. * * @author Fabien Potencier */ -class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class XmlFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { public const NS = 'http://symfony.com/schema/dic/services'; protected $autoRegisterAliasesForSinglyImplementedInterfaces = \false; @@ -59,6 +59,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn } } } + return null; } private function loadXml(\DOMDocument $xml, string $path, \DOMNode $root = null) : void { @@ -109,10 +110,10 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $defaultDirectory = \dirname($file); foreach ($imports as $import) { $this->setCurrentDir($defaultDirectory); - $this->import($import->getAttribute('resource'), \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('type')) ?: null, \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('ignore-errors')) ?: \false, $file); + $this->import($import->getAttribute('resource'), \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('type')) ?: null, \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($import->getAttribute('ignore-errors')) ?: \false, $file); } } - private function parseDefinitions(\DOMDocument $xml, string $file, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $defaults, \DOMNode $root = null) + private function parseDefinitions(\DOMDocument $xml, string $file, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $defaults, \DOMNode $root = null) { $xpath = new \DOMXPath($xml); $xpath->registerNamespace('container', self::NS); @@ -124,7 +125,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $this->isLoadingInstanceof = \true; $instanceof = $xpath->query('.//container:services/container:instanceof', $root); foreach ($instanceof as $service) { - $this->setDefinition((string) $service->getAttribute('id'), $this->parseDefinition($service, $file, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition())); + $this->setDefinition((string) $service->getAttribute('id'), $this->parseDefinition($service, $file, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition())); } $this->isLoadingInstanceof = \false; foreach ($services as $service) { @@ -138,7 +139,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $frame->setAttribute('id', $id . '" at index "' . $k); if ($alias = $frame->getAttribute('alias')) { $this->validateAlias($frame, $file); - $stack[$k] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($alias); + $stack[$k] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($alias); } else { $stack[$k] = $this->parseDefinition($frame, $file, $defaults)->setInstanceofConditionals($this->instanceof); } @@ -149,7 +150,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $excludes = \array_column($this->getChildren($service, 'exclude'), 'nodeValue'); if ($service->hasAttribute('exclude')) { if (\count($excludes) > 0) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot use both the attribute "exclude" and tags at the same time.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException('You cannot use both the attribute "exclude" and tags at the same time.'); } $excludes = [$service->getAttribute('exclude')]; } @@ -160,26 +161,26 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn } } } - private function getServiceDefaults(\DOMDocument $xml, string $file, \DOMNode $root = null) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function getServiceDefaults(\DOMDocument $xml, string $file, \DOMNode $root = null) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { $xpath = new \DOMXPath($xml); $xpath->registerNamespace('container', self::NS); if (null === ($defaultsNode = $xpath->query('.//container:services/container:defaults', $root)->item(0))) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); } $defaultsNode->setAttribute('id', ''); - return $this->parseDefinition($defaultsNode, $file, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition()); + return $this->parseDefinition($defaultsNode, $file, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition()); } /** * Parses an individual Definition. */ - private function parseDefinition(\DOMElement $service, string $file, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $defaults) : ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function parseDefinition(\DOMElement $service, string $file, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $defaults) : ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { if ($alias = $service->getAttribute('alias')) { $this->validateAlias($service, $file); - $this->container->setAlias((string) $service->getAttribute('id'), $alias = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias($alias)); + $this->container->setAlias($service->getAttribute('id'), $alias = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias($alias)); if ($publicAttr = $service->getAttribute('public')) { - $alias->setPublic(\RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($publicAttr)); + $alias->setPublic(\RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($publicAttr)); } elseif ($defaults->getChanges()['public'] ?? \false) { $alias->setPublic($defaults->isPublic()); } @@ -198,11 +199,11 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn return null; } if ($this->isLoadingInstanceof) { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition(''); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition(''); } elseif ($parent = $service->getAttribute('parent')) { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition($parent); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition($parent); } else { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); } if ($defaults->getChanges()['public'] ?? \false) { $definition->setPublic($defaults->isPublic()); @@ -213,20 +214,20 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn foreach (['class', 'public', 'shared', 'synthetic', 'abstract'] as $key) { if ($value = $service->getAttribute($key)) { $method = 'set' . $key; - $definition->{$method}($value = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->{$method}($value = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } } if ($value = $service->getAttribute('lazy')) { - $definition->setLazy((bool) ($value = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($value))); + $definition->setLazy((bool) ($value = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($value))); if (\is_string($value)) { $definition->addTag('proxy', ['interface' => $value]); } } if ($value = $service->getAttribute('autowire')) { - $definition->setAutowired(\RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->setAutowired(\RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } if ($value = $service->getAttribute('autoconfigure')) { - $definition->setAutoconfigured(\RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($value)); + $definition->setAutoconfigured(\RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($value)); } if ($files = $this->getChildren($service, 'file')) { $definition->setFile($files[0]->nodeValue); @@ -243,7 +244,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn } $definition->setDeprecated($package, $version, $message); } - $definition->setArguments($this->getArgumentsAsPhp($service, 'argument', $file, $definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition)); + $definition->setArguments($this->getArgumentsAsPhp($service, 'argument', $file, $definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition)); $definition->setProperties($this->getArgumentsAsPhp($service, 'property', $file)); if ($factories = $this->getChildren($service, 'factory')) { $factory = $factories[0]; @@ -251,7 +252,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $definition->setFactory($function); } else { if ($childService = $factory->getAttribute('service')) { - $class = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $class = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); } else { $class = $factory->hasAttribute('class') ? $factory->getAttribute('class') : null; } @@ -264,7 +265,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $definition->setConfigurator($function); } else { if ($childService = $configurator->getAttribute('service')) { - $class = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); + $class = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($childService, \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE); } else { $class = $configurator->getAttribute('class'); } @@ -272,7 +273,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn } } foreach ($this->getChildren($service, 'call') as $call) { - $definition->addMethodCall($call->getAttribute('method'), $this->getArgumentsAsPhp($call, 'argument', $file), \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($call->getAttribute('returns-clone'))); + $definition->addMethodCall($call->getAttribute('method'), $this->getArgumentsAsPhp($call, 'argument', $file), \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($call->getAttribute('returns-clone'))); } $tags = $this->getChildren($service, 'tag'); foreach ($tags as $tag) { @@ -283,21 +284,21 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn continue; } if (\strpos($name, '-') !== \false && \strpos($name, '_') === \false && !\array_key_exists($normalizedName = \str_replace('-', '_', $name), $parameters)) { - $parameters[$normalizedName] = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); + $parameters[$normalizedName] = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); } // keep not normalized key - $parameters[$name] = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); + $parameters[$name] = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($node->nodeValue); } if ('' === $tagName && '' === ($tagName = $tag->getAttribute('name'))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', (string) $service->getAttribute('id'), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', $service->getAttribute('id'), $file)); } $definition->addTag($tagName, $parameters); } $definition->setTags(\array_merge_recursive($definition->getTags(), $defaults->getTags())); $bindings = $this->getArgumentsAsPhp($service, 'bind', $file); - $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; + $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; foreach ($bindings as $argument => $value) { - $bindings[$argument] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); + $bindings[$argument] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); } // deep clone, to avoid multiple process of the same instance in the passes $bindings = \array_merge(\unserialize(\serialize($defaults->getBindings())), $bindings); @@ -307,13 +308,13 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn if ($decorates = $service->getAttribute('decorates')) { $decorationOnInvalid = $service->getAttribute('decoration-on-invalid') ?: 'exception'; if ('exception' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } elseif ('ignore' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif ('null' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration-on-invalid" on service "%s". Did you mean "exception", "ignore" or "null" in "%s"?', $decorationOnInvalid, (string) $service->getAttribute('id'), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration-on-invalid" on service "%s". Did you mean "exception", "ignore" or "null" in "%s"?', $decorationOnInvalid, $service->getAttribute('id'), $file)); } $renameId = $service->hasAttribute('decoration-inner-name') ? $service->getAttribute('decoration-inner-name') : null; $priority = $service->hasAttribute('decoration-priority') ? $service->getAttribute('decoration-priority') : 0; @@ -329,9 +330,9 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn private function parseFileToDOM(string $file) : \DOMDocument { try { - $dom = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::loadFile($file, [$this, 'validateSchema']); + $dom = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::loadFile($file, [$this, 'validateSchema']); } catch (\InvalidArgumentException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unable to parse file "%s": ', $file) . $e->getMessage(), $e->getCode(), $e); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unable to parse file "%s": ', $file) . $e->getMessage(), $e->getCode(), $e); } $this->validateExtensions($dom, $file); return $dom; @@ -343,7 +344,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn { $definitions = []; $count = 0; - $suffix = '~' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::hash($file); + $suffix = '~' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::hash($file); $xpath = new \DOMXPath($xml); $xpath->registerNamespace('container', self::NS); // anonymous services as arguments/properties @@ -365,13 +366,13 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn // anonymous services "in the wild" if (\false !== ($nodes = $xpath->query('.//container:services/container:service[not(@id)]', $root))) { foreach ($nodes as $node) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Top-level services must have "id" attribute, none found in "%s" at line %d.', $file, $node->getLineNo())); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Top-level services must have "id" attribute, none found in "%s" at line %d.', $file, $node->getLineNo())); } } // resolve definitions \uksort($definitions, 'strnatcmp'); foreach (\array_reverse($definitions) as $id => [$domElement, $file]) { - if (null !== ($definition = $this->parseDefinition($domElement, $file, new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition()))) { + if (null !== ($definition = $this->parseDefinition($domElement, $file, new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition()))) { $this->setDefinition($id, $definition); } } @@ -396,26 +397,26 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $key = $arg->getAttribute('key'); } $onInvalid = $arg->getAttribute('on-invalid'); - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; if ('ignore' == $onInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif ('ignore_uninitialized' == $onInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; } elseif ('null' == $onInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } switch ($arg->getAttribute('type')) { case 'service': if ('' === $arg->getAttribute('id')) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service" has no or empty "id" attribute in "%s".', $name, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service" has no or empty "id" attribute in "%s".', $name, $file)); } - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior); break; case 'expression': - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression::class)) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression::class)) { throw new \LogicException('The type="expression" attribute cannot be used without the ExpressionLanguage component. Try running "composer require symfony/expression-language".'); } - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression($arg->nodeValue); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression($arg->nodeValue); break; case 'collection': $arguments[$key] = $this->getArgumentsAsPhp($arg, $name, $file); @@ -423,23 +424,23 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn case 'iterator': $arg = $this->getArgumentsAsPhp($arg, $name, $file); try { - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument($arg); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="iterator" only accepts collections of type="service" references in "%s".', $name, $file)); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument($arg); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="iterator" only accepts collections of type="service" references in "%s".', $name, $file)); } break; case 'service_closure': if ('' === $arg->getAttribute('id')) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service_closure" has no or empty "id" attribute in "%s".', $name, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service_closure" has no or empty "id" attribute in "%s".', $name, $file)); } - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior)); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($arg->getAttribute('id'), $invalidBehavior)); break; case 'service_locator': $arg = $this->getArgumentsAsPhp($arg, $name, $file); try { - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arg); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service_locator" only accepts maps of type="service" references in "%s".', $name, $file)); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arg); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="service_locator" only accepts maps of type="service" references in "%s".', $name, $file)); } break; case 'tagged': @@ -448,21 +449,21 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $type = $arg->getAttribute('type'); $forLocator = 'tagged_locator' === $type; if (!$arg->getAttribute('tag')) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="%s" has no or empty "tag" attribute in "%s".', $name, $type, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="%s" has no or empty "tag" attribute in "%s".', $name, $type, $file)); } - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($arg->getAttribute('tag'), $arg->getAttribute('index-by') ?: null, $arg->getAttribute('default-index-method') ?: null, $forLocator, $arg->getAttribute('default-priority-method') ?: null); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($arg->getAttribute('tag'), $arg->getAttribute('index-by') ?: null, $arg->getAttribute('default-index-method') ?: null, $forLocator, $arg->getAttribute('default-priority-method') ?: null); if ($forLocator) { - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments[$key]); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($arguments[$key]); } break; case 'binary': if (\false === ($value = \base64_decode($arg->nodeValue))) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="binary" is not a valid base64 encoded string.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "<%s>" with type="binary" is not a valid base64 encoded string.', $name)); } $arguments[$key] = $value; break; case 'abstract': - $arguments[$key] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument($arg->nodeValue); + $arguments[$key] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument($arg->nodeValue); break; case 'string': $arguments[$key] = $arg->nodeValue; @@ -471,7 +472,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $arguments[$key] = \constant(\trim($arg->nodeValue)); break; default: - $arguments[$key] = \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::phpize($arg->nodeValue); + $arguments[$key] = \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::phpize($arg->nodeValue); } } return $arguments; @@ -512,7 +513,7 @@ class XmlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyIn $ns = $extension->getNamespace(); $path = \str_replace([$ns, \str_replace('http://', 'https://', $ns)], \str_replace('\\', '/', $extension->getXsdValidationBasePath()) . '/', $items[$i + 1]); if (!\is_file($path)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Extension "%s" references a non-existent XSD file "%s".', \get_debug_type($extension), $path)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('Extension "%s" references a non-existent XSD file "%s".', \get_debug_type($extension), $path)); } $schemaLocations[$items[$i]] = $path; } @@ -593,7 +594,7 @@ EOF; { foreach ($alias->attributes as $name => $node) { if (!\in_array($name, ['alias', 'id', 'public'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid attribute "%s" defined for alias "%s" in "%s".', $name, $alias->getAttribute('id'), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid attribute "%s" defined for alias "%s" in "%s".', $name, $alias->getAttribute('id'), $file)); } } foreach ($alias->childNodes as $child) { @@ -601,7 +602,7 @@ EOF; continue; } if (!\in_array($child->localName, ['deprecated'], \true)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid child element "%s" defined for alias "%s" in "%s".', $child->localName, $alias->getAttribute('id'), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid child element "%s" defined for alias "%s" in "%s".', $child->localName, $alias->getAttribute('id'), $file)); } } } @@ -618,10 +619,10 @@ EOF; } // can it be handled by an extension? if (!$this->container->hasExtension($node->namespaceURI)) { - $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getNamespace(); }, $this->container->getExtensions())); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $node->tagName, $file, $node->namespaceURI, $extensionNamespaces ? \implode('", "', $extensionNamespaces) : 'none')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $node->tagName, $file, $node->namespaceURI, $extensionNamespaces ? \implode('", "', $extensionNamespaces) : 'none')); } } } @@ -662,6 +663,6 @@ EOF; */ public static function convertDomElementToArray($element) { - return \RectorPrefix20211129\Symfony\Component\Config\Util\XmlUtils::convertDomElementToArray($element); + return \RectorPrefix20211130\Symfony\Component\Config\Util\XmlUtils::convertDomElementToArray($element); } } diff --git a/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php b/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php index d153ddfeef1..67e010d8c2f 100644 --- a/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php +++ b/vendor/symfony/dependency-injection/Loader/YamlFileLoader.php @@ -8,35 +8,34 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ArgumentInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference; -use RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20211129\Symfony\Component\Yaml\Parser as YamlParser; -use RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue; -use RectorPrefix20211129\Symfony\Component\Yaml\Yaml; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference; +use RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Parser as YamlParser; +use RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20211130\Symfony\Component\Yaml\Yaml; /** * YamlFileLoader loads YAML files service definitions. * * @author Fabien Potencier */ -class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\FileLoader +class YamlFileLoader extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\FileLoader { private const SERVICE_KEYWORDS = ['alias' => 'alias', 'parent' => 'parent', 'class' => 'class', 'shared' => 'shared', 'synthetic' => 'synthetic', 'lazy' => 'lazy', 'public' => 'public', 'abstract' => 'abstract', 'deprecated' => 'deprecated', 'factory' => 'factory', 'file' => 'file', 'arguments' => 'arguments', 'properties' => 'properties', 'configurator' => 'configurator', 'calls' => 'calls', 'tags' => 'tags', 'decorates' => 'decorates', 'decoration_inner_name' => 'decoration_inner_name', 'decoration_priority' => 'decoration_priority', 'decoration_on_invalid' => 'decoration_on_invalid', 'autowire' => 'autowire', 'autoconfigure' => 'autoconfigure', 'bind' => 'bind']; private const PROTOTYPE_KEYWORDS = ['resource' => 'resource', 'namespace' => 'namespace', 'exclude' => 'exclude', 'parent' => 'parent', 'shared' => 'shared', 'lazy' => 'lazy', 'public' => 'public', 'abstract' => 'abstract', 'deprecated' => 'deprecated', 'factory' => 'factory', 'arguments' => 'arguments', 'properties' => 'properties', 'configurator' => 'configurator', 'calls' => 'calls', 'tags' => 'tags', 'autowire' => 'autowire', 'autoconfigure' => 'autoconfigure', 'bind' => 'bind']; @@ -57,13 +56,13 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $this->container->fileExists($path); // empty file if (null === $content) { - return; + return null; } $this->loadContent($content, $path); // per-env configuration if ($this->env && isset($content['when@' . $this->env])) { if (!\is_array($content['when@' . $this->env])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "when@%s" key should contain an array in "%s". Check your YAML syntax.', $this->env, $path)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "when@%s" key should contain an array in "%s". Check your YAML syntax.', $this->env, $path)); } $env = $this->env; $this->env = null; @@ -73,6 +72,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $this->env = $env; } } + return null; } private function loadContent(array $content, string $path) { @@ -81,7 +81,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI // parameters if (isset($content['parameters'])) { if (!\is_array($content['parameters'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "parameters" key should contain an array in "%s". Check your YAML syntax.', $path)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "parameters" key should contain an array in "%s". Check your YAML syntax.', $path)); } foreach ($content['parameters'] as $key => $value) { $this->container->setParameter($key, $this->resolveServices($value, $path, \true)); @@ -91,7 +91,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $this->loadFromExtensions($content); // services $this->anonymousServicesCount = 0; - $this->anonymousServicesSuffix = '~' . \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path); + $this->anonymousServicesSuffix = '~' . \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder::hash($path); $this->setCurrentDir(\dirname($path)); try { $this->parseDefinitions($content, $path); @@ -120,7 +120,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI return; } if (!\is_array($content['imports'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "imports" key should contain an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "imports" key should contain an array in "%s". Check your YAML syntax.', $file)); } $defaultDirectory = \dirname($file); foreach ($content['imports'] as $import) { @@ -128,7 +128,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $import = ['resource' => $import]; } if (!isset($import['resource'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An import should provide a resource in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('An import should provide a resource in "%s". Check your YAML syntax.', $file)); } $this->setCurrentDir($defaultDirectory); $this->import($import['resource'], $import['type'] ?? null, $import['ignore_errors'] ?? \false, $file); @@ -140,22 +140,22 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI return; } if (!\is_array($content['services'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "services" key should contain an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The "services" key should contain an array in "%s". Check your YAML syntax.', $file)); } if (\array_key_exists('_instanceof', $content['services'])) { $instanceof = $content['services']['_instanceof']; unset($content['services']['_instanceof']); if (!\is_array($instanceof)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_instanceof" key must be an array, "%s" given in "%s".', \get_debug_type($instanceof), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_instanceof" key must be an array, "%s" given in "%s".', \get_debug_type($instanceof), $file)); } $this->instanceof = []; $this->isLoadingInstanceof = \true; foreach ($instanceof as $id => $service) { if (!$service || !\is_array($service)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Type definition "%s" must be a non-empty array within "_instanceof" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Type definition "%s" must be a non-empty array within "_instanceof" in "%s". Check your YAML syntax.', $id, $file)); } if (\is_string($service) && \strncmp($service, '@', \strlen('@')) === 0) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Type definition "%s" cannot be an alias within "_instanceof" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Type definition "%s" cannot be an alias within "_instanceof" in "%s". Check your YAML syntax.', $id, $file)); } $this->parseDefinition($id, $service, $file, []); } @@ -177,16 +177,16 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $defaults = $content['services']['_defaults']; unset($content['services']['_defaults']); if (!\is_array($defaults)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_defaults" key must be an array, "%s" given in "%s".', \get_debug_type($defaults), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service "_defaults" key must be an array, "%s" given in "%s".', \get_debug_type($defaults), $file)); } foreach ($defaults as $key => $default) { if (!isset(self::DEFAULTS_KEYWORDS[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" cannot be used to define a default value in "%s". Allowed keys are "%s".', $key, $file, \implode('", "', self::DEFAULTS_KEYWORDS))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" cannot be used to define a default value in "%s". Allowed keys are "%s".', $key, $file, \implode('", "', self::DEFAULTS_KEYWORDS))); } } if (isset($defaults['tags'])) { if (!\is_array($tags = $defaults['tags'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "tags" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "tags" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); } foreach ($tags as $tag) { if (!\is_array($tag)) { @@ -197,27 +197,27 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $tag = \current($tag); } else { if (!isset($tag['name'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry in "_defaults" is missing a "name" key in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry in "_defaults" is missing a "name" key in "%s".', $file)); } $name = $tag['name']; unset($tag['name']); } if (!\is_string($name) || '' === $name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name in "_defaults" must be a non-empty string in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name in "_defaults" must be a non-empty string in "%s".', $file)); } foreach ($tag as $attribute => $value) { if (!\is_scalar($value) && null !== $value) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type in "%s". Check your YAML syntax.', $name, $attribute, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Tag "%s", attribute "%s" in "_defaults" must be of a scalar-type in "%s". Check your YAML syntax.', $name, $attribute, $file)); } } } } if (isset($defaults['bind'])) { if (!\is_array($defaults['bind'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "bind" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "bind" in "_defaults" must be an array in "%s". Check your YAML syntax.', $file)); } foreach ($this->resolveServices($defaults['bind'], $file) as $argument => $value) { - $defaults['bind'][$argument] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING, $file); + $defaults['bind'][$argument] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::DEFAULTS_BINDING, $file); } } return $defaults; @@ -241,10 +241,10 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI private function parseDefinition(string $id, $service, string $file, array $defaults, bool $return = \false) { if (\preg_match('/^_[a-zA-Z0-9_]*$/', $id)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service names that start with an underscore are reserved. Rename the "%s" service or define it in XML instead.', $id)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service names that start with an underscore are reserved. Rename the "%s" service or define it in XML instead.', $id)); } if (\is_string($service) && \strncmp($service, '@', \strlen('@')) === 0) { - $alias = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias(\substr($service, 1)); + $alias = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias(\substr($service, 1)); if (isset($defaults['public'])) { $alias->setPublic($defaults['public']); } @@ -257,11 +257,11 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $service = []; } if (!\is_array($service)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A service definition must be an array or a string starting with "@" but "%s" found for service "%s" in "%s". Check your YAML syntax.', \get_debug_type($service), $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A service definition must be an array or a string starting with "@" but "%s" found for service "%s" in "%s". Check your YAML syntax.', \get_debug_type($service), $id, $file)); } if (isset($service['stack'])) { if (!\is_array($service['stack'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A stack must be an array of definitions, "%s" given for service "%s" in "%s". Check your YAML syntax.', \get_debug_type($service), $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A stack must be an array of definitions, "%s" given for service "%s" in "%s". Check your YAML syntax.', \get_debug_type($service), $id, $file)); } $stack = []; foreach ($service['stack'] as $k => $frame) { @@ -269,24 +269,24 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $frame = ['class' => \key($frame), 'arguments' => \current($frame)]; } if (\is_array($frame) && isset($frame['stack'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service stack "%s" cannot contain another stack in "%s".', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Service stack "%s" cannot contain another stack in "%s".', $id, $file)); } $definition = $this->parseDefinition($id . '" at index "' . $k, $frame, $file, $defaults, \true); - if ($definition instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition) { + if ($definition instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition) { $definition->setInstanceofConditionals($this->instanceof); } $stack[$k] = $definition; } if ($diff = \array_diff(\array_keys($service), ['stack', 'public', 'deprecated'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid attribute "%s"; supported ones are "public" and "deprecated" for service "%s" in "%s". Check your YAML syntax.', \implode('", "', $diff), $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid attribute "%s"; supported ones are "public" and "deprecated" for service "%s" in "%s". Check your YAML syntax.', \implode('", "', $diff), $id, $file)); } $service = ['parent' => '', 'arguments' => $stack, 'tags' => ['container.stack'], 'public' => $service['public'] ?? null, 'deprecated' => $service['deprecated'] ?? null]; } - $definition = isset($service[0]) && $service[0] instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition ? \array_shift($service) : null; + $definition = isset($service[0]) && $service[0] instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition ? \array_shift($service) : null; $return = null === $definition ? $return : \true; $this->checkDefinition($id, $service, $file); if (isset($service['alias'])) { - $alias = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Alias($service['alias']); + $alias = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Alias($service['alias']); if (isset($service['public'])) { $alias->setPublic($service['public']); } elseif (isset($defaults['public'])) { @@ -294,7 +294,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI } foreach ($service as $key => $value) { if (!\in_array($key, ['alias', 'public', 'deprecated'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" is unsupported for the service "%s" which is defined as an alias in "%s". Allowed configuration keys for service aliases are "alias", "public" and "deprecated".', $key, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" is unsupported for the service "%s" which is defined as an alias in "%s". Allowed configuration keys for service aliases are "alias", "public" and "deprecated".', $key, $id, $file)); } if ('deprecated' === $key) { $deprecation = \is_array($value) ? $value : ['message' => $value]; @@ -312,14 +312,14 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI if (null !== $definition) { // no-op } elseif ($this->isLoadingInstanceof) { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition(''); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition(''); } elseif (isset($service['parent'])) { if ('' !== $service['parent'] && '@' === $service['parent'][0]) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "parent" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s").', $id, $service['parent'], \substr($service['parent'], 1))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "parent" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s").', $id, $service['parent'], \substr($service['parent'], 1))); } - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ChildDefinition($service['parent']); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ChildDefinition($service['parent']); } else { - $definition = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition(); + $definition = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition(); } if (isset($defaults['public'])) { $definition->setPublic($defaults['public']); @@ -379,14 +379,14 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI } if (isset($service['calls'])) { if (!\is_array($service['calls'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "calls" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "calls" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } foreach ($service['calls'] as $k => $call) { - if (!\is_array($call) && (!\is_string($k) || !$call instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s": expected map or array, "%s" given in "%s".', $id, $call instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue ? '!' . $call->getTag() : \get_debug_type($call), $file)); + if (!\is_array($call) && (!\is_string($k) || !$call instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s": expected map or array, "%s" given in "%s".', $id, $call instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue ? '!' . $call->getTag() : \get_debug_type($call), $file)); } if (\is_string($k)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s", did you forgot a leading dash before "%s: ..." in "%s"?', $id, $k, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid method call for service "%s", did you forgot a leading dash before "%s: ..." in "%s"?', $id, $k, $file)); } if (isset($call['method']) && \is_string($call['method'])) { $method = $call['method']; @@ -396,9 +396,9 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI if (1 === \count($call) && \is_string(\key($call))) { $method = \key($call); $args = $call[$method]; - if ($args instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($args instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue) { if ('returns_clone' !== $args->getTag()) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s", did you mean "!returns_clone" for service "%s" in "%s"?', $args->getTag(), $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s", did you mean "!returns_clone" for service "%s" in "%s"?', $args->getTag(), $id, $file)); } $returnsClone = \true; $args = $args->getValue(); @@ -406,7 +406,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $returnsClone = \false; } } elseif (empty($call[0])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid call for service "%s": the method must be defined as the first index of an array or as the only key of a map in "%s".', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid call for service "%s": the method must be defined as the first index of an array or as the only key of a map in "%s".', $id, $file)); } else { $method = $call[0]; $args = $call[1] ?? []; @@ -414,7 +414,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI } } if (!\is_array($args)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The second parameter for function call "%s" must be an array of its arguments for service "%s" in "%s". Check your YAML syntax.', $method, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The second parameter for function call "%s" must be an array of its arguments for service "%s" in "%s". Check your YAML syntax.', $method, $id, $file)); } $args = $this->resolveServices($args, $file); $definition->addMethodCall($method, $args, $returnsClone); @@ -422,7 +422,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI } $tags = $service['tags'] ?? []; if (!\is_array($tags)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "tags" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "tags" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } if (isset($defaults['tags'])) { $tags = \array_merge($tags, $defaults['tags']); @@ -436,36 +436,36 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $tag = \current($tag); } else { if (!isset($tag['name'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry is missing a "name" key for service "%s" in "%s".', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" entry is missing a "name" key for service "%s" in "%s".', $id, $file)); } $name = $tag['name']; unset($tag['name']); } if (!\is_string($name) || '' === $name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The tag name for service "%s" in "%s" must be a non-empty string.', $id, $file)); } foreach ($tag as $attribute => $value) { if (!\is_scalar($value) && null !== $value) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s" in "%s". Check your YAML syntax.', $id, $name, $attribute, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "tags" attribute must be of a scalar-type for service "%s", tag "%s", attribute "%s" in "%s". Check your YAML syntax.', $id, $name, $attribute, $file)); } } $definition->addTag($name, $tag); } if (null !== ($decorates = $service['decorates'] ?? null)) { if ('' !== $decorates && '@' === $decorates[0]) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "decorates" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s").', $id, $service['decorates'], \substr($decorates, 1))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "decorates" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s").', $id, $service['decorates'], \substr($decorates, 1))); } $decorationOnInvalid = \array_key_exists('decoration_on_invalid', $service) ? $service['decoration_on_invalid'] : 'exception'; if ('exception' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } elseif ('ignore' === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } elseif (null === $decorationOnInvalid) { - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::NULL_ON_INVALID_REFERENCE; } elseif ('null' === $decorationOnInvalid) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration_on_invalid" on service "%s". Did you mean null (without quotes) in "%s"?', $decorationOnInvalid, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration_on_invalid" on service "%s". Did you mean null (without quotes) in "%s"?', $decorationOnInvalid, $id, $file)); } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration_on_invalid" on service "%s". Did you mean "exception", "ignore" or null in "%s"?', $decorationOnInvalid, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid value "%s" for attribute "decoration_on_invalid" on service "%s". Did you mean "exception", "ignore" or null in "%s"?', $decorationOnInvalid, $id, $file)); } $renameId = $service['decoration_inner_name'] ?? null; $priority = $service['decoration_priority'] ?? 0; @@ -480,13 +480,13 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $bindings += isset($defaults['bind']) ? \unserialize(\serialize($defaults['bind'])) : []; if (isset($service['bind'])) { if (!\is_array($service['bind'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "bind" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "bind" must be an array for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } $bindings = \array_merge($bindings, $this->resolveServices($service['bind'], $file)); - $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; + $bindingType = $this->isLoadingInstanceof ? \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::INSTANCEOF_BINDING : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument::SERVICE_BINDING; foreach ($bindings as $argument => $value) { - if (!$value instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument) { - $bindings[$argument] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); + if (!$value instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument) { + $bindings[$argument] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\BoundArgument($value, \true, $bindingType, $file); } } } @@ -496,17 +496,17 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $definition->setAutoconfigured($service['autoconfigure']); } if (\array_key_exists('namespace', $service) && !\array_key_exists('resource', $service)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "resource" attribute must be set when the "namespace" attribute is set for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "resource" attribute must be set when the "namespace" attribute is set for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } if ($return) { if (\array_key_exists('resource', $service)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid "resource" attribute found for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid "resource" attribute found for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } return $definition; } if (\array_key_exists('resource', $service)) { if (!\is_string($service['resource'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "resource" attribute must be of type string for service "%s" in "%s". Check your YAML syntax.', $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('A "resource" attribute must be of type string for service "%s" in "%s". Check your YAML syntax.', $id, $file)); } $exclude = $service['exclude'] ?? null; $namespace = $service['namespace'] ?? $id; @@ -522,7 +522,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI * * @throws InvalidArgumentException When errors occur * - * @return string|array|Reference A parsed callable + * @return string|array|Reference */ private function parseCallable($callable, string $parameter, string $id, string $file) { @@ -531,7 +531,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI if (\strpos($callable, ':') === \false) { return [$this->resolveServices($callable, $file), '__invoke']; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "%s" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s" in "%s").', $parameter, $id, $callable, \substr($callable, 1), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The value of the "%s" option for the "%s" service must be the id of the service without the "@" prefix (replace "%s" with "%s" in "%s").', $parameter, $id, $callable, \substr($callable, 1), $file)); } return $callable; } @@ -542,36 +542,36 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI if ('factory' === $parameter && isset($callable[1]) && null === $callable[0]) { return $callable; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "%s" must contain an array with two elements for service "%s" in "%s". Check your YAML syntax.', $parameter, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "%s" must contain an array with two elements for service "%s" in "%s". Check your YAML syntax.', $parameter, $id, $file)); } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "%s" must be a string or an array for service "%s" in "%s". Check your YAML syntax.', $parameter, $id, $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Parameter "%s" must be a string or an array for service "%s" in "%s". Check your YAML syntax.', $parameter, $id, $file)); } /** * Loads a YAML file. * - * @return array The file content + * @return array|null * * @throws InvalidArgumentException when the given file is not a local file or when it does not exist * @param string $file */ protected function loadFile($file) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Yaml\Parser::class)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to load YAML config files as the Symfony Yaml Component is not installed.'); + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Yaml\Parser::class)) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException('Unable to load YAML config files as the Symfony Yaml Component is not installed.'); } if (!\stream_is_local($file)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('This is not a local file "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('This is not a local file "%s".', $file)); } if (!\is_file($file)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not exist.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not exist.', $file)); } if (null === $this->yamlParser) { - $this->yamlParser = new \RectorPrefix20211129\Symfony\Component\Yaml\Parser(); + $this->yamlParser = new \RectorPrefix20211130\Symfony\Component\Yaml\Parser(); } try { - $configuration = $this->yamlParser->parseFile($file, \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not contain valid YAML: ', $file) . $e->getMessage(), 0, $e); + $configuration = $this->yamlParser->parseFile($file, \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The file "%s" does not contain valid YAML: ', $file) . $e->getMessage(), 0, $e); } return $this->validate($configuration, $file); } @@ -586,79 +586,77 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI return $content; } if (!\is_array($content)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service file "%s" is not valid. It should contain an array. Check your YAML syntax.', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The service file "%s" is not valid. It should contain an array. Check your YAML syntax.', $file)); } foreach ($content as $namespace => $data) { if (\in_array($namespace, ['imports', 'parameters', 'services']) || 0 === \strpos($namespace, 'when@')) { continue; } if (!$this->container->hasExtension($namespace)) { - $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { + $extensionNamespaces = \array_filter(\array_map(function (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Extension\ExtensionInterface $ext) { return $ext->getAlias(); }, $this->container->getExtensions())); - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $file, $namespace, $extensionNamespaces ? \sprintf('"%s"', \implode('", "', $extensionNamespaces)) : 'none')); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('There is no extension able to load the configuration for "%s" (in "%s"). Looked for namespace "%s", found "%s".', $namespace, $file, $namespace, $extensionNamespaces ? \sprintf('"%s"', \implode('", "', $extensionNamespaces)) : 'none')); } } return $content; } /** - * Resolves services. - * - * @return array|string|Reference|ArgumentInterface + * @return mixed */ private function resolveServices($value, string $file, bool $isParameter = \false) { - if ($value instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue) { $argument = $value->getValue(); if ('iterator' === $value->getTag()) { if (!\is_array($argument)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts sequences in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts sequences in "%s".', $file)); } $argument = $this->resolveServices($argument, $file, $isParameter); try { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\IteratorArgument($argument); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts arrays of "@service" references in "%s".', $file)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\IteratorArgument($argument); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!iterator" tag only accepts arrays of "@service" references in "%s".', $file)); } } if ('service_closure' === $value->getTag()) { $argument = $this->resolveServices($argument, $file, $isParameter); - if (!$argument instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_closure" tag only accepts service references in "%s".', $file)); + if (!$argument instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_closure" tag only accepts service references in "%s".', $file)); } - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($argument); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceClosureArgument($argument); } if ('service_locator' === $value->getTag()) { if (!\is_array($argument)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps in "%s".', $file)); } $argument = $this->resolveServices($argument, $file, $isParameter); try { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps of "@service" references in "%s".', $file)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException $e) { + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!service_locator" tag only accepts maps of "@service" references in "%s".', $file)); } } if (\in_array($value->getTag(), ['tagged', 'tagged_iterator', 'tagged_locator'], \true)) { $forLocator = 'tagged_locator' === $value->getTag(); if (\is_array($argument) && isset($argument['tag']) && $argument['tag']) { if ($diff = \array_diff(\array_keys($argument), ['tag', 'index_by', 'default_index_method', 'default_priority_method'])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!%s" tag contains unsupported key "%s"; supported ones are "tag", "index_by", "default_index_method", and "default_priority_method".', $value->getTag(), \implode('", "', $diff))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!%s" tag contains unsupported key "%s"; supported ones are "tag", "index_by", "default_index_method", and "default_priority_method".', $value->getTag(), \implode('", "', $diff))); } - $argument = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument['tag'], $argument['index_by'] ?? null, $argument['default_index_method'] ?? null, $forLocator, $argument['default_priority_method'] ?? null); + $argument = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument['tag'], $argument['index_by'] ?? null, $argument['default_index_method'] ?? null, $forLocator, $argument['default_priority_method'] ?? null); } elseif (\is_string($argument) && $argument) { - $argument = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument, null, null, $forLocator); + $argument = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\TaggedIteratorArgument($argument, null, null, $forLocator); } else { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!%s" tags only accept a non empty string or an array with a key "tag" in "%s".', $value->getTag(), $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('"!%s" tags only accept a non empty string or an array with a key "tag" in "%s".', $value->getTag(), $file)); } if ($forLocator) { - $argument = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); + $argument = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\ServiceLocatorArgument($argument); } return $argument; } if ('service' === $value->getTag()) { if ($isParameter) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using an anonymous service in a parameter is not allowed in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Using an anonymous service in a parameter is not allowed in "%s".', $file)); } $isLoadingInstanceof = $this->isLoadingInstanceof; $this->isLoadingInstanceof = \false; @@ -667,43 +665,43 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI $id = \sprintf('.%d_%s', ++$this->anonymousServicesCount, \preg_replace('/^.*\\\\/', '', $argument['class'] ?? '') . $this->anonymousServicesSuffix); $this->parseDefinition($id, $argument, $file, []); if (!$this->container->hasDefinition($id)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Creating an alias using the tag "!service" is not allowed in "%s".', $file)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Creating an alias using the tag "!service" is not allowed in "%s".', $file)); } $this->container->getDefinition($id); $this->isLoadingInstanceof = $isLoadingInstanceof; $this->instanceof = $instanceof; - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($id); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($id); } if ('abstract' === $value->getTag()) { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Argument\AbstractArgument($value->getValue()); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Argument\AbstractArgument($value->getValue()); } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s".', $value->getTag())); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Unsupported tag "!%s".', $value->getTag())); } if (\is_array($value)) { foreach ($value as $k => $v) { $value[$k] = $this->resolveServices($v, $file, $isParameter); } } elseif (\is_string($value) && \strncmp($value, '@=', \strlen('@=')) === 0) { - if (!\class_exists(\RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression::class)) { + if (!\class_exists(\RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression::class)) { throw new \LogicException('The "@=" expression syntax cannot be used without the ExpressionLanguage component. Try running "composer require symfony/expression-language".'); } - return new \RectorPrefix20211129\Symfony\Component\ExpressionLanguage\Expression(\substr($value, 2)); + return new \RectorPrefix20211130\Symfony\Component\ExpressionLanguage\Expression(\substr($value, 2)); } elseif (\is_string($value) && \strncmp($value, '@', \strlen('@')) === 0) { if (\strncmp($value, '@@', \strlen('@@')) === 0) { $value = \substr($value, 1); $invalidBehavior = null; } elseif (\strncmp($value, '@!', \strlen('@!')) === 0) { $value = \substr($value, 2); - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE; } elseif (\strncmp($value, '@?', \strlen('@?')) === 0) { $value = \substr($value, 2); - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::IGNORE_ON_INVALID_REFERENCE; } else { $value = \substr($value, 1); - $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; + $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE; } if (null !== $invalidBehavior) { - $value = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($value, $invalidBehavior); + $value = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($value, $invalidBehavior); } } return $value; @@ -731,7 +729,7 @@ class YamlFileLoader extends \RectorPrefix20211129\Symfony\Component\DependencyI } foreach ($definition as $key => $value) { if (!isset($keywords[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" is unsupported for definition "%s" in "%s". Allowed configuration keys are "%s".', $key, $id, $file, \implode('", "', $keywords))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('The configuration key "%s" is unsupported for definition "%s" in "%s". Allowed configuration keys are "%s".', $key, $id, $file, \implode('", "', $keywords))); } } } diff --git a/vendor/symfony/dependency-injection/Parameter.php b/vendor/symfony/dependency-injection/Parameter.php index bedd34af89a..96f5b755683 100644 --- a/vendor/symfony/dependency-injection/Parameter.php +++ b/vendor/symfony/dependency-injection/Parameter.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * Parameter represents a parameter reference. @@ -23,7 +23,7 @@ class Parameter $this->id = $id; } /** - * @return string The parameter key + * @return string */ public function __toString() { diff --git a/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php b/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php index 64874c1d155..d97899a49a5 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php +++ b/vendor/symfony/dependency-injection/ParameterBag/ContainerBag.php @@ -8,16 +8,16 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Container; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Container; /** * @author Nicolas Grekas */ -class ContainerBag extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface +class ContainerBag extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\FrozenParameterBag implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ContainerBagInterface { private $container; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Container $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Container $container) { $this->container = $container; } diff --git a/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php b/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php index c59bc1a432a..364ae0d62d5 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php +++ b/vendor/symfony/dependency-injection/ParameterBag/ContainerBagInterface.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * ContainerBagInterface is the interface implemented by objects that manage service container parameters. * * @author Nicolas Grekas */ -interface ContainerBagInterface extends \RectorPrefix20211129\Psr\Container\ContainerInterface +interface ContainerBagInterface extends \RectorPrefix20211130\Psr\Container\ContainerInterface { /** * Gets the service container parameters. * - * @return array An array of parameters + * @return array */ public function all(); /** diff --git a/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php b/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php index 8f1e565727a..74eb042e9b8 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php +++ b/vendor/symfony/dependency-injection/ParameterBag/EnvPlaceholderParameterBag.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * @author Nicolas Grekas */ -class EnvPlaceholderParameterBag extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag +class EnvPlaceholderParameterBag extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag { private $envPlaceholderUniquePrefix; private $envPlaceholders = []; @@ -43,10 +43,10 @@ class EnvPlaceholderParameterBag extends \RectorPrefix20211129\Symfony\Component } } if (!\preg_match('/^(?:[-.\\w]*+:)*+\\w++$/', $env)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid %s name: only "word" characters are allowed.', $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\InvalidArgumentException(\sprintf('Invalid %s name: only "word" characters are allowed.', $name)); } if ($this->has($name) && null !== ($defaultValue = parent::get($name)) && !\is_string($defaultValue)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The default value of an env() parameter must be a string or null, but "%s" given to "%s".', \get_debug_type($defaultValue), $name)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The default value of an env() parameter must be a string or null, but "%s" given to "%s".', \get_debug_type($defaultValue), $name)); } $uniqueName = \md5($name . '_' . self::$counter++); $placeholder = \sprintf('%s_%s_%s', $this->getEnvPlaceholderUniquePrefix(), \strtr($env, ':-.', '___'), $uniqueName); @@ -133,7 +133,7 @@ class EnvPlaceholderParameterBag extends \RectorPrefix20211129\Symfony\Component parent::resolve(); foreach ($this->envPlaceholders as $env => $placeholders) { if ($this->has($name = "env({$env})") && null !== ($default = $this->parameters[$name]) && !\is_string($default)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The default value of env parameter "%s" must be a string or null, "%s" given.', $env, \get_debug_type($default))); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('The default value of env parameter "%s" must be a string or null, "%s" given.', $env, \get_debug_type($default))); } } } diff --git a/vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php b/vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php index 5a8849270bf..6793be6404f 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php +++ b/vendor/symfony/dependency-injection/ParameterBag/FrozenParameterBag.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; /** * Holds read-only parameters. * * @author Fabien Potencier */ -class FrozenParameterBag extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag +class FrozenParameterBag extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBag { /** * For performance reasons, the constructor assumes that @@ -36,7 +36,7 @@ class FrozenParameterBag extends \RectorPrefix20211129\Symfony\Component\Depende */ public function clear() { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call clear() on a frozen ParameterBag.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call clear() on a frozen ParameterBag.'); } /** * {@inheritdoc} @@ -44,7 +44,7 @@ class FrozenParameterBag extends \RectorPrefix20211129\Symfony\Component\Depende */ public function add($parameters) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call add() on a frozen ParameterBag.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call add() on a frozen ParameterBag.'); } /** * {@inheritdoc} @@ -52,7 +52,7 @@ class FrozenParameterBag extends \RectorPrefix20211129\Symfony\Component\Depende */ public function set($name, $value) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call set() on a frozen ParameterBag.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call set() on a frozen ParameterBag.'); } /** * {@inheritdoc} @@ -60,6 +60,6 @@ class FrozenParameterBag extends \RectorPrefix20211129\Symfony\Component\Depende */ public function remove($name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call remove() on a frozen ParameterBag.'); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException('Impossible to call remove() on a frozen ParameterBag.'); } } diff --git a/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php b/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php index fa5298ca1f5..d761e82beca 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php +++ b/vendor/symfony/dependency-injection/ParameterBag/ParameterBag.php @@ -8,17 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; /** * Holds parameters. * * @author Fabien Potencier */ -class ParameterBag implements \RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface +class ParameterBag implements \RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag\ParameterBagInterface { protected $parameters = []; protected $resolved = \false; @@ -58,7 +58,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency { if (!\array_key_exists($name, $this->parameters)) { if (!$name) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); } $alternatives = []; foreach ($this->parameters as $key => $parameterValue) { @@ -81,7 +81,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency $key = \substr($key, 0, -1 * (1 + \array_pop($namePartsLength))); } } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name, null, null, null, $alternatives, $nonNestedAlternative); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name, null, null, null, $alternatives, $nonNestedAlternative); } return $this->parameters[$name]; } @@ -99,7 +99,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency */ public function has($name) { - return \array_key_exists((string) $name, $this->parameters); + return \array_key_exists($name, $this->parameters); } /** * {@inheritdoc} @@ -122,7 +122,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency try { $value = $this->resolveValue($value); $parameters[$key] = $this->unescapeValue($value); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException $e) { $e->setSourceKey($key); throw $e; } @@ -136,7 +136,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency * @param mixed $value A value * @param array $resolving An array of keys that are being resolved (used internally to detect circular references) * - * @return mixed The resolved value + * @return mixed * * @throws ParameterNotFoundException if a placeholder references a parameter that does not exist * @throws ParameterCircularReferenceException if a circular reference if detected @@ -161,7 +161,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency * * @param array $resolving An array of keys that are being resolved (used internally to detect circular references) * - * @return mixed The resolved string + * @return mixed * * @throws ParameterNotFoundException if a placeholder references a parameter that does not exist * @throws ParameterCircularReferenceException if a circular reference if detected @@ -176,7 +176,7 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency if (\preg_match('/^%([^%\\s]+)%$/', $value, $match)) { $key = $match[1]; if (isset($resolving[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); } $resolving[$key] = \true; return $this->resolved ? $this->get($key) : $this->resolveValue($this->get($key), $resolving); @@ -188,11 +188,11 @@ class ParameterBag implements \RectorPrefix20211129\Symfony\Component\Dependency } $key = $match[1]; if (isset($resolving[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterCircularReferenceException(\array_keys($resolving)); } $resolved = $this->get($key); if (!\is_string($resolved) && !\is_numeric($resolved)) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A string value must be composed of strings and/or numbers, but found parameter "%s" of type "%s" inside string value "%s".', $key, \get_debug_type($resolved), $value)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException(\sprintf('A string value must be composed of strings and/or numbers, but found parameter "%s" of type "%s" inside string value "%s".', $key, \get_debug_type($resolved), $value)); } $resolved = (string) $resolved; $resolving[$key] = \true; diff --git a/vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php b/vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php index 7867df0518d..0715504b46c 100644 --- a/vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php +++ b/vendor/symfony/dependency-injection/ParameterBag/ParameterBagInterface.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection\ParameterBag; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection\ParameterBag; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException; /** * ParameterBagInterface is the interface implemented by objects that manage service container parameters. * @@ -22,20 +22,20 @@ interface ParameterBagInterface /** * Clears all parameters. * - * @throws LogicException if the ParameterBagInterface can not be cleared + * @throws LogicException if the ParameterBagInterface cannot be cleared */ public function clear(); /** * Adds parameters to the service container parameters. * - * @throws LogicException if the parameter can not be added + * @throws LogicException if the parameter cannot be added * @param mixed[] $parameters */ public function add($parameters); /** * Gets the service container parameters. * - * @return array An array of parameters + * @return array */ public function all(); /** @@ -57,14 +57,14 @@ interface ParameterBagInterface * * @param array|bool|string|int|float|null $value The parameter value * - * @throws LogicException if the parameter can not be set + * @throws LogicException if the parameter cannot be set * @param string $name */ public function set($name, $value); /** * Returns true if a parameter name is defined. * - * @return bool true if the parameter name is defined, false otherwise + * @return bool * @param string $name */ public function has($name); diff --git a/vendor/symfony/dependency-injection/Reference.php b/vendor/symfony/dependency-injection/Reference.php index f1cd3f59144..0ad9fee7649 100644 --- a/vendor/symfony/dependency-injection/Reference.php +++ b/vendor/symfony/dependency-injection/Reference.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * Reference represents a service reference. @@ -19,13 +19,13 @@ class Reference { private $id; private $invalidBehavior; - public function __construct(string $id, int $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) + public function __construct(string $id, int $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE) { $this->id = $id; $this->invalidBehavior = $invalidBehavior; } /** - * @return string The service identifier + * @return string */ public function __toString() { diff --git a/vendor/symfony/dependency-injection/ReverseContainer.php b/vendor/symfony/dependency-injection/ReverseContainer.php index 062c5e645af..80452a3a333 100644 --- a/vendor/symfony/dependency-injection/ReverseContainer.php +++ b/vendor/symfony/dependency-injection/ReverseContainer.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Psr\Container\ContainerInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Psr\Container\ContainerInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; /** * Turns public and "container.reversible" services back to their ids. * @@ -23,14 +23,14 @@ final class ReverseContainer private $reversibleLocator; private $tagName; private $getServiceId; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\Container $serviceContainer, \RectorPrefix20211129\Psr\Container\ContainerInterface $reversibleLocator, string $tagName = 'container.reversible') + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\Container $serviceContainer, \RectorPrefix20211130\Psr\Container\ContainerInterface $reversibleLocator, string $tagName = 'container.reversible') { $this->serviceContainer = $serviceContainer; $this->reversibleLocator = $reversibleLocator; $this->tagName = $tagName; $this->getServiceId = \Closure::bind(function ($service) : ?string { return (\array_search($service, $this->services, \true) ?: \array_search($service, $this->privates, \true)) ?: null; - }, $serviceContainer, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container::class); + }, $serviceContainer, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container::class); } /** * Returns the id of the passed object when it exists as a service. @@ -64,7 +64,7 @@ final class ReverseContainer return $this->reversibleLocator->get($id); } if (isset($this->serviceContainer->getRemovedIds()[$id])) { - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service is private and cannot be accessed by reference. You should either make it public, or tag it as "%s".', $id, $this->tagName)); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, null, null, [], \sprintf('The "%s" service is private and cannot be accessed by reference. You should either make it public, or tag it as "%s".', $id, $this->tagName)); } // will throw a ServiceNotFoundException $this->serviceContainer->get($id); diff --git a/vendor/symfony/dependency-injection/ServiceLocator.php b/vendor/symfony/dependency-injection/ServiceLocator.php index 8b3fa1e7ca3..246fce6b794 100644 --- a/vendor/symfony/dependency-injection/ServiceLocator.php +++ b/vendor/symfony/dependency-injection/ServiceLocator.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; -use RectorPrefix20211129\Psr\Container\ContainerExceptionInterface; -use RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceLocatorTrait; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface; -use RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface; +use RectorPrefix20211130\Psr\Container\ContainerExceptionInterface; +use RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceLocatorTrait; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface; +use RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface; /** * @author Robin Chalas * @author Nicolas Grekas */ -class ServiceLocator implements \RectorPrefix20211129\Symfony\Contracts\Service\ServiceProviderInterface +class ServiceLocator implements \RectorPrefix20211130\Symfony\Contracts\Service\ServiceProviderInterface { use ServiceLocatorTrait { get as private doGet; @@ -42,7 +42,7 @@ class ServiceLocator implements \RectorPrefix20211129\Symfony\Contracts\Service\ } try { return $this->doGet($id); - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\RuntimeException $e) { $what = \sprintf('service "%s" required by "%s"', $id, $this->externalId); $message = \preg_replace('/service "\\.service_locator\\.[^"]++"/', $what, $e->getMessage()); if ($e->getMessage() === $message) { @@ -72,11 +72,11 @@ class ServiceLocator implements \RectorPrefix20211129\Symfony\Contracts\Service\ $locator->container = $container; return $locator; } - private function createNotFoundException(string $id) : \RectorPrefix20211129\Psr\Container\NotFoundExceptionInterface + private function createNotFoundException(string $id) : \RectorPrefix20211130\Psr\Container\NotFoundExceptionInterface { if ($this->loading) { $msg = \sprintf('The service "%s" has a dependency on a non-existent service "%s". This locator %s', \end($this->loading), $id, $this->formatAlternatives()); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], $msg); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], $msg); } $class = \debug_backtrace(\DEBUG_BACKTRACE_PROVIDE_OBJECT | \DEBUG_BACKTRACE_IGNORE_ARGS, 4); $class = isset($class[3]['object']) ? \get_class($class[3]['object']) : null; @@ -91,7 +91,7 @@ class ServiceLocator implements \RectorPrefix20211129\Symfony\Contracts\Service\ try { $this->container->get($id); $class = null; - } catch (\RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException $e) { if ($e->getAlternatives()) { $msg[] = \sprintf('did you mean %s? Anyway,', $this->formatAlternatives($e->getAlternatives(), 'or')); } else { @@ -106,16 +106,16 @@ class ServiceLocator implements \RectorPrefix20211129\Symfony\Contracts\Service\ } if (!$class) { // no-op - } elseif (\is_subclass_of($class, \RectorPrefix20211129\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { + } elseif (\is_subclass_of($class, \RectorPrefix20211130\Symfony\Contracts\Service\ServiceSubscriberInterface::class)) { $msg[] = \sprintf('Unless you need extra laziness, try using dependency injection instead. Otherwise, you need to declare it using "%s::getSubscribedServices()".', \preg_replace('/([^\\\\]++\\\\)++/', '', $class)); } else { $msg[] = 'Try using dependency injection instead.'; } - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], \implode(' ', $msg)); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceNotFoundException($id, \end($this->loading) ?: null, null, [], \implode(' ', $msg)); } - private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20211129\Psr\Container\ContainerExceptionInterface + private function createCircularReferenceException(string $id, array $path) : \RectorPrefix20211130\Psr\Container\ContainerExceptionInterface { - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $path); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ServiceCircularReferenceException($id, $path); } private function formatAlternatives(array $alternatives = null, string $separator = 'and') : string { diff --git a/vendor/symfony/dependency-injection/TaggedContainerInterface.php b/vendor/symfony/dependency-injection/TaggedContainerInterface.php index 86e699136d3..ffda4b8e8e5 100644 --- a/vendor/symfony/dependency-injection/TaggedContainerInterface.php +++ b/vendor/symfony/dependency-injection/TaggedContainerInterface.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * TaggedContainerInterface is the interface implemented when a container knows how to deals with tags. * * @author Fabien Potencier */ -interface TaggedContainerInterface extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface +interface TaggedContainerInterface extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface { /** * Returns service ids for a given tag. * * @param string $name The tag name * - * @return array An array of tags + * @return array */ public function findTaggedServiceIds($name); } diff --git a/vendor/symfony/dependency-injection/TypedReference.php b/vendor/symfony/dependency-injection/TypedReference.php index 4097476ecdb..2bc230b8fe7 100644 --- a/vendor/symfony/dependency-injection/TypedReference.php +++ b/vendor/symfony/dependency-injection/TypedReference.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * Represents a PHP type-hinted service reference. * * @author Nicolas Grekas */ -class TypedReference extends \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference +class TypedReference extends \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference { private $type; private $name; @@ -25,7 +25,7 @@ class TypedReference extends \RectorPrefix20211129\Symfony\Component\DependencyI * @param int $invalidBehavior The behavior when the service does not exist * @param string|null $name The name of the argument targeting the service */ - public function __construct(string $id, string $type, int $invalidBehavior = \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, string $name = null) + public function __construct(string $id, string $type, int $invalidBehavior = \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::EXCEPTION_ON_INVALID_REFERENCE, string $name = null) { $this->name = $type === $id ? $name : null; parent::__construct($id, $invalidBehavior); diff --git a/vendor/symfony/dependency-injection/Variable.php b/vendor/symfony/dependency-injection/Variable.php index b933e4b0caf..081fa5be774 100644 --- a/vendor/symfony/dependency-injection/Variable.php +++ b/vendor/symfony/dependency-injection/Variable.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\DependencyInjection; +namespace RectorPrefix20211130\Symfony\Component\DependencyInjection; /** * Represents a variable. diff --git a/vendor/symfony/dependency-injection/composer.json b/vendor/symfony/dependency-injection/composer.json index b77e0ba8a77..78ccd76f8ee 100644 --- a/vendor/symfony/dependency-injection/composer.json +++ b/vendor/symfony/dependency-injection/composer.json @@ -18,14 +18,15 @@ "require": { "php": ">=7.2.5", "psr\/container": "^1.1.1", - "symfony\/deprecation-contracts": "^2.1", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-php80": "^1.16", + "symfony\/polyfill-php81": "^1.22", "symfony\/service-contracts": "^1.1.6|^2" }, "require-dev": { - "symfony\/yaml": "^4.4|^5.0", - "symfony\/config": "^5.3", - "symfony\/expression-language": "^4.4|^5.0" + "symfony\/yaml": "^4.4|^5.0|^6.0", + "symfony\/config": "^5.3|^6.0", + "symfony\/expression-language": "^4.4|^5.0|^6.0" }, "suggest": { "symfony\/yaml": "", @@ -47,7 +48,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\DependencyInjection\\": "" + "RectorPrefix20211130\\Symfony\\Component\\DependencyInjection\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/filesystem/CHANGELOG.md b/vendor/symfony/filesystem/CHANGELOG.md index 4a0755bfe0a..fcb7170ca59 100644 --- a/vendor/symfony/filesystem/CHANGELOG.md +++ b/vendor/symfony/filesystem/CHANGELOG.md @@ -1,6 +1,12 @@ CHANGELOG ========= +5.4 +--- + + * Add `Path` class + * Add `$lock` argument to `Filesystem::appendToFile()` + 5.0.0 ----- diff --git a/vendor/symfony/filesystem/Exception/ExceptionInterface.php b/vendor/symfony/filesystem/Exception/ExceptionInterface.php index e6e3ed19242..399f2e4b3d8 100644 --- a/vendor/symfony/filesystem/Exception/ExceptionInterface.php +++ b/vendor/symfony/filesystem/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; /** * Exception interface for all exceptions thrown by the component. diff --git a/vendor/symfony/filesystem/Exception/FileNotFoundException.php b/vendor/symfony/filesystem/Exception/FileNotFoundException.php index daa1c44febb..0eb39680f74 100644 --- a/vendor/symfony/filesystem/Exception/FileNotFoundException.php +++ b/vendor/symfony/filesystem/Exception/FileNotFoundException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; /** * Exception class thrown when a file couldn't be found. @@ -16,7 +16,7 @@ namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; * @author Fabien Potencier * @author Christian Gärtner */ -class FileNotFoundException extends \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException +class FileNotFoundException extends \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException { public function __construct(string $message = null, int $code = 0, \Throwable $previous = null, string $path = null) { diff --git a/vendor/symfony/filesystem/Exception/IOException.php b/vendor/symfony/filesystem/Exception/IOException.php index ce316168a1c..5f7a90aec09 100644 --- a/vendor/symfony/filesystem/Exception/IOException.php +++ b/vendor/symfony/filesystem/Exception/IOException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; /** * Exception class thrown when a filesystem operation failure happens. @@ -17,7 +17,7 @@ namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; * @author Christian Gärtner * @author Fabien Potencier */ -class IOException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOExceptionInterface +class IOException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOExceptionInterface { private $path; public function __construct(string $message, int $code = 0, \Throwable $previous = null, string $path = null) diff --git a/vendor/symfony/filesystem/Exception/IOExceptionInterface.php b/vendor/symfony/filesystem/Exception/IOExceptionInterface.php index dc3b211fd1d..d644edc950b 100644 --- a/vendor/symfony/filesystem/Exception/IOExceptionInterface.php +++ b/vendor/symfony/filesystem/Exception/IOExceptionInterface.php @@ -8,19 +8,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; /** * IOException interface for file and input/output stream related exceptions thrown by the component. * * @author Christian Gärtner */ -interface IOExceptionInterface extends \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\ExceptionInterface +interface IOExceptionInterface extends \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\ExceptionInterface { /** * Returns the associated path for the exception. * - * @return string|null The path + * @return string|null */ public function getPath(); } diff --git a/vendor/symfony/filesystem/Exception/InvalidArgumentException.php b/vendor/symfony/filesystem/Exception/InvalidArgumentException.php index 07278cce821..5591800a5fa 100644 --- a/vendor/symfony/filesystem/Exception/InvalidArgumentException.php +++ b/vendor/symfony/filesystem/Exception/InvalidArgumentException.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem\Exception; +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; /** * @author Christian Flothmann */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\ExceptionInterface { } diff --git a/vendor/symfony/filesystem/Exception/RuntimeException.php b/vendor/symfony/filesystem/Exception/RuntimeException.php new file mode 100644 index 00000000000..5a02f250518 --- /dev/null +++ b/vendor/symfony/filesystem/Exception/RuntimeException.php @@ -0,0 +1,18 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Filesystem\Exception; + +/** + * @author Théo Fidry + */ +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\ExceptionInterface +{ +} diff --git a/vendor/symfony/filesystem/Filesystem.php b/vendor/symfony/filesystem/Filesystem.php index f889faf150d..a5b703d14ec 100644 --- a/vendor/symfony/filesystem/Filesystem.php +++ b/vendor/symfony/filesystem/Filesystem.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Filesystem; +namespace RectorPrefix20211130\Symfony\Component\Filesystem; -use RectorPrefix20211129\Symfony\Component\Filesystem\Exception\FileNotFoundException; -use RectorPrefix20211129\Symfony\Component\Filesystem\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException; +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\FileNotFoundException; +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException; /** * Provides basic utility to manipulate the file system. * @@ -38,7 +38,7 @@ class Filesystem { $originIsLocal = \stream_is_local($originFile) || 0 === \stripos($originFile, 'file://'); if ($originIsLocal && !\is_file($originFile)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Failed to copy "%s" because file does not exist.', $originFile), 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Failed to copy "%s" because file does not exist.', $originFile), 0, null, $originFile); } $this->mkdir(\dirname($targetFile)); $doCopy = \true; @@ -48,24 +48,24 @@ class Filesystem if ($doCopy) { // https://bugs.php.net/64634 if (!($source = self::box('fopen', $originFile, 'r'))) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s" because source file could not be opened for reading: ', $originFile, $targetFile) . self::$lastError, 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s" because source file could not be opened for reading: ', $originFile, $targetFile) . self::$lastError, 0, null, $originFile); } // Stream context created to allow files overwrite when using FTP stream wrapper - disabled by default if (!($target = self::box('fopen', $targetFile, 'w', \false, \stream_context_create(['ftp' => ['overwrite' => \true]])))) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s" because target file could not be opened for writing: ', $originFile, $targetFile) . self::$lastError, 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s" because target file could not be opened for writing: ', $originFile, $targetFile) . self::$lastError, 0, null, $originFile); } $bytesCopied = \stream_copy_to_stream($source, $target); \fclose($source); \fclose($target); unset($source, $target); if (!\is_file($targetFile)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s".', $originFile, $targetFile), 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy "%s" to "%s".', $originFile, $targetFile), 0, null, $originFile); } if ($originIsLocal) { // Like `cp`, preserve executable permission bits self::box('chmod', $targetFile, \fileperms($targetFile) | \fileperms($originFile) & 0111); if ($bytesCopied !== ($bytesOrigin = \filesize($originFile))) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy the whole content of "%s" to "%s" (%g of %g bytes copied).', $originFile, $targetFile, $bytesCopied, $bytesOrigin), 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to copy the whole content of "%s" to "%s" (%g of %g bytes copied).', $originFile, $targetFile, $bytesCopied, $bytesOrigin), 0, null, $originFile); } } } @@ -85,7 +85,7 @@ class Filesystem continue; } if (!self::box('mkdir', $dir, $mode, \true) && !\is_dir($dir)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s": ', $dir) . self::$lastError, 0, null, $dir); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s": ', $dir) . self::$lastError, 0, null, $dir); } } } @@ -94,14 +94,14 @@ class Filesystem * * @param string|iterable $files A filename, an array of files, or a \Traversable instance to check * - * @return bool true if the file exists, false otherwise + * @return bool */ public function exists($files) { $maxPathLength = \PHP_MAXPATHLEN - 2; foreach ($this->toIterable($files) as $file) { if (\strlen($file) > $maxPathLength) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Could not check if file exist because path length exceeds %d characters.', $maxPathLength), 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Could not check if file exist because path length exceeds %d characters.', $maxPathLength), 0, null, $file); } if (!\file_exists($file)) { return \false; @@ -122,7 +122,7 @@ class Filesystem { foreach ($this->toIterable($files) as $file) { if (!($time ? self::box('touch', $file, $time, $atime) : self::box('touch', $file))) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to touch "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to touch "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -149,7 +149,7 @@ class Filesystem if (\is_link($file)) { // See https://bugs.php.net/52176 if (!(self::box('unlink', $file) || '\\' !== \DIRECTORY_SEPARATOR || self::box('rmdir', $file)) && \file_exists($file)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove symlink "%s": ', $file) . self::$lastError); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove symlink "%s": ', $file) . self::$lastError); } } elseif (\is_dir($file)) { if (!$isRecursive) { @@ -157,7 +157,7 @@ class Filesystem if (\file_exists($tmpName)) { try { self::doRemove([$tmpName], \true); - } catch (\RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException $e) { } } if (!\file_exists($tmpName) && self::box('rename', $file, $tmpName)) { @@ -174,10 +174,10 @@ class Filesystem if (null !== $origFile && self::box('rename', $file, $origFile)) { $file = $origFile; } - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove directory "%s": ', $file) . $lastError); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove directory "%s": ', $file) . $lastError); } } elseif (!self::box('unlink', $file) && (\strpos(self::$lastError, 'Permission denied') !== \false || \file_exists($file))) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove file "%s": ', $file) . self::$lastError); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to remove file "%s": ', $file) . self::$lastError); } } } @@ -195,7 +195,7 @@ class Filesystem { foreach ($this->toIterable($files) as $file) { if ((\PHP_VERSION_ID < 80000 || \is_int($mode)) && !self::box('chmod', $file, $mode & ~$umask)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chmod file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chmod file "%s": ', $file) . self::$lastError, 0, null, $file); } if ($recursive && \is_dir($file) && !\is_link($file)) { $this->chmod(new \FilesystemIterator($file), $mode, $umask, \true); @@ -219,11 +219,11 @@ class Filesystem } if (\is_link($file) && \function_exists('lchown')) { if (!self::box('lchown', $file, $user)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); } } else { if (!self::box('chown', $file, $user)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chown file "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -245,11 +245,11 @@ class Filesystem } if (\is_link($file) && \function_exists('lchgrp')) { if (!self::box('lchgrp', $file, $group)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); } } else { if (!self::box('chgrp', $file, $group)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to chgrp file "%s": ', $file) . self::$lastError, 0, null, $file); } } } @@ -267,7 +267,7 @@ class Filesystem { // we check that target does not exist if (!$overwrite && $this->isReadable($target)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename because the target "%s" already exists.', $target), 0, null, $target); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename because the target "%s" already exists.', $target), 0, null, $target); } if (!self::box('rename', $origin, $target)) { if (\is_dir($origin)) { @@ -276,7 +276,7 @@ class Filesystem $this->remove($origin); return; } - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename "%s" to "%s": ', $origin, $target) . self::$lastError, 0, null, $target); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Cannot rename "%s" to "%s": ', $origin, $target) . self::$lastError, 0, null, $target); } } /** @@ -288,7 +288,7 @@ class Filesystem { $maxPathLength = \PHP_MAXPATHLEN - 2; if (\strlen($filename) > $maxPathLength) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Could not check if file is readable because path length exceeds %d characters.', $maxPathLength), 0, null, $filename); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Could not check if file is readable because path length exceeds %d characters.', $maxPathLength), 0, null, $filename); } return \is_readable($filename); } @@ -333,10 +333,10 @@ class Filesystem public function hardlink($originFile, $targetFiles) { if (!$this->exists($originFile)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\FileNotFoundException(null, 0, null, $originFile); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\FileNotFoundException(null, 0, null, $originFile); } if (!\is_file($originFile)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Origin file "%s" is not a file.', $originFile)); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\FileNotFoundException(\sprintf('Origin file "%s" is not a file.', $originFile)); } foreach ($this->toIterable($targetFiles) as $targetFile) { if (\is_file($targetFile)) { @@ -357,10 +357,10 @@ class Filesystem { if (self::$lastError) { if ('\\' === \DIRECTORY_SEPARATOR && \strpos(self::$lastError, 'error code(1314)') !== \false) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to create "%s" link due to error code 1314: \'A required privilege is not held by the client\'. Do you have the required Administrator-rights?', $linkType), 0, null, $target); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to create "%s" link due to error code 1314: \'A required privilege is not held by the client\'. Do you have the required Administrator-rights?', $linkType), 0, null, $target); } } - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s" link from "%s" to "%s": ', $linkType, $origin, $target) . self::$lastError, 0, null, $target); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to create "%s" link from "%s" to "%s": ', $linkType, $origin, $target) . self::$lastError, 0, null, $target); } /** * Resolves links in paths. @@ -399,17 +399,17 @@ class Filesystem /** * Given an existing path, convert it to a path relative to a given starting path. * - * @return string Path of target relative to starting path + * @return string * @param string $endPath * @param string $startPath */ public function makePathRelative($endPath, $startPath) { if (!$this->isAbsolutePath($startPath)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The start path "%s" is not absolute.', $startPath)); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The start path "%s" is not absolute.', $startPath)); } if (!$this->isAbsolutePath($endPath)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The end path "%s" is not absolute.', $endPath)); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The end path "%s" is not absolute.', $endPath)); } // Normalize separators on Windows if ('\\' === \DIRECTORY_SEPARATOR) { @@ -481,7 +481,7 @@ class Filesystem $originDir = \rtrim($originDir, '/\\'); $originDirLen = \strlen($originDir); if (!$this->exists($originDir)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('The origin directory specified "%s" was not found.', $originDir), 0, null, $originDir); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('The origin directory specified "%s" was not found.', $originDir), 0, null, $originDir); } // Iterate in destination folder to remove obsolete entries if ($this->exists($targetDir) && isset($options['delete']) && $options['delete']) { @@ -518,7 +518,7 @@ class Filesystem } elseif (\is_file($file)) { $this->copy($file, $target, $options['override'] ?? \false); } else { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to guess "%s" file type.', $file), 0, null, $file); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Unable to guess "%s" file type.', $file), 0, null, $file); } } } @@ -555,7 +555,7 @@ class Filesystem } return $tmpFile; } - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); } // Loop until we create a valid temp file or have reached 10 attempts for ($i = 0; $i < 10; ++$i) { @@ -570,7 +570,7 @@ class Filesystem self::box('fclose', $handle); return $tmpFile; } - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException('A temporary file could not be created: ' . self::$lastError); } /** * Atomically dumps content into a file. @@ -594,7 +594,7 @@ class Filesystem $tmpFile = $this->tempnam($dir, \basename($filename)); try { if (\false === self::box('file_put_contents', $tmpFile, $content)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); } self::box('chmod', $tmpFile, \file_exists($filename) ? \fileperms($filename) : 0666 & ~\umask()); $this->rename($tmpFile, $filename, \true); @@ -608,6 +608,7 @@ class Filesystem * Appends content to an existing file. * * @param string|resource $content The content to append + * @param bool $lock Whether the file should be locked when writing to it * * @throws IOException If the file is not writable * @param string $filename @@ -621,8 +622,9 @@ class Filesystem if (!\is_dir($dir)) { $this->mkdir($dir); } - if (\false === self::box('file_put_contents', $filename, $content, \FILE_APPEND)) { - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); + $lock = \func_num_args() > 2 && \func_get_arg(2); + if (\false === self::box('file_put_contents', $filename, $content, \FILE_APPEND | ($lock ? \LOCK_EX : 0))) { + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException(\sprintf('Failed to write file "%s": ', $filename) . self::$lastError, 0, null, $filename); } } private function toIterable($files) : iterable @@ -647,13 +649,10 @@ class Filesystem self::$lastError = null; \set_error_handler(__CLASS__ . '::handleError'); try { - $result = $func(...$args); + return $func(...$args); + } finally { \restore_error_handler(); - return $result; - } catch (\Throwable $e) { } - \restore_error_handler(); - throw $e; } /** * @internal diff --git a/vendor/symfony/filesystem/Path.php b/vendor/symfony/filesystem/Path.php new file mode 100644 index 00000000000..370372550b8 --- /dev/null +++ b/vendor/symfony/filesystem/Path.php @@ -0,0 +1,708 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Filesystem; + +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Filesystem\Exception\RuntimeException; +/** + * Contains utility methods for handling path strings. + * + * The methods in this class are able to deal with both UNIX and Windows paths + * with both forward and backward slashes. All methods return normalized parts + * containing only forward slashes and no excess "." and ".." segments. + * + * @author Bernhard Schussek + * @author Thomas Schulz + * @author Théo Fidry + */ +final class Path +{ + /** + * The number of buffer entries that triggers a cleanup operation. + */ + private const CLEANUP_THRESHOLD = 1250; + /** + * The buffer size after the cleanup operation. + */ + private const CLEANUP_SIZE = 1000; + /** + * Buffers input/output of {@link canonicalize()}. + * + * @var array + */ + private static $buffer = []; + /** + * @var int + */ + private static $bufferSize = 0; + /** + * Canonicalizes the given path. + * + * During normalization, all slashes are replaced by forward slashes ("/"). + * Furthermore, all "." and ".." segments are removed as far as possible. + * ".." segments at the beginning of relative paths are not removed. + * + * ```php + * echo Path::canonicalize("\symfony\puli\..\css\style.css"); + * // => /symfony/css/style.css + * + * echo Path::canonicalize("../css/./style.css"); + * // => ../css/style.css + * ``` + * + * This method is able to deal with both UNIX and Windows paths. + */ + public static function canonicalize(string $path) : string + { + if ('' === $path) { + return ''; + } + // This method is called by many other methods in this class. Buffer + // the canonicalized paths to make up for the severe performance + // decrease. + if (isset(self::$buffer[$path])) { + return self::$buffer[$path]; + } + // Replace "~" with user's home directory. + if ('~' === $path[0]) { + $path = self::getHomeDirectory() . \mb_substr($path, 1); + } + $path = self::normalize($path); + [$root, $pathWithoutRoot] = self::split($path); + $canonicalParts = self::findCanonicalParts($root, $pathWithoutRoot); + // Add the root directory again + self::$buffer[$path] = $canonicalPath = $root . \implode('/', $canonicalParts); + ++self::$bufferSize; + // Clean up regularly to prevent memory leaks + if (self::$bufferSize > self::CLEANUP_THRESHOLD) { + self::$buffer = \array_slice(self::$buffer, -self::CLEANUP_SIZE, null, \true); + self::$bufferSize = self::CLEANUP_SIZE; + } + return $canonicalPath; + } + /** + * Normalizes the given path. + * + * During normalization, all slashes are replaced by forward slashes ("/"). + * Contrary to {@link canonicalize()}, this method does not remove invalid + * or dot path segments. Consequently, it is much more efficient and should + * be used whenever the given path is known to be a valid, absolute system + * path. + * + * This method is able to deal with both UNIX and Windows paths. + */ + public static function normalize(string $path) : string + { + return \str_replace('\\', '/', $path); + } + /** + * Returns the directory part of the path. + * + * This method is similar to PHP's dirname(), but handles various cases + * where dirname() returns a weird result: + * + * - dirname() does not accept backslashes on UNIX + * - dirname("C:/symfony") returns "C:", not "C:/" + * - dirname("C:/") returns ".", not "C:/" + * - dirname("C:") returns ".", not "C:/" + * - dirname("symfony") returns ".", not "" + * - dirname() does not canonicalize the result + * + * This method fixes these shortcomings and behaves like dirname() + * otherwise. + * + * The result is a canonical path. + * + * @return string The canonical directory part. Returns the root directory + * if the root directory is passed. Returns an empty string + * if a relative path is passed that contains no slashes. + * Returns an empty string if an empty string is passed. + */ + public static function getDirectory(string $path) : string + { + if ('' === $path) { + return ''; + } + $path = self::canonicalize($path); + // Maintain scheme + if (\false !== ($schemeSeparatorPosition = \mb_strpos($path, '://'))) { + $scheme = \mb_substr($path, 0, $schemeSeparatorPosition + 3); + $path = \mb_substr($path, $schemeSeparatorPosition + 3); + } else { + $scheme = ''; + } + if (\false === ($dirSeparatorPosition = \strrpos($path, '/'))) { + return ''; + } + // Directory equals root directory "/" + if (0 === $dirSeparatorPosition) { + return $scheme . '/'; + } + // Directory equals Windows root "C:/" + if (2 === $dirSeparatorPosition && \ctype_alpha($path[0]) && ':' === $path[1]) { + return $scheme . \mb_substr($path, 0, 3); + } + return $scheme . \mb_substr($path, 0, $dirSeparatorPosition); + } + /** + * Returns canonical path of the user's home directory. + * + * Supported operating systems: + * + * - UNIX + * - Windows8 and upper + * + * If your operation system or environment isn't supported, an exception is thrown. + * + * The result is a canonical path. + * + * @throws RuntimeException If your operation system or environment isn't supported + */ + public static function getHomeDirectory() : string + { + // For UNIX support + if (\getenv('HOME')) { + return self::canonicalize(\getenv('HOME')); + } + // For >= Windows8 support + if (\getenv('HOMEDRIVE') && \getenv('HOMEPATH')) { + return self::canonicalize(\getenv('HOMEDRIVE') . \getenv('HOMEPATH')); + } + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\RuntimeException("Cannot find the home directory path: Your environment or operation system isn't supported."); + } + /** + * Returns the root directory of a path. + * + * The result is a canonical path. + * + * @return string The canonical root directory. Returns an empty string if + * the given path is relative or empty. + */ + public static function getRoot(string $path) : string + { + if ('' === $path) { + return ''; + } + // Maintain scheme + if (\false !== ($schemeSeparatorPosition = \strpos($path, '://'))) { + $scheme = \substr($path, 0, $schemeSeparatorPosition + 3); + $path = \substr($path, $schemeSeparatorPosition + 3); + } else { + $scheme = ''; + } + $firstCharacter = $path[0]; + // UNIX root "/" or "\" (Windows style) + if ('/' === $firstCharacter || '\\' === $firstCharacter) { + return $scheme . '/'; + } + $length = \mb_strlen($path); + // Windows root + if ($length > 1 && ':' === $path[1] && \ctype_alpha($firstCharacter)) { + // Special case: "C:" + if (2 === $length) { + return $scheme . $path . '/'; + } + // Normal case: "C:/ or "C:\" + if ('/' === $path[2] || '\\' === $path[2]) { + return $scheme . $firstCharacter . $path[1] . '/'; + } + } + return ''; + } + /** + * Returns the file name without the extension from a file path. + * + * @param string|null $extension if specified, only that extension is cut + * off (may contain leading dot) + */ + public static function getFilenameWithoutExtension(string $path, string $extension = null) + { + if ('' === $path) { + return ''; + } + if (null !== $extension) { + // remove extension and trailing dot + return \rtrim(\basename($path, $extension), '.'); + } + return \pathinfo($path, \PATHINFO_FILENAME); + } + /** + * Returns the extension from a file path (without leading dot). + * + * @param bool $forceLowerCase forces the extension to be lower-case + */ + public static function getExtension(string $path, bool $forceLowerCase = \false) : string + { + if ('' === $path) { + return ''; + } + $extension = \pathinfo($path, \PATHINFO_EXTENSION); + if ($forceLowerCase) { + $extension = self::toLower($extension); + } + return $extension; + } + /** + * Returns whether the path has an (or the specified) extension. + * + * @param string $path the path string + * @param string|string[]|null $extensions if null or not provided, checks if + * an extension exists, otherwise + * checks for the specified extension + * or array of extensions (with or + * without leading dot) + * @param bool $ignoreCase whether to ignore case-sensitivity + */ + public static function hasExtension(string $path, $extensions = null, bool $ignoreCase = \false) : bool + { + if ('' === $path) { + return \false; + } + $actualExtension = self::getExtension($path, $ignoreCase); + // Only check if path has any extension + if ([] === $extensions || null === $extensions) { + return '' !== $actualExtension; + } + if (\is_string($extensions)) { + $extensions = [$extensions]; + } + foreach ($extensions as $key => $extension) { + if ($ignoreCase) { + $extension = self::toLower($extension); + } + // remove leading '.' in extensions array + $extensions[$key] = \ltrim($extension, '.'); + } + return \in_array($actualExtension, $extensions, \true); + } + /** + * Changes the extension of a path string. + * + * @param string $path The path string with filename.ext to change. + * @param string $extension new extension (with or without leading dot) + * + * @return string the path string with new file extension + */ + public static function changeExtension(string $path, string $extension) : string + { + if ('' === $path) { + return ''; + } + $actualExtension = self::getExtension($path); + $extension = \ltrim($extension, '.'); + // No extension for paths + if ('/' === \mb_substr($path, -1)) { + return $path; + } + // No actual extension in path + if (empty($actualExtension)) { + return $path . ('.' === \mb_substr($path, -1) ? '' : '.') . $extension; + } + return \mb_substr($path, 0, -\mb_strlen($actualExtension)) . $extension; + } + public static function isAbsolute(string $path) : bool + { + if ('' === $path) { + return \false; + } + // Strip scheme + if (\false !== ($schemeSeparatorPosition = \mb_strpos($path, '://'))) { + $path = \mb_substr($path, $schemeSeparatorPosition + 3); + } + $firstCharacter = $path[0]; + // UNIX root "/" or "\" (Windows style) + if ('/' === $firstCharacter || '\\' === $firstCharacter) { + return \true; + } + // Windows root + if (\mb_strlen($path) > 1 && \ctype_alpha($firstCharacter) && ':' === $path[1]) { + // Special case: "C:" + if (2 === \mb_strlen($path)) { + return \true; + } + // Normal case: "C:/ or "C:\" + if ('/' === $path[2] || '\\' === $path[2]) { + return \true; + } + } + return \false; + } + public static function isRelative(string $path) : bool + { + return !self::isAbsolute($path); + } + /** + * Turns a relative path into an absolute path in canonical form. + * + * Usually, the relative path is appended to the given base path. Dot + * segments ("." and "..") are removed/collapsed and all slashes turned + * into forward slashes. + * + * ```php + * echo Path::makeAbsolute("../style.css", "/symfony/puli/css"); + * // => /symfony/puli/style.css + * ``` + * + * If an absolute path is passed, that path is returned unless its root + * directory is different than the one of the base path. In that case, an + * exception is thrown. + * + * ```php + * Path::makeAbsolute("/style.css", "/symfony/puli/css"); + * // => /style.css + * + * Path::makeAbsolute("C:/style.css", "C:/symfony/puli/css"); + * // => C:/style.css + * + * Path::makeAbsolute("C:/style.css", "/symfony/puli/css"); + * // InvalidArgumentException + * ``` + * + * If the base path is not an absolute path, an exception is thrown. + * + * The result is a canonical path. + * + * @param string $basePath an absolute base path + * + * @throws InvalidArgumentException if the base path is not absolute or if + * the given path is an absolute path with + * a different root than the base path + */ + public static function makeAbsolute(string $path, string $basePath) : string + { + if ('' === $basePath) { + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path must be a non-empty string. Got: "%s".', $basePath)); + } + if (!self::isAbsolute($basePath)) { + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The base path "%s" is not an absolute path.', $basePath)); + } + if (self::isAbsolute($path)) { + return self::canonicalize($path); + } + if (\false !== ($schemeSeparatorPosition = \mb_strpos($basePath, '://'))) { + $scheme = \mb_substr($basePath, 0, $schemeSeparatorPosition + 3); + $basePath = \mb_substr($basePath, $schemeSeparatorPosition + 3); + } else { + $scheme = ''; + } + return $scheme . self::canonicalize(\rtrim($basePath, '/\\') . '/' . $path); + } + /** + * Turns a path into a relative path. + * + * The relative path is created relative to the given base path: + * + * ```php + * echo Path::makeRelative("/symfony/style.css", "/symfony/puli"); + * // => ../style.css + * ``` + * + * If a relative path is passed and the base path is absolute, the relative + * path is returned unchanged: + * + * ```php + * Path::makeRelative("style.css", "/symfony/puli/css"); + * // => style.css + * ``` + * + * If both paths are relative, the relative path is created with the + * assumption that both paths are relative to the same directory: + * + * ```php + * Path::makeRelative("style.css", "symfony/puli/css"); + * // => ../../../style.css + * ``` + * + * If both paths are absolute, their root directory must be the same, + * otherwise an exception is thrown: + * + * ```php + * Path::makeRelative("C:/symfony/style.css", "/symfony/puli"); + * // InvalidArgumentException + * ``` + * + * If the passed path is absolute, but the base path is not, an exception + * is thrown as well: + * + * ```php + * Path::makeRelative("/symfony/style.css", "symfony/puli"); + * // InvalidArgumentException + * ``` + * + * If the base path is not an absolute path, an exception is thrown. + * + * The result is a canonical path. + * + * @throws InvalidArgumentException if the base path is not absolute or if + * the given path has a different root + * than the base path + */ + public static function makeRelative(string $path, string $basePath) : string + { + $path = self::canonicalize($path); + $basePath = self::canonicalize($basePath); + [$root, $relativePath] = self::split($path); + [$baseRoot, $relativeBasePath] = self::split($basePath); + // If the base path is given as absolute path and the path is already + // relative, consider it to be relative to the given absolute path + // already + if ('' === $root && '' !== $baseRoot) { + // If base path is already in its root + if ('' === $relativeBasePath) { + $relativePath = \ltrim($relativePath, './\\'); + } + return $relativePath; + } + // If the passed path is absolute, but the base path is not, we + // cannot generate a relative path + if ('' !== $root && '' === $baseRoot) { + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The absolute path "%s" cannot be made relative to the relative path "%s". You should provide an absolute base path instead.', $path, $basePath)); + } + // Fail if the roots of the two paths are different + if ($baseRoot && $root !== $baseRoot) { + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\InvalidArgumentException(\sprintf('The path "%s" cannot be made relative to "%s", because they have different roots ("%s" and "%s").', $path, $basePath, $root, $baseRoot)); + } + if ('' === $relativeBasePath) { + return $relativePath; + } + // Build a "../../" prefix with as many "../" parts as necessary + $parts = \explode('/', $relativePath); + $baseParts = \explode('/', $relativeBasePath); + $dotDotPrefix = ''; + // Once we found a non-matching part in the prefix, we need to add + // "../" parts for all remaining parts + $match = \true; + foreach ($baseParts as $index => $basePart) { + if ($match && isset($parts[$index]) && $basePart === $parts[$index]) { + unset($parts[$index]); + continue; + } + $match = \false; + $dotDotPrefix .= '../'; + } + return \rtrim($dotDotPrefix . \implode('/', $parts), '/'); + } + /** + * Returns whether the given path is on the local filesystem. + */ + public static function isLocal(string $path) : bool + { + return '' !== $path && \false === \mb_strpos($path, '://'); + } + /** + * Returns the longest common base path in canonical form of a set of paths or + * `null` if the paths are on different Windows partitions. + * + * Dot segments ("." and "..") are removed/collapsed and all slashes turned + * into forward slashes. + * + * ```php + * $basePath = Path::getLongestCommonBasePath([ + * '/symfony/css/style.css', + * '/symfony/css/..' + * ]); + * // => /symfony + * ``` + * + * The root is returned if no common base path can be found: + * + * ```php + * $basePath = Path::getLongestCommonBasePath([ + * '/symfony/css/style.css', + * '/puli/css/..' + * ]); + * // => / + * ``` + * + * If the paths are located on different Windows partitions, `null` is + * returned. + * + * ```php + * $basePath = Path::getLongestCommonBasePath([ + * 'C:/symfony/css/style.css', + * 'D:/symfony/css/..' + * ]); + * // => null + * ``` + */ + public static function getLongestCommonBasePath(string ...$paths) : ?string + { + [$bpRoot, $basePath] = self::split(self::canonicalize(\reset($paths))); + for (\next($paths); null !== \key($paths) && '' !== $basePath; \next($paths)) { + [$root, $path] = self::split(self::canonicalize(\current($paths))); + // If we deal with different roots (e.g. C:/ vs. D:/), it's time + // to quit + if ($root !== $bpRoot) { + return null; + } + // Make the base path shorter until it fits into path + while (\true) { + if ('.' === $basePath) { + // No more base paths + $basePath = ''; + // next path + continue 2; + } + // Prevent false positives for common prefixes + // see isBasePath() + if (0 === \mb_strpos($path . '/', $basePath . '/')) { + // next path + continue 2; + } + $basePath = \dirname($basePath); + } + } + return $bpRoot . $basePath; + } + /** + * Joins two or more path strings into a canonical path. + */ + public static function join(string ...$paths) : string + { + $finalPath = null; + $wasScheme = \false; + foreach ($paths as $path) { + if ('' === $path) { + continue; + } + if (null === $finalPath) { + // For first part we keep slashes, like '/top', 'C:\' or 'phar://' + $finalPath = $path; + $wasScheme = \false !== \mb_strpos($path, '://'); + continue; + } + // Only add slash if previous part didn't end with '/' or '\' + if (!\in_array(\mb_substr($finalPath, -1), ['/', '\\'])) { + $finalPath .= '/'; + } + // If first part included a scheme like 'phar://' we allow \current part to start with '/', otherwise trim + $finalPath .= $wasScheme ? $path : \ltrim($path, '/'); + $wasScheme = \false; + } + if (null === $finalPath) { + return ''; + } + return self::canonicalize($finalPath); + } + /** + * Returns whether a path is a base path of another path. + * + * Dot segments ("." and "..") are removed/collapsed and all slashes turned + * into forward slashes. + * + * ```php + * Path::isBasePath('/symfony', '/symfony/css'); + * // => true + * + * Path::isBasePath('/symfony', '/symfony'); + * // => true + * + * Path::isBasePath('/symfony', '/symfony/..'); + * // => false + * + * Path::isBasePath('/symfony', '/puli'); + * // => false + * ``` + */ + public static function isBasePath(string $basePath, string $ofPath) : bool + { + $basePath = self::canonicalize($basePath); + $ofPath = self::canonicalize($ofPath); + // Append slashes to prevent false positives when two paths have + // a common prefix, for example /base/foo and /base/foobar. + // Don't append a slash for the root "/", because then that root + // won't be discovered as common prefix ("//" is not a prefix of + // "/foobar/"). + return 0 === \mb_strpos($ofPath . '/', \rtrim($basePath, '/') . '/'); + } + /** + * @return non-empty-string[] + */ + private static function findCanonicalParts(string $root, string $pathWithoutRoot) : array + { + $parts = \explode('/', $pathWithoutRoot); + $canonicalParts = []; + // Collapse "." and "..", if possible + foreach ($parts as $part) { + if ('.' === $part || '' === $part) { + continue; + } + // Collapse ".." with the previous part, if one exists + // Don't collapse ".." if the previous part is also ".." + if ('..' === $part && \count($canonicalParts) > 0 && '..' !== $canonicalParts[\count($canonicalParts) - 1]) { + \array_pop($canonicalParts); + continue; + } + // Only add ".." prefixes for relative paths + if ('..' !== $part || '' === $root) { + $canonicalParts[] = $part; + } + } + return $canonicalParts; + } + /** + * Splits a canonical path into its root directory and the remainder. + * + * If the path has no root directory, an empty root directory will be + * returned. + * + * If the root directory is a Windows style partition, the resulting root + * will always contain a trailing slash. + * + * list ($root, $path) = Path::split("C:/symfony") + * // => ["C:/", "symfony"] + * + * list ($root, $path) = Path::split("C:") + * // => ["C:/", ""] + * + * @return array{string, string} an array with the root directory and the remaining relative path + */ + private static function split(string $path) : array + { + if ('' === $path) { + return ['', '']; + } + // Remember scheme as part of the root, if any + if (\false !== ($schemeSeparatorPosition = \mb_strpos($path, '://'))) { + $root = \mb_substr($path, 0, $schemeSeparatorPosition + 3); + $path = \mb_substr($path, $schemeSeparatorPosition + 3); + } else { + $root = ''; + } + $length = \mb_strlen($path); + // Remove and remember root directory + if (0 === \mb_strpos($path, '/')) { + $root .= '/'; + $path = $length > 1 ? \mb_substr($path, 1) : ''; + } elseif ($length > 1 && \ctype_alpha($path[0]) && ':' === $path[1]) { + if (2 === $length) { + // Windows special case: "C:" + $root .= $path . '/'; + $path = ''; + } elseif ('/' === $path[2]) { + // Windows normal case: "C:/".. + $root .= \mb_substr($path, 0, 3); + $path = $length > 3 ? \mb_substr($path, 3) : ''; + } + } + return [$root, $path]; + } + private static function toLower(string $string) : string + { + if (\false !== ($encoding = \mb_detect_encoding($string))) { + return \mb_strtolower($string, $encoding); + } + return \strtolower($string, $encoding); + } + private function __construct() + { + } +} diff --git a/vendor/symfony/filesystem/composer.json b/vendor/symfony/filesystem/composer.json index b2a76af09b5..31b30ba2c8f 100644 --- a/vendor/symfony/filesystem/composer.json +++ b/vendor/symfony/filesystem/composer.json @@ -18,11 +18,12 @@ "require": { "php": ">=7.2.5", "symfony\/polyfill-ctype": "~1.8", + "symfony\/polyfill-mbstring": "~1.8", "symfony\/polyfill-php80": "^1.16" }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Filesystem\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Filesystem\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/finder/CHANGELOG.md b/vendor/symfony/finder/CHANGELOG.md index 33f5bd589eb..6a44e87c2ed 100644 --- a/vendor/symfony/finder/CHANGELOG.md +++ b/vendor/symfony/finder/CHANGELOG.md @@ -1,6 +1,14 @@ CHANGELOG ========= +5.4.0 +----- + + * Deprecate `Comparator::setTarget()` and `Comparator::setOperator()` + * Add a constructor to `Comparator` that allows setting target and operator + * Finder's iterator has now `Symfony\Component\Finder\SplFileInfo` inner type specified + * Add recursive .gitignore files support + 5.0.0 ----- diff --git a/vendor/symfony/finder/Comparator/Comparator.php b/vendor/symfony/finder/Comparator/Comparator.php index 3394800381d..7cbb0b47cea 100644 --- a/vendor/symfony/finder/Comparator/Comparator.php +++ b/vendor/symfony/finder/Comparator/Comparator.php @@ -8,37 +8,48 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Comparator; /** - * Comparator. - * * @author Fabien Potencier */ class Comparator { private $target; private $operator = '=='; + public function __construct(string $target = null, string $operator = '==') + { + if (null === $target) { + trigger_deprecation('symfony/finder', '5.4', 'Constructing a "%s" without setting "$target" is deprecated.', __CLASS__); + } + $this->target = $target; + $this->doSetOperator($operator); + } /** * Gets the target value. * - * @return string The target value + * @return string */ public function getTarget() { + if (null === $this->target) { + trigger_deprecation('symfony/finder', '5.4', 'Calling "%s" without initializing the target is deprecated.', __METHOD__); + } return $this->target; } /** + * @deprecated set the target via the constructor instead * @param string $target */ public function setTarget($target) { + trigger_deprecation('symfony/finder', '5.4', '"%s" is deprecated. Set the target via the constructor instead.', __METHOD__); $this->target = $target; } /** * Gets the comparison operator. * - * @return string The operator + * @return string */ public function getOperator() { @@ -48,17 +59,14 @@ class Comparator * Sets the comparison operator. * * @throws \InvalidArgumentException + * + * @deprecated set the operator via the constructor instead * @param string $operator */ public function setOperator($operator) { - if ('' === $operator) { - $operator = '=='; - } - if (!\in_array($operator, ['>', '<', '>=', '<=', '==', '!='])) { - throw new \InvalidArgumentException(\sprintf('Invalid operator "%s".', $operator)); - } - $this->operator = $operator; + trigger_deprecation('symfony/finder', '5.4', '"%s" is deprecated. Set the operator via the constructor instead.', __METHOD__); + $this->doSetOperator('' === $operator ? '==' : $operator); } /** * Tests against the target. @@ -69,6 +77,9 @@ class Comparator */ public function test($test) { + if (null === $this->target) { + trigger_deprecation('symfony/finder', '5.4', 'Calling "%s" without initializing the target is deprecated.', __METHOD__); + } switch ($this->operator) { case '>': return $test > $this->target; @@ -83,4 +94,11 @@ class Comparator } return $test == $this->target; } + private function doSetOperator(string $operator) : void + { + if (!\in_array($operator, ['>', '<', '>=', '<=', '==', '!='])) { + throw new \InvalidArgumentException(\sprintf('Invalid operator "%s".', $operator)); + } + $this->operator = $operator; + } } diff --git a/vendor/symfony/finder/Comparator/DateComparator.php b/vendor/symfony/finder/Comparator/DateComparator.php index c24a7f080bb..428c8acabd2 100644 --- a/vendor/symfony/finder/Comparator/DateComparator.php +++ b/vendor/symfony/finder/Comparator/DateComparator.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Comparator; /** * DateCompare compiles date comparisons. * * @author Fabien Potencier */ -class DateComparator extends \RectorPrefix20211129\Symfony\Component\Finder\Comparator\Comparator +class DateComparator extends \RectorPrefix20211130\Symfony\Component\Finder\Comparator\Comparator { /** * @param string $test A comparison string @@ -40,7 +40,6 @@ class DateComparator extends \RectorPrefix20211129\Symfony\Component\Finder\Comp if ('until' === $operator || 'before' === $operator) { $operator = '<'; } - $this->setOperator($operator); - $this->setTarget($target); + parent::__construct($target, $operator); } } diff --git a/vendor/symfony/finder/Comparator/NumberComparator.php b/vendor/symfony/finder/Comparator/NumberComparator.php index 3851ad367e4..843f76db901 100644 --- a/vendor/symfony/finder/Comparator/NumberComparator.php +++ b/vendor/symfony/finder/Comparator/NumberComparator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Comparator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Comparator; /** * NumberComparator compiles a simple comparison to an anonymous @@ -31,7 +31,7 @@ namespace RectorPrefix20211129\Symfony\Component\Finder\Comparator; * * @see http://physics.nist.gov/cuu/Units/binary.html */ -class NumberComparator extends \RectorPrefix20211129\Symfony\Component\Finder\Comparator\Comparator +class NumberComparator extends \RectorPrefix20211130\Symfony\Component\Finder\Comparator\Comparator { /** * @param string|int $test A comparison string or an integer @@ -70,7 +70,6 @@ class NumberComparator extends \RectorPrefix20211129\Symfony\Component\Finder\Co break; } } - $this->setTarget($target); - $this->setOperator($matches[1] ?? '=='); + parent::__construct($target, $matches[1] ?: '=='); } } diff --git a/vendor/symfony/finder/Exception/AccessDeniedException.php b/vendor/symfony/finder/Exception/AccessDeniedException.php index 015126765c7..f86008dc9a6 100644 --- a/vendor/symfony/finder/Exception/AccessDeniedException.php +++ b/vendor/symfony/finder/Exception/AccessDeniedException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Exception; +namespace RectorPrefix20211130\Symfony\Component\Finder\Exception; /** * @author Jean-François Simon diff --git a/vendor/symfony/finder/Exception/DirectoryNotFoundException.php b/vendor/symfony/finder/Exception/DirectoryNotFoundException.php index 4c4fc8c0f1f..6fbc12d1eeb 100644 --- a/vendor/symfony/finder/Exception/DirectoryNotFoundException.php +++ b/vendor/symfony/finder/Exception/DirectoryNotFoundException.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Exception; +namespace RectorPrefix20211130\Symfony\Component\Finder\Exception; /** * @author Andreas Erhard diff --git a/vendor/symfony/finder/Finder.php b/vendor/symfony/finder/Finder.php index f21679ca9ac..f70e1c52415 100644 --- a/vendor/symfony/finder/Finder.php +++ b/vendor/symfony/finder/Finder.php @@ -8,20 +8,20 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder; +namespace RectorPrefix20211130\Symfony\Component\Finder; -use RectorPrefix20211129\Symfony\Component\Finder\Comparator\DateComparator; -use RectorPrefix20211129\Symfony\Component\Finder\Comparator\NumberComparator; -use RectorPrefix20211129\Symfony\Component\Finder\Exception\DirectoryNotFoundException; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\CustomFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\DateRangeFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\FilecontentFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\FilenameFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\LazyIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator; -use RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Comparator\DateComparator; +use RectorPrefix20211130\Symfony\Component\Finder\Comparator\NumberComparator; +use RectorPrefix20211130\Symfony\Component\Finder\Exception\DirectoryNotFoundException; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\CustomFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\DateRangeFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\FilecontentFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\FilenameFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\LazyIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator; +use RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator; /** * Finder allows to build rules to find files and directories. * @@ -34,6 +34,8 @@ use RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator; * $finder = Finder::create()->files()->name('*.php')->in(__DIR__); * * @author Fabien Potencier + * + * @implements \IteratorAggregate */ class Finder implements \IteratorAggregate, \Countable { @@ -80,7 +82,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function directories() { - $this->mode = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_DIRECTORIES; + $this->mode = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_DIRECTORIES; return $this; } /** @@ -90,7 +92,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function files() { - $this->mode = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_FILES; + $this->mode = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\FileTypeFilterIterator::ONLY_FILES; return $this; } /** @@ -112,7 +114,7 @@ class Finder implements \IteratorAggregate, \Countable public function depth($levels) { foreach ((array) $levels as $level) { - $this->depths[] = new \RectorPrefix20211129\Symfony\Component\Finder\Comparator\NumberComparator($level); + $this->depths[] = new \RectorPrefix20211130\Symfony\Component\Finder\Comparator\NumberComparator($level); } return $this; } @@ -138,7 +140,7 @@ class Finder implements \IteratorAggregate, \Countable public function date($dates) { foreach ((array) $dates as $date) { - $this->dates[] = new \RectorPrefix20211129\Symfony\Component\Finder\Comparator\DateComparator($date); + $this->dates[] = new \RectorPrefix20211130\Symfony\Component\Finder\Comparator\DateComparator($date); } return $this; } @@ -279,7 +281,7 @@ class Finder implements \IteratorAggregate, \Countable public function size($sizes) { foreach ((array) $sizes as $size) { - $this->sizes[] = new \RectorPrefix20211129\Symfony\Component\Finder\Comparator\NumberComparator($size); + $this->sizes[] = new \RectorPrefix20211130\Symfony\Component\Finder\Comparator\NumberComparator($size); } return $this; } @@ -399,7 +401,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByName($useNaturalSort = \false) { - $this->sort = $useNaturalSort ? \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME_NATURAL : \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME; + $this->sort = $useNaturalSort ? \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME_NATURAL : \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_NAME; return $this; } /** @@ -413,7 +415,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByType() { - $this->sort = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_TYPE; + $this->sort = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_TYPE; return $this; } /** @@ -429,7 +431,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByAccessedTime() { - $this->sort = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_ACCESSED_TIME; + $this->sort = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_ACCESSED_TIME; return $this; } /** @@ -457,7 +459,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByChangedTime() { - $this->sort = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_CHANGED_TIME; + $this->sort = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_CHANGED_TIME; return $this; } /** @@ -473,7 +475,7 @@ class Finder implements \IteratorAggregate, \Countable */ public function sortByModifiedTime() { - $this->sort = \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_MODIFIED_TIME; + $this->sort = \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator::SORT_BY_MODIFIED_TIME; return $this; } /** @@ -529,15 +531,15 @@ class Finder implements \IteratorAggregate, \Countable $resolvedDirs = []; foreach ((array) $dirs as $dir) { if (\is_dir($dir)) { - $resolvedDirs[] = $this->normalizeDir($dir); + $resolvedDirs[] = [$this->normalizeDir($dir)]; } elseif ($glob = \glob($dir, (\defined('GLOB_BRACE') ? \GLOB_BRACE : 0) | \GLOB_ONLYDIR | \GLOB_NOSORT)) { \sort($glob); - $resolvedDirs = \array_merge($resolvedDirs, \array_map([$this, 'normalizeDir'], $glob)); + $resolvedDirs[] = \array_map([$this, 'normalizeDir'], $glob); } else { - throw new \RectorPrefix20211129\Symfony\Component\Finder\Exception\DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); + throw new \RectorPrefix20211130\Symfony\Component\Finder\Exception\DirectoryNotFoundException(\sprintf('The "%s" directory does not exist.', $dir)); } } - $this->dirs = \array_merge($this->dirs, $resolvedDirs); + $this->dirs = \array_merge($this->dirs, ...$resolvedDirs); return $this; } /** @@ -545,7 +547,7 @@ class Finder implements \IteratorAggregate, \Countable * * This method implements the IteratorAggregate interface. * - * @return \Iterator|SplFileInfo[] An iterator + * @return \Iterator * * @throws \LogicException if the in() method has not been called */ @@ -558,13 +560,13 @@ class Finder implements \IteratorAggregate, \Countable if (1 === \count($this->dirs) && 0 === \count($this->iterators)) { $iterator = $this->searchInDirectory($this->dirs[0]); if ($this->sort || $this->reverseSorting) { - $iterator = (new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); + $iterator = (new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); } return $iterator; } $iterator = new \AppendIterator(); foreach ($this->dirs as $dir) { - $iterator->append(new \IteratorIterator(new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\LazyIterator(function () use($dir) { + $iterator->append(new \IteratorIterator(new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\LazyIterator(function () use($dir) { return $this->searchInDirectory($dir); }))); } @@ -572,7 +574,7 @@ class Finder implements \IteratorAggregate, \Countable $iterator->append($it); } if ($this->sort || $this->reverseSorting) { - $iterator = (new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); + $iterator = (new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SortableIterator($iterator, $this->sort, $this->reverseSorting))->getIterator(); } return $iterator; } @@ -636,13 +638,6 @@ class Finder implements \IteratorAggregate, \Countable if (static::IGNORE_DOT_FILES === (static::IGNORE_DOT_FILES & $this->ignore)) { $notPaths[] = '#(^|/)\\..+(/|$)#'; } - if (static::IGNORE_VCS_IGNORED_FILES === (static::IGNORE_VCS_IGNORED_FILES & $this->ignore)) { - $gitignoreFilePath = \sprintf('%s/.gitignore', $dir); - if (!\is_readable($gitignoreFilePath)) { - throw new \RuntimeException(\sprintf('The "ignoreVCSIgnored" option cannot be used by the Finder as the "%s" file is not readable.', $gitignoreFilePath)); - } - $notPaths = \array_merge($notPaths, [\RectorPrefix20211129\Symfony\Component\Finder\Gitignore::toRegex(\file_get_contents($gitignoreFilePath))]); - } $minDepth = 0; $maxDepth = \PHP_INT_MAX; foreach ($this->depths as $comparator) { @@ -667,34 +662,37 @@ class Finder implements \IteratorAggregate, \Countable if ($this->followLinks) { $flags |= \RecursiveDirectoryIterator::FOLLOW_SYMLINKS; } - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator($dir, $flags, $this->ignoreUnreadableDirs); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\RecursiveDirectoryIterator($dir, $flags, $this->ignoreUnreadableDirs); if ($exclude) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator($iterator, $exclude); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\ExcludeDirectoryFilterIterator($iterator, $exclude); } $iterator = new \RecursiveIteratorIterator($iterator, \RecursiveIteratorIterator::SELF_FIRST); if ($minDepth > 0 || $maxDepth < \PHP_INT_MAX) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator($iterator, $minDepth, $maxDepth); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\DepthRangeFilterIterator($iterator, $minDepth, $maxDepth); } if ($this->mode) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\FileTypeFilterIterator($iterator, $this->mode); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\FileTypeFilterIterator($iterator, $this->mode); } if ($this->names || $this->notNames) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\FilenameFilterIterator($iterator, $this->names, $this->notNames); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\FilenameFilterIterator($iterator, $this->names, $this->notNames); } if ($this->contains || $this->notContains) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\FilecontentFilterIterator($iterator, $this->contains, $this->notContains); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\FilecontentFilterIterator($iterator, $this->contains, $this->notContains); } if ($this->sizes) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator($iterator, $this->sizes); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\SizeRangeFilterIterator($iterator, $this->sizes); } if ($this->dates) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\DateRangeFilterIterator($iterator, $this->dates); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\DateRangeFilterIterator($iterator, $this->dates); } if ($this->filters) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\CustomFilterIterator($iterator, $this->filters); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\CustomFilterIterator($iterator, $this->filters); } if ($this->paths || $notPaths) { - $iterator = new \RectorPrefix20211129\Symfony\Component\Finder\Iterator\PathFilterIterator($iterator, $this->paths, $notPaths); + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\PathFilterIterator($iterator, $this->paths, $notPaths); + } + if (static::IGNORE_VCS_IGNORED_FILES === (static::IGNORE_VCS_IGNORED_FILES & $this->ignore)) { + $iterator = new \RectorPrefix20211130\Symfony\Component\Finder\Iterator\VcsIgnoredFilterIterator($iterator, $dir); } return $iterator; } diff --git a/vendor/symfony/finder/Gitignore.php b/vendor/symfony/finder/Gitignore.php index 5e89b83d7cc..63ff17b384e 100644 --- a/vendor/symfony/finder/Gitignore.php +++ b/vendor/symfony/finder/Gitignore.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder; +namespace RectorPrefix20211130\Symfony\Component\Finder; /** * Gitignore matches against text. @@ -25,11 +25,22 @@ class Gitignore * @param string $gitignoreFileContent */ public static function toRegex($gitignoreFileContent) : string + { + return self::buildRegex($gitignoreFileContent, \false); + } + /** + * @param string $gitignoreFileContent + */ + public static function toRegexMatchingNegatedPatterns($gitignoreFileContent) : string + { + return self::buildRegex($gitignoreFileContent, \true); + } + private static function buildRegex(string $gitignoreFileContent, bool $inverted) : string { $gitignoreFileContent = \preg_replace('~(? $line) { + foreach ($gitignoreLines as $line) { $line = \preg_replace('~(? + * + * @extends \FilterIterator */ class CustomFilterIterator extends \FilterIterator { private $filters = []; /** - * @param \Iterator $iterator The Iterator to filter - * @param callable[] $filters An array of PHP callbacks + * @param \Iterator $iterator The Iterator to filter + * @param callable[] $filters An array of PHP callbacks * * @throws \InvalidArgumentException */ @@ -40,7 +42,7 @@ class CustomFilterIterator extends \FilterIterator /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php b/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php index 53b85d017e9..fc7677776f4 100644 --- a/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/DateRangeFilterIterator.php @@ -8,20 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; -use RectorPrefix20211129\Symfony\Component\Finder\Comparator\DateComparator; +use RectorPrefix20211130\Symfony\Component\Finder\Comparator\DateComparator; /** * DateRangeFilterIterator filters out files that are not in the given date range (last modified dates). * * @author Fabien Potencier + * + * @extends \FilterIterator */ class DateRangeFilterIterator extends \FilterIterator { private $comparators = []; /** - * @param \Iterator $iterator The Iterator to filter - * @param DateComparator[] $comparators An array of DateComparator instances + * @param \Iterator $iterator + * @param DateComparator[] $comparators */ public function __construct(\Iterator $iterator, array $comparators) { @@ -31,7 +33,7 @@ class DateRangeFilterIterator extends \FilterIterator /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php b/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php index 21b857eb48e..5d7cb084c66 100644 --- a/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/DepthRangeFilterIterator.php @@ -8,20 +8,25 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * DepthRangeFilterIterator limits the directory depth. * * @author Fabien Potencier + * + * @template-covariant TKey + * @template-covariant TValue + * + * @extends \FilterIterator */ class DepthRangeFilterIterator extends \FilterIterator { private $minDepth = 0; /** - * @param \RecursiveIteratorIterator $iterator The Iterator to filter - * @param int $minDepth The min depth - * @param int $maxDepth The max depth + * @param \RecursiveIteratorIterator<\RecursiveIterator> $iterator The Iterator to filter + * @param int $minDepth The min depth + * @param int $maxDepth The max depth */ public function __construct(\RecursiveIteratorIterator $iterator, int $minDepth = 0, int $maxDepth = \PHP_INT_MAX) { @@ -32,7 +37,7 @@ class DepthRangeFilterIterator extends \FilterIterator /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php b/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php index f6b723d72e9..923941c8cbd 100644 --- a/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php +++ b/vendor/symfony/finder/Iterator/ExcludeDirectoryFilterIterator.php @@ -8,12 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * ExcludeDirectoryFilterIterator filters out directories. * * @author Fabien Potencier + * + * @extends \FilterIterator + * @implements \RecursiveIterator */ class ExcludeDirectoryFilterIterator extends \FilterIterator implements \RecursiveIterator { @@ -46,7 +49,7 @@ class ExcludeDirectoryFilterIterator extends \FilterIterator implements \Recursi /** * Filters the iterator values. * - * @return bool True if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php b/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php index dea017b0082..82567c19f9f 100644 --- a/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FileTypeFilterIterator.php @@ -8,12 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * FileTypeFilterIterator only keeps files, directories, or both. * * @author Fabien Potencier + * + * @extends \FilterIterator */ class FileTypeFilterIterator extends \FilterIterator { @@ -32,7 +34,7 @@ class FileTypeFilterIterator extends \FilterIterator /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php b/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php index 4e6b8ba1d1b..1e9a4241066 100644 --- a/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FilecontentFilterIterator.php @@ -8,20 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * FilecontentFilterIterator filters files by their contents using patterns (regexps or strings). * * @author Fabien Potencier * @author WÅ‚odzimierz Gajda + * + * @extends MultiplePcreFilterIterator */ -class FilecontentFilterIterator extends \RectorPrefix20211129\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class FilecontentFilterIterator extends \RectorPrefix20211130\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() @@ -44,7 +46,7 @@ class FilecontentFilterIterator extends \RectorPrefix20211129\Symfony\Component\ * * @param string $str Pattern: string or regexp * - * @return string regexp corresponding to a given string or regexp + * @return string */ protected function toRegex($str) { diff --git a/vendor/symfony/finder/Iterator/FilenameFilterIterator.php b/vendor/symfony/finder/Iterator/FilenameFilterIterator.php index bfba804f2e2..109a76d5e3f 100644 --- a/vendor/symfony/finder/Iterator/FilenameFilterIterator.php +++ b/vendor/symfony/finder/Iterator/FilenameFilterIterator.php @@ -8,20 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; -use RectorPrefix20211129\Symfony\Component\Finder\Glob; +use RectorPrefix20211130\Symfony\Component\Finder\Glob; /** * FilenameFilterIterator filters files by patterns (a regexp, a glob, or a string). * * @author Fabien Potencier + * + * @extends MultiplePcreFilterIterator */ -class FilenameFilterIterator extends \RectorPrefix20211129\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class FilenameFilterIterator extends \RectorPrefix20211130\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() @@ -36,10 +38,10 @@ class FilenameFilterIterator extends \RectorPrefix20211129\Symfony\Component\Fin * * @param string $str Pattern: glob or regexp * - * @return string regexp corresponding to a given glob or regexp + * @return string */ protected function toRegex($str) { - return $this->isRegex($str) ? $str : \RectorPrefix20211129\Symfony\Component\Finder\Glob::toRegex($str); + return $this->isRegex($str) ? $str : \RectorPrefix20211130\Symfony\Component\Finder\Glob::toRegex($str); } } diff --git a/vendor/symfony/finder/Iterator/LazyIterator.php b/vendor/symfony/finder/Iterator/LazyIterator.php index 8eb3f2cd75a..ea76bb5d3ef 100644 --- a/vendor/symfony/finder/Iterator/LazyIterator.php +++ b/vendor/symfony/finder/Iterator/LazyIterator.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * @author Jérémy Derussé diff --git a/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php b/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php index 2ef9d274971..829f87decad 100644 --- a/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php +++ b/vendor/symfony/finder/Iterator/MultiplePcreFilterIterator.php @@ -8,12 +8,17 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * MultiplePcreFilterIterator filters files using patterns (regexps, globs or strings). * * @author Fabien Potencier + * + * @template-covariant TKey + * @template-covariant TValue + * + * @extends \FilterIterator */ abstract class MultiplePcreFilterIterator extends \FilterIterator { diff --git a/vendor/symfony/finder/Iterator/PathFilterIterator.php b/vendor/symfony/finder/Iterator/PathFilterIterator.php index 89c7f47668c..65a01cf2d6a 100644 --- a/vendor/symfony/finder/Iterator/PathFilterIterator.php +++ b/vendor/symfony/finder/Iterator/PathFilterIterator.php @@ -8,20 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * PathFilterIterator filters files by path patterns (e.g. some/special/dir). * * @author Fabien Potencier * @author WÅ‚odzimierz Gajda + * + * @extends MultiplePcreFilterIterator */ -class PathFilterIterator extends \RectorPrefix20211129\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator +class PathFilterIterator extends \RectorPrefix20211130\Symfony\Component\Finder\Iterator\MultiplePcreFilterIterator { /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() @@ -44,7 +46,7 @@ class PathFilterIterator extends \RectorPrefix20211129\Symfony\Component\Finder\ * * @param string $str Pattern: regexp or dirname * - * @return string regexp corresponding to a given string or regexp + * @return string */ protected function toRegex($str) { diff --git a/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php b/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php index 1b8512bda31..5cb15cce498 100644 --- a/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php +++ b/vendor/symfony/finder/Iterator/RecursiveDirectoryIterator.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; -use RectorPrefix20211129\Symfony\Component\Finder\Exception\AccessDeniedException; -use RectorPrefix20211129\Symfony\Component\Finder\SplFileInfo; +use RectorPrefix20211130\Symfony\Component\Finder\Exception\AccessDeniedException; +use RectorPrefix20211130\Symfony\Component\Finder\SplFileInfo; /** * Extends the \RecursiveDirectoryIterator to support relative paths. * @@ -49,14 +49,14 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator /** * Return an instance of SplFileInfo with support for relative paths. * - * @return SplFileInfo File information + * @return SplFileInfo */ #[\ReturnTypeWillChange] public function current() { // the logic here avoids redoing the same work in all iterations if (null === ($subPathname = $this->subPath)) { - $subPathname = $this->subPath = (string) $this->getSubPath(); + $subPathname = $this->subPath = $this->getSubPath(); } if ('' !== $subPathname) { $subPathname .= $this->directorySeparator; @@ -65,10 +65,30 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator if ('/' !== ($basePath = $this->rootPath)) { $basePath .= $this->directorySeparator; } - return new \RectorPrefix20211129\Symfony\Component\Finder\SplFileInfo($basePath . $subPathname, $this->subPath, $subPathname); + return new \RectorPrefix20211130\Symfony\Component\Finder\SplFileInfo($basePath . $subPathname, $this->subPath, $subPathname); } /** - * @return \RecursiveIterator + * @param bool $allowLinks + * + * @return bool + */ + #[\ReturnTypeWillChange] + public function hasChildren($allowLinks = \false) + { + $hasChildren = parent::hasChildren($allowLinks); + if (!$hasChildren || !$this->ignoreUnreadableDirs) { + return $hasChildren; + } + try { + parent::getChildren(); + return \true; + } catch (\UnexpectedValueException $e) { + // If directory is unreadable and finder is set to ignore it, skip children + return \false; + } + } + /** + * @return \RecursiveDirectoryIterator * * @throws AccessDeniedException */ @@ -86,12 +106,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator } return $children; } catch (\UnexpectedValueException $e) { - if ($this->ignoreUnreadableDirs) { - // If directory is unreadable and finder is set to ignore it, a fake empty content is returned. - return new \RecursiveArrayIterator([]); - } else { - throw new \RectorPrefix20211129\Symfony\Component\Finder\Exception\AccessDeniedException($e->getMessage(), $e->getCode(), $e); - } + throw new \RectorPrefix20211130\Symfony\Component\Finder\Exception\AccessDeniedException($e->getMessage(), $e->getCode(), $e); } } /** @@ -110,7 +125,7 @@ class RecursiveDirectoryIterator extends \RecursiveDirectoryIterator /** * Checks if the stream is rewindable. * - * @return bool true when the stream is rewindable, false otherwise + * @return bool */ public function isRewindable() { diff --git a/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php b/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php index 9df61330439..410858b5432 100644 --- a/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php +++ b/vendor/symfony/finder/Iterator/SizeRangeFilterIterator.php @@ -8,20 +8,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; -use RectorPrefix20211129\Symfony\Component\Finder\Comparator\NumberComparator; +use RectorPrefix20211130\Symfony\Component\Finder\Comparator\NumberComparator; /** * SizeRangeFilterIterator filters out files that are not in the given size range. * * @author Fabien Potencier + * + * @extends \FilterIterator */ class SizeRangeFilterIterator extends \FilterIterator { private $comparators = []; /** - * @param \Iterator $iterator The Iterator to filter - * @param NumberComparator[] $comparators An array of NumberComparator instances + * @param \Iterator $iterator + * @param NumberComparator[] $comparators */ public function __construct(\Iterator $iterator, array $comparators) { @@ -31,7 +33,7 @@ class SizeRangeFilterIterator extends \FilterIterator /** * Filters the iterator values. * - * @return bool true if the value should be kept, false otherwise + * @return bool */ #[\ReturnTypeWillChange] public function accept() diff --git a/vendor/symfony/finder/Iterator/SortableIterator.php b/vendor/symfony/finder/Iterator/SortableIterator.php index b61fc6b997c..1807d2782fa 100644 --- a/vendor/symfony/finder/Iterator/SortableIterator.php +++ b/vendor/symfony/finder/Iterator/SortableIterator.php @@ -8,12 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder\Iterator; +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; /** * SortableIterator applies a sort on a given Iterator. * * @author Fabien Potencier + * + * @implements \IteratorAggregate */ class SortableIterator implements \IteratorAggregate { @@ -27,7 +29,8 @@ class SortableIterator implements \IteratorAggregate private $iterator; private $sort; /** - * @param int|callable $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback) + * @param \Traversable $iterator + * @param int|callable $sort The sort type (SORT_BY_NAME, SORT_BY_TYPE, or a PHP callback) * * @throws \InvalidArgumentException */ @@ -75,7 +78,7 @@ class SortableIterator implements \IteratorAggregate } } /** - * @return \Traversable + * @return \Traversable */ #[\ReturnTypeWillChange] public function getIterator() diff --git a/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php b/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php new file mode 100644 index 00000000000..501c8ad430c --- /dev/null +++ b/vendor/symfony/finder/Iterator/VcsIgnoredFilterIterator.php @@ -0,0 +1,114 @@ + + * + * For the full copyright and license information, please view the LICENSE + * file that was distributed with this source code. + */ +namespace RectorPrefix20211130\Symfony\Component\Finder\Iterator; + +use RectorPrefix20211130\Symfony\Component\Finder\Gitignore; +final class VcsIgnoredFilterIterator extends \FilterIterator +{ + /** + * @var string + */ + private $baseDir; + /** + * @var array + */ + private $gitignoreFilesCache = []; + /** + * @var array + */ + private $ignoredPathsCache = []; + public function __construct(\Iterator $iterator, string $baseDir) + { + $this->baseDir = $this->normalizePath($baseDir); + parent::__construct($iterator); + } + public function accept() : bool + { + $file = $this->current(); + $fileRealPath = $this->normalizePath($file->getRealPath()); + return !$this->isIgnored($fileRealPath); + } + private function isIgnored(string $fileRealPath) : bool + { + if (\is_dir($fileRealPath) && \substr_compare($fileRealPath, '/', -\strlen('/')) !== 0) { + $fileRealPath .= '/'; + } + if (isset($this->ignoredPathsCache[$fileRealPath])) { + return $this->ignoredPathsCache[$fileRealPath]; + } + $ignored = \false; + foreach ($this->parentsDirectoryDownward($fileRealPath) as $parentDirectory) { + if ($this->isIgnored($parentDirectory)) { + $ignored = \true; + // rules in ignored directories are ignored, no need to check further. + break; + } + $fileRelativePath = \substr($fileRealPath, \strlen($parentDirectory) + 1); + if (null === ($regexps = $this->readGitignoreFile("{$parentDirectory}/.gitignore"))) { + continue; + } + [$exclusionRegex, $inclusionRegex] = $regexps; + if (\preg_match($exclusionRegex, $fileRelativePath)) { + $ignored = \true; + continue; + } + if (\preg_match($inclusionRegex, $fileRelativePath)) { + $ignored = \false; + } + } + return $this->ignoredPathsCache[$fileRealPath] = $ignored; + } + /** + * @return list + */ + private function parentsDirectoryDownward(string $fileRealPath) : array + { + $parentDirectories = []; + $parentDirectory = $fileRealPath; + while (\true) { + $newParentDirectory = \dirname($parentDirectory); + // dirname('/') = '/' + if ($newParentDirectory === $parentDirectory) { + break; + } + $parentDirectory = $newParentDirectory; + if (0 !== \strpos($parentDirectory, $this->baseDir)) { + break; + } + $parentDirectories[] = $parentDirectory; + } + return \array_reverse($parentDirectories); + } + /** + * @return array{0: string, 1: string}|null + */ + private function readGitignoreFile(string $path) : ?array + { + if (\array_key_exists($path, $this->gitignoreFilesCache)) { + return $this->gitignoreFilesCache[$path]; + } + if (!\file_exists($path)) { + return $this->gitignoreFilesCache[$path] = null; + } + if (!\is_file($path) || !\is_readable($path)) { + throw new \RuntimeException("The \"ignoreVCSIgnored\" option cannot be used by the Finder as the \"{$path}\" file is not readable."); + } + $gitignoreFileContent = \file_get_contents($path); + return $this->gitignoreFilesCache[$path] = [\RectorPrefix20211130\Symfony\Component\Finder\Gitignore::toRegex($gitignoreFileContent), \RectorPrefix20211130\Symfony\Component\Finder\Gitignore::toRegexMatchingNegatedPatterns($gitignoreFileContent)]; + } + private function normalizePath(string $path) : string + { + if ('\\' === \DIRECTORY_SEPARATOR) { + return \str_replace('\\', '/', $path); + } + return $path; + } +} diff --git a/vendor/symfony/finder/SplFileInfo.php b/vendor/symfony/finder/SplFileInfo.php index bac406d4f30..e3057ff7578 100644 --- a/vendor/symfony/finder/SplFileInfo.php +++ b/vendor/symfony/finder/SplFileInfo.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Finder; +namespace RectorPrefix20211130\Symfony\Component\Finder; /** * Extends \SplFileInfo to support relative paths. @@ -35,7 +35,7 @@ class SplFileInfo extends \SplFileInfo * * This path does not contain the file name. * - * @return string the relative path + * @return string */ public function getRelativePath() { @@ -46,7 +46,7 @@ class SplFileInfo extends \SplFileInfo * * This path contains the file name. * - * @return string the relative path name + * @return string */ public function getRelativePathname() { @@ -60,7 +60,7 @@ class SplFileInfo extends \SplFileInfo /** * Returns the contents of the file. * - * @return string the contents of the file + * @return string * * @throws \RuntimeException */ @@ -69,8 +69,11 @@ class SplFileInfo extends \SplFileInfo \set_error_handler(function ($type, $msg) use(&$error) { $error = $msg; }); - $content = \file_get_contents($this->getPathname()); - \restore_error_handler(); + try { + $content = \file_get_contents($this->getPathname()); + } finally { + \restore_error_handler(); + } if (\false === $content) { throw new \RuntimeException($error); } diff --git a/vendor/symfony/finder/composer.json b/vendor/symfony/finder/composer.json index 6bc0c8a2b19..a3744db0b70 100644 --- a/vendor/symfony/finder/composer.json +++ b/vendor/symfony/finder/composer.json @@ -17,11 +17,12 @@ ], "require": { "php": ">=7.2.5", + "symfony\/deprecation-contracts": "^2.1|^3", "symfony\/polyfill-php80": "^1.16" }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Finder\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Finder\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/polyfill-ctype/Ctype.php b/vendor/symfony/polyfill-ctype/Ctype.php index 36dab0eabdd..7db1672a6d2 100644 --- a/vendor/symfony/polyfill-ctype/Ctype.php +++ b/vendor/symfony/polyfill-ctype/Ctype.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Ctype; +namespace RectorPrefix20211130\Symfony\Polyfill\Ctype; /** * Ctype implementation through regex. diff --git a/vendor/symfony/polyfill-ctype/bootstrap.php b/vendor/symfony/polyfill-ctype/bootstrap.php index 57094eb0d4b..c5ab6316b94 100644 --- a/vendor/symfony/polyfill-ctype/bootstrap.php +++ b/vendor/symfony/polyfill-ctype/bootstrap.php @@ -10,73 +10,73 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Ctype as p; +use RectorPrefix20211130\Symfony\Polyfill\Ctype as p; if (\PHP_VERSION_ID >= 80000) { return require __DIR__ . '/bootstrap80.php'; } if (!\function_exists('ctype_alnum')) { function ctype_alnum($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); } } if (!\function_exists('ctype_alpha')) { function ctype_alpha($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); } } if (!\function_exists('ctype_cntrl')) { function ctype_cntrl($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); } } if (!\function_exists('ctype_digit')) { function ctype_digit($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); } } if (!\function_exists('ctype_graph')) { function ctype_graph($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); } } if (!\function_exists('ctype_lower')) { function ctype_lower($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); } } if (!\function_exists('ctype_print')) { function ctype_print($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); } } if (!\function_exists('ctype_punct')) { function ctype_punct($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); } } if (!\function_exists('ctype_space')) { function ctype_space($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); } } if (!\function_exists('ctype_upper')) { function ctype_upper($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); } } if (!\function_exists('ctype_xdigit')) { function ctype_xdigit($text) { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); } } diff --git a/vendor/symfony/polyfill-ctype/bootstrap80.php b/vendor/symfony/polyfill-ctype/bootstrap80.php index ca14e011493..861e2c744fe 100644 --- a/vendor/symfony/polyfill-ctype/bootstrap80.php +++ b/vendor/symfony/polyfill-ctype/bootstrap80.php @@ -10,14 +10,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Ctype as p; +use RectorPrefix20211130\Symfony\Polyfill\Ctype as p; if (!\function_exists('ctype_alnum')) { /** * @param mixed $text */ function ctype_alnum($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_alnum($text); } } if (!\function_exists('ctype_alpha')) { @@ -26,7 +26,7 @@ if (!\function_exists('ctype_alpha')) { */ function ctype_alpha($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_alpha($text); } } if (!\function_exists('ctype_cntrl')) { @@ -35,7 +35,7 @@ if (!\function_exists('ctype_cntrl')) { */ function ctype_cntrl($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_cntrl($text); } } if (!\function_exists('ctype_digit')) { @@ -44,7 +44,7 @@ if (!\function_exists('ctype_digit')) { */ function ctype_digit($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_digit($text); } } if (!\function_exists('ctype_graph')) { @@ -53,7 +53,7 @@ if (!\function_exists('ctype_graph')) { */ function ctype_graph($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_graph($text); } } if (!\function_exists('ctype_lower')) { @@ -62,7 +62,7 @@ if (!\function_exists('ctype_lower')) { */ function ctype_lower($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_lower($text); } } if (!\function_exists('ctype_print')) { @@ -71,7 +71,7 @@ if (!\function_exists('ctype_print')) { */ function ctype_print($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_print($text); } } if (!\function_exists('ctype_punct')) { @@ -80,7 +80,7 @@ if (!\function_exists('ctype_punct')) { */ function ctype_punct($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_punct($text); } } if (!\function_exists('ctype_space')) { @@ -89,7 +89,7 @@ if (!\function_exists('ctype_space')) { */ function ctype_space($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_space($text); } } if (!\function_exists('ctype_upper')) { @@ -98,7 +98,7 @@ if (!\function_exists('ctype_upper')) { */ function ctype_upper($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_upper($text); } } if (!\function_exists('ctype_xdigit')) { @@ -107,6 +107,6 @@ if (!\function_exists('ctype_xdigit')) { */ function ctype_xdigit($text) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); + return \RectorPrefix20211130\Symfony\Polyfill\Ctype\Ctype::ctype_xdigit($text); } } diff --git a/vendor/symfony/polyfill-ctype/composer.json b/vendor/symfony/polyfill-ctype/composer.json index c30bf85ab35..0f0a784c9bb 100644 --- a/vendor/symfony/polyfill-ctype/composer.json +++ b/vendor/symfony/polyfill-ctype/composer.json @@ -25,7 +25,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Ctype\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Ctype\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-intl-grapheme/Grapheme.php b/vendor/symfony/polyfill-intl-grapheme/Grapheme.php index daa58e26e3d..0ce32b74803 100644 --- a/vendor/symfony/polyfill-intl-grapheme/Grapheme.php +++ b/vendor/symfony/polyfill-intl-grapheme/Grapheme.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme; +namespace RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme; -\define('SYMFONY_GRAPHEME_CLUSTER_RX', \PCRE_VERSION >= '8.32' ? '\\X' : \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX); +\define('SYMFONY_GRAPHEME_CLUSTER_RX', \PCRE_VERSION >= '8.32' ? '\\X' : \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::GRAPHEME_CLUSTER_RX); /** * Partial intl implementation in pure PHP. * diff --git a/vendor/symfony/polyfill-intl-grapheme/bootstrap.php b/vendor/symfony/polyfill-intl-grapheme/bootstrap.php index 378f1a9cfcc..7ab8d7303bc 100644 --- a/vendor/symfony/polyfill-intl-grapheme/bootstrap.php +++ b/vendor/symfony/polyfill-intl-grapheme/bootstrap.php @@ -10,7 +10,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme as p; +use RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme as p; if (\extension_loaded('intl')) { return; } @@ -29,54 +29,54 @@ if (!\defined('GRAPHEME_EXTR_MAXCHARS')) { if (!\function_exists('grapheme_extract')) { function grapheme_extract($haystack, $size, $type = 0, $start = 0, &$next = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract($haystack, $size, $type, $start, $next); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract($haystack, $size, $type, $start, $next); } } if (!\function_exists('grapheme_stripos')) { function grapheme_stripos($haystack, $needle, $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos($haystack, $needle, $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_stristr')) { function grapheme_stristr($haystack, $needle, $beforeNeedle = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr($haystack, $needle, $beforeNeedle); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr($haystack, $needle, $beforeNeedle); } } if (!\function_exists('grapheme_strlen')) { function grapheme_strlen($input) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen($input); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen($input); } } if (!\function_exists('grapheme_strpos')) { function grapheme_strpos($haystack, $needle, $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos($haystack, $needle, $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strripos')) { function grapheme_strripos($haystack, $needle, $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos($haystack, $needle, $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strrpos')) { function grapheme_strrpos($haystack, $needle, $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos($haystack, $needle, $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos($haystack, $needle, $offset); } } if (!\function_exists('grapheme_strstr')) { function grapheme_strstr($haystack, $needle, $beforeNeedle = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr($haystack, $needle, $beforeNeedle); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr($haystack, $needle, $beforeNeedle); } } if (!\function_exists('grapheme_substr')) { function grapheme_substr($string, $offset, $length = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr($string, $offset, $length); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr($string, $offset, $length); } } diff --git a/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php b/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php index 927d2085cb4..7513a00c292 100644 --- a/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php +++ b/vendor/symfony/polyfill-intl-grapheme/bootstrap80.php @@ -10,7 +10,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme as p; +use RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme as p; if (!\defined('GRAPHEME_EXTR_COUNT')) { \define('GRAPHEME_EXTR_COUNT', 0); } @@ -26,7 +26,7 @@ if (!\function_exists('grapheme_extract')) { */ function grapheme_extract(?string $haystack, ?int $size, ?int $type = \GRAPHEME_EXTR_COUNT, ?int $offset = 0, &$next = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract((string) $haystack, (int) $size, (int) $type, (int) $offset, $next); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_extract((string) $haystack, (int) $size, (int) $type, (int) $offset, $next); } } if (!\function_exists('grapheme_stripos')) { @@ -35,7 +35,7 @@ if (!\function_exists('grapheme_stripos')) { */ function grapheme_stripos(?string $haystack, ?string $needle, ?int $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stripos((string) $haystack, (string) $needle, (int) $offset); } } if (!\function_exists('grapheme_stristr')) { @@ -44,7 +44,7 @@ if (!\function_exists('grapheme_stristr')) { */ function grapheme_stristr(?string $haystack, ?string $needle, ?bool $beforeNeedle = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr((string) $haystack, (string) $needle, (bool) $beforeNeedle); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_stristr((string) $haystack, (string) $needle, (bool) $beforeNeedle); } } if (!\function_exists('grapheme_strlen')) { @@ -53,7 +53,7 @@ if (!\function_exists('grapheme_strlen')) { */ function grapheme_strlen(?string $string) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen((string) $string); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strlen((string) $string); } } if (!\function_exists('grapheme_strpos')) { @@ -62,7 +62,7 @@ if (!\function_exists('grapheme_strpos')) { */ function grapheme_strpos(?string $haystack, ?string $needle, ?int $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strpos((string) $haystack, (string) $needle, (int) $offset); } } if (!\function_exists('grapheme_strripos')) { @@ -71,7 +71,7 @@ if (!\function_exists('grapheme_strripos')) { */ function grapheme_strripos(?string $haystack, ?string $needle, ?int $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strripos((string) $haystack, (string) $needle, (int) $offset); } } if (!\function_exists('grapheme_strrpos')) { @@ -80,7 +80,7 @@ if (!\function_exists('grapheme_strrpos')) { */ function grapheme_strrpos(?string $haystack, ?string $needle, ?int $offset = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos((string) $haystack, (string) $needle, (int) $offset); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strrpos((string) $haystack, (string) $needle, (int) $offset); } } if (!\function_exists('grapheme_strstr')) { @@ -89,7 +89,7 @@ if (!\function_exists('grapheme_strstr')) { */ function grapheme_strstr(?string $haystack, ?string $needle, ?bool $beforeNeedle = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_strstr((string) $haystack, (string) $needle, (bool) $beforeNeedle); } } if (!\function_exists('grapheme_substr')) { @@ -98,6 +98,6 @@ if (!\function_exists('grapheme_substr')) { */ function grapheme_substr(?string $string, ?int $offset, ?int $length = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Grapheme\Grapheme::grapheme_substr((string) $string, (int) $offset, $length); } } diff --git a/vendor/symfony/polyfill-intl-grapheme/composer.json b/vendor/symfony/polyfill-intl-grapheme/composer.json index 29e0df2bf61..87a8d99d97e 100644 --- a/vendor/symfony/polyfill-intl-grapheme/composer.json +++ b/vendor/symfony/polyfill-intl-grapheme/composer.json @@ -27,7 +27,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Grapheme\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-intl-normalizer/Normalizer.php b/vendor/symfony/polyfill-intl-normalizer/Normalizer.php index 829b3ae4f6c..aa110b48976 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Normalizer.php +++ b/vendor/symfony/polyfill-intl-normalizer/Normalizer.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer; +namespace RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer; /** * Normalizer is a PHP fallback implementation of the Normalizer class provided by the intl extension. diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php b/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php index 8678548e4ce..6476da60ffd 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/stubs/Normalizer.php @@ -1,8 +1,8 @@ 'À', 'AÌ' => 'Ã', 'AÌ‚' => 'Â', 'Ã' => 'Ã', 'Ä' => 'Ä', 'AÌŠ' => 'Ã…', 'Ç' => 'Ç', 'EÌ€' => 'È', 'EÌ' => 'É', 'EÌ‚' => 'Ê', 'Ë' => 'Ë', 'IÌ€' => 'ÃŒ', 'IÌ' => 'Ã', 'IÌ‚' => 'ÃŽ', 'Ï' => 'Ã', 'Ñ' => 'Ñ', 'OÌ€' => 'Ã’', 'OÌ' => 'Ó', 'OÌ‚' => 'Ô', 'Õ' => 'Õ', 'Ö' => 'Ö', 'UÌ€' => 'Ù', 'UÌ' => 'Ú', 'UÌ‚' => 'Û', 'Ü' => 'Ãœ', 'YÌ' => 'Ã', 'aÌ€' => 'à', 'aÌ' => 'á', 'aÌ‚' => 'â', 'ã' => 'ã', 'ä' => 'ä', 'aÌŠ' => 'Ã¥', 'ç' => 'ç', 'eÌ€' => 'è', 'eÌ' => 'é', 'eÌ‚' => 'ê', 'ë' => 'ë', 'iÌ€' => 'ì', 'iÌ' => 'í', 'iÌ‚' => 'î', 'ï' => 'ï', 'ñ' => 'ñ', 'oÌ€' => 'ò', 'oÌ' => 'ó', 'oÌ‚' => 'ô', 'õ' => 'õ', 'ö' => 'ö', 'uÌ€' => 'ù', 'uÌ' => 'ú', 'uÌ‚' => 'û', 'ü' => 'ü', 'yÌ' => 'ý', 'ÿ' => 'ÿ', 'AÌ„' => 'Ä€', 'aÌ„' => 'Ä', 'Ă' => 'Ä‚', 'ă' => 'ă', 'Ą' => 'Ä„', 'ą' => 'Ä…', 'CÌ' => 'Ć', 'cÌ' => 'ć', 'CÌ‚' => 'Ĉ', 'cÌ‚' => 'ĉ', 'Ċ' => 'ÄŠ', 'ċ' => 'Ä‹', 'CÌŒ' => 'ÄŒ', 'cÌŒ' => 'Ä', 'DÌŒ' => 'ÄŽ', 'dÌŒ' => 'Ä', 'EÌ„' => 'Ä’', 'eÌ„' => 'Ä“', 'Ĕ' => 'Ä”', 'ĕ' => 'Ä•', 'Ė' => 'Ä–', 'ė' => 'Ä—', 'Ę' => 'Ę', 'ę' => 'Ä™', 'EÌŒ' => 'Äš', 'eÌŒ' => 'Ä›', 'GÌ‚' => 'Äœ', 'gÌ‚' => 'Ä', 'Ğ' => 'Äž', 'ğ' => 'ÄŸ', 'Ġ' => 'Ä ', 'ġ' => 'Ä¡', 'Ģ' => 'Ä¢', 'ģ' => 'Ä£', 'HÌ‚' => 'Ĥ', 'hÌ‚' => 'Ä¥', 'Ĩ' => 'Ĩ', 'ĩ' => 'Ä©', 'IÌ„' => 'Ī', 'iÌ„' => 'Ä«', 'Ĭ' => 'Ĭ', 'ĭ' => 'Ä­', 'Į' => 'Ä®', 'į' => 'į', 'İ' => 'Ä°', 'JÌ‚' => 'Ä´', 'jÌ‚' => 'ĵ', 'Ķ' => 'Ķ', 'ķ' => 'Ä·', 'LÌ' => 'Ĺ', 'lÌ' => 'ĺ', 'Ļ' => 'Ä»', 'ļ' => 'ļ', 'LÌŒ' => 'Ľ', 'lÌŒ' => 'ľ', 'NÌ' => 'Ń', 'nÌ' => 'Å„', 'Ņ' => 'Å…', 'ņ' => 'ņ', 'NÌŒ' => 'Ň', 'nÌŒ' => 'ň', 'OÌ„' => 'ÅŒ', 'oÌ„' => 'Å', 'Ŏ' => 'ÅŽ', 'ŏ' => 'Å', 'OÌ‹' => 'Å', 'oÌ‹' => 'Å‘', 'RÌ' => 'Å”', 'rÌ' => 'Å•', 'Ŗ' => 'Å–', 'ŗ' => 'Å—', 'RÌŒ' => 'Ř', 'rÌŒ' => 'Å™', 'SÌ' => 'Åš', 'sÌ' => 'Å›', 'SÌ‚' => 'Åœ', 'sÌ‚' => 'Å', 'Ş' => 'Åž', 'ş' => 'ÅŸ', 'SÌŒ' => 'Å ', 'sÌŒ' => 'Å¡', 'Ţ' => 'Å¢', 'ţ' => 'Å£', 'TÌŒ' => 'Ť', 'tÌŒ' => 'Å¥', 'Ũ' => 'Ũ', 'ũ' => 'Å©', 'UÌ„' => 'Ū', 'uÌ„' => 'Å«', 'Ŭ' => 'Ŭ', 'ŭ' => 'Å­', 'UÌŠ' => 'Å®', 'uÌŠ' => 'ů', 'UÌ‹' => 'Å°', 'uÌ‹' => 'ű', 'Ų' => 'Ų', 'ų' => 'ų', 'WÌ‚' => 'Å´', 'wÌ‚' => 'ŵ', 'YÌ‚' => 'Ŷ', 'yÌ‚' => 'Å·', 'Ÿ' => 'Ÿ', 'ZÌ' => 'Ź', 'zÌ' => 'ź', 'Ż' => 'Å»', 'ż' => 'ż', 'ZÌŒ' => 'Ž', 'zÌŒ' => 'ž', 'OÌ›' => 'Æ ', 'oÌ›' => 'Æ¡', 'UÌ›' => 'Ư', 'uÌ›' => 'Æ°', 'AÌŒ' => 'Ç', 'aÌŒ' => 'ÇŽ', 'IÌŒ' => 'Ç', 'iÌŒ' => 'Ç', 'OÌŒ' => 'Ç‘', 'oÌŒ' => 'Ç’', 'UÌŒ' => 'Ç“', 'uÌŒ' => 'Ç”', 'Ǖ' => 'Ç•', 'ǖ' => 'Ç–', 'ÃœÌ' => 'Ç—', 'üÌ' => 'ǘ', 'Ǚ' => 'Ç™', 'ǚ' => 'Çš', 'Ǜ' => 'Ç›', 'ǜ' => 'Çœ', 'Ǟ' => 'Çž', 'ǟ' => 'ÇŸ', 'Ǡ' => 'Ç ', 'ǡ' => 'Ç¡', 'Ǣ' => 'Ç¢', 'ǣ' => 'Ç£', 'GÌŒ' => 'Ǧ', 'gÌŒ' => 'ǧ', 'KÌŒ' => 'Ǩ', 'kÌŒ' => 'Ç©', 'Ǫ' => 'Ǫ', 'ǫ' => 'Ç«', 'Ǭ' => 'Ǭ', 'Ç«Ì„' => 'Ç­', 'Æ·ÌŒ' => 'Ç®', 'Ê’ÌŒ' => 'ǯ', 'jÌŒ' => 'Ç°', 'GÌ' => 'Ç´', 'gÌ' => 'ǵ', 'NÌ€' => 'Ǹ', 'nÌ€' => 'ǹ', 'Ã…Ì' => 'Ǻ', 'Ã¥Ì' => 'Ç»', 'ÆÌ' => 'Ǽ', 'æÌ' => 'ǽ', 'ØÌ' => 'Ǿ', 'øÌ' => 'Ç¿', 'AÌ' => 'È€', 'aÌ' => 'È', 'AÌ‘' => 'È‚', 'aÌ‘' => 'ȃ', 'EÌ' => 'È„', 'eÌ' => 'È…', 'EÌ‘' => 'Ȇ', 'eÌ‘' => 'ȇ', 'IÌ' => 'Ȉ', 'iÌ' => 'ȉ', 'IÌ‘' => 'ÈŠ', 'iÌ‘' => 'È‹', 'OÌ' => 'ÈŒ', 'oÌ' => 'È', 'OÌ‘' => 'ÈŽ', 'oÌ‘' => 'È', 'RÌ' => 'È', 'rÌ' => 'È‘', 'RÌ‘' => 'È’', 'rÌ‘' => 'È“', 'UÌ' => 'È”', 'uÌ' => 'È•', 'UÌ‘' => 'È–', 'uÌ‘' => 'È—', 'Ș' => 'Ș', 'ș' => 'È™', 'Ț' => 'Èš', 'ț' => 'È›', 'HÌŒ' => 'Èž', 'hÌŒ' => 'ÈŸ', 'Ȧ' => 'Ȧ', 'ȧ' => 'ȧ', 'Ȩ' => 'Ȩ', 'ȩ' => 'È©', 'Ȫ' => 'Ȫ', 'ȫ' => 'È«', 'Ȭ' => 'Ȭ', 'ȭ' => 'È­', 'Ȯ' => 'È®', 'ȯ' => 'ȯ', 'Ȱ' => 'È°', 'ȱ' => 'ȱ', 'YÌ„' => 'Ȳ', 'yÌ„' => 'ȳ', '¨Ì' => 'Î…', 'ΑÌ' => 'Ά', 'ΕÌ' => 'Έ', 'ΗÌ' => 'Ή', 'ΙÌ' => 'Ί', 'ΟÌ' => 'ÎŒ', 'Î¥Ì' => 'ÎŽ', 'ΩÌ' => 'Î', 'ÏŠÌ' => 'Î', 'Ϊ' => 'Ϊ', 'Ϋ' => 'Ϋ', 'αÌ' => 'ά', 'εÌ' => 'έ', 'ηÌ' => 'ή', 'ιÌ' => 'ί', 'Ï‹Ì' => 'ΰ', 'ϊ' => 'ÏŠ', 'ϋ' => 'Ï‹', 'οÌ' => 'ÏŒ', 'Ï…Ì' => 'Ï', 'ωÌ' => 'ÏŽ', 'Ï’Ì' => 'Ï“', 'ϔ' => 'Ï”', 'Ѐ' => 'Ѐ', 'Ё' => 'Ð', 'ГÌ' => 'Ѓ', 'Ї' => 'Ї', 'КÌ' => 'ÐŒ', 'Ѝ' => 'Ð', 'Ў' => 'ÐŽ', 'Й' => 'Й', 'й' => 'й', 'ѐ' => 'Ñ', 'ё' => 'Ñ‘', 'гÌ' => 'Ñ“', 'ї' => 'Ñ—', 'кÌ' => 'Ñœ', 'ѝ' => 'Ñ', 'ў' => 'Ñž', 'Ñ´Ì' => 'Ѷ', 'ѵÌ' => 'Ñ·', 'Ӂ' => 'Ó', 'ӂ' => 'Ó‚', 'Ð̆' => 'Ó', 'ӑ' => 'Ó‘', 'Ð̈' => 'Ó’', 'ӓ' => 'Ó“', 'Ӗ' => 'Ó–', 'ӗ' => 'Ó—', 'Ӛ' => 'Óš', 'ӛ' => 'Ó›', 'Ӝ' => 'Óœ', 'ӝ' => 'Ó', 'Ӟ' => 'Óž', 'ӟ' => 'ÓŸ', 'Ӣ' => 'Ó¢', 'ӣ' => 'Ó£', 'Ӥ' => 'Ó¤', 'ӥ' => 'Ó¥', 'Ӧ' => 'Ó¦', 'ӧ' => 'Ó§', 'Ӫ' => 'Óª', 'ӫ' => 'Ó«', 'Ӭ' => 'Ó¬', 'Ñ̈' => 'Ó­', 'Ӯ' => 'Ó®', 'ӯ' => 'Ó¯', 'Ӱ' => 'Ó°', 'ӱ' => 'Ó±', 'Ӳ' => 'Ó²', 'ӳ' => 'Ó³', 'Ӵ' => 'Ó´', 'ӵ' => 'Óµ', 'Ӹ' => 'Ó¸', 'ӹ' => 'Ó¹', 'آ' => 'Ø¢', 'أ' => 'Ø£', 'ÙˆÙ”' => 'ؤ', 'إ' => 'Ø¥', 'ÙŠÙ”' => 'ئ', 'Û•Ù”' => 'Û€', 'ÛÙ”' => 'Û‚', 'Û’Ù”' => 'Û“', 'ऩ' => 'ऩ', 'ऱ' => 'ऱ', 'ऴ' => 'ऴ', 'ো' => 'ো', 'ৌ' => 'ৌ', 'ୈ' => 'à­ˆ', 'ୋ' => 'à­‹', 'ୌ' => 'à­Œ', 'ஔ' => 'à®”', 'ொ' => 'ொ', 'ோ' => 'ோ', 'ௌ' => 'ௌ', 'ై' => 'ై', 'ೀ' => 'à³€', 'ೇ' => 'ೇ', 'ೈ' => 'ೈ', 'ೊ' => 'ೊ', 'ೋ' => 'ೋ', 'ൊ' => 'ൊ', 'ോ' => 'ോ', 'ൌ' => 'ൌ', 'ේ' => 'à·š', 'à·™à·' => 'à·œ', 'ෝ' => 'à·', 'ෞ' => 'à·ž', 'ဦ' => 'ဦ', 'ᬆ' => 'ᬆ', 'ᬈ' => 'ᬈ', 'ᬊ' => 'ᬊ', 'ᬌ' => 'ᬌ', 'á¬á¬µ' => 'ᬎ', 'ᬒ' => 'ᬒ', 'ᬻ' => 'ᬻ', 'ᬽ' => 'ᬽ', 'ᭀ' => 'á­€', 'ᭁ' => 'á­', 'ᭃ' => 'á­ƒ', 'AÌ¥' => 'Ḁ', 'aÌ¥' => 'á¸', 'Ḃ' => 'Ḃ', 'ḃ' => 'ḃ', 'BÌ£' => 'Ḅ', 'bÌ£' => 'ḅ', 'Ḇ' => 'Ḇ', 'ḇ' => 'ḇ', 'ÇÌ' => 'Ḉ', 'çÌ' => 'ḉ', 'Ḋ' => 'Ḋ', 'ḋ' => 'ḋ', 'DÌ£' => 'Ḍ', 'dÌ£' => 'á¸', 'Ḏ' => 'Ḏ', 'ḏ' => 'á¸', 'Ḑ' => 'á¸', 'ḑ' => 'ḑ', 'DÌ­' => 'Ḓ', 'dÌ­' => 'ḓ', 'Ä’Ì€' => 'Ḕ', 'Ä“Ì€' => 'ḕ', 'Ä’Ì' => 'Ḗ', 'Ä“Ì' => 'ḗ', 'EÌ­' => 'Ḙ', 'eÌ­' => 'ḙ', 'EÌ°' => 'Ḛ', 'eÌ°' => 'ḛ', 'Ḝ' => 'Ḝ', 'ḝ' => 'á¸', 'Ḟ' => 'Ḟ', 'ḟ' => 'ḟ', 'GÌ„' => 'Ḡ', 'gÌ„' => 'ḡ', 'Ḣ' => 'Ḣ', 'ḣ' => 'ḣ', 'HÌ£' => 'Ḥ', 'hÌ£' => 'ḥ', 'Ḧ' => 'Ḧ', 'ḧ' => 'ḧ', 'Ḩ' => 'Ḩ', 'ḩ' => 'ḩ', 'HÌ®' => 'Ḫ', 'hÌ®' => 'ḫ', 'IÌ°' => 'Ḭ', 'iÌ°' => 'ḭ', 'ÃÌ' => 'Ḯ', 'ïÌ' => 'ḯ', 'KÌ' => 'Ḱ', 'kÌ' => 'ḱ', 'KÌ£' => 'Ḳ', 'kÌ£' => 'ḳ', 'Ḵ' => 'Ḵ', 'ḵ' => 'ḵ', 'LÌ£' => 'Ḷ', 'lÌ£' => 'ḷ', 'Ḹ' => 'Ḹ', 'ḹ' => 'ḹ', 'Ḻ' => 'Ḻ', 'ḻ' => 'ḻ', 'LÌ­' => 'Ḽ', 'lÌ­' => 'ḽ', 'MÌ' => 'Ḿ', 'mÌ' => 'ḿ', 'Ṁ' => 'á¹€', 'ṁ' => 'á¹', 'MÌ£' => 'Ṃ', 'mÌ£' => 'ṃ', 'Ṅ' => 'Ṅ', 'ṅ' => 'á¹…', 'NÌ£' => 'Ṇ', 'nÌ£' => 'ṇ', 'Ṉ' => 'Ṉ', 'ṉ' => 'ṉ', 'NÌ­' => 'Ṋ', 'nÌ­' => 'ṋ', 'ÕÌ' => 'Ṍ', 'õÌ' => 'á¹', 'Ṏ' => 'Ṏ', 'ṏ' => 'á¹', 'Ṑ' => 'á¹', 'ÅÌ€' => 'ṑ', 'ÅŒÌ' => 'á¹’', 'ÅÌ' => 'ṓ', 'PÌ' => 'á¹”', 'pÌ' => 'ṕ', 'Ṗ' => 'á¹–', 'ṗ' => 'á¹—', 'Ṙ' => 'Ṙ', 'ṙ' => 'á¹™', 'RÌ£' => 'Ṛ', 'rÌ£' => 'á¹›', 'Ṝ' => 'Ṝ', 'ṝ' => 'á¹', 'Ṟ' => 'Ṟ', 'ṟ' => 'ṟ', 'Ṡ' => 'á¹ ', 'ṡ' => 'ṡ', 'SÌ£' => 'á¹¢', 'sÌ£' => 'á¹£', 'Ṥ' => 'Ṥ', 'ṥ' => 'á¹¥', 'Ṧ' => 'Ṧ', 'ṧ' => 'ṧ', 'Ṩ' => 'Ṩ', 'ṩ' => 'ṩ', 'Ṫ' => 'Ṫ', 'ṫ' => 'ṫ', 'TÌ£' => 'Ṭ', 'tÌ£' => 'á¹­', 'Ṯ' => 'á¹®', 'ṯ' => 'ṯ', 'TÌ­' => 'á¹°', 'tÌ­' => 'á¹±', 'Ṳ' => 'á¹²', 'ṳ' => 'á¹³', 'UÌ°' => 'á¹´', 'uÌ°' => 'á¹µ', 'UÌ­' => 'Ṷ', 'uÌ­' => 'á¹·', 'ŨÌ' => 'Ṹ', 'Å©Ì' => 'á¹¹', 'Ṻ' => 'Ṻ', 'ṻ' => 'á¹»', 'Ṽ' => 'á¹¼', 'ṽ' => 'á¹½', 'VÌ£' => 'á¹¾', 'vÌ£' => 'ṿ', 'WÌ€' => 'Ẁ', 'wÌ€' => 'áº', 'WÌ' => 'Ẃ', 'wÌ' => 'ẃ', 'Ẅ' => 'Ẅ', 'ẅ' => 'ẅ', 'Ẇ' => 'Ẇ', 'ẇ' => 'ẇ', 'WÌ£' => 'Ẉ', 'wÌ£' => 'ẉ', 'Ẋ' => 'Ẋ', 'ẋ' => 'ẋ', 'Ẍ' => 'Ẍ', 'ẍ' => 'áº', 'Ẏ' => 'Ẏ', 'ẏ' => 'áº', 'ZÌ‚' => 'áº', 'zÌ‚' => 'ẑ', 'ZÌ£' => 'Ẓ', 'zÌ£' => 'ẓ', 'Ẕ' => 'Ẕ', 'ẕ' => 'ẕ', 'ẖ' => 'ẖ', 'ẗ' => 'ẗ', 'wÌŠ' => 'ẘ', 'yÌŠ' => 'ẙ', 'ẛ' => 'ẛ', 'AÌ£' => 'Ạ', 'aÌ£' => 'ạ', 'Ả' => 'Ả', 'ả' => 'ả', 'ÂÌ' => 'Ấ', 'âÌ' => 'ấ', 'Ầ' => 'Ầ', 'ầ' => 'ầ', 'Ẩ' => 'Ẩ', 'ẩ' => 'ẩ', 'Ẫ' => 'Ẫ', 'ẫ' => 'ẫ', 'Ậ' => 'Ậ', 'ậ' => 'ậ', 'Ä‚Ì' => 'Ắ', 'ăÌ' => 'ắ', 'Ä‚Ì€' => 'Ằ', 'ằ' => 'ằ', 'Ẳ' => 'Ẳ', 'ẳ' => 'ẳ', 'Ẵ' => 'Ẵ', 'ẵ' => 'ẵ', 'Ặ' => 'Ặ', 'ặ' => 'ặ', 'EÌ£' => 'Ẹ', 'eÌ£' => 'ẹ', 'Ẻ' => 'Ẻ', 'ẻ' => 'ẻ', 'Ẽ' => 'Ẽ', 'ẽ' => 'ẽ', 'ÊÌ' => 'Ế', 'êÌ' => 'ế', 'Ề' => 'Ề', 'ề' => 'á»', 'Ể' => 'Ể', 'ể' => 'ể', 'Ễ' => 'Ễ', 'ễ' => 'á»…', 'Ệ' => 'Ệ', 'ệ' => 'ệ', 'Ỉ' => 'Ỉ', 'ỉ' => 'ỉ', 'IÌ£' => 'Ị', 'iÌ£' => 'ị', 'OÌ£' => 'Ọ', 'oÌ£' => 'á»', 'Ỏ' => 'Ỏ', 'ỏ' => 'á»', 'ÔÌ' => 'á»', 'ôÌ' => 'ố', 'Ồ' => 'á»’', 'ồ' => 'ồ', 'Ổ' => 'á»”', 'ổ' => 'ổ', 'Ỗ' => 'á»–', 'ỗ' => 'á»—', 'Ộ' => 'Ộ', 'á»Ì‚' => 'á»™', 'Æ Ì' => 'Ớ', 'Æ¡Ì' => 'á»›', 'Ờ' => 'Ờ', 'Æ¡Ì€' => 'á»', 'Ở' => 'Ở', 'ở' => 'ở', 'Ỡ' => 'á» ', 'ỡ' => 'ỡ', 'Ợ' => 'Ợ', 'Æ¡Ì£' => 'ợ', 'UÌ£' => 'Ụ', 'uÌ£' => 'ụ', 'Ủ' => 'Ủ', 'ủ' => 'ủ', 'ƯÌ' => 'Ứ', 'Æ°Ì' => 'ứ', 'Ừ' => 'Ừ', 'Æ°Ì€' => 'ừ', 'Ử' => 'Ử', 'ử' => 'á»­', 'Ữ' => 'á»®', 'ữ' => 'ữ', 'Ự' => 'á»°', 'Æ°Ì£' => 'á»±', 'YÌ€' => 'Ỳ', 'yÌ€' => 'ỳ', 'YÌ£' => 'á»´', 'yÌ£' => 'ỵ', 'Ỷ' => 'Ỷ', 'ỷ' => 'á»·', 'Ỹ' => 'Ỹ', 'ỹ' => 'ỹ', 'ἀ' => 'á¼€', 'ἁ' => 'á¼', 'ἂ' => 'ἂ', 'á¼Ì€' => 'ἃ', 'á¼€Ì' => 'ἄ', 'á¼Ì' => 'á¼…', 'ἆ' => 'ἆ', 'á¼Í‚' => 'ἇ', 'Ἀ' => 'Ἀ', 'Ἁ' => 'Ἁ', 'Ἂ' => 'Ἂ', 'Ἃ' => 'Ἃ', 'ἈÌ' => 'Ἄ', 'ἉÌ' => 'á¼', 'Ἆ' => 'Ἆ', 'Ἇ' => 'á¼', 'ἐ' => 'á¼', 'ἑ' => 'ἑ', 'á¼Ì€' => 'á¼’', 'ἓ' => 'ἓ', 'á¼Ì' => 'á¼”', 'ἑÌ' => 'ἕ', 'Ἐ' => 'Ἐ', 'Ἑ' => 'á¼™', 'Ἒ' => 'Ἒ', 'Ἓ' => 'á¼›', 'ἘÌ' => 'Ἔ', 'á¼™Ì' => 'á¼', 'ἠ' => 'á¼ ', 'ἡ' => 'ἡ', 'ἢ' => 'á¼¢', 'ἣ' => 'á¼£', 'á¼ Ì' => 'ἤ', 'ἡÌ' => 'á¼¥', 'á¼ Í‚' => 'ἦ', 'ἧ' => 'ἧ', 'Ἠ' => 'Ἠ', 'Ἡ' => 'Ἡ', 'Ἢ' => 'Ἢ', 'Ἣ' => 'Ἣ', 'ἨÌ' => 'Ἤ', 'ἩÌ' => 'á¼­', 'Ἦ' => 'á¼®', 'Ἧ' => 'Ἧ', 'ἰ' => 'á¼°', 'ἱ' => 'á¼±', 'á¼°Ì€' => 'á¼²', 'ἳ' => 'á¼³', 'á¼°Ì' => 'á¼´', 'á¼±Ì' => 'á¼µ', 'á¼°Í‚' => 'ἶ', 'ἷ' => 'á¼·', 'Ἰ' => 'Ἰ', 'Ἱ' => 'á¼¹', 'Ἲ' => 'Ἲ', 'Ἳ' => 'á¼»', 'ἸÌ' => 'á¼¼', 'á¼¹Ì' => 'á¼½', 'Ἶ' => 'á¼¾', 'Ἷ' => 'Ἷ', 'ὀ' => 'á½€', 'ὁ' => 'á½', 'ὂ' => 'ὂ', 'á½Ì€' => 'ὃ', 'á½€Ì' => 'ὄ', 'á½Ì' => 'á½…', 'Ὀ' => 'Ὀ', 'Ὁ' => 'Ὁ', 'Ὂ' => 'Ὂ', 'Ὃ' => 'Ὃ', 'ὈÌ' => 'Ὄ', 'ὉÌ' => 'á½', 'Ï…Ì“' => 'á½', 'Ï…Ì”' => 'ὑ', 'á½Ì€' => 'á½’', 'ὓ' => 'ὓ', 'á½Ì' => 'á½”', 'ὑÌ' => 'ὕ', 'á½Í‚' => 'á½–', 'ὗ' => 'á½—', 'Ὑ' => 'á½™', 'Ὓ' => 'á½›', 'á½™Ì' => 'á½', 'Ὗ' => 'Ὗ', 'ὠ' => 'á½ ', 'ὡ' => 'ὡ', 'ὢ' => 'á½¢', 'ὣ' => 'á½£', 'á½ Ì' => 'ὤ', 'ὡÌ' => 'á½¥', 'á½ Í‚' => 'ὦ', 'ὧ' => 'ὧ', 'Ὠ' => 'Ὠ', 'Ὡ' => 'Ὡ', 'Ὢ' => 'Ὢ', 'Ὣ' => 'Ὣ', 'ὨÌ' => 'Ὤ', 'ὩÌ' => 'á½­', 'Ὦ' => 'á½®', 'Ὧ' => 'Ὧ', 'ὰ' => 'á½°', 'ὲ' => 'á½²', 'ὴ' => 'á½´', 'ὶ' => 'ὶ', 'ὸ' => 'ὸ', 'Ï…Ì€' => 'ὺ', 'ὼ' => 'á½¼', 'ᾀ' => 'á¾€', 'á¼Í…' => 'á¾', 'ᾂ' => 'ᾂ', 'ᾃ' => 'ᾃ', 'ᾄ' => 'ᾄ', 'á¼…Í…' => 'á¾…', 'ᾆ' => 'ᾆ', 'ᾇ' => 'ᾇ', 'ᾈ' => 'ᾈ', 'ᾉ' => 'ᾉ', 'ᾊ' => 'ᾊ', 'ᾋ' => 'ᾋ', 'ᾌ' => 'ᾌ', 'á¼Í…' => 'á¾', 'ᾎ' => 'ᾎ', 'á¼Í…' => 'á¾', 'á¼ Í…' => 'á¾', 'ᾑ' => 'ᾑ', 'ᾒ' => 'á¾’', 'ᾓ' => 'ᾓ', 'ᾔ' => 'á¾”', 'ᾕ' => 'ᾕ', 'ᾖ' => 'á¾–', 'ᾗ' => 'á¾—', 'ᾘ' => 'ᾘ', 'ᾙ' => 'á¾™', 'ᾚ' => 'ᾚ', 'ᾛ' => 'á¾›', 'ᾜ' => 'ᾜ', 'á¼­Í…' => 'á¾', 'ᾞ' => 'ᾞ', 'ᾟ' => 'ᾟ', 'á½ Í…' => 'á¾ ', 'ᾡ' => 'ᾡ', 'ᾢ' => 'á¾¢', 'ᾣ' => 'á¾£', 'ᾤ' => 'ᾤ', 'ᾥ' => 'á¾¥', 'ᾦ' => 'ᾦ', 'ᾧ' => 'ᾧ', 'ᾨ' => 'ᾨ', 'ᾩ' => 'ᾩ', 'ᾪ' => 'ᾪ', 'ᾫ' => 'ᾫ', 'ᾬ' => 'ᾬ', 'á½­Í…' => 'á¾­', 'ᾮ' => 'á¾®', 'ᾯ' => 'ᾯ', 'ᾰ' => 'á¾°', 'ᾱ' => 'á¾±', 'á½°Í…' => 'á¾²', 'ᾳ' => 'á¾³', 'ᾴ' => 'á¾´', 'ᾶ' => 'ᾶ', 'ᾷ' => 'á¾·', 'Ᾰ' => 'Ᾰ', 'Ᾱ' => 'á¾¹', 'Ὰ' => 'Ὰ', 'ᾼ' => 'á¾¼', '῁' => 'á¿', 'á½´Í…' => 'á¿‚', 'ῃ' => 'ῃ', 'ῄ' => 'á¿„', 'ῆ' => 'ῆ', 'ῇ' => 'ῇ', 'Ὲ' => 'Ὲ', 'Ὴ' => 'á¿Š', 'ῌ' => 'á¿Œ', '῍' => 'á¿', '᾿Ì' => 'á¿Ž', '῏' => 'á¿', 'ῐ' => 'á¿', 'ῑ' => 'á¿‘', 'ÏŠÌ€' => 'á¿’', 'ῖ' => 'á¿–', 'ÏŠÍ‚' => 'á¿—', 'Ῐ' => 'Ῐ', 'Ῑ' => 'á¿™', 'Ὶ' => 'á¿š', '῝' => 'á¿', '῾Ì' => 'á¿ž', '῟' => 'á¿Ÿ', 'ῠ' => 'á¿ ', 'Ï…Ì„' => 'á¿¡', 'Ï‹Ì€' => 'á¿¢', 'ÏÌ“' => 'ῤ', 'ÏÌ”' => 'á¿¥', 'Ï…Í‚' => 'ῦ', 'Ï‹Í‚' => 'ῧ', 'Ῠ' => 'Ῠ', 'Ῡ' => 'á¿©', 'Ὺ' => 'Ὺ', 'Ῥ' => 'Ῥ', '῭' => 'á¿­', 'ῲ' => 'ῲ', 'ῳ' => 'ῳ', 'ÏŽÍ…' => 'á¿´', 'ῶ' => 'ῶ', 'ῷ' => 'á¿·', 'Ὸ' => 'Ὸ', 'Ὼ' => 'Ὼ', 'ῼ' => 'ῼ', 'â†Ì¸' => '↚', '↛' => '↛', '↮' => '↮', 'â‡Ì¸' => 'â‡', '⇎' => '⇎', '⇏' => 'â‡', '∄' => '∄', '∉' => '∉', '∌' => '∌', '∤' => '∤', '∦' => '∦', '≁' => 'â‰', '≄' => '≄', '≇' => '≇', '≉' => '≉', '≠' => '≠', '≢' => '≢', 'â‰Ì¸' => '≭', '≮' => '≮', '≯' => '≯', '≰' => '≰', '≱' => '≱', '≴' => '≴', '≵' => '≵', '≸' => '≸', '≹' => '≹', '⊀' => '⊀', '⊁' => 'âŠ', '⊄' => '⊄', '⊅' => '⊅', '⊈' => '⊈', '⊉' => '⊉', '⊬' => '⊬', '⊭' => '⊭', '⊮' => '⊮', '⊯' => '⊯', '⋠' => 'â‹ ', '⋡' => 'â‹¡', '⋢' => 'â‹¢', '⋣' => 'â‹£', '⋪' => '⋪', '⋫' => 'â‹«', '⋬' => '⋬', '⋭' => 'â‹­', 'ã‹ã‚™' => 'ãŒ', 'ãã‚™' => 'ãŽ', 'ãã‚™' => 'ã', 'ã‘ã‚™' => 'ã’', 'ã“ã‚™' => 'ã”', 'ã•ã‚™' => 'ã–', 'ã—ã‚™' => 'ã˜', 'ã™ã‚™' => 'ãš', 'ã›ã‚™' => 'ãœ', 'ãã‚™' => 'ãž', 'ãŸã‚™' => 'ã ', 'ã¡ã‚™' => 'ã¢', 'ã¤ã‚™' => 'ã¥', 'ã¦ã‚™' => 'ã§', 'ã¨ã‚™' => 'ã©', 'ã¯ã‚™' => 'ã°', 'ã¯ã‚š' => 'ã±', 'ã²ã‚™' => 'ã³', 'ã²ã‚š' => 'ã´', 'ãµã‚™' => 'ã¶', 'ãµã‚š' => 'ã·', 'ã¸ã‚™' => 'ã¹', 'ã¸ã‚š' => 'ãº', 'ã»ã‚™' => 'ã¼', 'ã»ã‚š' => 'ã½', 'ã†ã‚™' => 'ã‚”', 'ã‚ã‚™' => 'ã‚ž', 'ã‚«ã‚™' => 'ガ', 'ã‚­ã‚™' => 'ã‚®', 'グ' => 'ã‚°', 'ゲ' => 'ゲ', 'ゴ' => 'ã‚´', 'ザ' => 'ザ', 'ã‚·ã‚™' => 'ジ', 'ズ' => 'ズ', 'ゼ' => 'ゼ', 'ゾ' => 'ゾ', 'ã‚¿ã‚™' => 'ダ', 'ãƒã‚™' => 'ヂ', 'ヅ' => 'ヅ', 'デ' => 'デ', 'ド' => 'ド', 'ãƒã‚™' => 'ãƒ', 'ãƒã‚š' => 'パ', 'ビ' => 'ビ', 'ピ' => 'ピ', 'ブ' => 'ブ', 'プ' => 'プ', 'ベ' => 'ベ', 'ペ' => 'ペ', 'ボ' => 'ボ', 'ポ' => 'ãƒ', 'ヴ' => 'ヴ', 'ヷ' => 'ヷ', 'ヸ' => 'ヸ', 'ヹ' => 'ヹ', 'ヺ' => 'ヺ', 'ヾ' => 'ヾ', '𑂚' => 'ð‘‚š', '𑂜' => 'ð‘‚œ', '𑂫' => 'ð‘‚«', '𑄮' => 'ð‘„®', '𑄯' => '𑄯', 'ð‘‡ð‘Œ¾' => 'ð‘‹', 'ð‘‡ð‘—' => 'ð‘Œ', '𑒻' => 'ð‘’»', '𑒼' => 'ð‘’¼', '𑒾' => 'ð‘’¾', '𑖺' => 'ð‘–º', '𑖻' => 'ð‘–»', '𑤸' => '𑤸'); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php index 98c549fc33e..6772cb815e9 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/canonicalDecomposition.php @@ -1,5 +1,5 @@ 'AÌ€', 'Ã' => 'AÌ', 'Â' => 'AÌ‚', 'Ã' => 'Ã', 'Ä' => 'Ä', 'Ã…' => 'AÌŠ', 'Ç' => 'Ç', 'È' => 'EÌ€', 'É' => 'EÌ', 'Ê' => 'EÌ‚', 'Ë' => 'Ë', 'ÃŒ' => 'IÌ€', 'Ã' => 'IÌ', 'ÃŽ' => 'IÌ‚', 'Ã' => 'Ï', 'Ñ' => 'Ñ', 'Ã’' => 'OÌ€', 'Ó' => 'OÌ', 'Ô' => 'OÌ‚', 'Õ' => 'Õ', 'Ö' => 'Ö', 'Ù' => 'UÌ€', 'Ú' => 'UÌ', 'Û' => 'UÌ‚', 'Ãœ' => 'Ü', 'Ã' => 'YÌ', 'à' => 'aÌ€', 'á' => 'aÌ', 'â' => 'aÌ‚', 'ã' => 'ã', 'ä' => 'ä', 'Ã¥' => 'aÌŠ', 'ç' => 'ç', 'è' => 'eÌ€', 'é' => 'eÌ', 'ê' => 'eÌ‚', 'ë' => 'ë', 'ì' => 'iÌ€', 'í' => 'iÌ', 'î' => 'iÌ‚', 'ï' => 'ï', 'ñ' => 'ñ', 'ò' => 'oÌ€', 'ó' => 'oÌ', 'ô' => 'oÌ‚', 'õ' => 'õ', 'ö' => 'ö', 'ù' => 'uÌ€', 'ú' => 'uÌ', 'û' => 'uÌ‚', 'ü' => 'ü', 'ý' => 'yÌ', 'ÿ' => 'ÿ', 'Ä€' => 'AÌ„', 'Ä' => 'aÌ„', 'Ä‚' => 'Ă', 'ă' => 'ă', 'Ä„' => 'Ą', 'Ä…' => 'ą', 'Ć' => 'CÌ', 'ć' => 'cÌ', 'Ĉ' => 'CÌ‚', 'ĉ' => 'cÌ‚', 'ÄŠ' => 'Ċ', 'Ä‹' => 'ċ', 'ÄŒ' => 'CÌŒ', 'Ä' => 'cÌŒ', 'ÄŽ' => 'DÌŒ', 'Ä' => 'dÌŒ', 'Ä’' => 'EÌ„', 'Ä“' => 'eÌ„', 'Ä”' => 'Ĕ', 'Ä•' => 'ĕ', 'Ä–' => 'Ė', 'Ä—' => 'ė', 'Ę' => 'Ę', 'Ä™' => 'ę', 'Äš' => 'EÌŒ', 'Ä›' => 'eÌŒ', 'Äœ' => 'GÌ‚', 'Ä' => 'gÌ‚', 'Äž' => 'Ğ', 'ÄŸ' => 'ğ', 'Ä ' => 'Ġ', 'Ä¡' => 'ġ', 'Ä¢' => 'Ģ', 'Ä£' => 'ģ', 'Ĥ' => 'HÌ‚', 'Ä¥' => 'hÌ‚', 'Ĩ' => 'Ĩ', 'Ä©' => 'ĩ', 'Ī' => 'IÌ„', 'Ä«' => 'iÌ„', 'Ĭ' => 'Ĭ', 'Ä­' => 'ĭ', 'Ä®' => 'Į', 'į' => 'į', 'Ä°' => 'İ', 'Ä´' => 'JÌ‚', 'ĵ' => 'jÌ‚', 'Ķ' => 'Ķ', 'Ä·' => 'ķ', 'Ĺ' => 'LÌ', 'ĺ' => 'lÌ', 'Ä»' => 'Ļ', 'ļ' => 'ļ', 'Ľ' => 'LÌŒ', 'ľ' => 'lÌŒ', 'Ń' => 'NÌ', 'Å„' => 'nÌ', 'Å…' => 'Ņ', 'ņ' => 'ņ', 'Ň' => 'NÌŒ', 'ň' => 'nÌŒ', 'ÅŒ' => 'OÌ„', 'Å' => 'oÌ„', 'ÅŽ' => 'Ŏ', 'Å' => 'ŏ', 'Å' => 'OÌ‹', 'Å‘' => 'oÌ‹', 'Å”' => 'RÌ', 'Å•' => 'rÌ', 'Å–' => 'Ŗ', 'Å—' => 'ŗ', 'Ř' => 'RÌŒ', 'Å™' => 'rÌŒ', 'Åš' => 'SÌ', 'Å›' => 'sÌ', 'Åœ' => 'SÌ‚', 'Å' => 'sÌ‚', 'Åž' => 'Ş', 'ÅŸ' => 'ş', 'Å ' => 'SÌŒ', 'Å¡' => 'sÌŒ', 'Å¢' => 'Ţ', 'Å£' => 'ţ', 'Ť' => 'TÌŒ', 'Å¥' => 'tÌŒ', 'Ũ' => 'Ũ', 'Å©' => 'ũ', 'Ū' => 'UÌ„', 'Å«' => 'uÌ„', 'Ŭ' => 'Ŭ', 'Å­' => 'ŭ', 'Å®' => 'UÌŠ', 'ů' => 'uÌŠ', 'Å°' => 'UÌ‹', 'ű' => 'uÌ‹', 'Ų' => 'Ų', 'ų' => 'ų', 'Å´' => 'WÌ‚', 'ŵ' => 'wÌ‚', 'Ŷ' => 'YÌ‚', 'Å·' => 'yÌ‚', 'Ÿ' => 'Ÿ', 'Ź' => 'ZÌ', 'ź' => 'zÌ', 'Å»' => 'Ż', 'ż' => 'ż', 'Ž' => 'ZÌŒ', 'ž' => 'zÌŒ', 'Æ ' => 'OÌ›', 'Æ¡' => 'oÌ›', 'Ư' => 'UÌ›', 'Æ°' => 'uÌ›', 'Ç' => 'AÌŒ', 'ÇŽ' => 'aÌŒ', 'Ç' => 'IÌŒ', 'Ç' => 'iÌŒ', 'Ç‘' => 'OÌŒ', 'Ç’' => 'oÌŒ', 'Ç“' => 'UÌŒ', 'Ç”' => 'uÌŒ', 'Ç•' => 'Ǖ', 'Ç–' => 'ǖ', 'Ç—' => 'ÜÌ', 'ǘ' => 'üÌ', 'Ç™' => 'Ǚ', 'Çš' => 'ǚ', 'Ç›' => 'Ǜ', 'Çœ' => 'ǜ', 'Çž' => 'Ǟ', 'ÇŸ' => 'ǟ', 'Ç ' => 'Ǡ', 'Ç¡' => 'ǡ', 'Ç¢' => 'Ǣ', 'Ç£' => 'ǣ', 'Ǧ' => 'GÌŒ', 'ǧ' => 'gÌŒ', 'Ǩ' => 'KÌŒ', 'Ç©' => 'kÌŒ', 'Ǫ' => 'Ǫ', 'Ç«' => 'ǫ', 'Ǭ' => 'Ǭ', 'Ç­' => 'ǭ', 'Ç®' => 'Æ·ÌŒ', 'ǯ' => 'Ê’ÌŒ', 'Ç°' => 'jÌŒ', 'Ç´' => 'GÌ', 'ǵ' => 'gÌ', 'Ǹ' => 'NÌ€', 'ǹ' => 'nÌ€', 'Ǻ' => 'AÌŠÌ', 'Ç»' => 'aÌŠÌ', 'Ǽ' => 'ÆÌ', 'ǽ' => 'æÌ', 'Ǿ' => 'ØÌ', 'Ç¿' => 'øÌ', 'È€' => 'AÌ', 'È' => 'aÌ', 'È‚' => 'AÌ‘', 'ȃ' => 'aÌ‘', 'È„' => 'EÌ', 'È…' => 'eÌ', 'Ȇ' => 'EÌ‘', 'ȇ' => 'eÌ‘', 'Ȉ' => 'IÌ', 'ȉ' => 'iÌ', 'ÈŠ' => 'IÌ‘', 'È‹' => 'iÌ‘', 'ÈŒ' => 'OÌ', 'È' => 'oÌ', 'ÈŽ' => 'OÌ‘', 'È' => 'oÌ‘', 'È' => 'RÌ', 'È‘' => 'rÌ', 'È’' => 'RÌ‘', 'È“' => 'rÌ‘', 'È”' => 'UÌ', 'È•' => 'uÌ', 'È–' => 'UÌ‘', 'È—' => 'uÌ‘', 'Ș' => 'Ș', 'È™' => 'ș', 'Èš' => 'Ț', 'È›' => 'ț', 'Èž' => 'HÌŒ', 'ÈŸ' => 'hÌŒ', 'Ȧ' => 'Ȧ', 'ȧ' => 'ȧ', 'Ȩ' => 'Ȩ', 'È©' => 'ȩ', 'Ȫ' => 'Ȫ', 'È«' => 'ȫ', 'Ȭ' => 'Ȭ', 'È­' => 'ȭ', 'È®' => 'Ȯ', 'ȯ' => 'ȯ', 'È°' => 'Ȱ', 'ȱ' => 'ȱ', 'Ȳ' => 'YÌ„', 'ȳ' => 'yÌ„', 'Í€' => 'Ì€', 'Í' => 'Ì', '̓' => 'Ì“', 'Í„' => '̈Ì', 'Í´' => 'ʹ', ';' => ';', 'Î…' => '¨Ì', 'Ά' => 'ΑÌ', '·' => '·', 'Έ' => 'ΕÌ', 'Ή' => 'ΗÌ', 'Ί' => 'ΙÌ', 'ÎŒ' => 'ΟÌ', 'ÎŽ' => 'Î¥Ì', 'Î' => 'ΩÌ', 'Î' => 'ϊÌ', 'Ϊ' => 'Ϊ', 'Ϋ' => 'Ϋ', 'ά' => 'αÌ', 'έ' => 'εÌ', 'ή' => 'ηÌ', 'ί' => 'ιÌ', 'ΰ' => 'ϋÌ', 'ÏŠ' => 'ϊ', 'Ï‹' => 'ϋ', 'ÏŒ' => 'οÌ', 'Ï' => 'Ï…Ì', 'ÏŽ' => 'ωÌ', 'Ï“' => 'Ï’Ì', 'Ï”' => 'ϔ', 'Ѐ' => 'Ѐ', 'Ð' => 'Ё', 'Ѓ' => 'ГÌ', 'Ї' => 'Ї', 'ÐŒ' => 'КÌ', 'Ð' => 'Ѝ', 'ÐŽ' => 'Ў', 'Й' => 'Й', 'й' => 'й', 'Ñ' => 'ѐ', 'Ñ‘' => 'ё', 'Ñ“' => 'гÌ', 'Ñ—' => 'ї', 'Ñœ' => 'кÌ', 'Ñ' => 'ѝ', 'Ñž' => 'ў', 'Ѷ' => 'Ñ´Ì', 'Ñ·' => 'ѵÌ', 'Ó' => 'Ӂ', 'Ó‚' => 'ӂ', 'Ó' => 'Ð̆', 'Ó‘' => 'ӑ', 'Ó’' => 'Ð̈', 'Ó“' => 'ӓ', 'Ó–' => 'Ӗ', 'Ó—' => 'ӗ', 'Óš' => 'Ӛ', 'Ó›' => 'ӛ', 'Óœ' => 'Ӝ', 'Ó' => 'ӝ', 'Óž' => 'Ӟ', 'ÓŸ' => 'ӟ', 'Ó¢' => 'Ӣ', 'Ó£' => 'ӣ', 'Ó¤' => 'Ӥ', 'Ó¥' => 'ӥ', 'Ó¦' => 'Ӧ', 'Ó§' => 'ӧ', 'Óª' => 'Ӫ', 'Ó«' => 'ӫ', 'Ó¬' => 'Ӭ', 'Ó­' => 'Ñ̈', 'Ó®' => 'Ӯ', 'Ó¯' => 'ӯ', 'Ó°' => 'Ӱ', 'Ó±' => 'ӱ', 'Ó²' => 'Ӳ', 'Ó³' => 'ӳ', 'Ó´' => 'Ӵ', 'Óµ' => 'ӵ', 'Ó¸' => 'Ӹ', 'Ó¹' => 'ӹ', 'Ø¢' => 'آ', 'Ø£' => 'أ', 'ؤ' => 'ÙˆÙ”', 'Ø¥' => 'إ', 'ئ' => 'ÙŠÙ”', 'Û€' => 'Û•Ù”', 'Û‚' => 'ÛÙ”', 'Û“' => 'Û’Ù”', 'ऩ' => 'ऩ', 'ऱ' => 'ऱ', 'ऴ' => 'ऴ', 'क़' => 'क़', 'ख़' => 'ख़', 'ग़' => 'ग़', 'ज़' => 'ज़', 'ड़' => 'ड़', 'à¥' => 'ढ़', 'फ़' => 'फ़', 'य़' => 'य़', 'ো' => 'ো', 'ৌ' => 'ৌ', 'ড়' => 'ড়', 'à§' => 'ঢ়', 'য়' => 'য়', 'ਲ਼' => 'ਲ਼', 'ਸ਼' => 'ਸ਼', 'à©™' => 'ਖ਼', 'à©š' => 'ਗ਼', 'à©›' => 'ਜ਼', 'à©ž' => 'ਫ਼', 'à­ˆ' => 'ୈ', 'à­‹' => 'ୋ', 'à­Œ' => 'ୌ', 'à­œ' => 'ଡ଼', 'à­' => 'ଢ଼', 'à®”' => 'ஔ', 'ொ' => 'ொ', 'ோ' => 'ோ', 'ௌ' => 'ௌ', 'ై' => 'ై', 'à³€' => 'ೀ', 'ೇ' => 'ೇ', 'ೈ' => 'ೈ', 'ೊ' => 'ೊ', 'ೋ' => 'ೋ', 'ൊ' => 'ൊ', 'ോ' => 'ോ', 'ൌ' => 'ൌ', 'à·š' => 'ේ', 'à·œ' => 'à·™à·', 'à·' => 'à·™à·à·Š', 'à·ž' => 'ෞ', 'གྷ' => 'གྷ', 'à½' => 'ཌྷ', 'དྷ' => 'དྷ', 'བྷ' => 'བྷ', 'ཛྷ' => 'ཛྷ', 'ཀྵ' => 'ཀྵ', 'ཱི' => 'ཱི', 'ཱུ' => 'ཱུ', 'ྲྀ' => 'ྲྀ', 'ླྀ' => 'ླྀ', 'à¾' => 'ཱྀ', 'ྒྷ' => 'ྒྷ', 'à¾' => 'ྜྷ', 'ྡྷ' => 'ྡྷ', 'ྦྷ' => 'ྦྷ', 'ྫྷ' => 'ྫྷ', 'ྐྵ' => 'à¾à¾µ', 'ဦ' => 'ဦ', 'ᬆ' => 'ᬆ', 'ᬈ' => 'ᬈ', 'ᬊ' => 'ᬊ', 'ᬌ' => 'ᬌ', 'ᬎ' => 'á¬á¬µ', 'ᬒ' => 'ᬒ', 'ᬻ' => 'ᬻ', 'ᬽ' => 'ᬽ', 'á­€' => 'ᭀ', 'á­' => 'ᭁ', 'á­ƒ' => 'ᭃ', 'Ḁ' => 'AÌ¥', 'á¸' => 'aÌ¥', 'Ḃ' => 'Ḃ', 'ḃ' => 'ḃ', 'Ḅ' => 'BÌ£', 'ḅ' => 'bÌ£', 'Ḇ' => 'Ḇ', 'ḇ' => 'ḇ', 'Ḉ' => 'ÇÌ', 'ḉ' => 'çÌ', 'Ḋ' => 'Ḋ', 'ḋ' => 'ḋ', 'Ḍ' => 'DÌ£', 'á¸' => 'dÌ£', 'Ḏ' => 'Ḏ', 'á¸' => 'ḏ', 'á¸' => 'Ḑ', 'ḑ' => 'ḑ', 'Ḓ' => 'DÌ­', 'ḓ' => 'dÌ­', 'Ḕ' => 'EÌ„Ì€', 'ḕ' => 'eÌ„Ì€', 'Ḗ' => 'EÌ„Ì', 'ḗ' => 'eÌ„Ì', 'Ḙ' => 'EÌ­', 'ḙ' => 'eÌ­', 'Ḛ' => 'EÌ°', 'ḛ' => 'eÌ°', 'Ḝ' => 'Ḝ', 'á¸' => 'ḝ', 'Ḟ' => 'Ḟ', 'ḟ' => 'ḟ', 'Ḡ' => 'GÌ„', 'ḡ' => 'gÌ„', 'Ḣ' => 'Ḣ', 'ḣ' => 'ḣ', 'Ḥ' => 'HÌ£', 'ḥ' => 'hÌ£', 'Ḧ' => 'Ḧ', 'ḧ' => 'ḧ', 'Ḩ' => 'Ḩ', 'ḩ' => 'ḩ', 'Ḫ' => 'HÌ®', 'ḫ' => 'hÌ®', 'Ḭ' => 'IÌ°', 'ḭ' => 'iÌ°', 'Ḯ' => 'ÏÌ', 'ḯ' => 'ïÌ', 'Ḱ' => 'KÌ', 'ḱ' => 'kÌ', 'Ḳ' => 'KÌ£', 'ḳ' => 'kÌ£', 'Ḵ' => 'Ḵ', 'ḵ' => 'ḵ', 'Ḷ' => 'LÌ£', 'ḷ' => 'lÌ£', 'Ḹ' => 'Ḹ', 'ḹ' => 'ḹ', 'Ḻ' => 'Ḻ', 'ḻ' => 'ḻ', 'Ḽ' => 'LÌ­', 'ḽ' => 'lÌ­', 'Ḿ' => 'MÌ', 'ḿ' => 'mÌ', 'á¹€' => 'Ṁ', 'á¹' => 'ṁ', 'Ṃ' => 'MÌ£', 'ṃ' => 'mÌ£', 'Ṅ' => 'Ṅ', 'á¹…' => 'ṅ', 'Ṇ' => 'NÌ£', 'ṇ' => 'nÌ£', 'Ṉ' => 'Ṉ', 'ṉ' => 'ṉ', 'Ṋ' => 'NÌ­', 'ṋ' => 'nÌ­', 'Ṍ' => 'ÕÌ', 'á¹' => 'õÌ', 'Ṏ' => 'Ṏ', 'á¹' => 'ṏ', 'á¹' => 'OÌ„Ì€', 'ṑ' => 'oÌ„Ì€', 'á¹’' => 'OÌ„Ì', 'ṓ' => 'oÌ„Ì', 'á¹”' => 'PÌ', 'ṕ' => 'pÌ', 'á¹–' => 'Ṗ', 'á¹—' => 'ṗ', 'Ṙ' => 'Ṙ', 'á¹™' => 'ṙ', 'Ṛ' => 'RÌ£', 'á¹›' => 'rÌ£', 'Ṝ' => 'Ṝ', 'á¹' => 'ṝ', 'Ṟ' => 'Ṟ', 'ṟ' => 'ṟ', 'á¹ ' => 'Ṡ', 'ṡ' => 'ṡ', 'á¹¢' => 'SÌ£', 'á¹£' => 'sÌ£', 'Ṥ' => 'SÌ̇', 'á¹¥' => 'sÌ̇', 'Ṧ' => 'Ṧ', 'ṧ' => 'ṧ', 'Ṩ' => 'Ṩ', 'ṩ' => 'ṩ', 'Ṫ' => 'Ṫ', 'ṫ' => 'ṫ', 'Ṭ' => 'TÌ£', 'á¹­' => 'tÌ£', 'á¹®' => 'Ṯ', 'ṯ' => 'ṯ', 'á¹°' => 'TÌ­', 'á¹±' => 'tÌ­', 'á¹²' => 'Ṳ', 'á¹³' => 'ṳ', 'á¹´' => 'UÌ°', 'á¹µ' => 'uÌ°', 'Ṷ' => 'UÌ­', 'á¹·' => 'uÌ­', 'Ṹ' => 'ŨÌ', 'á¹¹' => 'ũÌ', 'Ṻ' => 'Ṻ', 'á¹»' => 'ṻ', 'á¹¼' => 'Ṽ', 'á¹½' => 'ṽ', 'á¹¾' => 'VÌ£', 'ṿ' => 'vÌ£', 'Ẁ' => 'WÌ€', 'áº' => 'wÌ€', 'Ẃ' => 'WÌ', 'ẃ' => 'wÌ', 'Ẅ' => 'Ẅ', 'ẅ' => 'ẅ', 'Ẇ' => 'Ẇ', 'ẇ' => 'ẇ', 'Ẉ' => 'WÌ£', 'ẉ' => 'wÌ£', 'Ẋ' => 'Ẋ', 'ẋ' => 'ẋ', 'Ẍ' => 'Ẍ', 'áº' => 'ẍ', 'Ẏ' => 'Ẏ', 'áº' => 'ẏ', 'áº' => 'ZÌ‚', 'ẑ' => 'zÌ‚', 'Ẓ' => 'ZÌ£', 'ẓ' => 'zÌ£', 'Ẕ' => 'Ẕ', 'ẕ' => 'ẕ', 'ẖ' => 'ẖ', 'ẗ' => 'ẗ', 'ẘ' => 'wÌŠ', 'ẙ' => 'yÌŠ', 'ẛ' => 'ẛ', 'Ạ' => 'AÌ£', 'ạ' => 'aÌ£', 'Ả' => 'Ả', 'ả' => 'ả', 'Ấ' => 'AÌ‚Ì', 'ấ' => 'aÌ‚Ì', 'Ầ' => 'AÌ‚Ì€', 'ầ' => 'aÌ‚Ì€', 'Ẩ' => 'Ẩ', 'ẩ' => 'ẩ', 'Ẫ' => 'Ẫ', 'ẫ' => 'ẫ', 'Ậ' => 'Ậ', 'ậ' => 'ậ', 'Ắ' => 'ĂÌ', 'ắ' => 'ăÌ', 'Ằ' => 'Ằ', 'ằ' => 'ằ', 'Ẳ' => 'Ẳ', 'ẳ' => 'ẳ', 'Ẵ' => 'Ẵ', 'ẵ' => 'ẵ', 'Ặ' => 'Ặ', 'ặ' => 'ặ', 'Ẹ' => 'EÌ£', 'ẹ' => 'eÌ£', 'Ẻ' => 'Ẻ', 'ẻ' => 'ẻ', 'Ẽ' => 'Ẽ', 'ẽ' => 'ẽ', 'Ế' => 'EÌ‚Ì', 'ế' => 'eÌ‚Ì', 'Ề' => 'EÌ‚Ì€', 'á»' => 'eÌ‚Ì€', 'Ể' => 'Ể', 'ể' => 'ể', 'Ễ' => 'Ễ', 'á»…' => 'ễ', 'Ệ' => 'Ệ', 'ệ' => 'ệ', 'Ỉ' => 'Ỉ', 'ỉ' => 'ỉ', 'Ị' => 'IÌ£', 'ị' => 'iÌ£', 'Ọ' => 'OÌ£', 'á»' => 'oÌ£', 'Ỏ' => 'Ỏ', 'á»' => 'ỏ', 'á»' => 'OÌ‚Ì', 'ố' => 'oÌ‚Ì', 'á»’' => 'OÌ‚Ì€', 'ồ' => 'oÌ‚Ì€', 'á»”' => 'Ổ', 'ổ' => 'ổ', 'á»–' => 'Ỗ', 'á»—' => 'ỗ', 'Ộ' => 'Ộ', 'á»™' => 'ộ', 'Ớ' => 'OÌ›Ì', 'á»›' => 'oÌ›Ì', 'Ờ' => 'Ờ', 'á»' => 'ờ', 'Ở' => 'Ở', 'ở' => 'ở', 'á» ' => 'Ỡ', 'ỡ' => 'ỡ', 'Ợ' => 'Ợ', 'ợ' => 'ợ', 'Ụ' => 'UÌ£', 'ụ' => 'uÌ£', 'Ủ' => 'Ủ', 'ủ' => 'ủ', 'Ứ' => 'UÌ›Ì', 'ứ' => 'uÌ›Ì', 'Ừ' => 'Ừ', 'ừ' => 'ừ', 'Ử' => 'Ử', 'á»­' => 'ử', 'á»®' => 'Ữ', 'ữ' => 'ữ', 'á»°' => 'Ự', 'á»±' => 'ự', 'Ỳ' => 'YÌ€', 'ỳ' => 'yÌ€', 'á»´' => 'YÌ£', 'ỵ' => 'yÌ£', 'Ỷ' => 'Ỷ', 'á»·' => 'ỷ', 'Ỹ' => 'Ỹ', 'ỹ' => 'ỹ', 'á¼€' => 'ἀ', 'á¼' => 'ἁ', 'ἂ' => 'ἂ', 'ἃ' => 'ἃ', 'ἄ' => 'ἀÌ', 'á¼…' => 'ἁÌ', 'ἆ' => 'ἆ', 'ἇ' => 'ἇ', 'Ἀ' => 'Ἀ', 'Ἁ' => 'Ἁ', 'Ἂ' => 'Ἂ', 'Ἃ' => 'Ἃ', 'Ἄ' => 'ἈÌ', 'á¼' => 'ἉÌ', 'Ἆ' => 'Ἆ', 'á¼' => 'Ἇ', 'á¼' => 'ἐ', 'ἑ' => 'ἑ', 'á¼’' => 'ἒ', 'ἓ' => 'ἓ', 'á¼”' => 'ἐÌ', 'ἕ' => 'ἑÌ', 'Ἐ' => 'Ἐ', 'á¼™' => 'Ἑ', 'Ἒ' => 'Ἒ', 'á¼›' => 'Ἓ', 'Ἔ' => 'ἘÌ', 'á¼' => 'ἙÌ', 'á¼ ' => 'ἠ', 'ἡ' => 'ἡ', 'á¼¢' => 'ἢ', 'á¼£' => 'ἣ', 'ἤ' => 'ἠÌ', 'á¼¥' => 'ἡÌ', 'ἦ' => 'ἦ', 'ἧ' => 'ἧ', 'Ἠ' => 'Ἠ', 'Ἡ' => 'Ἡ', 'Ἢ' => 'Ἢ', 'Ἣ' => 'Ἣ', 'Ἤ' => 'ἨÌ', 'á¼­' => 'ἩÌ', 'á¼®' => 'Ἦ', 'Ἧ' => 'Ἧ', 'á¼°' => 'ἰ', 'á¼±' => 'ἱ', 'á¼²' => 'ἲ', 'á¼³' => 'ἳ', 'á¼´' => 'ἰÌ', 'á¼µ' => 'ἱÌ', 'ἶ' => 'ἶ', 'á¼·' => 'ἷ', 'Ἰ' => 'Ἰ', 'á¼¹' => 'Ἱ', 'Ἲ' => 'Ἲ', 'á¼»' => 'Ἳ', 'á¼¼' => 'ἸÌ', 'á¼½' => 'ἹÌ', 'á¼¾' => 'Ἶ', 'Ἷ' => 'Ἷ', 'á½€' => 'ὀ', 'á½' => 'ὁ', 'ὂ' => 'ὂ', 'ὃ' => 'ὃ', 'ὄ' => 'ὀÌ', 'á½…' => 'ὁÌ', 'Ὀ' => 'Ὀ', 'Ὁ' => 'Ὁ', 'Ὂ' => 'Ὂ', 'Ὃ' => 'Ὃ', 'Ὄ' => 'ὈÌ', 'á½' => 'ὉÌ', 'á½' => 'Ï…Ì“', 'ὑ' => 'Ï…Ì”', 'á½’' => 'Ï…Ì“Ì€', 'ὓ' => 'ὓ', 'á½”' => 'Ï…Ì“Ì', 'ὕ' => 'Ï…Ì”Ì', 'á½–' => 'Ï…Ì“Í‚', 'á½—' => 'ὗ', 'á½™' => 'Ὑ', 'á½›' => 'Ὓ', 'á½' => 'ὙÌ', 'Ὗ' => 'Ὗ', 'á½ ' => 'ὠ', 'ὡ' => 'ὡ', 'á½¢' => 'ὢ', 'á½£' => 'ὣ', 'ὤ' => 'ὠÌ', 'á½¥' => 'ὡÌ', 'ὦ' => 'ὦ', 'ὧ' => 'ὧ', 'Ὠ' => 'Ὠ', 'Ὡ' => 'Ὡ', 'Ὢ' => 'Ὢ', 'Ὣ' => 'Ὣ', 'Ὤ' => 'ὨÌ', 'á½­' => 'ὩÌ', 'á½®' => 'Ὦ', 'Ὧ' => 'Ὧ', 'á½°' => 'ὰ', 'á½±' => 'αÌ', 'á½²' => 'ὲ', 'á½³' => 'εÌ', 'á½´' => 'ὴ', 'á½µ' => 'ηÌ', 'ὶ' => 'ὶ', 'á½·' => 'ιÌ', 'ὸ' => 'ὸ', 'á½¹' => 'οÌ', 'ὺ' => 'Ï…Ì€', 'á½»' => 'Ï…Ì', 'á½¼' => 'ὼ', 'á½½' => 'ωÌ', 'á¾€' => 'ᾀ', 'á¾' => 'ᾁ', 'ᾂ' => 'ᾂ', 'ᾃ' => 'ᾃ', 'ᾄ' => 'ἀÌÍ…', 'á¾…' => 'ἁÌÍ…', 'ᾆ' => 'ᾆ', 'ᾇ' => 'ᾇ', 'ᾈ' => 'ᾈ', 'ᾉ' => 'ᾉ', 'ᾊ' => 'ᾊ', 'ᾋ' => 'ᾋ', 'ᾌ' => 'ἈÌÍ…', 'á¾' => 'ἉÌÍ…', 'ᾎ' => 'ᾎ', 'á¾' => 'ᾏ', 'á¾' => 'ᾐ', 'ᾑ' => 'ᾑ', 'á¾’' => 'ᾒ', 'ᾓ' => 'ᾓ', 'á¾”' => 'ἠÌÍ…', 'ᾕ' => 'ἡÌÍ…', 'á¾–' => 'ᾖ', 'á¾—' => 'ᾗ', 'ᾘ' => 'ᾘ', 'á¾™' => 'ᾙ', 'ᾚ' => 'ᾚ', 'á¾›' => 'ᾛ', 'ᾜ' => 'ἨÌÍ…', 'á¾' => 'ἩÌÍ…', 'ᾞ' => 'ᾞ', 'ᾟ' => 'ᾟ', 'á¾ ' => 'ᾠ', 'ᾡ' => 'ᾡ', 'á¾¢' => 'ᾢ', 'á¾£' => 'ᾣ', 'ᾤ' => 'ὠÌÍ…', 'á¾¥' => 'ὡÌÍ…', 'ᾦ' => 'ᾦ', 'ᾧ' => 'ᾧ', 'ᾨ' => 'ᾨ', 'ᾩ' => 'ᾩ', 'ᾪ' => 'ᾪ', 'ᾫ' => 'ᾫ', 'ᾬ' => 'ὨÌÍ…', 'á¾­' => 'ὩÌÍ…', 'á¾®' => 'ᾮ', 'ᾯ' => 'ᾯ', 'á¾°' => 'ᾰ', 'á¾±' => 'ᾱ', 'á¾²' => 'ᾲ', 'á¾³' => 'ᾳ', 'á¾´' => 'αÌÍ…', 'ᾶ' => 'ᾶ', 'á¾·' => 'ᾷ', 'Ᾰ' => 'Ᾰ', 'á¾¹' => 'Ᾱ', 'Ὰ' => 'Ὰ', 'á¾»' => 'ΑÌ', 'á¾¼' => 'ᾼ', 'á¾¾' => 'ι', 'á¿' => '῁', 'á¿‚' => 'ῂ', 'ῃ' => 'ῃ', 'á¿„' => 'ηÌÍ…', 'ῆ' => 'ῆ', 'ῇ' => 'ῇ', 'Ὲ' => 'Ὲ', 'Έ' => 'ΕÌ', 'á¿Š' => 'Ὴ', 'á¿‹' => 'ΗÌ', 'á¿Œ' => 'ῌ', 'á¿' => '῍', 'á¿Ž' => '᾿Ì', 'á¿' => '῏', 'á¿' => 'ῐ', 'á¿‘' => 'ῑ', 'á¿’' => 'ῒ', 'á¿“' => 'ϊÌ', 'á¿–' => 'ῖ', 'á¿—' => 'ῗ', 'Ῐ' => 'Ῐ', 'á¿™' => 'Ῑ', 'á¿š' => 'Ὶ', 'á¿›' => 'ΙÌ', 'á¿' => '῝', 'á¿ž' => '῾Ì', 'á¿Ÿ' => '῟', 'á¿ ' => 'ῠ', 'á¿¡' => 'Ï…Ì„', 'á¿¢' => 'ῢ', 'á¿£' => 'ϋÌ', 'ῤ' => 'ÏÌ“', 'á¿¥' => 'ÏÌ”', 'ῦ' => 'Ï…Í‚', 'ῧ' => 'ῧ', 'Ῠ' => 'Ῠ', 'á¿©' => 'Ῡ', 'Ὺ' => 'Ὺ', 'á¿«' => 'Î¥Ì', 'Ῥ' => 'Ῥ', 'á¿­' => '῭', 'á¿®' => '¨Ì', '`' => '`', 'ῲ' => 'ῲ', 'ῳ' => 'ῳ', 'á¿´' => 'ωÌÍ…', 'ῶ' => 'ῶ', 'á¿·' => 'ῷ', 'Ὸ' => 'Ὸ', 'Ό' => 'ΟÌ', 'Ὼ' => 'Ὼ', 'á¿»' => 'ΩÌ', 'ῼ' => 'ῼ', '´' => '´', ' ' => ' ', 'â€' => ' ', 'Ω' => 'Ω', 'K' => 'K', 'â„«' => 'AÌŠ', '↚' => 'â†Ì¸', '↛' => '↛', '↮' => '↮', 'â‡' => 'â‡Ì¸', '⇎' => '⇎', 'â‡' => '⇏', '∄' => '∄', '∉' => '∉', '∌' => '∌', '∤' => '∤', '∦' => '∦', 'â‰' => '≁', '≄' => '≄', '≇' => '≇', '≉' => '≉', '≠' => '≠', '≢' => '≢', '≭' => 'â‰Ì¸', '≮' => '≮', '≯' => '≯', '≰' => '≰', '≱' => '≱', '≴' => '≴', '≵' => '≵', '≸' => '≸', '≹' => '≹', '⊀' => '⊀', 'âŠ' => '⊁', '⊄' => '⊄', '⊅' => '⊅', '⊈' => '⊈', '⊉' => '⊉', '⊬' => '⊬', '⊭' => '⊭', '⊮' => '⊮', '⊯' => '⊯', 'â‹ ' => '⋠', 'â‹¡' => '⋡', 'â‹¢' => '⋢', 'â‹£' => '⋣', '⋪' => '⋪', 'â‹«' => '⋫', '⋬' => '⋬', 'â‹­' => '⋭', '〈' => '〈', '〉' => '〉', 'â«œ' => 'â«Ì¸', 'ãŒ' => 'ã‹ã‚™', 'ãŽ' => 'ãã‚™', 'ã' => 'ãã‚™', 'ã’' => 'ã‘ã‚™', 'ã”' => 'ã“ã‚™', 'ã–' => 'ã•ã‚™', 'ã˜' => 'ã—ã‚™', 'ãš' => 'ã™ã‚™', 'ãœ' => 'ã›ã‚™', 'ãž' => 'ãã‚™', 'ã ' => 'ãŸã‚™', 'ã¢' => 'ã¡ã‚™', 'ã¥' => 'ã¤ã‚™', 'ã§' => 'ã¦ã‚™', 'ã©' => 'ã¨ã‚™', 'ã°' => 'ã¯ã‚™', 'ã±' => 'ã¯ã‚š', 'ã³' => 'ã²ã‚™', 'ã´' => 'ã²ã‚š', 'ã¶' => 'ãµã‚™', 'ã·' => 'ãµã‚š', 'ã¹' => 'ã¸ã‚™', 'ãº' => 'ã¸ã‚š', 'ã¼' => 'ã»ã‚™', 'ã½' => 'ã»ã‚š', 'ã‚”' => 'ã†ã‚™', 'ã‚ž' => 'ã‚ã‚™', 'ガ' => 'ã‚«ã‚™', 'ã‚®' => 'ã‚­ã‚™', 'ã‚°' => 'グ', 'ゲ' => 'ゲ', 'ã‚´' => 'ゴ', 'ザ' => 'ザ', 'ジ' => 'ã‚·ã‚™', 'ズ' => 'ズ', 'ゼ' => 'ゼ', 'ゾ' => 'ゾ', 'ダ' => 'ã‚¿ã‚™', 'ヂ' => 'ãƒã‚™', 'ヅ' => 'ヅ', 'デ' => 'デ', 'ド' => 'ド', 'ãƒ' => 'ãƒã‚™', 'パ' => 'ãƒã‚š', 'ビ' => 'ビ', 'ピ' => 'ピ', 'ブ' => 'ブ', 'プ' => 'プ', 'ベ' => 'ベ', 'ペ' => 'ペ', 'ボ' => 'ボ', 'ãƒ' => 'ポ', 'ヴ' => 'ヴ', 'ヷ' => 'ヷ', 'ヸ' => 'ヸ', 'ヹ' => 'ヹ', 'ヺ' => 'ヺ', 'ヾ' => 'ヾ', '豈' => '豈', 'ï¤' => 'æ›´', '車' => '車', '賈' => '賈', '滑' => '滑', '串' => '串', '句' => 'å¥', '龜' => '龜', '龜' => '龜', '契' => '契', '金' => '金', '喇' => 'å–‡', '奈' => '奈', 'ï¤' => '懶', '癩' => '癩', 'ï¤' => 'ç¾…', 'ï¤' => '蘿', '螺' => '螺', '裸' => '裸', '邏' => 'é‚', '樂' => '樂', '洛' => 'æ´›', '烙' => '烙', '珞' => 'çž', '落' => 'è½', '酪' => 'é…ª', '駱' => '駱', '亂' => '亂', '卵' => 'åµ', 'ï¤' => '欄', '爛' => '爛', '蘭' => '蘭', '鸞' => '鸞', '嵐' => 'åµ', '濫' => 'æ¿«', '藍' => 'è—', '襤' => '襤', '拉' => '拉', '臘' => '臘', '蠟' => 'è Ÿ', '廊' => '廊', '朗' => '朗', '浪' => '浪', '狼' => '狼', '郎' => '郎', '來' => '來', '冷' => '冷', '勞' => 'å‹ž', '擄' => 'æ“„', '櫓' => 'æ«“', '爐' => 'çˆ', '盧' => '盧', '老' => 'è€', '蘆' => '蘆', '虜' => '虜', '路' => 'è·¯', '露' => '露', '魯' => 'é­¯', '鷺' => 'é·º', '碌' => '碌', '祿' => '祿', '綠' => '綠', '菉' => 'è‰', '錄' => '錄', '鹿' => '鹿', 'ï¥' => 'è«–', '壟' => '壟', '弄' => '弄', '籠' => 'ç± ', '聾' => 'è¾', '牢' => '牢', '磊' => '磊', '賂' => '賂', '雷' => 'é›·', '壘' => '壘', '屢' => 'å±¢', '樓' => '樓', 'ï¥' => 'æ·š', '漏' => 'æ¼', 'ï¥' => 'ç´¯', 'ï¥' => '縷', '陋' => '陋', '勒' => 'å‹’', '肋' => 'è‚‹', '凜' => '凜', '凌' => '凌', '稜' => '稜', '綾' => '綾', '菱' => 'è±', '陵' => '陵', '讀' => '讀', '拏' => 'æ‹', '樂' => '樂', 'ï¥' => '諾', '丹' => '丹', '寧' => '寧', '怒' => '怒', '率' => '率', '異' => 'ç•°', '北' => '北', '磻' => '磻', '便' => '便', '復' => '復', '不' => 'ä¸', '泌' => '泌', '數' => '數', '索' => 'ç´¢', '參' => 'åƒ', '塞' => 'å¡ž', '省' => 'çœ', '葉' => '葉', '說' => '說', '殺' => '殺', '辰' => 'è¾°', '沈' => '沈', '拾' => '拾', '若' => 'è‹¥', '掠' => '掠', '略' => 'ç•¥', '亮' => '亮', '兩' => 'å…©', '凉' => '凉', '梁' => 'æ¢', '糧' => '糧', '良' => '良', '諒' => 'è«’', '量' => 'é‡', '勵' => '勵', '呂' => 'å‘‚', 'ï¦' => '女', '廬' => '廬', '旅' => 'æ—…', '濾' => '濾', '礪' => '礪', '閭' => 'é–­', '驪' => '驪', '麗' => '麗', '黎' => '黎', '力' => '力', '曆' => '曆', '歷' => 'æ­·', 'ï¦' => 'è½¢', '年' => 'å¹´', 'ï¦' => 'æ†', 'ï¦' => '戀', '撚' => 'æ’š', '漣' => 'æ¼£', '煉' => 'ç…‰', '璉' => 'ç’‰', '秊' => '秊', '練' => 'ç·´', '聯' => 'è¯', '輦' => '輦', '蓮' => 'è“®', '連' => '連', '鍊' => 'éŠ', '列' => '列', 'ï¦' => '劣', '咽' => 'å’½', '烈' => '烈', '裂' => '裂', '說' => '說', '廉' => '廉', '念' => '念', '捻' => 'æ»', '殮' => 'æ®®', '簾' => 'ç°¾', '獵' => 'çµ', '令' => '令', '囹' => '囹', '寧' => '寧', '嶺' => '嶺', '怜' => '怜', '玲' => '玲', '瑩' => 'ç‘©', '羚' => '羚', '聆' => 'è†', '鈴' => '鈴', '零' => '零', '靈' => 'éˆ', '領' => 'é ˜', '例' => '例', '禮' => '禮', '醴' => '醴', '隸' => '隸', '惡' => '惡', '了' => '了', '僚' => '僚', '寮' => '寮', '尿' => 'å°¿', '料' => 'æ–™', '樂' => '樂', '燎' => '燎', 'ï§' => '療', '蓼' => '蓼', '遼' => 'é¼', '龍' => 'é¾', '暈' => '暈', '阮' => '阮', '劉' => '劉', '杻' => 'æ»', '柳' => '柳', '流' => 'æµ', '溜' => '溜', '琉' => 'ç‰', 'ï§' => 'ç•™', '硫' => 'ç¡«', 'ï§' => 'ç´', 'ï§' => 'é¡ž', '六' => 'å…­', '戮' => '戮', '陸' => '陸', '倫' => '倫', '崙' => 'å´™', '淪' => 'æ·ª', '輪' => '輪', '律' => '律', '慄' => 'æ…„', '栗' => 'æ —', '率' => '率', '隆' => '隆', 'ï§' => '利', '吏' => 'å', '履' => 'å±¥', '易' => '易', '李' => 'æŽ', '梨' => '梨', '泥' => 'æ³¥', '理' => 'ç†', '痢' => 'ç—¢', '罹' => 'ç½¹', '裏' => 'è£', '裡' => '裡', '里' => '里', '離' => '離', '匿' => '匿', '溺' => '溺', '吝' => 'å', '燐' => 'ç‡', '璘' => 'ç’˜', '藺' => 'è—º', '隣' => '隣', '鱗' => 'é±—', '麟' => '麟', '林' => 'æž—', '淋' => 'æ·‹', '臨' => '臨', '立' => 'ç«‹', '笠' => '笠', '粒' => 'ç²’', '狀' => 'ç‹€', '炙' => 'ç‚™', '識' => 'è­˜', '什' => '什', '茶' => '茶', '刺' => '刺', '切' => '切', 'ï¨' => '度', '拓' => 'æ‹“', '糖' => 'ç³–', '宅' => 'å®…', '洞' => 'æ´ž', '暴' => 'æš´', '輻' => 'è¼»', '行' => 'è¡Œ', '降' => 'é™', '見' => '見', '廓' => '廓', '兀' => 'å…€', 'ï¨' => 'å—€', 'ï¨' => 'å¡š', '晴' => 'æ™´', '凞' => '凞', '猪' => '猪', '益' => '益', '礼' => '礼', '神' => '神', '祥' => '祥', '福' => 'ç¦', '靖' => 'é–', 'ï¨' => 'ç²¾', '羽' => 'ç¾½', '蘒' => '蘒', '諸' => '諸', '逸' => '逸', '都' => '都', '飯' => '飯', '飼' => '飼', '館' => '館', '鶴' => '鶴', '郞' => '郞', '隷' => 'éš·', '侮' => 'ä¾®', '僧' => '僧', '免' => 'å…', '勉' => '勉', '勤' => '勤', '卑' => 'å‘', '喝' => 'å–', '嘆' => '嘆', '器' => '器', '塀' => 'å¡€', '墨' => '墨', '層' => '層', '屮' => 'å±®', '悔' => 'æ‚”', '慨' => 'æ…¨', '憎' => '憎', 'ï©€' => '懲', 'ï©' => 'æ•', 'ï©‚' => 'æ—¢', '暑' => 'æš‘', 'ï©„' => '梅', 'ï©…' => 'æµ·', '渚' => '渚', '漢' => 'æ¼¢', '煮' => 'ç…®', '爫' => '爫', 'ï©Š' => 'ç¢', 'ï©‹' => '碑', 'ï©Œ' => '社', 'ï©' => '祉', 'ï©Ž' => '祈', 'ï©' => 'ç¥', 'ï©' => '祖', 'ï©‘' => 'ç¥', 'ï©’' => 'ç¦', 'ï©“' => '禎', 'ï©”' => 'ç©€', 'ï©•' => 'çª', 'ï©–' => '節', 'ï©—' => 'ç·´', '縉' => '縉', 'ï©™' => 'ç¹', 'ï©š' => 'ç½²', 'ï©›' => '者', 'ï©œ' => '臭', 'ï©' => '艹', 'ï©ž' => '艹', 'ï©Ÿ' => 'è‘—', 'ï© ' => 'è¤', 'ï©¡' => '視', 'ï©¢' => 'è¬', 'ï©£' => '謹', '賓' => '賓', 'ï©¥' => 'è´ˆ', '辶' => '辶', '逸' => '逸', '難' => '難', 'ï©©' => '響', '頻' => 'é »', 'ï©«' => 'æµ', '𤋮' => '𤋮', 'ï©­' => '舘', 'ï©°' => '並', '况' => '况', '全' => 'å…¨', '侀' => 'ä¾€', 'ï©´' => 'å……', '冀' => '冀', '勇' => '勇', 'ï©·' => '勺', '喝' => 'å–', '啕' => 'å••', '喙' => 'å–™', 'ï©»' => 'å—¢', '塚' => 'å¡š', '墳' => '墳', '奄' => '奄', 'ï©¿' => '奔', '婢' => 'å©¢', 'ïª' => '嬨', '廒' => 'å»’', '廙' => 'å»™', '彩' => '彩', '徭' => 'å¾­', '惘' => '惘', '慎' => 'æ…Ž', '愈' => '愈', '憎' => '憎', '慠' => 'æ… ', '懲' => '懲', '戴' => '戴', 'ïª' => 'æ„', '搜' => 'æœ', 'ïª' => 'æ‘’', 'ïª' => 'æ•–', '晴' => 'æ™´', '朗' => '朗', '望' => '望', '杖' => 'æ–', '歹' => 'æ­¹', '殺' => '殺', '流' => 'æµ', '滛' => 'æ»›', '滋' => '滋', '漢' => 'æ¼¢', '瀞' => '瀞', '煮' => 'ç…®', 'ïª' => '瞧', '爵' => '爵', '犯' => '犯', '猪' => '猪', '瑱' => '瑱', '甆' => '甆', '画' => 'ç”»', '瘝' => 'ç˜', '瘟' => '瘟', '益' => '益', '盛' => 'ç››', '直' => 'ç›´', '睊' => 'çŠ', '着' => 'ç€', '磌' => '磌', '窱' => '窱', '節' => '節', '类' => 'ç±»', '絛' => 'çµ›', '練' => 'ç·´', '缾' => 'ç¼¾', '者' => '者', '荒' => 'è’', '華' => 'è¯', '蝹' => 'è¹', '襁' => 'è¥', '覆' => '覆', '視' => '視', '調' => '調', '諸' => '諸', '請' => 'è«‹', '謁' => 'è¬', '諾' => '諾', '諭' => 'è«­', '謹' => '謹', 'ï«€' => '變', 'ï«' => 'è´ˆ', 'ï«‚' => '輸', '遲' => 'é²', 'ï«„' => '醙', 'ï«…' => '鉶', '陼' => '陼', '難' => '難', '靖' => 'é–', '韛' => '韛', 'ï«Š' => '響', 'ï«‹' => 'é ‹', 'ï«Œ' => 'é »', 'ï«' => '鬒', 'ï«Ž' => '龜', 'ï«' => '𢡊', 'ï«' => '𢡄', 'ï«‘' => 'ð£•', 'ï«’' => 'ã®', 'ï«“' => '䀘', 'ï«”' => '䀹', 'ï«•' => '𥉉', 'ï«–' => 'ð¥³', 'ï«—' => '𧻓', '齃' => '齃', 'ï«™' => '龎', 'ï¬' => '×™Ö´', 'ײַ' => 'ײַ', 'שׁ' => 'ש×', 'שׂ' => 'שׂ', 'שּׁ' => 'שּ×', 'שּׂ' => 'שּׂ', 'אַ' => '×Ö·', 'אָ' => '×Ö¸', 'אּ' => '×Ö¼', 'בּ' => 'בּ', 'גּ' => '×’Ö¼', 'דּ' => 'דּ', 'הּ' => '×”Ö¼', 'וּ' => 'וּ', 'זּ' => '×–Ö¼', 'טּ' => 'טּ', 'יּ' => '×™Ö¼', 'ךּ' => 'ךּ', 'כּ' => '×›Ö¼', 'לּ' => 'לּ', 'מּ' => 'מּ', 'ï­€' => '× Ö¼', 'ï­' => 'סּ', 'ï­ƒ' => '×£Ö¼', 'ï­„' => 'פּ', 'ï­†' => 'צּ', 'ï­‡' => 'קּ', 'ï­ˆ' => 'רּ', 'ï­‰' => 'שּ', 'ï­Š' => 'תּ', 'ï­‹' => 'וֹ', 'ï­Œ' => 'בֿ', 'ï­' => '×›Ö¿', 'ï­Ž' => 'פֿ', 'ð‘‚š' => '𑂚', 'ð‘‚œ' => '𑂜', 'ð‘‚«' => '𑂫', 'ð‘„®' => '𑄮', '𑄯' => '𑄯', 'ð‘‹' => 'ð‘‡ð‘Œ¾', 'ð‘Œ' => 'ð‘‡ð‘—', 'ð‘’»' => '𑒻', 'ð‘’¼' => '𑒼', 'ð‘’¾' => '𑒾', 'ð‘–º' => '𑖺', 'ð‘–»' => '𑖻', '𑤸' => '𑤸', 'ð…ž' => 'ð…—ð…¥', 'ð…Ÿ' => 'ð…˜ð…¥', 'ð… ' => 'ð…˜ð…¥ð…®', 'ð…¡' => 'ð…˜ð…¥ð…¯', 'ð…¢' => 'ð…˜ð…¥ð…°', 'ð…£' => 'ð…˜ð…¥ð…±', 'ð…¤' => 'ð…˜ð…¥ð…²', 'ð†»' => 'ð†¹ð…¥', 'ð†¼' => 'ð†ºð…¥', 'ð†½' => 'ð†¹ð…¥ð…®', 'ð†¾' => 'ð†ºð…¥ð…®', 'ð†¿' => 'ð†¹ð…¥ð…¯', 'ð‡€' => 'ð†ºð…¥ð…¯', '丽' => '丽', 'ð¯ ' => '丸', '乁' => 'ä¹', '𠄢' => 'ð „¢', '你' => 'ä½ ', '侮' => 'ä¾®', '侻' => 'ä¾»', '倂' => '倂', '偺' => 'åº', '備' => 'å‚™', '僧' => '僧', '像' => 'åƒ', '㒞' => 'ã’ž', 'ð¯ ' => '𠘺', '免' => 'å…', 'ð¯ ' => 'å…”', 'ð¯ ' => 'å…¤', '具' => 'å…·', '𠔜' => '𠔜', '㒹' => 'ã’¹', '內' => 'å…§', '再' => 'å†', '𠕋' => 'ð •‹', '冗' => '冗', '冤' => '冤', '仌' => '仌', '冬' => '冬', '况' => '况', '𩇟' => '𩇟', 'ð¯ ' => '凵', '刃' => '刃', '㓟' => 'ã“Ÿ', '刻' => '刻', '剆' => '剆', '割' => '割', '剷' => '剷', '㔕' => '㔕', '勇' => '勇', '勉' => '勉', '勤' => '勤', '勺' => '勺', '包' => '包', '匆' => '匆', '北' => '北', '卉' => 'å‰', '卑' => 'å‘', '博' => 'åš', '即' => 'å³', '卽' => 'å½', '卿' => 'å¿', '卿' => 'å¿', '卿' => 'å¿', '𠨬' => '𠨬', '灰' => 'ç°', '及' => 'åŠ', '叟' => 'åŸ', '𠭣' => 'ð ­£', '叫' => 'å«', '叱' => 'å±', '吆' => 'å†', '咞' => 'å’ž', '吸' => 'å¸', '呈' => '呈', '周' => '周', '咢' => 'å’¢', 'ð¯¡' => '哶', '唐' => 'å”', '啓' => 'å•“', '啣' => 'å•£', '善' => 'å–„', '善' => 'å–„', '喙' => 'å–™', '喫' => 'å–«', '喳' => 'å–³', '嗂' => 'å—‚', '圖' => '圖', '嘆' => '嘆', 'ð¯¡' => '圗', '噑' => '噑', 'ð¯¡' => 'å™´', 'ð¯¡' => '切', '壮' => '壮', '城' => '城', '埴' => '埴', '堍' => 'å ', '型' => 'åž‹', '堲' => 'å ²', '報' => 'å ±', '墬' => '墬', '𡓤' => '𡓤', '売' => '売', '壷' => '壷', '夆' => '夆', 'ð¯¡' => '多', '夢' => '夢', '奢' => '奢', '𡚨' => '𡚨', '𡛪' => '𡛪', '姬' => '姬', '娛' => '娛', '娧' => '娧', '姘' => '姘', '婦' => '婦', '㛮' => 'ã›®', '㛼' => '㛼', '嬈' => '嬈', '嬾' => '嬾', '嬾' => '嬾', '𡧈' => '𡧈', '寃' => '寃', '寘' => '寘', '寧' => '寧', '寳' => '寳', '𡬘' => '𡬘', '寿' => '寿', '将' => 'å°†', '当' => '当', '尢' => 'å°¢', '㞁' => 'ãž', '屠' => 'å± ', '屮' => 'å±®', '峀' => 'å³€', '岍' => 'å²', '𡷤' => 'ð¡·¤', '嵃' => '嵃', '𡷦' => 'ð¡·¦', '嵮' => 'åµ®', '嵫' => '嵫', '嵼' => 'åµ¼', 'ð¯¢' => 'å·¡', '巢' => 'å·¢', '㠯' => 'ã ¯', '巽' => 'å·½', '帨' => '帨', '帽' => '帽', '幩' => '幩', '㡢' => 'ã¡¢', '𢆃' => '𢆃', '㡼' => '㡼', '庰' => '庰', '庳' => '庳', 'ð¯¢' => '庶', '廊' => '廊', 'ð¯¢' => '𪎒', 'ð¯¢' => '廾', '𢌱' => '𢌱', '𢌱' => '𢌱', '舁' => 'èˆ', '弢' => 'å¼¢', '弢' => 'å¼¢', '㣇' => '㣇', '𣊸' => '𣊸', '𦇚' => '𦇚', '形' => 'å½¢', '彫' => '彫', '㣣' => '㣣', '徚' => '徚', 'ð¯¢' => 'å¿', '志' => 'å¿—', '忹' => '忹', '悁' => 'æ‚', '㤺' => '㤺', '㤜' => '㤜', '悔' => 'æ‚”', '𢛔' => '𢛔', '惇' => '惇', '慈' => 'æ…ˆ', '慌' => 'æ…Œ', '慎' => 'æ…Ž', '慌' => 'æ…Œ', '慺' => 'æ…º', '憎' => '憎', '憲' => '憲', '憤' => '憤', '憯' => '憯', '懞' => '懞', '懲' => '懲', '懶' => '懶', '成' => 'æˆ', '戛' => '戛', '扝' => 'æ‰', '抱' => '抱', '拔' => 'æ‹”', '捐' => 'æ', '𢬌' => '𢬌', '挽' => '挽', '拼' => '拼', '捨' => 'æ¨', '掃' => '掃', '揤' => 'æ¤', '𢯱' => '𢯱', '搢' => 'æ¢', '揅' => 'æ…', 'ð¯£' => '掩', '㨮' => '㨮', '摩' => 'æ‘©', '摾' => '摾', '撝' => 'æ’', '摷' => 'æ‘·', '㩬' => '㩬', '敏' => 'æ•', '敬' => '敬', '𣀊' => '𣀊', '旣' => 'æ—£', '書' => '書', 'ð¯£' => '晉', '㬙' => '㬙', 'ð¯£' => 'æš‘', 'ð¯£' => '㬈', '㫤' => '㫤', '冒' => '冒', '冕' => '冕', '最' => '最', '暜' => 'æšœ', '肭' => 'è‚­', '䏙' => 'ä™', '朗' => '朗', '望' => '望', '朡' => '朡', '杞' => 'æž', '杓' => 'æ“', 'ð¯£' => 'ð£ƒ', '㭉' => 'ã­‰', '柺' => '柺', '枅' => 'æž…', '桒' => 'æ¡’', '梅' => '梅', '𣑭' => '𣑭', '梎' => '梎', '栟' => 'æ Ÿ', '椔' => '椔', '㮝' => 'ã®', '楂' => '楂', '榣' => '榣', '槪' => '槪', '檨' => '檨', '𣚣' => '𣚣', '櫛' => 'æ«›', '㰘' => 'ã°˜', '次' => '次', '𣢧' => '𣢧', '歔' => 'æ­”', '㱎' => '㱎', '歲' => 'æ­²', '殟' => '殟', '殺' => '殺', '殻' => 'æ®»', '𣪍' => 'ð£ª', '𡴋' => 'ð¡´‹', '𣫺' => '𣫺', '汎' => '汎', '𣲼' => '𣲼', '沿' => '沿', '泍' => 'æ³', '汧' => '汧', '洖' => 'æ´–', '派' => 'æ´¾', 'ð¯¤' => 'æµ·', '流' => 'æµ', '浩' => '浩', '浸' => '浸', '涅' => '涅', '𣴞' => '𣴞', '洴' => 'æ´´', '港' => '港', '湮' => 'æ¹®', '㴳' => 'ã´³', '滋' => '滋', '滇' => '滇', 'ð¯¤' => '𣻑', '淹' => 'æ·¹', 'ð¯¤' => 'æ½®', 'ð¯¤' => '𣽞', '𣾎' => '𣾎', '濆' => '濆', '瀹' => '瀹', '瀞' => '瀞', '瀛' => '瀛', '㶖' => '㶖', '灊' => 'çŠ', '災' => 'ç½', '灷' => 'ç·', '炭' => 'ç‚­', '𠔥' => '𠔥', '煅' => 'ç……', 'ð¯¤' => '𤉣', '熜' => '熜', '𤎫' => '𤎫', '爨' => '爨', '爵' => '爵', '牐' => 'ç‰', '𤘈' => '𤘈', '犀' => '犀', '犕' => '犕', '𤜵' => '𤜵', '𤠔' => '𤠔', '獺' => 'çº', '王' => '王', '㺬' => '㺬', '玥' => '玥', '㺸' => '㺸', '㺸' => '㺸', '瑇' => '瑇', '瑜' => 'ç‘œ', '瑱' => '瑱', '璅' => 'ç’…', '瓊' => 'ç“Š', '㼛' => 'ã¼›', '甤' => '甤', '𤰶' => '𤰶', '甾' => '甾', '𤲒' => '𤲒', '異' => 'ç•°', '𢆟' => '𢆟', '瘐' => 'ç˜', '𤾡' => '𤾡', '𤾸' => '𤾸', '𥁄' => 'ð¥„', '㿼' => '㿼', '䀈' => '䀈', '直' => 'ç›´', 'ð¯¥' => '𥃳', '𥃲' => '𥃲', '𥄙' => '𥄙', '𥄳' => '𥄳', '眞' => '眞', '真' => '真', '真' => '真', '睊' => 'çŠ', '䀹' => '䀹', '瞋' => 'çž‹', '䁆' => 'ä†', '䂖' => 'ä‚–', 'ð¯¥' => 'ð¥', '硎' => 'ç¡Ž', 'ð¯¥' => '碌', 'ð¯¥' => '磌', '䃣' => '䃣', '𥘦' => '𥘦', '祖' => '祖', '𥚚' => '𥚚', '𥛅' => '𥛅', '福' => 'ç¦', '秫' => '秫', '䄯' => '䄯', '穀' => 'ç©€', '穊' => 'ç©Š', '穏' => 'ç©', '𥥼' => '𥥼', 'ð¯¥' => '𥪧', '𥪧' => '𥪧', '竮' => 'ç«®', '䈂' => '䈂', '𥮫' => '𥮫', '篆' => '篆', '築' => '築', '䈧' => '䈧', '𥲀' => '𥲀', '糒' => 'ç³’', '䊠' => '䊠', '糨' => '糨', '糣' => 'ç³£', '紀' => 'ç´€', '𥾆' => '𥾆', '絣' => 'çµ£', '䌁' => 'äŒ', '緇' => 'ç·‡', '縂' => '縂', '繅' => 'ç¹…', '䌴' => '䌴', '𦈨' => '𦈨', '𦉇' => '𦉇', '䍙' => 'ä™', '𦋙' => '𦋙', '罺' => '罺', '𦌾' => '𦌾', '羕' => '羕', '翺' => '翺', '者' => '者', '𦓚' => '𦓚', '𦔣' => '𦔣', '聠' => 'è ', '𦖨' => '𦖨', '聰' => 'è°', '𣍟' => 'ð£Ÿ', 'ð¯¦' => 'ä•', '育' => '育', '脃' => '脃', '䐋' => 'ä‹', '脾' => '脾', '媵' => '媵', '𦞧' => '𦞧', '𦞵' => '𦞵', '𣎓' => '𣎓', '𣎜' => '𣎜', '舁' => 'èˆ', '舄' => '舄', 'ð¯¦' => '辞', '䑫' => 'ä‘«', 'ð¯¦' => '芑', 'ð¯¦' => '芋', '芝' => 'èŠ', '劳' => '劳', '花' => '花', '芳' => '芳', '芽' => '芽', '苦' => '苦', '𦬼' => '𦬼', '若' => 'è‹¥', '茝' => 'èŒ', '荣' => 'è£', '莭' => '莭', '茣' => '茣', 'ð¯¦' => '莽', '菧' => 'è§', '著' => 'è‘—', '荓' => 'è“', '菊' => 'èŠ', '菌' => 'èŒ', '菜' => 'èœ', '𦰶' => '𦰶', '𦵫' => '𦵫', '𦳕' => '𦳕', '䔫' => '䔫', '蓱' => '蓱', '蓳' => '蓳', '蔖' => 'è”–', '𧏊' => 'ð§Š', '蕤' => '蕤', '𦼬' => '𦼬', '䕝' => 'ä•', '䕡' => 'ä•¡', '𦾱' => '𦾱', '𧃒' => '𧃒', '䕫' => 'ä•«', '虐' => 'è™', '虜' => '虜', '虧' => '虧', '虩' => '虩', '蚩' => 'èš©', '蚈' => '蚈', '蜎' => '蜎', '蛢' => '蛢', '蝹' => 'è¹', '蜨' => '蜨', '蝫' => 'è«', '螆' => '螆', '䗗' => 'ä——', '蟡' => '蟡', 'ð¯§' => 'è ', '䗹' => 'ä—¹', '衠' => 'è¡ ', '衣' => 'è¡£', '𧙧' => '𧙧', '裗' => '裗', '裞' => '裞', '䘵' => '䘵', '裺' => '裺', '㒻' => 'ã’»', '𧢮' => '𧢮', '𧥦' => '𧥦', 'ð¯§' => 'äš¾', '䛇' => '䛇', 'ð¯§' => '誠', 'ð¯§' => 'è«­', '變' => '變', '豕' => '豕', '𧲨' => '𧲨', '貫' => '貫', '賁' => 'è³', '贛' => 'è´›', '起' => 'èµ·', '𧼯' => '𧼯', '𠠄' => 'ð  „', '跋' => 'è·‹', '趼' => '趼', '跰' => 'è·°', 'ð¯§' => '𠣞', '軔' => 'è»”', '輸' => '輸', '𨗒' => '𨗒', '𨗭' => '𨗭', '邔' => 'é‚”', '郱' => '郱', '鄑' => 'é„‘', '𨜮' => '𨜮', '鄛' => 'é„›', '鈸' => '鈸', '鋗' => 'é‹—', '鋘' => '鋘', '鉼' => '鉼', '鏹' => 'é¹', '鐕' => 'é•', '𨯺' => '𨯺', '開' => 'é–‹', '䦕' => '䦕', '閷' => 'é–·', '𨵷' => '𨵷', '䧦' => '䧦', '雃' => '雃', '嶲' => '嶲', '霣' => '霣', '𩅅' => 'ð©……', '𩈚' => '𩈚', '䩮' => 'ä©®', '䩶' => '䩶', '韠' => '韠', '𩐊' => 'ð©Š', '䪲' => '䪲', '𩒖' => 'ð©’–', '頋' => 'é ‹', '頋' => 'é ‹', '頩' => 'é ©', 'ð¯¨' => 'ð©–¶', '飢' => '飢', '䬳' => '䬳', '餩' => '餩', '馧' => '馧', '駂' => '駂', '駾' => '駾', '䯎' => '䯎', '𩬰' => '𩬰', '鬒' => '鬒', '鱀' => 'é±€', '鳽' => 'é³½', 'ð¯¨' => '䳎', '䳭' => 'ä³­', 'ð¯¨' => '鵧', 'ð¯¨' => '𪃎', '䳸' => '䳸', '𪄅' => '𪄅', '𪈎' => '𪈎', '𪊑' => '𪊑', '麻' => '麻', '䵖' => 'äµ–', '黹' => '黹', '黾' => '黾', '鼅' => 'é¼…', '鼏' => 'é¼', '鼖' => 'é¼–', '鼻' => 'é¼»', 'ð¯¨' => '𪘀'); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php index c97dc7c715f..f6a330eda7f 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/combiningClass.php @@ -1,5 +1,5 @@ 230, 'Ì' => 230, 'Ì‚' => 230, '̃' => 230, 'Ì„' => 230, 'Ì…' => 230, '̆' => 230, '̇' => 230, '̈' => 230, '̉' => 230, 'ÌŠ' => 230, 'Ì‹' => 230, 'ÌŒ' => 230, 'Ì' => 230, 'ÌŽ' => 230, 'Ì' => 230, 'Ì' => 230, 'Ì‘' => 230, 'Ì’' => 230, 'Ì“' => 230, 'Ì”' => 230, 'Ì•' => 232, 'Ì–' => 220, 'Ì—' => 220, '̘' => 220, 'Ì™' => 220, 'Ìš' => 232, 'Ì›' => 216, 'Ìœ' => 220, 'Ì' => 220, 'Ìž' => 220, 'ÌŸ' => 220, 'Ì ' => 220, 'Ì¡' => 202, 'Ì¢' => 202, 'Ì£' => 220, '̤' => 220, 'Ì¥' => 220, '̦' => 220, '̧' => 202, '̨' => 202, 'Ì©' => 220, '̪' => 220, 'Ì«' => 220, '̬' => 220, 'Ì­' => 220, 'Ì®' => 220, '̯' => 220, 'Ì°' => 220, '̱' => 220, '̲' => 220, '̳' => 220, 'Ì´' => 1, '̵' => 1, '̶' => 1, 'Ì·' => 1, '̸' => 1, '̹' => 220, '̺' => 220, 'Ì»' => 220, '̼' => 220, '̽' => 230, '̾' => 230, 'Ì¿' => 230, 'Í€' => 230, 'Í' => 230, 'Í‚' => 230, '̓' => 230, 'Í„' => 230, 'Í…' => 240, '͆' => 230, '͇' => 220, '͈' => 220, '͉' => 220, 'ÍŠ' => 230, 'Í‹' => 230, 'ÍŒ' => 230, 'Í' => 220, 'ÍŽ' => 220, 'Í' => 230, 'Í‘' => 230, 'Í’' => 230, 'Í“' => 220, 'Í”' => 220, 'Í•' => 220, 'Í–' => 220, 'Í—' => 230, '͘' => 232, 'Í™' => 220, 'Íš' => 220, 'Í›' => 230, 'Íœ' => 233, 'Í' => 234, 'Íž' => 234, 'ÍŸ' => 233, 'Í ' => 234, 'Í¡' => 234, 'Í¢' => 233, 'Í£' => 230, 'ͤ' => 230, 'Í¥' => 230, 'ͦ' => 230, 'ͧ' => 230, 'ͨ' => 230, 'Í©' => 230, 'ͪ' => 230, 'Í«' => 230, 'ͬ' => 230, 'Í­' => 230, 'Í®' => 230, 'ͯ' => 230, 'Òƒ' => 230, 'Ò„' => 230, 'Ò…' => 230, 'Ò†' => 230, 'Ò‡' => 230, 'Ö‘' => 220, 'Ö’' => 230, 'Ö“' => 230, 'Ö”' => 230, 'Ö•' => 230, 'Ö–' => 220, 'Ö—' => 230, 'Ö˜' => 230, 'Ö™' => 230, 'Öš' => 222, 'Ö›' => 220, 'Öœ' => 230, 'Ö' => 230, 'Öž' => 230, 'ÖŸ' => 230, 'Ö ' => 230, 'Ö¡' => 230, 'Ö¢' => 220, 'Ö£' => 220, 'Ö¤' => 220, 'Ö¥' => 220, 'Ö¦' => 220, 'Ö§' => 220, 'Ö¨' => 230, 'Ö©' => 230, 'Öª' => 220, 'Ö«' => 230, 'Ö¬' => 230, 'Ö­' => 222, 'Ö®' => 228, 'Ö¯' => 230, 'Ö°' => 10, 'Ö±' => 11, 'Ö²' => 12, 'Ö³' => 13, 'Ö´' => 14, 'Öµ' => 15, 'Ö¶' => 16, 'Ö·' => 17, 'Ö¸' => 18, 'Ö¹' => 19, 'Öº' => 19, 'Ö»' => 20, 'Ö¼' => 21, 'Ö½' => 22, 'Ö¿' => 23, '×' => 24, 'ׂ' => 25, 'ׄ' => 230, '×…' => 220, 'ׇ' => 18, 'Ø' => 230, 'Ø‘' => 230, 'Ø’' => 230, 'Ø“' => 230, 'Ø”' => 230, 'Ø•' => 230, 'Ø–' => 230, 'Ø—' => 230, 'ؘ' => 30, 'Ø™' => 31, 'Øš' => 32, 'Ù‹' => 27, 'ÙŒ' => 28, 'Ù' => 29, 'ÙŽ' => 30, 'Ù' => 31, 'Ù' => 32, 'Ù‘' => 33, 'Ù’' => 34, 'Ù“' => 230, 'Ù”' => 230, 'Ù•' => 220, 'Ù–' => 220, 'Ù—' => 230, 'Ù˜' => 230, 'Ù™' => 230, 'Ùš' => 230, 'Ù›' => 230, 'Ùœ' => 220, 'Ù' => 230, 'Ùž' => 230, 'ÙŸ' => 220, 'Ù°' => 35, 'Û–' => 230, 'Û—' => 230, 'Û˜' => 230, 'Û™' => 230, 'Ûš' => 230, 'Û›' => 230, 'Ûœ' => 230, 'ÛŸ' => 230, 'Û ' => 230, 'Û¡' => 230, 'Û¢' => 230, 'Û£' => 220, 'Û¤' => 230, 'Û§' => 230, 'Û¨' => 230, 'Ûª' => 220, 'Û«' => 230, 'Û¬' => 230, 'Û­' => 220, 'Ü‘' => 36, 'Ü°' => 230, 'ܱ' => 220, 'ܲ' => 230, 'ܳ' => 230, 'Ü´' => 220, 'ܵ' => 230, 'ܶ' => 230, 'Ü·' => 220, 'ܸ' => 220, 'ܹ' => 220, 'ܺ' => 230, 'Ü»' => 220, 'ܼ' => 220, 'ܽ' => 230, 'ܾ' => 220, 'Ü¿' => 230, 'Ý€' => 230, 'Ý' => 230, 'Ý‚' => 220, '݃' => 230, 'Ý„' => 220, 'Ý…' => 230, '݆' => 220, '݇' => 230, '݈' => 220, '݉' => 230, 'ÝŠ' => 230, 'ß«' => 230, '߬' => 230, 'ß­' => 230, 'ß®' => 230, '߯' => 230, 'ß°' => 230, 'ß±' => 230, 'ß²' => 220, 'ß³' => 230, 'ß½' => 220, 'à –' => 230, 'à —' => 230, 'à ˜' => 230, 'à ™' => 230, 'à ›' => 230, 'à œ' => 230, 'à ' => 230, 'à ž' => 230, 'à Ÿ' => 230, 'à  ' => 230, 'à ¡' => 230, 'à ¢' => 230, 'à £' => 230, 'à ¥' => 230, 'à ¦' => 230, 'à §' => 230, 'à ©' => 230, 'à ª' => 230, 'à «' => 230, 'à ¬' => 230, 'à ­' => 230, 'à¡™' => 220, 'à¡š' => 220, 'à¡›' => 220, '࣓' => 220, 'ࣔ' => 230, 'ࣕ' => 230, 'ࣖ' => 230, 'ࣗ' => 230, 'ࣘ' => 230, 'ࣙ' => 230, 'ࣚ' => 230, 'ࣛ' => 230, 'ࣜ' => 230, 'à£' => 230, 'ࣞ' => 230, 'ࣟ' => 230, '࣠' => 230, '࣡' => 230, 'ࣣ' => 220, 'ࣤ' => 230, 'ࣥ' => 230, 'ࣦ' => 220, 'ࣧ' => 230, 'ࣨ' => 230, 'ࣩ' => 220, '࣪' => 230, '࣫' => 230, '࣬' => 230, '࣭' => 220, '࣮' => 220, '࣯' => 220, 'ࣰ' => 27, 'ࣱ' => 28, 'ࣲ' => 29, 'ࣳ' => 230, 'ࣴ' => 230, 'ࣵ' => 230, 'ࣶ' => 220, 'ࣷ' => 230, 'ࣸ' => 230, 'ࣹ' => 220, 'ࣺ' => 220, 'ࣻ' => 230, 'ࣼ' => 230, 'ࣽ' => 230, 'ࣾ' => 230, 'ࣿ' => 230, '़' => 7, 'à¥' => 9, '॑' => 230, '॒' => 220, '॓' => 230, '॔' => 230, '়' => 7, 'à§' => 9, '৾' => 230, '਼' => 7, 'à©' => 9, '઼' => 7, 'à«' => 9, '଼' => 7, 'à­' => 9, 'à¯' => 9, 'à±' => 9, 'ౕ' => 84, 'à±–' => 91, '಼' => 7, 'à³' => 9, 'à´»' => 9, 'à´¼' => 9, 'àµ' => 9, 'à·Š' => 9, 'ุ' => 103, 'ู' => 103, 'ฺ' => 9, '่' => 107, '้' => 107, '๊' => 107, '๋' => 107, 'ຸ' => 118, 'ູ' => 118, '຺' => 9, '່' => 122, '້' => 122, '໊' => 122, '໋' => 122, '༘' => 220, '༙' => 220, '༵' => 220, '༷' => 220, '༹' => 216, 'ཱ' => 129, 'ི' => 130, 'ུ' => 132, 'ེ' => 130, 'ཻ' => 130, 'ོ' => 130, 'ཽ' => 130, 'ྀ' => 130, 'ྂ' => 230, 'ྃ' => 230, '྄' => 9, '྆' => 230, '྇' => 230, '࿆' => 220, '့' => 7, '္' => 9, '်' => 9, 'á‚' => 220, 'á' => 230, 'áž' => 230, 'áŸ' => 230, '᜔' => 9, '᜴' => 9, '្' => 9, 'áŸ' => 230, 'ᢩ' => 228, '᤹' => 222, '᤺' => 230, '᤻' => 220, 'ᨗ' => 230, 'ᨘ' => 220, 'á© ' => 9, '᩵' => 230, '᩶' => 230, 'á©·' => 230, '᩸' => 230, '᩹' => 230, '᩺' => 230, 'á©»' => 230, '᩼' => 230, 'á©¿' => 220, '᪰' => 230, '᪱' => 230, '᪲' => 230, '᪳' => 230, '᪴' => 230, '᪵' => 220, '᪶' => 220, '᪷' => 220, '᪸' => 220, '᪹' => 220, '᪺' => 220, '᪻' => 230, '᪼' => 230, '᪽' => 220, 'ᪿ' => 220, 'á«€' => 220, '᬴' => 7, 'á­„' => 9, 'á­«' => 230, 'á­¬' => 220, 'á­­' => 230, 'á­®' => 230, 'á­¯' => 230, 'á­°' => 230, 'á­±' => 230, 'á­²' => 230, 'á­³' => 230, '᮪' => 9, '᮫' => 9, '᯦' => 7, '᯲' => 9, '᯳' => 9, 'á°·' => 7, 'á³' => 230, '᳑' => 230, 'á³’' => 230, 'á³”' => 1, '᳕' => 220, 'á³–' => 220, 'á³—' => 220, '᳘' => 220, 'á³™' => 220, '᳚' => 230, 'á³›' => 230, '᳜' => 220, 'á³' => 220, '᳞' => 220, '᳟' => 220, 'á³ ' => 230, 'á³¢' => 1, 'á³£' => 1, '᳤' => 1, 'á³¥' => 1, '᳦' => 1, '᳧' => 1, '᳨' => 1, 'á³­' => 220, 'á³´' => 230, '᳸' => 230, 'á³¹' => 230, 'á·€' => 230, 'á·' => 230, 'á·‚' => 220, 'á·ƒ' => 230, 'á·„' => 230, 'á·…' => 230, 'á·†' => 230, 'á·‡' => 230, 'á·ˆ' => 230, 'á·‰' => 230, 'á·Š' => 220, 'á·‹' => 230, 'á·Œ' => 230, 'á·' => 234, 'á·Ž' => 214, 'á·' => 220, 'á·' => 202, 'á·‘' => 230, 'á·’' => 230, 'á·“' => 230, 'á·”' => 230, 'á·•' => 230, 'á·–' => 230, 'á·—' => 230, 'á·˜' => 230, 'á·™' => 230, 'á·š' => 230, 'á·›' => 230, 'á·œ' => 230, 'á·' => 230, 'á·ž' => 230, 'á·Ÿ' => 230, 'á· ' => 230, 'á·¡' => 230, 'á·¢' => 230, 'á·£' => 230, 'á·¤' => 230, 'á·¥' => 230, 'á·¦' => 230, 'á·§' => 230, 'á·¨' => 230, 'á·©' => 230, 'á·ª' => 230, 'á·«' => 230, 'á·¬' => 230, 'á·­' => 230, 'á·®' => 230, 'á·¯' => 230, 'á·°' => 230, 'á·±' => 230, 'á·²' => 230, 'á·³' => 230, 'á·´' => 230, 'á·µ' => 230, 'á·¶' => 232, 'á··' => 228, 'á·¸' => 228, 'á·¹' => 220, 'á·»' => 230, 'á·¼' => 233, 'á·½' => 220, 'á·¾' => 230, 'á·¿' => 220, 'âƒ' => 230, '⃑' => 230, '⃒' => 1, '⃓' => 1, '⃔' => 230, '⃕' => 230, '⃖' => 230, '⃗' => 230, '⃘' => 1, '⃙' => 1, '⃚' => 1, '⃛' => 230, '⃜' => 230, '⃡' => 230, '⃥' => 1, '⃦' => 1, '⃧' => 230, '⃨' => 220, '⃩' => 230, '⃪' => 1, '⃫' => 1, '⃬' => 220, '⃭' => 220, '⃮' => 220, '⃯' => 220, '⃰' => 230, '⳯' => 230, 'â³°' => 230, 'â³±' => 230, '⵿' => 9, 'â· ' => 230, 'â·¡' => 230, 'â·¢' => 230, 'â·£' => 230, 'â·¤' => 230, 'â·¥' => 230, 'â·¦' => 230, 'â·§' => 230, 'â·¨' => 230, 'â·©' => 230, 'â·ª' => 230, 'â·«' => 230, 'â·¬' => 230, 'â·­' => 230, 'â·®' => 230, 'â·¯' => 230, 'â·°' => 230, 'â·±' => 230, 'â·²' => 230, 'â·³' => 230, 'â·´' => 230, 'â·µ' => 230, 'â·¶' => 230, 'â··' => 230, 'â·¸' => 230, 'â·¹' => 230, 'â·º' => 230, 'â·»' => 230, 'â·¼' => 230, 'â·½' => 230, 'â·¾' => 230, 'â·¿' => 230, '〪' => 218, '〫' => 228, '〬' => 232, '〭' => 222, '〮' => 224, '〯' => 224, 'ã‚™' => 8, 'ã‚š' => 8, '꙯' => 230, 'ê™´' => 230, 'ꙵ' => 230, 'ꙶ' => 230, 'ê™·' => 230, 'ꙸ' => 230, 'ꙹ' => 230, 'ꙺ' => 230, 'ê™»' => 230, '꙼' => 230, '꙽' => 230, 'êšž' => 230, 'ꚟ' => 230, 'ê›°' => 230, 'ê›±' => 230, 'ê †' => 9, 'ê ¬' => 9, '꣄' => 9, '꣠' => 230, '꣡' => 230, '꣢' => 230, '꣣' => 230, '꣤' => 230, '꣥' => 230, '꣦' => 230, '꣧' => 230, '꣨' => 230, '꣩' => 230, '꣪' => 230, '꣫' => 230, '꣬' => 230, '꣭' => 230, '꣮' => 230, '꣯' => 230, '꣰' => 230, '꣱' => 230, '꤫' => 220, '꤬' => 220, '꤭' => 220, '꥓' => 9, '꦳' => 7, '꧀' => 9, 'ꪰ' => 230, 'ꪲ' => 230, 'ꪳ' => 230, 'ꪴ' => 220, 'ꪷ' => 230, 'ꪸ' => 230, 'ꪾ' => 230, '꪿' => 230, 'ê«' => 230, '꫶' => 9, '꯭' => 9, 'ﬞ' => 26, '︠' => 230, '︡' => 230, '︢' => 230, '︣' => 230, '︤' => 230, '︥' => 230, '︦' => 230, '︧' => 220, '︨' => 220, '︩' => 220, '︪' => 220, '︫' => 220, '︬' => 220, '︭' => 220, '︮' => 230, '︯' => 230, 'ð‡½' => 220, 'ð‹ ' => 220, 'ð¶' => 230, 'ð·' => 230, 'ð¸' => 230, 'ð¹' => 230, 'ðº' => 230, 'ð¨' => 220, 'ð¨' => 230, 'ð¨¸' => 230, 'ð¨¹' => 1, 'ð¨º' => 220, 'ð¨¿' => 9, 'ð«¥' => 230, 'ð«¦' => 220, 'ð´¤' => 230, 'ð´¥' => 230, 'ð´¦' => 230, 'ð´§' => 230, 'ðº«' => 230, 'ðº¬' => 230, 'ð½†' => 220, 'ð½‡' => 220, 'ð½ˆ' => 230, 'ð½‰' => 230, 'ð½Š' => 230, 'ð½‹' => 220, 'ð½Œ' => 230, 'ð½' => 220, 'ð½Ž' => 220, 'ð½' => 220, 'ð½' => 220, 'ð‘†' => 9, 'ð‘¿' => 9, 'ð‘‚¹' => 9, '𑂺' => 7, 'ð‘„€' => 230, 'ð‘„' => 230, 'ð‘„‚' => 230, 'ð‘„³' => 9, 'ð‘„´' => 9, 'ð‘…³' => 7, '𑇀' => 9, '𑇊' => 7, '𑈵' => 9, '𑈶' => 7, 'ð‘‹©' => 7, '𑋪' => 9, '𑌻' => 7, '𑌼' => 7, 'ð‘' => 9, 'ð‘¦' => 230, 'ð‘§' => 230, 'ð‘¨' => 230, 'ð‘©' => 230, 'ð‘ª' => 230, 'ð‘«' => 230, 'ð‘¬' => 230, 'ð‘°' => 230, 'ð‘±' => 230, 'ð‘²' => 230, 'ð‘³' => 230, 'ð‘´' => 230, 'ð‘‘‚' => 9, '𑑆' => 7, 'ð‘‘ž' => 230, 'ð‘“‚' => 9, '𑓃' => 7, 'ð‘–¿' => 9, 'ð‘—€' => 7, '𑘿' => 9, '𑚶' => 9, 'ð‘š·' => 7, '𑜫' => 9, 'ð‘ ¹' => 9, 'ð‘ º' => 7, '𑤽' => 9, '𑤾' => 9, '𑥃' => 7, '𑧠' => 9, '𑨴' => 9, '𑩇' => 9, '𑪙' => 9, 'ð‘°¿' => 9, '𑵂' => 7, '𑵄' => 9, '𑵅' => 9, '𑶗' => 9, 'ð–«°' => 1, 'ð–«±' => 1, 'ð–«²' => 1, 'ð–«³' => 1, 'ð–«´' => 1, 'ð–¬°' => 230, '𖬱' => 230, '𖬲' => 230, '𖬳' => 230, 'ð–¬´' => 230, '𖬵' => 230, '𖬶' => 230, 'ð–¿°' => 6, 'ð–¿±' => 6, '𛲞' => 1, 'ð…¥' => 216, 'ð…¦' => 216, 'ð…§' => 1, 'ð…¨' => 1, 'ð…©' => 1, 'ð…­' => 226, 'ð…®' => 216, 'ð…¯' => 216, 'ð…°' => 216, 'ð…±' => 216, 'ð…²' => 216, 'ð…»' => 220, 'ð…¼' => 220, 'ð…½' => 220, 'ð…¾' => 220, 'ð…¿' => 220, 'ð†€' => 220, 'ð†' => 220, 'ð†‚' => 220, 'ð†…' => 230, 'ð††' => 230, 'ð†‡' => 230, 'ð†ˆ' => 230, 'ð†‰' => 230, 'ð†Š' => 220, 'ð†‹' => 220, 'ð†ª' => 230, 'ð†«' => 230, 'ð†¬' => 230, 'ð†­' => 230, 'ð‰‚' => 230, 'ð‰ƒ' => 230, 'ð‰„' => 230, '𞀀' => 230, 'ðž€' => 230, '𞀂' => 230, '𞀃' => 230, '𞀄' => 230, '𞀅' => 230, '𞀆' => 230, '𞀈' => 230, '𞀉' => 230, '𞀊' => 230, '𞀋' => 230, '𞀌' => 230, 'ðž€' => 230, '𞀎' => 230, 'ðž€' => 230, 'ðž€' => 230, '𞀑' => 230, '𞀒' => 230, '𞀓' => 230, '𞀔' => 230, '𞀕' => 230, '𞀖' => 230, '𞀗' => 230, '𞀘' => 230, '𞀛' => 230, '𞀜' => 230, 'ðž€' => 230, '𞀞' => 230, '𞀟' => 230, '𞀠' => 230, '𞀡' => 230, '𞀣' => 230, '𞀤' => 230, '𞀦' => 230, '𞀧' => 230, '𞀨' => 230, '𞀩' => 230, '𞀪' => 230, 'ðž„°' => 230, '𞄱' => 230, '𞄲' => 230, '𞄳' => 230, 'ðž„´' => 230, '𞄵' => 230, '𞄶' => 230, '𞋬' => 230, 'ðž‹­' => 230, 'ðž‹®' => 230, '𞋯' => 230, 'ðž£' => 220, '𞣑' => 220, '𞣒' => 220, '𞣓' => 220, '𞣔' => 220, '𞣕' => 220, '𞣖' => 220, '𞥄' => 230, '𞥅' => 230, '𞥆' => 230, '𞥇' => 230, '𞥈' => 230, '𞥉' => 230, '𞥊' => 7); diff --git a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php index a4b93995d7e..4e5a998e500 100644 --- a/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php +++ b/vendor/symfony/polyfill-intl-normalizer/Resources/unidata/compatibilityDecomposition.php @@ -1,5 +1,5 @@ ' ', '¨' => ' ̈', 'ª' => 'a', '¯' => ' Ì„', '²' => '2', '³' => '3', '´' => ' Ì', 'µ' => 'μ', '¸' => ' ̧', '¹' => '1', 'º' => 'o', '¼' => '1â„4', '½' => '1â„2', '¾' => '3â„4', 'IJ' => 'IJ', 'ij' => 'ij', 'Ä¿' => 'L·', 'Å€' => 'l·', 'ʼn' => 'ʼn', 'Å¿' => 's', 'Ç„' => 'DZÌŒ', 'Ç…' => 'DzÌŒ', 'dž' => 'dzÌŒ', 'LJ' => 'LJ', 'Lj' => 'Lj', 'lj' => 'lj', 'ÇŠ' => 'NJ', 'Ç‹' => 'Nj', 'ÇŒ' => 'nj', 'DZ' => 'DZ', 'Dz' => 'Dz', 'dz' => 'dz', 'Ê°' => 'h', 'ʱ' => 'ɦ', 'ʲ' => 'j', 'ʳ' => 'r', 'Ê´' => 'ɹ', 'ʵ' => 'É»', 'ʶ' => 'Ê', 'Ê·' => 'w', 'ʸ' => 'y', '˘' => ' ̆', 'Ë™' => ' ̇', 'Ëš' => ' ÌŠ', 'Ë›' => ' ̨', 'Ëœ' => ' ̃', 'Ë' => ' Ì‹', 'Ë ' => 'É£', 'Ë¡' => 'l', 'Ë¢' => 's', 'Ë£' => 'x', 'ˤ' => 'Ê•', 'ͺ' => ' Í…', '΄' => ' Ì', 'Î…' => ' ̈Ì', 'Ï' => 'β', 'Ï‘' => 'θ', 'Ï’' => 'Î¥', 'Ï“' => 'Î¥Ì', 'Ï”' => 'Ϋ', 'Ï•' => 'φ', 'Ï–' => 'Ï€', 'Ï°' => 'κ', 'ϱ' => 'Ï', 'ϲ' => 'Ï‚', 'Ï´' => 'Θ', 'ϵ' => 'ε', 'Ϲ' => 'Σ', 'Ö‡' => 'Õ¥Ö‚', 'Ùµ' => 'اٴ', 'Ù¶' => 'وٴ', 'Ù·' => 'Û‡Ù´', 'Ù¸' => 'يٴ', 'ำ' => 'à¹à¸²', 'ຳ' => 'à»àº²', 'ໜ' => 'ຫນ', 'à»' => 'ຫມ', '༌' => '་', 'ཷ' => 'ྲཱྀ', 'ཹ' => 'ླཱྀ', 'ჼ' => 'ნ', 'á´¬' => 'A', 'á´­' => 'Æ', 'á´®' => 'B', 'á´°' => 'D', 'á´±' => 'E', 'á´²' => 'ÆŽ', 'á´³' => 'G', 'á´´' => 'H', 'á´µ' => 'I', 'á´¶' => 'J', 'á´·' => 'K', 'á´¸' => 'L', 'á´¹' => 'M', 'á´º' => 'N', 'á´¼' => 'O', 'á´½' => 'È¢', 'á´¾' => 'P', 'á´¿' => 'R', 'áµ€' => 'T', 'áµ' => 'U', 'ᵂ' => 'W', 'ᵃ' => 'a', 'ᵄ' => 'É', 'áµ…' => 'É‘', 'ᵆ' => 'á´‚', 'ᵇ' => 'b', 'ᵈ' => 'd', 'ᵉ' => 'e', 'ᵊ' => 'É™', 'ᵋ' => 'É›', 'ᵌ' => 'Éœ', 'áµ' => 'g', 'áµ' => 'k', 'áµ' => 'm', 'ᵑ' => 'Å‹', 'áµ’' => 'o', 'ᵓ' => 'É”', 'áµ”' => 'á´–', 'ᵕ' => 'á´—', 'áµ–' => 'p', 'áµ—' => 't', 'ᵘ' => 'u', 'áµ™' => 'á´', 'ᵚ' => 'ɯ', 'áµ›' => 'v', 'ᵜ' => 'á´¥', 'áµ' => 'β', 'ᵞ' => 'γ', 'ᵟ' => 'δ', 'áµ ' => 'φ', 'ᵡ' => 'χ', 'áµ¢' => 'i', 'áµ£' => 'r', 'ᵤ' => 'u', 'áµ¥' => 'v', 'ᵦ' => 'β', 'ᵧ' => 'γ', 'ᵨ' => 'Ï', 'ᵩ' => 'φ', 'ᵪ' => 'χ', 'ᵸ' => 'н', 'ᶛ' => 'É’', 'ᶜ' => 'c', 'á¶' => 'É•', 'ᶞ' => 'ð', 'ᶟ' => 'Éœ', 'ᶠ' => 'f', 'ᶡ' => 'ÉŸ', 'ᶢ' => 'É¡', 'ᶣ' => 'É¥', 'ᶤ' => 'ɨ', 'ᶥ' => 'É©', 'ᶦ' => 'ɪ', 'ᶧ' => 'áµ»', 'ᶨ' => 'Ê', 'ᶩ' => 'É­', 'ᶪ' => 'ᶅ', 'ᶫ' => 'ÊŸ', 'ᶬ' => 'ɱ', 'ᶭ' => 'É°', 'ᶮ' => 'ɲ', 'ᶯ' => 'ɳ', 'ᶰ' => 'É´', 'ᶱ' => 'ɵ', 'ᶲ' => 'ɸ', 'ᶳ' => 'Ê‚', 'ᶴ' => 'ʃ', 'ᶵ' => 'Æ«', 'ᶶ' => 'ʉ', 'ᶷ' => 'ÊŠ', 'ᶸ' => 'á´œ', 'ᶹ' => 'Ê‹', 'ᶺ' => 'ÊŒ', 'ᶻ' => 'z', 'ᶼ' => 'Ê', 'ᶽ' => 'Ê‘', 'ᶾ' => 'Ê’', 'ᶿ' => 'θ', 'ẚ' => 'aʾ', 'ẛ' => 'ṡ', 'á¾½' => ' Ì“', '᾿' => ' Ì“', 'á¿€' => ' Í‚', 'á¿' => ' ̈͂', 'á¿' => ' Ì“Ì€', 'á¿Ž' => ' Ì“Ì', 'á¿' => ' Ì“Í‚', 'á¿' => ' ̔̀', 'á¿ž' => ' Ì”Ì', 'á¿Ÿ' => ' ̔͂', 'á¿­' => ' ̈̀', 'á¿®' => ' ̈Ì', '´' => ' Ì', '῾' => ' Ì”', ' ' => ' ', 'â€' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', ' ' => ' ', '‑' => 'â€', '‗' => ' ̳', '․' => '.', '‥' => '..', '…' => '...', ' ' => ' ', '″' => '′′', '‴' => '′′′', '‶' => '‵‵', '‷' => '‵‵‵', '‼' => '!!', '‾' => ' Ì…', 'â‡' => '??', 'âˆ' => '?!', 'â‰' => '!?', 'â—' => '′′′′', 'âŸ' => ' ', 'â°' => '0', 'â±' => 'i', 'â´' => '4', 'âµ' => '5', 'â¶' => '6', 'â·' => '7', 'â¸' => '8', 'â¹' => '9', 'âº' => '+', 'â»' => '−', 'â¼' => '=', 'â½' => '(', 'â¾' => ')', 'â¿' => 'n', 'â‚€' => '0', 'â‚' => '1', 'â‚‚' => '2', '₃' => '3', 'â‚„' => '4', 'â‚…' => '5', '₆' => '6', '₇' => '7', '₈' => '8', '₉' => '9', 'â‚Š' => '+', 'â‚‹' => '−', 'â‚Œ' => '=', 'â‚' => '(', 'â‚Ž' => ')', 'â‚' => 'a', 'â‚‘' => 'e', 'â‚’' => 'o', 'â‚“' => 'x', 'â‚”' => 'É™', 'â‚•' => 'h', 'â‚–' => 'k', 'â‚—' => 'l', 'ₘ' => 'm', 'â‚™' => 'n', 'â‚š' => 'p', 'â‚›' => 's', 'â‚œ' => 't', '₨' => 'Rs', 'â„€' => 'a/c', 'â„' => 'a/s', 'â„‚' => 'C', '℃' => '°C', 'â„…' => 'c/o', '℆' => 'c/u', 'ℇ' => 'Æ', '℉' => '°F', 'â„Š' => 'g', 'â„‹' => 'H', 'â„Œ' => 'H', 'â„' => 'H', 'â„Ž' => 'h', 'â„' => 'ħ', 'â„' => 'I', 'â„‘' => 'I', 'â„’' => 'L', 'â„“' => 'l', 'â„•' => 'N', 'â„–' => 'No', 'â„™' => 'P', 'â„š' => 'Q', 'â„›' => 'R', 'â„œ' => 'R', 'â„' => 'R', 'â„ ' => 'SM', 'â„¡' => 'TEL', 'â„¢' => 'TM', 'ℤ' => 'Z', 'ℨ' => 'Z', 'ℬ' => 'B', 'â„­' => 'C', 'ℯ' => 'e', 'â„°' => 'E', 'ℱ' => 'F', 'ℳ' => 'M', 'â„´' => 'o', 'ℵ' => '×', 'ℶ' => 'ב', 'â„·' => '×’', 'ℸ' => 'ד', 'ℹ' => 'i', 'â„»' => 'FAX', 'ℼ' => 'Ï€', 'ℽ' => 'γ', 'ℾ' => 'Γ', 'â„¿' => 'Π', 'â…€' => '∑', 'â……' => 'D', 'â…†' => 'd', 'â…‡' => 'e', 'â…ˆ' => 'i', 'â…‰' => 'j', 'â…' => '1â„7', 'â…‘' => '1â„9', 'â…’' => '1â„10', 'â…“' => '1â„3', 'â…”' => '2â„3', 'â…•' => '1â„5', 'â…–' => '2â„5', 'â…—' => '3â„5', 'â…˜' => '4â„5', 'â…™' => '1â„6', 'â…š' => '5â„6', 'â…›' => '1â„8', 'â…œ' => '3â„8', 'â…' => '5â„8', 'â…ž' => '7â„8', 'â…Ÿ' => '1â„', 'â… ' => 'I', 'â…¡' => 'II', 'â…¢' => 'III', 'â…£' => 'IV', 'â…¤' => 'V', 'â…¥' => 'VI', 'â…¦' => 'VII', 'â…§' => 'VIII', 'â…¨' => 'IX', 'â…©' => 'X', 'â…ª' => 'XI', 'â…«' => 'XII', 'â…¬' => 'L', 'â…­' => 'C', 'â…®' => 'D', 'â…¯' => 'M', 'â…°' => 'i', 'â…±' => 'ii', 'â…²' => 'iii', 'â…³' => 'iv', 'â…´' => 'v', 'â…µ' => 'vi', 'â…¶' => 'vii', 'â…·' => 'viii', 'â…¸' => 'ix', 'â…¹' => 'x', 'â…º' => 'xi', 'â…»' => 'xii', 'â…¼' => 'l', 'â…½' => 'c', 'â…¾' => 'd', 'â…¿' => 'm', '↉' => '0â„3', '∬' => '∫∫', '∭' => '∫∫∫', '∯' => '∮∮', '∰' => '∮∮∮', 'â‘ ' => '1', 'â‘¡' => '2', 'â‘¢' => '3', 'â‘£' => '4', '⑤' => '5', 'â‘¥' => '6', '⑦' => '7', '⑧' => '8', '⑨' => '9', 'â‘©' => '10', '⑪' => '11', 'â‘«' => '12', '⑬' => '13', 'â‘­' => '14', 'â‘®' => '15', '⑯' => '16', 'â‘°' => '17', '⑱' => '18', '⑲' => '19', '⑳' => '20', 'â‘´' => '(1)', '⑵' => '(2)', '⑶' => '(3)', 'â‘·' => '(4)', '⑸' => '(5)', '⑹' => '(6)', '⑺' => '(7)', 'â‘»' => '(8)', '⑼' => '(9)', '⑽' => '(10)', '⑾' => '(11)', 'â‘¿' => '(12)', 'â’€' => '(13)', 'â’' => '(14)', 'â’‚' => '(15)', 'â’ƒ' => '(16)', 'â’„' => '(17)', 'â’…' => '(18)', 'â’†' => '(19)', 'â’‡' => '(20)', 'â’ˆ' => '1.', 'â’‰' => '2.', 'â’Š' => '3.', 'â’‹' => '4.', 'â’Œ' => '5.', 'â’' => '6.', 'â’Ž' => '7.', 'â’' => '8.', 'â’' => '9.', 'â’‘' => '10.', 'â’’' => '11.', 'â’“' => '12.', 'â’”' => '13.', 'â’•' => '14.', 'â’–' => '15.', 'â’—' => '16.', 'â’˜' => '17.', 'â’™' => '18.', 'â’š' => '19.', 'â’›' => '20.', 'â’œ' => '(a)', 'â’' => '(b)', 'â’ž' => '(c)', 'â’Ÿ' => '(d)', 'â’ ' => '(e)', 'â’¡' => '(f)', 'â’¢' => '(g)', 'â’£' => '(h)', 'â’¤' => '(i)', 'â’¥' => '(j)', 'â’¦' => '(k)', 'â’§' => '(l)', 'â’¨' => '(m)', 'â’©' => '(n)', 'â’ª' => '(o)', 'â’«' => '(p)', 'â’¬' => '(q)', 'â’­' => '(r)', 'â’®' => '(s)', 'â’¯' => '(t)', 'â’°' => '(u)', 'â’±' => '(v)', 'â’²' => '(w)', 'â’³' => '(x)', 'â’´' => '(y)', 'â’µ' => '(z)', 'â’¶' => 'A', 'â’·' => 'B', 'â’¸' => 'C', 'â’¹' => 'D', 'â’º' => 'E', 'â’»' => 'F', 'â’¼' => 'G', 'â’½' => 'H', 'â’¾' => 'I', 'â’¿' => 'J', 'â“€' => 'K', 'â“' => 'L', 'â“‚' => 'M', 'Ⓝ' => 'N', 'â“„' => 'O', 'â“…' => 'P', 'Ⓠ' => 'Q', 'Ⓡ' => 'R', 'Ⓢ' => 'S', 'Ⓣ' => 'T', 'â“Š' => 'U', 'â“‹' => 'V', 'â“Œ' => 'W', 'â“' => 'X', 'â“Ž' => 'Y', 'â“' => 'Z', 'â“' => 'a', 'â“‘' => 'b', 'â“’' => 'c', 'â““' => 'd', 'â“”' => 'e', 'â“•' => 'f', 'â“–' => 'g', 'â“—' => 'h', 'ⓘ' => 'i', 'â“™' => 'j', 'â“š' => 'k', 'â“›' => 'l', 'â“œ' => 'm', 'â“' => 'n', 'â“ž' => 'o', 'â“Ÿ' => 'p', 'â“ ' => 'q', 'â“¡' => 'r', 'â“¢' => 's', 'â“£' => 't', 'ⓤ' => 'u', 'â“¥' => 'v', 'ⓦ' => 'w', 'ⓧ' => 'x', 'ⓨ' => 'y', 'â“©' => 'z', '⓪' => '0', '⨌' => '∫∫∫∫', 'â©´' => '::=', '⩵' => '==', '⩶' => '===', 'â±¼' => 'j', 'â±½' => 'V', 'ⵯ' => 'ⵡ', '⺟' => 'æ¯', '⻳' => '龟', 'â¼€' => '一', 'â¼' => '丨', '⼂' => '丶', '⼃' => '丿', '⼄' => 'ä¹™', 'â¼…' => '亅', '⼆' => '二', '⼇' => '亠', '⼈' => '人', '⼉' => 'å„¿', '⼊' => 'å…¥', '⼋' => 'å…«', '⼌' => '冂', 'â¼' => '冖', '⼎' => '冫', 'â¼' => '几', 'â¼' => '凵', '⼑' => '刀', 'â¼’' => '力', '⼓' => '勹', 'â¼”' => '匕', '⼕' => '匚', 'â¼–' => '匸', 'â¼—' => 'å', '⼘' => 'åœ', 'â¼™' => 'å©', '⼚' => '厂', 'â¼›' => '厶', '⼜' => 'åˆ', 'â¼' => 'å£', '⼞' => 'å›—', '⼟' => '土', 'â¼ ' => '士', '⼡' => '夂', 'â¼¢' => '夊', 'â¼£' => '夕', '⼤' => '大', 'â¼¥' => '女', '⼦' => 'å­', '⼧' => '宀', '⼨' => '寸', '⼩' => 'å°', '⼪' => 'å°¢', '⼫' => 'å°¸', '⼬' => 'å±®', 'â¼­' => 'å±±', 'â¼®' => 'å·›', '⼯' => 'å·¥', 'â¼°' => 'å·±', 'â¼±' => 'å·¾', 'â¼²' => 'å¹²', 'â¼³' => '幺', 'â¼´' => '广', 'â¼µ' => 'å»´', '⼶' => '廾', 'â¼·' => '弋', '⼸' => '弓', 'â¼¹' => 'å½', '⼺' => '彡', 'â¼»' => 'å½³', 'â¼¼' => '心', 'â¼½' => '戈', 'â¼¾' => '戶', '⼿' => '手', 'â½€' => '支', 'â½' => 'æ”´', '⽂' => 'æ–‡', '⽃' => 'æ–—', '⽄' => 'æ–¤', 'â½…' => 'æ–¹', '⽆' => 'æ— ', '⽇' => 'æ—¥', '⽈' => 'æ›°', '⽉' => '月', '⽊' => '木', '⽋' => '欠', '⽌' => 'æ­¢', 'â½' => 'æ­¹', '⽎' => '殳', 'â½' => '毋', 'â½' => '比', '⽑' => '毛', 'â½’' => 'æ°', '⽓' => 'æ°”', 'â½”' => 'æ°´', '⽕' => 'ç«', 'â½–' => '爪', 'â½—' => '父', '⽘' => '爻', 'â½™' => '爿', '⽚' => '片', 'â½›' => '牙', '⽜' => '牛', 'â½' => '犬', '⽞' => '玄', '⽟' => '玉', 'â½ ' => 'ç“œ', '⽡' => '瓦', 'â½¢' => '甘', 'â½£' => '生', '⽤' => '用', 'â½¥' => 'ç”°', '⽦' => 'ç–‹', '⽧' => 'ç–’', '⽨' => '癶', '⽩' => '白', '⽪' => 'çš®', '⽫' => 'çš¿', '⽬' => 'ç›®', 'â½­' => '矛', 'â½®' => '矢', '⽯' => '石', 'â½°' => '示', 'â½±' => '禸', 'â½²' => '禾', 'â½³' => 'ç©´', 'â½´' => 'ç«‹', 'â½µ' => '竹', '⽶' => 'ç±³', 'â½·' => '糸', '⽸' => '缶', 'â½¹' => '网', '⽺' => '羊', 'â½»' => 'ç¾½', 'â½¼' => 'è€', 'â½½' => '而', 'â½¾' => '耒', '⽿' => '耳', 'â¾€' => 'è¿', 'â¾' => '肉', '⾂' => '臣', '⾃' => '自', '⾄' => '至', 'â¾…' => '臼', '⾆' => '舌', '⾇' => '舛', '⾈' => '舟', '⾉' => '艮', '⾊' => '色', '⾋' => '艸', '⾌' => 'è™', 'â¾' => '虫', '⾎' => 'è¡€', 'â¾' => 'è¡Œ', 'â¾' => 'è¡£', '⾑' => '襾', 'â¾’' => '見', '⾓' => '角', 'â¾”' => '言', '⾕' => 'è°·', 'â¾–' => '豆', 'â¾—' => '豕', '⾘' => '豸', 'â¾™' => 'è²', '⾚' => '赤', 'â¾›' => 'èµ°', '⾜' => '足', 'â¾' => '身', '⾞' => '車', '⾟' => 'è¾›', 'â¾ ' => 'è¾°', '⾡' => 'è¾µ', 'â¾¢' => 'é‚‘', 'â¾£' => 'é…‰', '⾤' => '釆', 'â¾¥' => '里', '⾦' => '金', '⾧' => 'é•·', '⾨' => 'é–€', '⾩' => '阜', '⾪' => '隶', '⾫' => 'éš¹', '⾬' => '雨', 'â¾­' => 'é‘', 'â¾®' => 'éž', '⾯' => 'é¢', 'â¾°' => 'é©', 'â¾±' => '韋', 'â¾²' => '韭', 'â¾³' => '音', 'â¾´' => 'é ', 'â¾µ' => '風', '⾶' => '飛', 'â¾·' => '食', '⾸' => '首', 'â¾¹' => '香', '⾺' => '馬', 'â¾»' => '骨', 'â¾¼' => '高', 'â¾½' => 'é«Ÿ', 'â¾¾' => '鬥', '⾿' => '鬯', 'â¿€' => '鬲', 'â¿' => '鬼', 'â¿‚' => 'é­š', '⿃' => 'é³¥', 'â¿„' => 'é¹µ', 'â¿…' => '鹿', '⿆' => '麥', '⿇' => '麻', '⿈' => '黃', '⿉' => 'é»', 'â¿Š' => '黑', 'â¿‹' => '黹', 'â¿Œ' => '黽', 'â¿' => '鼎', 'â¿Ž' => '鼓', 'â¿' => 'é¼ ', 'â¿' => 'é¼»', 'â¿‘' => '齊', 'â¿’' => 'é½’', 'â¿“' => 'é¾', 'â¿”' => '龜', 'â¿•' => 'é¾ ', ' ' => ' ', '〶' => '〒', '〸' => 'å', '〹' => 'å„', '〺' => 'å…', 'ã‚›' => ' ã‚™', 'ã‚œ' => ' ã‚š', 'ã‚Ÿ' => 'より', 'ヿ' => 'コト', 'ㄱ' => 'á„€', 'ㄲ' => 'á„', 'ㄳ' => 'ᆪ', 'ã„´' => 'á„‚', 'ㄵ' => 'ᆬ', 'ㄶ' => 'ᆭ', 'ã„·' => 'ᄃ', 'ㄸ' => 'á„„', 'ㄹ' => 'á„…', 'ㄺ' => 'ᆰ', 'ã„»' => 'ᆱ', 'ㄼ' => 'ᆲ', 'ㄽ' => 'ᆳ', 'ㄾ' => 'ᆴ', 'ã„¿' => 'ᆵ', 'ã…€' => 'á„š', 'ã…' => 'ᄆ', 'ã…‚' => 'ᄇ', 'ã…ƒ' => 'ᄈ', 'ã…„' => 'á„¡', 'ã……' => 'ᄉ', 'ã…†' => 'á„Š', 'ã…‡' => 'á„‹', 'ã…ˆ' => 'á„Œ', 'ã…‰' => 'á„', 'ã…Š' => 'á„Ž', 'ã…‹' => 'á„', 'ã…Œ' => 'á„', 'ã…' => 'á„‘', 'ã…Ž' => 'á„’', 'ã…' => 'á…¡', 'ã…' => 'á…¢', 'ã…‘' => 'á…£', 'ã…’' => 'á…¤', 'ã…“' => 'á…¥', 'ã…”' => 'á…¦', 'ã…•' => 'á…§', 'ã…–' => 'á…¨', 'ã…—' => 'á…©', 'ã…˜' => 'á…ª', 'ã…™' => 'á…«', 'ã…š' => 'á…¬', 'ã…›' => 'á…­', 'ã…œ' => 'á…®', 'ã…' => 'á…¯', 'ã…ž' => 'á…°', 'ã…Ÿ' => 'á…±', 'ã… ' => 'á…²', 'ã…¡' => 'á…³', 'ã…¢' => 'á…´', 'ã…£' => 'á…µ', 'ã…¤' => 'á… ', 'ã…¥' => 'á„”', 'ã…¦' => 'á„•', 'ã…§' => 'ᇇ', 'ã…¨' => 'ᇈ', 'ã…©' => 'ᇌ', 'ã…ª' => 'ᇎ', 'ã…«' => 'ᇓ', 'ã…¬' => 'ᇗ', 'ã…­' => 'ᇙ', 'ã…®' => 'á„œ', 'ã…¯' => 'á‡', 'ã…°' => 'ᇟ', 'ã…±' => 'á„', 'ã…²' => 'á„ž', 'ã…³' => 'á„ ', 'ã…´' => 'á„¢', 'ã…µ' => 'á„£', 'ã…¶' => 'ᄧ', 'ã…·' => 'á„©', 'ã…¸' => 'á„«', 'ã…¹' => 'ᄬ', 'ã…º' => 'á„­', 'ã…»' => 'á„®', 'ã…¼' => 'ᄯ', 'ã…½' => 'ᄲ', 'ã…¾' => 'ᄶ', 'ã…¿' => 'á…€', 'ㆀ' => 'á…‡', 'ã†' => 'á…Œ', 'ㆂ' => 'ᇱ', 'ㆃ' => 'ᇲ', 'ㆄ' => 'á…—', 'ㆅ' => 'á…˜', 'ㆆ' => 'á…™', 'ㆇ' => 'ᆄ', 'ㆈ' => 'ᆅ', 'ㆉ' => 'ᆈ', 'ㆊ' => 'ᆑ', 'ㆋ' => 'ᆒ', 'ㆌ' => 'ᆔ', 'ã†' => 'ᆞ', 'ㆎ' => 'ᆡ', '㆒' => '一', '㆓' => '二', '㆔' => '三', '㆕' => 'å››', '㆖' => '上', '㆗' => '中', '㆘' => '下', '㆙' => '甲', '㆚' => 'ä¹™', '㆛' => '丙', '㆜' => 'ä¸', 'ã†' => '天', '㆞' => '地', '㆟' => '人', '㈀' => '(á„€)', 'ãˆ' => '(á„‚)', '㈂' => '(ᄃ)', '㈃' => '(á„…)', '㈄' => '(ᄆ)', '㈅' => '(ᄇ)', '㈆' => '(ᄉ)', '㈇' => '(á„‹)', '㈈' => '(á„Œ)', '㈉' => '(á„Ž)', '㈊' => '(á„)', '㈋' => '(á„)', '㈌' => '(á„‘)', 'ãˆ' => '(á„’)', '㈎' => '(가)', 'ãˆ' => '(á„‚á…¡)', 'ãˆ' => '(다)', '㈑' => '(á„…á…¡)', '㈒' => '(마)', '㈓' => '(바)', '㈔' => '(사)', '㈕' => '(á„‹á…¡)', '㈖' => '(자)', '㈗' => '(á„Žá…¡)', '㈘' => '(á„á…¡)', '㈙' => '(á„á…¡)', '㈚' => '(á„‘á…¡)', '㈛' => '(á„’á…¡)', '㈜' => '(주)', 'ãˆ' => '(오전)', '㈞' => '(á„‹á…©á„’á…®)', '㈠' => '(一)', '㈡' => '(二)', '㈢' => '(三)', '㈣' => '(å››)', '㈤' => '(五)', '㈥' => '(å…­)', '㈦' => '(七)', '㈧' => '(å…«)', '㈨' => '(ä¹)', '㈩' => '(å)', '㈪' => '(月)', '㈫' => '(ç«)', '㈬' => '(æ°´)', '㈭' => '(木)', '㈮' => '(金)', '㈯' => '(土)', '㈰' => '(æ—¥)', '㈱' => '(æ ª)', '㈲' => '(有)', '㈳' => '(社)', '㈴' => '(å)', '㈵' => '(特)', '㈶' => '(財)', '㈷' => '(ç¥)', '㈸' => '(労)', '㈹' => '(代)', '㈺' => '(呼)', '㈻' => '(å­¦)', '㈼' => '(監)', '㈽' => '(ä¼)', '㈾' => '(資)', '㈿' => '(å”)', '㉀' => '(祭)', 'ã‰' => '(休)', '㉂' => '(自)', '㉃' => '(至)', '㉄' => 'å•', '㉅' => 'å¹¼', '㉆' => 'æ–‡', '㉇' => 'ç®', 'ã‰' => 'PTE', '㉑' => '21', '㉒' => '22', '㉓' => '23', '㉔' => '24', '㉕' => '25', '㉖' => '26', '㉗' => '27', '㉘' => '28', '㉙' => '29', '㉚' => '30', '㉛' => '31', '㉜' => '32', 'ã‰' => '33', '㉞' => '34', '㉟' => '35', '㉠' => 'á„€', '㉡' => 'á„‚', '㉢' => 'ᄃ', '㉣' => 'á„…', '㉤' => 'ᄆ', '㉥' => 'ᄇ', '㉦' => 'ᄉ', '㉧' => 'á„‹', '㉨' => 'á„Œ', '㉩' => 'á„Ž', '㉪' => 'á„', '㉫' => 'á„', '㉬' => 'á„‘', '㉭' => 'á„’', '㉮' => '가', '㉯' => 'á„‚á…¡', '㉰' => '다', '㉱' => 'á„…á…¡', '㉲' => '마', '㉳' => '바', '㉴' => '사', '㉵' => 'á„‹á…¡', '㉶' => '자', '㉷' => 'á„Žá…¡', '㉸' => 'á„á…¡', '㉹' => 'á„á…¡', '㉺' => 'á„‘á…¡', '㉻' => 'á„’á…¡', '㉼' => '참고', '㉽' => '주의', '㉾' => 'á„‹á…®', '㊀' => '一', 'ãŠ' => '二', '㊂' => '三', '㊃' => 'å››', '㊄' => '五', '㊅' => 'å…­', '㊆' => '七', '㊇' => 'å…«', '㊈' => 'ä¹', '㊉' => 'å', '㊊' => '月', '㊋' => 'ç«', '㊌' => 'æ°´', 'ãŠ' => '木', '㊎' => '金', 'ãŠ' => '土', 'ãŠ' => 'æ—¥', '㊑' => 'æ ª', '㊒' => '有', '㊓' => '社', '㊔' => 'å', '㊕' => '特', '㊖' => '財', '㊗' => 'ç¥', '㊘' => '労', '㊙' => '秘', '㊚' => 'ç”·', '㊛' => '女', '㊜' => 'é©', 'ãŠ' => '優', '㊞' => 'å°', '㊟' => '注', '㊠' => 'é …', '㊡' => '休', '㊢' => '写', '㊣' => 'æ­£', '㊤' => '上', '㊥' => '中', '㊦' => '下', '㊧' => 'å·¦', '㊨' => 'å³', '㊩' => '医', '㊪' => 'å®—', '㊫' => 'å­¦', '㊬' => '監', '㊭' => 'ä¼', '㊮' => '資', '㊯' => 'å”', '㊰' => '夜', '㊱' => '36', '㊲' => '37', '㊳' => '38', '㊴' => '39', '㊵' => '40', '㊶' => '41', '㊷' => '42', '㊸' => '43', '㊹' => '44', '㊺' => '45', '㊻' => '46', '㊼' => '47', '㊽' => '48', '㊾' => '49', '㊿' => '50', 'ã‹€' => '1月', 'ã‹' => '2月', 'ã‹‚' => '3月', '㋃' => '4月', 'ã‹„' => '5月', 'ã‹…' => '6月', '㋆' => '7月', '㋇' => '8月', '㋈' => '9月', '㋉' => '10月', 'ã‹Š' => '11月', 'ã‹‹' => '12月', 'ã‹Œ' => 'Hg', 'ã‹' => 'erg', 'ã‹Ž' => 'eV', 'ã‹' => 'LTD', 'ã‹' => 'ã‚¢', 'ã‹‘' => 'イ', 'ã‹’' => 'ウ', 'ã‹“' => 'エ', 'ã‹”' => 'オ', 'ã‹•' => 'ã‚«', 'ã‹–' => 'ã‚­', 'ã‹—' => 'ク', '㋘' => 'ケ', 'ã‹™' => 'コ', 'ã‹š' => 'サ', 'ã‹›' => 'ã‚·', 'ã‹œ' => 'ス', 'ã‹' => 'ã‚»', 'ã‹ž' => 'ソ', 'ã‹Ÿ' => 'ã‚¿', 'ã‹ ' => 'ãƒ', 'ã‹¡' => 'ツ', 'ã‹¢' => 'テ', 'ã‹£' => 'ト', '㋤' => 'ナ', 'ã‹¥' => 'ニ', '㋦' => 'ヌ', '㋧' => 'ãƒ', '㋨' => 'ノ', 'ã‹©' => 'ãƒ', '㋪' => 'ヒ', 'ã‹«' => 'フ', '㋬' => 'ヘ', 'ã‹­' => 'ホ', 'ã‹®' => 'マ', '㋯' => 'ミ', 'ã‹°' => 'ム', '㋱' => 'メ', '㋲' => 'モ', '㋳' => 'ヤ', 'ã‹´' => 'ユ', '㋵' => 'ヨ', '㋶' => 'ラ', 'ã‹·' => 'リ', '㋸' => 'ル', '㋹' => 'レ', '㋺' => 'ロ', 'ã‹»' => 'ワ', '㋼' => 'ヰ', '㋽' => 'ヱ', '㋾' => 'ヲ', 'ã‹¿' => '令和', '㌀' => 'ã‚¢ãƒã‚šãƒ¼ãƒˆ', 'ãŒ' => 'アルファ', '㌂' => 'アンペア', '㌃' => 'アール', '㌄' => 'イニング', '㌅' => 'インãƒ', '㌆' => 'ウォン', '㌇' => 'エスクード', '㌈' => 'エーカー', '㌉' => 'オンス', '㌊' => 'オーム', '㌋' => 'カイリ', '㌌' => 'カラット', 'ãŒ' => 'カロリー', '㌎' => 'ガロン', 'ãŒ' => 'ガンマ', 'ãŒ' => 'ギガ', '㌑' => 'ギニー', '㌒' => 'キュリー', '㌓' => 'ギルダー', '㌔' => 'キロ', '㌕' => 'キログラム', '㌖' => 'キロメートル', '㌗' => 'キロワット', '㌘' => 'グラム', '㌙' => 'グラムトン', '㌚' => 'クルゼイロ', '㌛' => 'クローãƒ', '㌜' => 'ケース', 'ãŒ' => 'コルナ', '㌞' => 'コーポ', '㌟' => 'サイクル', '㌠' => 'サンãƒãƒ¼ãƒ ', '㌡' => 'シリング', '㌢' => 'センãƒ', '㌣' => 'セント', '㌤' => 'ダース', '㌥' => 'デシ', '㌦' => 'ドル', '㌧' => 'トン', '㌨' => 'ナノ', '㌩' => 'ノット', '㌪' => 'ãƒã‚¤ãƒ„', '㌫' => 'ãƒã‚šãƒ¼ã‚»ãƒ³ãƒˆ', '㌬' => 'ãƒã‚šãƒ¼ãƒ„', '㌭' => 'ãƒã‚™ãƒ¼ãƒ¬ãƒ«', '㌮' => 'ピアストル', '㌯' => 'ピクル', '㌰' => 'ピコ', '㌱' => 'ビル', '㌲' => 'ファラッド', '㌳' => 'フィート', '㌴' => 'ブッシェル', '㌵' => 'フラン', '㌶' => 'ヘクタール', '㌷' => 'ペソ', '㌸' => 'ペニヒ', '㌹' => 'ヘルツ', '㌺' => 'ペンス', '㌻' => 'ページ', '㌼' => 'ベータ', '㌽' => 'ポイント', '㌾' => 'ボルト', '㌿' => 'ホン', 'ã€' => 'ポンド', 'ã' => 'ホール', 'ã‚' => 'ホーン', 'ãƒ' => 'マイクロ', 'ã„' => 'マイル', 'ã…' => 'マッãƒ', 'ã†' => 'マルク', 'ã‡' => 'マンション', 'ãˆ' => 'ミクロン', 'ã‰' => 'ミリ', 'ãŠ' => 'ミリãƒã‚™ãƒ¼ãƒ«', 'ã‹' => 'メガ', 'ãŒ' => 'メガトン', 'ã' => 'メートル', 'ãŽ' => 'ヤード', 'ã' => 'ヤール', 'ã' => 'ユアン', 'ã‘' => 'リットル', 'ã’' => 'リラ', 'ã“' => 'ルピー', 'ã”' => 'ルーブル', 'ã•' => 'レム', 'ã–' => 'レントゲン', 'ã—' => 'ワット', 'ã˜' => '0点', 'ã™' => '1点', 'ãš' => '2点', 'ã›' => '3点', 'ãœ' => '4点', 'ã' => '5点', 'ãž' => '6点', 'ãŸ' => '7点', 'ã ' => '8点', 'ã¡' => '9点', 'ã¢' => '10点', 'ã£' => '11点', 'ã¤' => '12点', 'ã¥' => '13点', 'ã¦' => '14点', 'ã§' => '15点', 'ã¨' => '16点', 'ã©' => '17点', 'ãª' => '18点', 'ã«' => '19点', 'ã¬' => '20点', 'ã­' => '21点', 'ã®' => '22点', 'ã¯' => '23点', 'ã°' => '24点', 'ã±' => 'hPa', 'ã²' => 'da', 'ã³' => 'AU', 'ã´' => 'bar', 'ãµ' => 'oV', 'ã¶' => 'pc', 'ã·' => 'dm', 'ã¸' => 'dm2', 'ã¹' => 'dm3', 'ãº' => 'IU', 'ã»' => 'å¹³æˆ', 'ã¼' => '昭和', 'ã½' => '大正', 'ã¾' => '明治', 'ã¿' => 'æ ªå¼ä¼šç¤¾', '㎀' => 'pA', 'ãŽ' => 'nA', '㎂' => 'μA', '㎃' => 'mA', '㎄' => 'kA', '㎅' => 'KB', '㎆' => 'MB', '㎇' => 'GB', '㎈' => 'cal', '㎉' => 'kcal', '㎊' => 'pF', '㎋' => 'nF', '㎌' => 'μF', 'ãŽ' => 'μg', '㎎' => 'mg', 'ãŽ' => 'kg', 'ãŽ' => 'Hz', '㎑' => 'kHz', '㎒' => 'MHz', '㎓' => 'GHz', '㎔' => 'THz', '㎕' => 'μl', '㎖' => 'ml', '㎗' => 'dl', '㎘' => 'kl', '㎙' => 'fm', '㎚' => 'nm', '㎛' => 'μm', '㎜' => 'mm', 'ãŽ' => 'cm', '㎞' => 'km', '㎟' => 'mm2', '㎠' => 'cm2', '㎡' => 'm2', '㎢' => 'km2', '㎣' => 'mm3', '㎤' => 'cm3', '㎥' => 'm3', '㎦' => 'km3', '㎧' => 'm∕s', '㎨' => 'm∕s2', '㎩' => 'Pa', '㎪' => 'kPa', '㎫' => 'MPa', '㎬' => 'GPa', '㎭' => 'rad', '㎮' => 'rad∕s', '㎯' => 'rad∕s2', '㎰' => 'ps', '㎱' => 'ns', '㎲' => 'μs', '㎳' => 'ms', '㎴' => 'pV', '㎵' => 'nV', '㎶' => 'μV', '㎷' => 'mV', '㎸' => 'kV', '㎹' => 'MV', '㎺' => 'pW', '㎻' => 'nW', '㎼' => 'μW', '㎽' => 'mW', '㎾' => 'kW', '㎿' => 'MW', 'ã€' => 'kΩ', 'ã' => 'MΩ', 'ã‚' => 'a.m.', 'ãƒ' => 'Bq', 'ã„' => 'cc', 'ã…' => 'cd', 'ã†' => 'C∕kg', 'ã‡' => 'Co.', 'ãˆ' => 'dB', 'ã‰' => 'Gy', 'ãŠ' => 'ha', 'ã‹' => 'HP', 'ãŒ' => 'in', 'ã' => 'KK', 'ãŽ' => 'KM', 'ã' => 'kt', 'ã' => 'lm', 'ã‘' => 'ln', 'ã’' => 'log', 'ã“' => 'lx', 'ã”' => 'mb', 'ã•' => 'mil', 'ã–' => 'mol', 'ã—' => 'PH', 'ã˜' => 'p.m.', 'ã™' => 'PPM', 'ãš' => 'PR', 'ã›' => 'sr', 'ãœ' => 'Sv', 'ã' => 'Wb', 'ãž' => 'V∕m', 'ãŸ' => 'A∕m', 'ã ' => '1æ—¥', 'ã¡' => '2æ—¥', 'ã¢' => '3æ—¥', 'ã£' => '4æ—¥', 'ã¤' => '5æ—¥', 'ã¥' => '6æ—¥', 'ã¦' => '7æ—¥', 'ã§' => '8æ—¥', 'ã¨' => '9æ—¥', 'ã©' => '10æ—¥', 'ãª' => '11æ—¥', 'ã«' => '12æ—¥', 'ã¬' => '13æ—¥', 'ã­' => '14æ—¥', 'ã®' => '15æ—¥', 'ã¯' => '16æ—¥', 'ã°' => '17æ—¥', 'ã±' => '18æ—¥', 'ã²' => '19æ—¥', 'ã³' => '20æ—¥', 'ã´' => '21æ—¥', 'ãµ' => '22æ—¥', 'ã¶' => '23æ—¥', 'ã·' => '24æ—¥', 'ã¸' => '25æ—¥', 'ã¹' => '26æ—¥', 'ãº' => '27æ—¥', 'ã»' => '28æ—¥', 'ã¼' => '29æ—¥', 'ã½' => '30æ—¥', 'ã¾' => '31æ—¥', 'ã¿' => 'gal', 'êšœ' => 'ÑŠ', 'êš' => 'ÑŒ', 'ê°' => 'ê¯', 'ꟸ' => 'Ħ', 'ꟹ' => 'Å“', 'ê­œ' => 'ꜧ', 'ê­' => 'ꬷ', 'ê­ž' => 'É«', 'ê­Ÿ' => 'ê­’', 'ê­©' => 'Ê', 'ff' => 'ff', 'ï¬' => 'fi', 'fl' => 'fl', 'ffi' => 'ffi', 'ffl' => 'ffl', 'ſt' => 'st', 'st' => 'st', 'ﬓ' => 'Õ´Õ¶', 'ﬔ' => 'Õ´Õ¥', 'ﬕ' => 'Õ´Õ«', 'ﬖ' => 'Õ¾Õ¶', 'ﬗ' => 'Õ´Õ­', 'ﬠ' => '×¢', 'ﬡ' => '×', 'ﬢ' => 'ד', 'ﬣ' => '×”', 'ﬤ' => '×›', 'ﬥ' => 'ל', 'ﬦ' => '×', 'ﬧ' => 'ר', 'ﬨ' => 'ת', '﬩' => '+', 'ï­' => '×ל', 'ï­' => 'Ù±', 'ï­‘' => 'Ù±', 'ï­’' => 'Ù»', 'ï­“' => 'Ù»', 'ï­”' => 'Ù»', 'ï­•' => 'Ù»', 'ï­–' => 'Ù¾', 'ï­—' => 'Ù¾', 'ï­˜' => 'Ù¾', 'ï­™' => 'Ù¾', 'ï­š' => 'Ú€', 'ï­›' => 'Ú€', 'ï­œ' => 'Ú€', 'ï­' => 'Ú€', 'ï­ž' => 'Ùº', 'ï­Ÿ' => 'Ùº', 'ï­ ' => 'Ùº', 'ï­¡' => 'Ùº', 'ï­¢' => 'Ù¿', 'ï­£' => 'Ù¿', 'ï­¤' => 'Ù¿', 'ï­¥' => 'Ù¿', 'ï­¦' => 'Ù¹', 'ï­§' => 'Ù¹', 'ï­¨' => 'Ù¹', 'ï­©' => 'Ù¹', 'ï­ª' => 'Ú¤', 'ï­«' => 'Ú¤', 'ï­¬' => 'Ú¤', 'ï­­' => 'Ú¤', 'ï­®' => 'Ú¦', 'ï­¯' => 'Ú¦', 'ï­°' => 'Ú¦', 'ï­±' => 'Ú¦', 'ï­²' => 'Ú„', 'ï­³' => 'Ú„', 'ï­´' => 'Ú„', 'ï­µ' => 'Ú„', 'ï­¶' => 'Úƒ', 'ï­·' => 'Úƒ', 'ï­¸' => 'Úƒ', 'ï­¹' => 'Úƒ', 'ï­º' => 'Ú†', 'ï­»' => 'Ú†', 'ï­¼' => 'Ú†', 'ï­½' => 'Ú†', 'ï­¾' => 'Ú‡', 'ï­¿' => 'Ú‡', 'ﮀ' => 'Ú‡', 'ï®' => 'Ú‡', 'ﮂ' => 'Ú', 'ﮃ' => 'Ú', 'ﮄ' => 'ÚŒ', 'ï®…' => 'ÚŒ', 'ﮆ' => 'ÚŽ', 'ﮇ' => 'ÚŽ', 'ﮈ' => 'Úˆ', 'ﮉ' => 'Úˆ', 'ﮊ' => 'Ú˜', 'ﮋ' => 'Ú˜', 'ﮌ' => 'Ú‘', 'ï®' => 'Ú‘', 'ﮎ' => 'Ú©', 'ï®' => 'Ú©', 'ï®' => 'Ú©', 'ﮑ' => 'Ú©', 'ï®’' => 'Ú¯', 'ﮓ' => 'Ú¯', 'ï®”' => 'Ú¯', 'ﮕ' => 'Ú¯', 'ï®–' => 'Ú³', 'ï®—' => 'Ú³', 'ﮘ' => 'Ú³', 'ï®™' => 'Ú³', 'ﮚ' => 'Ú±', 'ï®›' => 'Ú±', 'ﮜ' => 'Ú±', 'ï®' => 'Ú±', 'ﮞ' => 'Úº', 'ﮟ' => 'Úº', 'ï® ' => 'Ú»', 'ﮡ' => 'Ú»', 'ﮢ' => 'Ú»', 'ﮣ' => 'Ú»', 'ﮤ' => 'Û•Ù”', 'ﮥ' => 'Û•Ù”', 'ﮦ' => 'Û', 'ﮧ' => 'Û', 'ﮨ' => 'Û', 'ﮩ' => 'Û', 'ﮪ' => 'Ú¾', 'ﮫ' => 'Ú¾', 'ﮬ' => 'Ú¾', 'ï®­' => 'Ú¾', 'ï®®' => 'Û’', 'ﮯ' => 'Û’', 'ï®°' => 'Û’Ù”', 'ï®±' => 'Û’Ù”', 'ﯓ' => 'Ú­', 'ﯔ' => 'Ú­', 'ﯕ' => 'Ú­', 'ﯖ' => 'Ú­', 'ﯗ' => 'Û‡', 'ﯘ' => 'Û‡', 'ﯙ' => 'Û†', 'ﯚ' => 'Û†', 'ﯛ' => 'Ûˆ', 'ﯜ' => 'Ûˆ', 'ï¯' => 'Û‡Ù´', 'ﯞ' => 'Û‹', 'ﯟ' => 'Û‹', 'ﯠ' => 'Û…', 'ﯡ' => 'Û…', 'ﯢ' => 'Û‰', 'ﯣ' => 'Û‰', 'ﯤ' => 'Û', 'ﯥ' => 'Û', 'ﯦ' => 'Û', 'ﯧ' => 'Û', 'ﯨ' => 'Ù‰', 'ﯩ' => 'Ù‰', 'ﯪ' => 'ئا', 'ﯫ' => 'ئا', 'ﯬ' => 'ÙŠÙ”Û•', 'ﯭ' => 'ÙŠÙ”Û•', 'ﯮ' => 'ÙŠÙ”Ùˆ', 'ﯯ' => 'ÙŠÙ”Ùˆ', 'ﯰ' => 'ÙŠÙ”Û‡', 'ﯱ' => 'ÙŠÙ”Û‡', 'ﯲ' => 'ÙŠÙ”Û†', 'ﯳ' => 'ÙŠÙ”Û†', 'ﯴ' => 'ÙŠÙ”Ûˆ', 'ﯵ' => 'ÙŠÙ”Ûˆ', 'ﯶ' => 'ÙŠÙ”Û', 'ﯷ' => 'ÙŠÙ”Û', 'ﯸ' => 'ÙŠÙ”Û', 'ﯹ' => 'ÙŠÙ”Ù‰', 'ﯺ' => 'ÙŠÙ”Ù‰', 'ﯻ' => 'ÙŠÙ”Ù‰', 'ﯼ' => 'ÛŒ', 'ﯽ' => 'ÛŒ', 'ﯾ' => 'ÛŒ', 'ﯿ' => 'ÛŒ', 'ï°€' => 'ئج', 'ï°' => 'ئح', 'ï°‚' => 'ÙŠÙ”Ù…', 'ï°ƒ' => 'ÙŠÙ”Ù‰', 'ï°„' => 'ÙŠÙ”ÙŠ', 'ï°…' => 'بج', 'ï°†' => 'بح', 'ï°‡' => 'بخ', 'ï°ˆ' => 'بم', 'ï°‰' => 'بى', 'ï°Š' => 'بي', 'ï°‹' => 'تج', 'ï°Œ' => 'تح', 'ï°' => 'تخ', 'ï°Ž' => 'تم', 'ï°' => 'تى', 'ï°' => 'تي', 'ï°‘' => 'ثج', 'ï°’' => 'ثم', 'ï°“' => 'ثى', 'ï°”' => 'ثي', 'ï°•' => 'جح', 'ï°–' => 'جم', 'ï°—' => 'حج', 'ï°˜' => 'حم', 'ï°™' => 'خج', 'ï°š' => 'خح', 'ï°›' => 'خم', 'ï°œ' => 'سج', 'ï°' => 'سح', 'ï°ž' => 'سخ', 'ï°Ÿ' => 'سم', 'ï° ' => 'صح', 'ï°¡' => 'صم', 'ï°¢' => 'ضج', 'ï°£' => 'ضح', 'ï°¤' => 'ضخ', 'ï°¥' => 'ضم', 'ï°¦' => 'طح', 'ï°§' => 'طم', 'ï°¨' => 'ظم', 'ï°©' => 'عج', 'ï°ª' => 'عم', 'ï°«' => 'غج', 'ï°¬' => 'غم', 'ï°­' => 'Ùج', 'ï°®' => 'ÙØ­', 'ï°¯' => 'ÙØ®', 'ï°°' => 'ÙÙ…', 'ï°±' => 'ÙÙ‰', 'ï°²' => 'ÙÙŠ', 'ï°³' => 'قح', 'ï°´' => 'قم', 'ï°µ' => 'قى', 'ï°¶' => 'قي', 'ï°·' => 'كا', 'ï°¸' => 'كج', 'ï°¹' => 'كح', 'ï°º' => 'كخ', 'ï°»' => 'كل', 'ï°¼' => 'كم', 'ï°½' => 'كى', 'ï°¾' => 'كي', 'ï°¿' => 'لج', 'ï±€' => 'لح', 'ï±' => 'لخ', 'ﱂ' => 'لم', 'ﱃ' => 'لى', 'ﱄ' => 'لي', 'ï±…' => 'مج', 'ﱆ' => 'مح', 'ﱇ' => 'مخ', 'ﱈ' => 'مم', 'ﱉ' => 'مى', 'ﱊ' => 'مي', 'ﱋ' => 'نج', 'ﱌ' => 'نح', 'ï±' => 'نخ', 'ﱎ' => 'نم', 'ï±' => 'نى', 'ï±' => 'ني', 'ﱑ' => 'هج', 'ï±’' => 'هم', 'ﱓ' => 'هى', 'ï±”' => 'هي', 'ﱕ' => 'يج', 'ï±–' => 'يح', 'ï±—' => 'يخ', 'ﱘ' => 'يم', 'ï±™' => 'يى', 'ﱚ' => 'يي', 'ï±›' => 'ذٰ', 'ﱜ' => 'رٰ', 'ï±' => 'ىٰ', 'ﱞ' => ' ٌّ', 'ﱟ' => ' ÙÙ‘', 'ï± ' => ' ÙŽÙ‘', 'ﱡ' => ' ÙÙ‘', 'ï±¢' => ' ÙÙ‘', 'ï±£' => ' ّٰ', 'ﱤ' => 'ئر', 'ï±¥' => 'ئز', 'ﱦ' => 'ÙŠÙ”Ù…', 'ﱧ' => 'ÙŠÙ”Ù†', 'ﱨ' => 'ÙŠÙ”Ù‰', 'ﱩ' => 'ÙŠÙ”ÙŠ', 'ﱪ' => 'بر', 'ﱫ' => 'بز', 'ﱬ' => 'بم', 'ï±­' => 'بن', 'ï±®' => 'بى', 'ﱯ' => 'بي', 'ï±°' => 'تر', 'ï±±' => 'تز', 'ï±²' => 'تم', 'ï±³' => 'تن', 'ï±´' => 'تى', 'ï±µ' => 'تي', 'ﱶ' => 'ثر', 'ï±·' => 'ثز', 'ﱸ' => 'ثم', 'ï±¹' => 'ثن', 'ﱺ' => 'ثى', 'ï±»' => 'ثي', 'ï±¼' => 'ÙÙ‰', 'ï±½' => 'ÙÙŠ', 'ï±¾' => 'قى', 'ﱿ' => 'قي', 'ï²€' => 'كا', 'ï²' => 'كل', 'ﲂ' => 'كم', 'ﲃ' => 'كى', 'ﲄ' => 'كي', 'ï²…' => 'لم', 'ﲆ' => 'لى', 'ﲇ' => 'لي', 'ﲈ' => 'ما', 'ﲉ' => 'مم', 'ﲊ' => 'نر', 'ﲋ' => 'نز', 'ﲌ' => 'نم', 'ï²' => 'نن', 'ﲎ' => 'نى', 'ï²' => 'ني', 'ï²' => 'ىٰ', 'ﲑ' => 'ير', 'ï²’' => 'يز', 'ﲓ' => 'يم', 'ï²”' => 'ين', 'ﲕ' => 'يى', 'ï²–' => 'يي', 'ï²—' => 'ئج', 'ﲘ' => 'ئح', 'ï²™' => 'ئخ', 'ﲚ' => 'ÙŠÙ”Ù…', 'ï²›' => 'ÙŠÙ”Ù‡', 'ﲜ' => 'بج', 'ï²' => 'بح', 'ﲞ' => 'بخ', 'ﲟ' => 'بم', 'ï² ' => 'به', 'ﲡ' => 'تج', 'ï²¢' => 'تح', 'ï²£' => 'تخ', 'ﲤ' => 'تم', 'ï²¥' => 'ته', 'ﲦ' => 'ثم', 'ﲧ' => 'جح', 'ﲨ' => 'جم', 'ﲩ' => 'حج', 'ﲪ' => 'حم', 'ﲫ' => 'خج', 'ﲬ' => 'خم', 'ï²­' => 'سج', 'ï²®' => 'سح', 'ﲯ' => 'سخ', 'ï²°' => 'سم', 'ï²±' => 'صح', 'ï²²' => 'صخ', 'ï²³' => 'صم', 'ï²´' => 'ضج', 'ï²µ' => 'ضح', 'ﲶ' => 'ضخ', 'ï²·' => 'ضم', 'ﲸ' => 'طح', 'ï²¹' => 'ظم', 'ﲺ' => 'عج', 'ï²»' => 'عم', 'ï²¼' => 'غج', 'ï²½' => 'غم', 'ï²¾' => 'Ùج', 'ﲿ' => 'ÙØ­', 'ï³€' => 'ÙØ®', 'ï³' => 'ÙÙ…', 'ﳂ' => 'قح', 'ﳃ' => 'قم', 'ﳄ' => 'كج', 'ï³…' => 'كح', 'ﳆ' => 'كخ', 'ﳇ' => 'كل', 'ﳈ' => 'كم', 'ﳉ' => 'لج', 'ﳊ' => 'لح', 'ﳋ' => 'لخ', 'ﳌ' => 'لم', 'ï³' => 'له', 'ﳎ' => 'مج', 'ï³' => 'مح', 'ï³' => 'مخ', 'ﳑ' => 'مم', 'ï³’' => 'نج', 'ﳓ' => 'نح', 'ï³”' => 'نخ', 'ﳕ' => 'نم', 'ï³–' => 'نه', 'ï³—' => 'هج', 'ﳘ' => 'هم', 'ï³™' => 'هٰ', 'ﳚ' => 'يج', 'ï³›' => 'يح', 'ﳜ' => 'يخ', 'ï³' => 'يم', 'ﳞ' => 'يه', 'ﳟ' => 'ÙŠÙ”Ù…', 'ï³ ' => 'ÙŠÙ”Ù‡', 'ﳡ' => 'بم', 'ï³¢' => 'به', 'ï³£' => 'تم', 'ﳤ' => 'ته', 'ï³¥' => 'ثم', 'ﳦ' => 'ثه', 'ﳧ' => 'سم', 'ﳨ' => 'سه', 'ﳩ' => 'شم', 'ﳪ' => 'شه', 'ﳫ' => 'كل', 'ﳬ' => 'كم', 'ï³­' => 'لم', 'ï³®' => 'نم', 'ﳯ' => 'نه', 'ï³°' => 'يم', 'ï³±' => 'يه', 'ï³²' => 'Ù€ÙŽÙ‘', 'ï³³' => 'Ù€ÙÙ‘', 'ï³´' => 'Ù€ÙÙ‘', 'ï³µ' => 'طى', 'ﳶ' => 'طي', 'ï³·' => 'عى', 'ﳸ' => 'عي', 'ï³¹' => 'غى', 'ﳺ' => 'غي', 'ï³»' => 'سى', 'ï³¼' => 'سي', 'ï³½' => 'شى', 'ï³¾' => 'شي', 'ﳿ' => 'حى', 'ï´€' => 'حي', 'ï´' => 'جى', 'ï´‚' => 'جي', 'ï´ƒ' => 'خى', 'ï´„' => 'خي', 'ï´…' => 'صى', 'ï´†' => 'صي', 'ï´‡' => 'ضى', 'ï´ˆ' => 'ضي', 'ï´‰' => 'شج', 'ï´Š' => 'شح', 'ï´‹' => 'شخ', 'ï´Œ' => 'شم', 'ï´' => 'شر', 'ï´Ž' => 'سر', 'ï´' => 'صر', 'ï´' => 'ضر', 'ï´‘' => 'طى', 'ï´’' => 'طي', 'ï´“' => 'عى', 'ï´”' => 'عي', 'ï´•' => 'غى', 'ï´–' => 'غي', 'ï´—' => 'سى', 'ï´˜' => 'سي', 'ï´™' => 'شى', 'ï´š' => 'شي', 'ï´›' => 'حى', 'ï´œ' => 'حي', 'ï´' => 'جى', 'ï´ž' => 'جي', 'ï´Ÿ' => 'خى', 'ï´ ' => 'خي', 'ï´¡' => 'صى', 'ï´¢' => 'صي', 'ï´£' => 'ضى', 'ï´¤' => 'ضي', 'ï´¥' => 'شج', 'ï´¦' => 'شح', 'ï´§' => 'شخ', 'ï´¨' => 'شم', 'ï´©' => 'شر', 'ï´ª' => 'سر', 'ï´«' => 'صر', 'ï´¬' => 'ضر', 'ï´­' => 'شج', 'ï´®' => 'شح', 'ï´¯' => 'شخ', 'ï´°' => 'شم', 'ï´±' => 'سه', 'ï´²' => 'شه', 'ï´³' => 'طم', 'ï´´' => 'سج', 'ï´µ' => 'سح', 'ï´¶' => 'سخ', 'ï´·' => 'شج', 'ï´¸' => 'شح', 'ï´¹' => 'شخ', 'ï´º' => 'طم', 'ï´»' => 'ظم', 'ï´¼' => 'اً', 'ï´½' => 'اً', 'ïµ' => 'تجم', 'ﵑ' => 'تحج', 'ïµ’' => 'تحج', 'ﵓ' => 'تحم', 'ïµ”' => 'تخم', 'ﵕ' => 'تمج', 'ïµ–' => 'تمح', 'ïµ—' => 'تمخ', 'ﵘ' => 'جمح', 'ïµ™' => 'جمح', 'ﵚ' => 'حمي', 'ïµ›' => 'حمى', 'ﵜ' => 'سحج', 'ïµ' => 'سجح', 'ﵞ' => 'سجى', 'ﵟ' => 'سمح', 'ïµ ' => 'سمح', 'ﵡ' => 'سمج', 'ïµ¢' => 'سمم', 'ïµ£' => 'سمم', 'ﵤ' => 'صحح', 'ïµ¥' => 'صحح', 'ﵦ' => 'صمم', 'ﵧ' => 'شحم', 'ﵨ' => 'شحم', 'ﵩ' => 'شجي', 'ﵪ' => 'شمخ', 'ﵫ' => 'شمخ', 'ﵬ' => 'شمم', 'ïµ­' => 'شمم', 'ïµ®' => 'ضحى', 'ﵯ' => 'ضخم', 'ïµ°' => 'ضخم', 'ïµ±' => 'طمح', 'ïµ²' => 'طمح', 'ïµ³' => 'طمم', 'ïµ´' => 'طمي', 'ïµµ' => 'عجم', 'ﵶ' => 'عمم', 'ïµ·' => 'عمم', 'ﵸ' => 'عمى', 'ïµ¹' => 'غمم', 'ﵺ' => 'غمي', 'ïµ»' => 'غمى', 'ïµ¼' => 'Ùخم', 'ïµ½' => 'Ùخم', 'ïµ¾' => 'قمح', 'ﵿ' => 'قمم', 'ﶀ' => 'لحم', 'ï¶' => 'لحي', 'ﶂ' => 'لحى', 'ﶃ' => 'لجج', 'ﶄ' => 'لجج', 'ﶅ' => 'لخم', 'ﶆ' => 'لخم', 'ﶇ' => 'لمح', 'ﶈ' => 'لمح', 'ﶉ' => 'محج', 'ﶊ' => 'محم', 'ﶋ' => 'محي', 'ﶌ' => 'مجح', 'ï¶' => 'مجم', 'ﶎ' => 'مخج', 'ï¶' => 'مخم', 'ﶒ' => 'مجخ', 'ﶓ' => 'همج', 'ﶔ' => 'همم', 'ﶕ' => 'نحم', 'ﶖ' => 'نحى', 'ﶗ' => 'نجم', 'ﶘ' => 'نجم', 'ﶙ' => 'نجى', 'ﶚ' => 'نمي', 'ﶛ' => 'نمى', 'ﶜ' => 'يمم', 'ï¶' => 'يمم', 'ﶞ' => 'بخي', 'ﶟ' => 'تجي', 'ﶠ' => 'تجى', 'ﶡ' => 'تخي', 'ﶢ' => 'تخى', 'ﶣ' => 'تمي', 'ﶤ' => 'تمى', 'ﶥ' => 'جمي', 'ﶦ' => 'جحى', 'ﶧ' => 'جمى', 'ﶨ' => 'سخى', 'ﶩ' => 'صحي', 'ﶪ' => 'شحي', 'ﶫ' => 'ضحي', 'ﶬ' => 'لجي', 'ﶭ' => 'لمي', 'ﶮ' => 'يحي', 'ﶯ' => 'يجي', 'ﶰ' => 'يمي', 'ﶱ' => 'ممي', 'ﶲ' => 'قمي', 'ﶳ' => 'نحي', 'ﶴ' => 'قمح', 'ﶵ' => 'لحم', 'ﶶ' => 'عمي', 'ﶷ' => 'كمي', 'ﶸ' => 'نجح', 'ﶹ' => 'مخي', 'ﶺ' => 'لجم', 'ﶻ' => 'كمم', 'ﶼ' => 'لجم', 'ﶽ' => 'نجح', 'ﶾ' => 'جحي', 'ﶿ' => 'حجي', 'ï·€' => 'مجي', 'ï·' => 'Ùمي', 'ï·‚' => 'بحي', 'ï·ƒ' => 'كمم', 'ï·„' => 'عجم', 'ï·…' => 'صمم', 'ï·†' => 'سخي', 'ï·‡' => 'نجي', 'ï·°' => 'صلے', 'ï·±' => 'قلے', 'ï·²' => 'الله', 'ï·³' => 'اكبر', 'ï·´' => 'محمد', 'ï·µ' => 'صلعم', 'ï·¶' => 'رسول', 'ï··' => 'عليه', 'ï·¸' => 'وسلم', 'ï·¹' => 'صلى', 'ï·º' => 'صلى الله عليه وسلم', 'ï·»' => 'جل جلاله', 'ï·¼' => 'ریال', 'ï¸' => ',', '︑' => 'ã€', '︒' => '。', '︓' => ':', '︔' => ';', '︕' => '!', '︖' => '?', '︗' => '〖', '︘' => '〗', '︙' => '...', '︰' => '..', '︱' => '—', '︲' => '–', '︳' => '_', '︴' => '_', '︵' => '(', '︶' => ')', '︷' => '{', '︸' => '}', '︹' => '〔', '︺' => '〕', '︻' => 'ã€', '︼' => '】', '︽' => '《', '︾' => '》', '︿' => '〈', 'ï¹€' => '〉', 'ï¹' => '「', '﹂' => 'ã€', '﹃' => '『', '﹄' => 'ã€', '﹇' => '[', '﹈' => ']', '﹉' => ' Ì…', '﹊' => ' Ì…', '﹋' => ' Ì…', '﹌' => ' Ì…', 'ï¹' => '_', '﹎' => '_', 'ï¹' => '_', 'ï¹' => ',', '﹑' => 'ã€', 'ï¹’' => '.', 'ï¹”' => ';', '﹕' => ':', 'ï¹–' => '?', 'ï¹—' => '!', '﹘' => '—', 'ï¹™' => '(', '﹚' => ')', 'ï¹›' => '{', '﹜' => '}', 'ï¹' => '〔', '﹞' => '〕', '﹟' => '#', 'ï¹ ' => '&', '﹡' => '*', 'ï¹¢' => '+', 'ï¹£' => '-', '﹤' => '<', 'ï¹¥' => '>', '﹦' => '=', '﹨' => '\\', '﹩' => '$', '﹪' => '%', '﹫' => '@', 'ï¹°' => ' Ù‹', 'ï¹±' => 'ـً', 'ï¹²' => ' ÙŒ', 'ï¹´' => ' Ù', 'ﹶ' => ' ÙŽ', 'ï¹·' => 'Ù€ÙŽ', 'ﹸ' => ' Ù', 'ï¹¹' => 'Ù€Ù', 'ﹺ' => ' Ù', 'ï¹»' => 'Ù€Ù', 'ï¹¼' => ' Ù‘', 'ï¹½' => 'ـّ', 'ï¹¾' => ' Ù’', 'ﹿ' => 'ـْ', 'ﺀ' => 'Ø¡', 'ïº' => 'آ', 'ﺂ' => 'آ', 'ﺃ' => 'أ', 'ﺄ' => 'أ', 'ﺅ' => 'ÙˆÙ”', 'ﺆ' => 'ÙˆÙ”', 'ﺇ' => 'إ', 'ﺈ' => 'إ', 'ﺉ' => 'ÙŠÙ”', 'ﺊ' => 'ÙŠÙ”', 'ﺋ' => 'ÙŠÙ”', 'ﺌ' => 'ÙŠÙ”', 'ïº' => 'ا', 'ﺎ' => 'ا', 'ïº' => 'ب', 'ïº' => 'ب', 'ﺑ' => 'ب', 'ﺒ' => 'ب', 'ﺓ' => 'Ø©', 'ﺔ' => 'Ø©', 'ﺕ' => 'ت', 'ﺖ' => 'ت', 'ﺗ' => 'ت', 'ﺘ' => 'ت', 'ﺙ' => 'Ø«', 'ﺚ' => 'Ø«', 'ﺛ' => 'Ø«', 'ﺜ' => 'Ø«', 'ïº' => 'ج', 'ﺞ' => 'ج', 'ﺟ' => 'ج', 'ﺠ' => 'ج', 'ﺡ' => 'Ø­', 'ﺢ' => 'Ø­', 'ﺣ' => 'Ø­', 'ﺤ' => 'Ø­', 'ﺥ' => 'Ø®', 'ﺦ' => 'Ø®', 'ﺧ' => 'Ø®', 'ﺨ' => 'Ø®', 'ﺩ' => 'د', 'ﺪ' => 'د', 'ﺫ' => 'Ø°', 'ﺬ' => 'Ø°', 'ﺭ' => 'ر', 'ﺮ' => 'ر', 'ﺯ' => 'ز', 'ﺰ' => 'ز', 'ﺱ' => 'س', 'ﺲ' => 'س', 'ﺳ' => 'س', 'ﺴ' => 'س', 'ﺵ' => 'Ø´', 'ﺶ' => 'Ø´', 'ﺷ' => 'Ø´', 'ﺸ' => 'Ø´', 'ﺹ' => 'ص', 'ﺺ' => 'ص', 'ﺻ' => 'ص', 'ﺼ' => 'ص', 'ﺽ' => 'ض', 'ﺾ' => 'ض', 'ﺿ' => 'ض', 'ﻀ' => 'ض', 'ï»' => 'Ø·', 'ﻂ' => 'Ø·', 'ﻃ' => 'Ø·', 'ﻄ' => 'Ø·', 'ï»…' => 'ظ', 'ﻆ' => 'ظ', 'ﻇ' => 'ظ', 'ﻈ' => 'ظ', 'ﻉ' => 'ع', 'ﻊ' => 'ع', 'ﻋ' => 'ع', 'ﻌ' => 'ع', 'ï»' => 'غ', 'ﻎ' => 'غ', 'ï»' => 'غ', 'ï»' => 'غ', 'ﻑ' => 'Ù', 'ï»’' => 'Ù', 'ﻓ' => 'Ù', 'ï»”' => 'Ù', 'ﻕ' => 'Ù‚', 'ï»–' => 'Ù‚', 'ï»—' => 'Ù‚', 'ﻘ' => 'Ù‚', 'ï»™' => 'Ùƒ', 'ﻚ' => 'Ùƒ', 'ï»›' => 'Ùƒ', 'ﻜ' => 'Ùƒ', 'ï»' => 'Ù„', 'ﻞ' => 'Ù„', 'ﻟ' => 'Ù„', 'ï» ' => 'Ù„', 'ﻡ' => 'Ù…', 'ﻢ' => 'Ù…', 'ﻣ' => 'Ù…', 'ﻤ' => 'Ù…', 'ﻥ' => 'Ù†', 'ﻦ' => 'Ù†', 'ﻧ' => 'Ù†', 'ﻨ' => 'Ù†', 'ﻩ' => 'Ù‡', 'ﻪ' => 'Ù‡', 'ﻫ' => 'Ù‡', 'ﻬ' => 'Ù‡', 'ï»­' => 'Ùˆ', 'ï»®' => 'Ùˆ', 'ﻯ' => 'Ù‰', 'ï»°' => 'Ù‰', 'ï»±' => 'ÙŠ', 'ﻲ' => 'ÙŠ', 'ﻳ' => 'ÙŠ', 'ï»´' => 'ÙŠ', 'ﻵ' => 'لآ', 'ﻶ' => 'لآ', 'ï»·' => 'لأ', 'ﻸ' => 'لأ', 'ﻹ' => 'لإ', 'ﻺ' => 'لإ', 'ï»»' => 'لا', 'ﻼ' => 'لا', 'ï¼' => '!', '"' => '"', '#' => '#', '$' => '$', 'ï¼…' => '%', '&' => '&', ''' => '\'', '(' => '(', ')' => ')', '*' => '*', '+' => '+', ',' => ',', 'ï¼' => '-', '.' => '.', 'ï¼' => '/', 'ï¼' => '0', '1' => '1', 'ï¼’' => '2', '3' => '3', 'ï¼”' => '4', '5' => '5', 'ï¼–' => '6', 'ï¼—' => '7', '8' => '8', 'ï¼™' => '9', ':' => ':', 'ï¼›' => ';', '<' => '<', 'ï¼' => '=', '>' => '>', '?' => '?', 'ï¼ ' => '@', 'A' => 'A', 'ï¼¢' => 'B', 'ï¼£' => 'C', 'D' => 'D', 'ï¼¥' => 'E', 'F' => 'F', 'G' => 'G', 'H' => 'H', 'I' => 'I', 'J' => 'J', 'K' => 'K', 'L' => 'L', 'ï¼­' => 'M', 'ï¼®' => 'N', 'O' => 'O', 'ï¼°' => 'P', 'ï¼±' => 'Q', 'ï¼²' => 'R', 'ï¼³' => 'S', 'ï¼´' => 'T', 'ï¼µ' => 'U', 'V' => 'V', 'ï¼·' => 'W', 'X' => 'X', 'ï¼¹' => 'Y', 'Z' => 'Z', 'ï¼»' => '[', 'ï¼¼' => '\\', 'ï¼½' => ']', 'ï¼¾' => '^', '_' => '_', 'ï½€' => '`', 'ï½' => 'a', 'b' => 'b', 'c' => 'c', 'd' => 'd', 'ï½…' => 'e', 'f' => 'f', 'g' => 'g', 'h' => 'h', 'i' => 'i', 'j' => 'j', 'k' => 'k', 'l' => 'l', 'ï½' => 'm', 'n' => 'n', 'ï½' => 'o', 'ï½' => 'p', 'q' => 'q', 'ï½’' => 'r', 's' => 's', 'ï½”' => 't', 'u' => 'u', 'ï½–' => 'v', 'ï½—' => 'w', 'x' => 'x', 'ï½™' => 'y', 'z' => 'z', 'ï½›' => '{', '|' => '|', 'ï½' => '}', '~' => '~', '⦅' => '⦅', 'ï½ ' => '⦆', '。' => '。', 'ï½¢' => '「', 'ï½£' => 'ã€', '、' => 'ã€', 'ï½¥' => '・', 'ヲ' => 'ヲ', 'ァ' => 'ã‚¡', 'ィ' => 'ã‚£', 'ゥ' => 'ã‚¥', 'ェ' => 'ェ', 'ォ' => 'ã‚©', 'ャ' => 'ャ', 'ï½­' => 'ュ', 'ï½®' => 'ョ', 'ッ' => 'ッ', 'ï½°' => 'ー', 'ï½±' => 'ã‚¢', 'ï½²' => 'イ', 'ï½³' => 'ウ', 'ï½´' => 'エ', 'ï½µ' => 'オ', 'カ' => 'ã‚«', 'ï½·' => 'ã‚­', 'ク' => 'ク', 'ï½¹' => 'ケ', 'コ' => 'コ', 'ï½»' => 'サ', 'ï½¼' => 'ã‚·', 'ï½½' => 'ス', 'ï½¾' => 'ã‚»', 'ソ' => 'ソ', 'ï¾€' => 'ã‚¿', 'ï¾' => 'ãƒ', 'ツ' => 'ツ', 'テ' => 'テ', 'ト' => 'ト', 'ï¾…' => 'ナ', 'ニ' => 'ニ', 'ヌ' => 'ヌ', 'ネ' => 'ãƒ', 'ノ' => 'ノ', 'ハ' => 'ãƒ', 'ヒ' => 'ヒ', 'フ' => 'フ', 'ï¾' => 'ヘ', 'ホ' => 'ホ', 'ï¾' => 'マ', 'ï¾' => 'ミ', 'ム' => 'ム', 'ï¾’' => 'メ', 'モ' => 'モ', 'ï¾”' => 'ヤ', 'ユ' => 'ユ', 'ï¾–' => 'ヨ', 'ï¾—' => 'ラ', 'リ' => 'リ', 'ï¾™' => 'ル', 'レ' => 'レ', 'ï¾›' => 'ロ', 'ワ' => 'ワ', 'ï¾' => 'ン', '゙' => 'ã‚™', '゚' => 'ã‚š', 'ï¾ ' => 'á… ', 'ᄀ' => 'á„€', 'ï¾¢' => 'á„', 'ï¾£' => 'ᆪ', 'ᄂ' => 'á„‚', 'ï¾¥' => 'ᆬ', 'ᆭ' => 'ᆭ', 'ᄃ' => 'ᄃ', 'ᄄ' => 'á„„', 'ᄅ' => 'á„…', 'ᆰ' => 'ᆰ', 'ᆱ' => 'ᆱ', 'ᆲ' => 'ᆲ', 'ï¾­' => 'ᆳ', 'ï¾®' => 'ᆴ', 'ᆵ' => 'ᆵ', 'ï¾°' => 'á„š', 'ï¾±' => 'ᄆ', 'ï¾²' => 'ᄇ', 'ï¾³' => 'ᄈ', 'ï¾´' => 'á„¡', 'ï¾µ' => 'ᄉ', 'ᄊ' => 'á„Š', 'ï¾·' => 'á„‹', 'ᄌ' => 'á„Œ', 'ï¾¹' => 'á„', 'ᄎ' => 'á„Ž', 'ï¾»' => 'á„', 'ï¾¼' => 'á„', 'ï¾½' => 'á„‘', 'ï¾¾' => 'á„’', 'ï¿‚' => 'á…¡', 'ᅢ' => 'á…¢', 'ï¿„' => 'á…£', 'ï¿…' => 'á…¤', 'ᅥ' => 'á…¥', 'ᅦ' => 'á…¦', 'ï¿Š' => 'á…§', 'ï¿‹' => 'á…¨', 'ï¿Œ' => 'á…©', 'ï¿' => 'á…ª', 'ï¿Ž' => 'á…«', 'ï¿' => 'á…¬', 'ï¿’' => 'á…­', 'ï¿“' => 'á…®', 'ï¿”' => 'á…¯', 'ï¿•' => 'á…°', 'ï¿–' => 'á…±', 'ï¿—' => 'á…²', 'ï¿š' => 'á…³', 'ï¿›' => 'á…´', 'ï¿œ' => 'á…µ', 'ï¿ ' => '¢', 'ï¿¡' => '£', 'ï¿¢' => '¬', 'ï¿£' => ' Ì„', '¦' => '¦', 'ï¿¥' => 'Â¥', '₩' => 'â‚©', '│' => '│', 'ï¿©' => 'â†', '↑' => '↑', 'ï¿«' => '→', '↓' => '↓', 'ï¿­' => 'â– ', 'ï¿®' => 'â—‹', 'ð€' => 'A', 'ð' => 'B', 'ð‚' => 'C', 'ðƒ' => 'D', 'ð„' => 'E', 'ð…' => 'F', 'ð†' => 'G', 'ð‡' => 'H', 'ðˆ' => 'I', 'ð‰' => 'J', 'ðŠ' => 'K', 'ð‹' => 'L', 'ðŒ' => 'M', 'ð' => 'N', 'ðŽ' => 'O', 'ð' => 'P', 'ð' => 'Q', 'ð‘' => 'R', 'ð’' => 'S', 'ð“' => 'T', 'ð”' => 'U', 'ð•' => 'V', 'ð–' => 'W', 'ð—' => 'X', 'ð˜' => 'Y', 'ð™' => 'Z', 'ðš' => 'a', 'ð›' => 'b', 'ðœ' => 'c', 'ð' => 'd', 'ðž' => 'e', 'ðŸ' => 'f', 'ð ' => 'g', 'ð¡' => 'h', 'ð¢' => 'i', 'ð£' => 'j', 'ð¤' => 'k', 'ð¥' => 'l', 'ð¦' => 'm', 'ð§' => 'n', 'ð¨' => 'o', 'ð©' => 'p', 'ðª' => 'q', 'ð«' => 'r', 'ð¬' => 's', 'ð­' => 't', 'ð®' => 'u', 'ð¯' => 'v', 'ð°' => 'w', 'ð±' => 'x', 'ð²' => 'y', 'ð³' => 'z', 'ð´' => 'A', 'ðµ' => 'B', 'ð¶' => 'C', 'ð·' => 'D', 'ð¸' => 'E', 'ð¹' => 'F', 'ðº' => 'G', 'ð»' => 'H', 'ð¼' => 'I', 'ð½' => 'J', 'ð¾' => 'K', 'ð¿' => 'L', 'ð‘€' => 'M', 'ð‘' => 'N', 'ð‘‚' => 'O', 'ð‘ƒ' => 'P', 'ð‘„' => 'Q', 'ð‘…' => 'R', 'ð‘†' => 'S', 'ð‘‡' => 'T', 'ð‘ˆ' => 'U', 'ð‘‰' => 'V', 'ð‘Š' => 'W', 'ð‘‹' => 'X', 'ð‘Œ' => 'Y', 'ð‘' => 'Z', 'ð‘Ž' => 'a', 'ð‘' => 'b', 'ð‘' => 'c', 'ð‘‘' => 'd', 'ð‘’' => 'e', 'ð‘“' => 'f', 'ð‘”' => 'g', 'ð‘–' => 'i', 'ð‘—' => 'j', 'ð‘˜' => 'k', 'ð‘™' => 'l', 'ð‘š' => 'm', 'ð‘›' => 'n', 'ð‘œ' => 'o', 'ð‘' => 'p', 'ð‘ž' => 'q', 'ð‘Ÿ' => 'r', 'ð‘ ' => 's', 'ð‘¡' => 't', 'ð‘¢' => 'u', 'ð‘£' => 'v', 'ð‘¤' => 'w', 'ð‘¥' => 'x', 'ð‘¦' => 'y', 'ð‘§' => 'z', 'ð‘¨' => 'A', 'ð‘©' => 'B', 'ð‘ª' => 'C', 'ð‘«' => 'D', 'ð‘¬' => 'E', 'ð‘­' => 'F', 'ð‘®' => 'G', 'ð‘¯' => 'H', 'ð‘°' => 'I', 'ð‘±' => 'J', 'ð‘²' => 'K', 'ð‘³' => 'L', 'ð‘´' => 'M', 'ð‘µ' => 'N', 'ð‘¶' => 'O', 'ð‘·' => 'P', 'ð‘¸' => 'Q', 'ð‘¹' => 'R', 'ð‘º' => 'S', 'ð‘»' => 'T', 'ð‘¼' => 'U', 'ð‘½' => 'V', 'ð‘¾' => 'W', 'ð‘¿' => 'X', 'ð’€' => 'Y', 'ð’' => 'Z', 'ð’‚' => 'a', 'ð’ƒ' => 'b', 'ð’„' => 'c', 'ð’…' => 'd', 'ð’†' => 'e', 'ð’‡' => 'f', 'ð’ˆ' => 'g', 'ð’‰' => 'h', 'ð’Š' => 'i', 'ð’‹' => 'j', 'ð’Œ' => 'k', 'ð’' => 'l', 'ð’Ž' => 'm', 'ð’' => 'n', 'ð’' => 'o', 'ð’‘' => 'p', 'ð’’' => 'q', 'ð’“' => 'r', 'ð’”' => 's', 'ð’•' => 't', 'ð’–' => 'u', 'ð’—' => 'v', 'ð’˜' => 'w', 'ð’™' => 'x', 'ð’š' => 'y', 'ð’›' => 'z', 'ð’œ' => 'A', 'ð’ž' => 'C', 'ð’Ÿ' => 'D', 'ð’¢' => 'G', 'ð’¥' => 'J', 'ð’¦' => 'K', 'ð’©' => 'N', 'ð’ª' => 'O', 'ð’«' => 'P', 'ð’¬' => 'Q', 'ð’®' => 'S', 'ð’¯' => 'T', 'ð’°' => 'U', 'ð’±' => 'V', 'ð’²' => 'W', 'ð’³' => 'X', 'ð’´' => 'Y', 'ð’µ' => 'Z', 'ð’¶' => 'a', 'ð’·' => 'b', 'ð’¸' => 'c', 'ð’¹' => 'd', 'ð’»' => 'f', 'ð’½' => 'h', 'ð’¾' => 'i', 'ð’¿' => 'j', 'ð“€' => 'k', 'ð“' => 'l', 'ð“‚' => 'm', 'ð“ƒ' => 'n', 'ð“…' => 'p', 'ð“†' => 'q', 'ð“‡' => 'r', 'ð“ˆ' => 's', 'ð“‰' => 't', 'ð“Š' => 'u', 'ð“‹' => 'v', 'ð“Œ' => 'w', 'ð“' => 'x', 'ð“Ž' => 'y', 'ð“' => 'z', 'ð“' => 'A', 'ð“‘' => 'B', 'ð“’' => 'C', 'ð““' => 'D', 'ð“”' => 'E', 'ð“•' => 'F', 'ð“–' => 'G', 'ð“—' => 'H', 'ð“˜' => 'I', 'ð“™' => 'J', 'ð“š' => 'K', 'ð“›' => 'L', 'ð“œ' => 'M', 'ð“' => 'N', 'ð“ž' => 'O', 'ð“Ÿ' => 'P', 'ð“ ' => 'Q', 'ð“¡' => 'R', 'ð“¢' => 'S', 'ð“£' => 'T', 'ð“¤' => 'U', 'ð“¥' => 'V', 'ð“¦' => 'W', 'ð“§' => 'X', 'ð“¨' => 'Y', 'ð“©' => 'Z', 'ð“ª' => 'a', 'ð“«' => 'b', 'ð“¬' => 'c', 'ð“­' => 'd', 'ð“®' => 'e', 'ð“¯' => 'f', 'ð“°' => 'g', 'ð“±' => 'h', 'ð“²' => 'i', 'ð“³' => 'j', 'ð“´' => 'k', 'ð“µ' => 'l', 'ð“¶' => 'm', 'ð“·' => 'n', 'ð“¸' => 'o', 'ð“¹' => 'p', 'ð“º' => 'q', 'ð“»' => 'r', 'ð“¼' => 's', 'ð“½' => 't', 'ð“¾' => 'u', 'ð“¿' => 'v', 'ð”€' => 'w', 'ð”' => 'x', 'ð”‚' => 'y', 'ð”ƒ' => 'z', 'ð”„' => 'A', 'ð”…' => 'B', 'ð”‡' => 'D', 'ð”ˆ' => 'E', 'ð”‰' => 'F', 'ð”Š' => 'G', 'ð”' => 'J', 'ð”Ž' => 'K', 'ð”' => 'L', 'ð”' => 'M', 'ð”‘' => 'N', 'ð”’' => 'O', 'ð”“' => 'P', 'ð””' => 'Q', 'ð”–' => 'S', 'ð”—' => 'T', 'ð”˜' => 'U', 'ð”™' => 'V', 'ð”š' => 'W', 'ð”›' => 'X', 'ð”œ' => 'Y', 'ð”ž' => 'a', 'ð”Ÿ' => 'b', 'ð” ' => 'c', 'ð”¡' => 'd', 'ð”¢' => 'e', 'ð”£' => 'f', 'ð”¤' => 'g', 'ð”¥' => 'h', 'ð”¦' => 'i', 'ð”§' => 'j', 'ð”¨' => 'k', 'ð”©' => 'l', 'ð”ª' => 'm', 'ð”«' => 'n', 'ð”¬' => 'o', 'ð”­' => 'p', 'ð”®' => 'q', 'ð”¯' => 'r', 'ð”°' => 's', 'ð”±' => 't', 'ð”²' => 'u', 'ð”³' => 'v', 'ð”´' => 'w', 'ð”µ' => 'x', 'ð”¶' => 'y', 'ð”·' => 'z', 'ð”¸' => 'A', 'ð”¹' => 'B', 'ð”»' => 'D', 'ð”¼' => 'E', 'ð”½' => 'F', 'ð”¾' => 'G', 'ð•€' => 'I', 'ð•' => 'J', 'ð•‚' => 'K', 'ð•ƒ' => 'L', 'ð•„' => 'M', 'ð•†' => 'O', 'ð•Š' => 'S', 'ð•‹' => 'T', 'ð•Œ' => 'U', 'ð•' => 'V', 'ð•Ž' => 'W', 'ð•' => 'X', 'ð•' => 'Y', 'ð•’' => 'a', 'ð•“' => 'b', 'ð•”' => 'c', 'ð••' => 'd', 'ð•–' => 'e', 'ð•—' => 'f', 'ð•˜' => 'g', 'ð•™' => 'h', 'ð•š' => 'i', 'ð•›' => 'j', 'ð•œ' => 'k', 'ð•' => 'l', 'ð•ž' => 'm', 'ð•Ÿ' => 'n', 'ð• ' => 'o', 'ð•¡' => 'p', 'ð•¢' => 'q', 'ð•£' => 'r', 'ð•¤' => 's', 'ð•¥' => 't', 'ð•¦' => 'u', 'ð•§' => 'v', 'ð•¨' => 'w', 'ð•©' => 'x', 'ð•ª' => 'y', 'ð•«' => 'z', 'ð•¬' => 'A', 'ð•­' => 'B', 'ð•®' => 'C', 'ð•¯' => 'D', 'ð•°' => 'E', 'ð•±' => 'F', 'ð•²' => 'G', 'ð•³' => 'H', 'ð•´' => 'I', 'ð•µ' => 'J', 'ð•¶' => 'K', 'ð•·' => 'L', 'ð•¸' => 'M', 'ð•¹' => 'N', 'ð•º' => 'O', 'ð•»' => 'P', 'ð•¼' => 'Q', 'ð•½' => 'R', 'ð•¾' => 'S', 'ð•¿' => 'T', 'ð–€' => 'U', 'ð–' => 'V', 'ð–‚' => 'W', 'ð–ƒ' => 'X', 'ð–„' => 'Y', 'ð–…' => 'Z', 'ð–†' => 'a', 'ð–‡' => 'b', 'ð–ˆ' => 'c', 'ð–‰' => 'd', 'ð–Š' => 'e', 'ð–‹' => 'f', 'ð–Œ' => 'g', 'ð–' => 'h', 'ð–Ž' => 'i', 'ð–' => 'j', 'ð–' => 'k', 'ð–‘' => 'l', 'ð–’' => 'm', 'ð–“' => 'n', 'ð–”' => 'o', 'ð–•' => 'p', 'ð––' => 'q', 'ð–—' => 'r', 'ð–˜' => 's', 'ð–™' => 't', 'ð–š' => 'u', 'ð–›' => 'v', 'ð–œ' => 'w', 'ð–' => 'x', 'ð–ž' => 'y', 'ð–Ÿ' => 'z', 'ð– ' => 'A', 'ð–¡' => 'B', 'ð–¢' => 'C', 'ð–£' => 'D', 'ð–¤' => 'E', 'ð–¥' => 'F', 'ð–¦' => 'G', 'ð–§' => 'H', 'ð–¨' => 'I', 'ð–©' => 'J', 'ð–ª' => 'K', 'ð–«' => 'L', 'ð–¬' => 'M', 'ð–­' => 'N', 'ð–®' => 'O', 'ð–¯' => 'P', 'ð–°' => 'Q', 'ð–±' => 'R', 'ð–²' => 'S', 'ð–³' => 'T', 'ð–´' => 'U', 'ð–µ' => 'V', 'ð–¶' => 'W', 'ð–·' => 'X', 'ð–¸' => 'Y', 'ð–¹' => 'Z', 'ð–º' => 'a', 'ð–»' => 'b', 'ð–¼' => 'c', 'ð–½' => 'd', 'ð–¾' => 'e', 'ð–¿' => 'f', 'ð—€' => 'g', 'ð—' => 'h', 'ð—‚' => 'i', 'ð—ƒ' => 'j', 'ð—„' => 'k', 'ð—…' => 'l', 'ð—†' => 'm', 'ð—‡' => 'n', 'ð—ˆ' => 'o', 'ð—‰' => 'p', 'ð—Š' => 'q', 'ð—‹' => 'r', 'ð—Œ' => 's', 'ð—' => 't', 'ð—Ž' => 'u', 'ð—' => 'v', 'ð—' => 'w', 'ð—‘' => 'x', 'ð—’' => 'y', 'ð—“' => 'z', 'ð—”' => 'A', 'ð—•' => 'B', 'ð—–' => 'C', 'ð——' => 'D', 'ð—˜' => 'E', 'ð—™' => 'F', 'ð—š' => 'G', 'ð—›' => 'H', 'ð—œ' => 'I', 'ð—' => 'J', 'ð—ž' => 'K', 'ð—Ÿ' => 'L', 'ð— ' => 'M', 'ð—¡' => 'N', 'ð—¢' => 'O', 'ð—£' => 'P', 'ð—¤' => 'Q', 'ð—¥' => 'R', 'ð—¦' => 'S', 'ð—§' => 'T', 'ð—¨' => 'U', 'ð—©' => 'V', 'ð—ª' => 'W', 'ð—«' => 'X', 'ð—¬' => 'Y', 'ð—­' => 'Z', 'ð—®' => 'a', 'ð—¯' => 'b', 'ð—°' => 'c', 'ð—±' => 'd', 'ð—²' => 'e', 'ð—³' => 'f', 'ð—´' => 'g', 'ð—µ' => 'h', 'ð—¶' => 'i', 'ð—·' => 'j', 'ð—¸' => 'k', 'ð—¹' => 'l', 'ð—º' => 'm', 'ð—»' => 'n', 'ð—¼' => 'o', 'ð—½' => 'p', 'ð—¾' => 'q', 'ð—¿' => 'r', 'ð˜€' => 's', 'ð˜' => 't', 'ð˜‚' => 'u', 'ð˜ƒ' => 'v', 'ð˜„' => 'w', 'ð˜…' => 'x', 'ð˜†' => 'y', 'ð˜‡' => 'z', 'ð˜ˆ' => 'A', 'ð˜‰' => 'B', 'ð˜Š' => 'C', 'ð˜‹' => 'D', 'ð˜Œ' => 'E', 'ð˜' => 'F', 'ð˜Ž' => 'G', 'ð˜' => 'H', 'ð˜' => 'I', 'ð˜‘' => 'J', 'ð˜’' => 'K', 'ð˜“' => 'L', 'ð˜”' => 'M', 'ð˜•' => 'N', 'ð˜–' => 'O', 'ð˜—' => 'P', 'ð˜˜' => 'Q', 'ð˜™' => 'R', 'ð˜š' => 'S', 'ð˜›' => 'T', 'ð˜œ' => 'U', 'ð˜' => 'V', 'ð˜ž' => 'W', 'ð˜Ÿ' => 'X', 'ð˜ ' => 'Y', 'ð˜¡' => 'Z', 'ð˜¢' => 'a', 'ð˜£' => 'b', 'ð˜¤' => 'c', 'ð˜¥' => 'd', 'ð˜¦' => 'e', 'ð˜§' => 'f', 'ð˜¨' => 'g', 'ð˜©' => 'h', 'ð˜ª' => 'i', 'ð˜«' => 'j', 'ð˜¬' => 'k', 'ð˜­' => 'l', 'ð˜®' => 'm', 'ð˜¯' => 'n', 'ð˜°' => 'o', 'ð˜±' => 'p', 'ð˜²' => 'q', 'ð˜³' => 'r', 'ð˜´' => 's', 'ð˜µ' => 't', 'ð˜¶' => 'u', 'ð˜·' => 'v', 'ð˜¸' => 'w', 'ð˜¹' => 'x', 'ð˜º' => 'y', 'ð˜»' => 'z', 'ð˜¼' => 'A', 'ð˜½' => 'B', 'ð˜¾' => 'C', 'ð˜¿' => 'D', 'ð™€' => 'E', 'ð™' => 'F', 'ð™‚' => 'G', 'ð™ƒ' => 'H', 'ð™„' => 'I', 'ð™…' => 'J', 'ð™†' => 'K', 'ð™‡' => 'L', 'ð™ˆ' => 'M', 'ð™‰' => 'N', 'ð™Š' => 'O', 'ð™‹' => 'P', 'ð™Œ' => 'Q', 'ð™' => 'R', 'ð™Ž' => 'S', 'ð™' => 'T', 'ð™' => 'U', 'ð™‘' => 'V', 'ð™’' => 'W', 'ð™“' => 'X', 'ð™”' => 'Y', 'ð™•' => 'Z', 'ð™–' => 'a', 'ð™—' => 'b', 'ð™˜' => 'c', 'ð™™' => 'd', 'ð™š' => 'e', 'ð™›' => 'f', 'ð™œ' => 'g', 'ð™' => 'h', 'ð™ž' => 'i', 'ð™Ÿ' => 'j', 'ð™ ' => 'k', 'ð™¡' => 'l', 'ð™¢' => 'm', 'ð™£' => 'n', 'ð™¤' => 'o', 'ð™¥' => 'p', 'ð™¦' => 'q', 'ð™§' => 'r', 'ð™¨' => 's', 'ð™©' => 't', 'ð™ª' => 'u', 'ð™«' => 'v', 'ð™¬' => 'w', 'ð™­' => 'x', 'ð™®' => 'y', 'ð™¯' => 'z', 'ð™°' => 'A', 'ð™±' => 'B', 'ð™²' => 'C', 'ð™³' => 'D', 'ð™´' => 'E', 'ð™µ' => 'F', 'ð™¶' => 'G', 'ð™·' => 'H', 'ð™¸' => 'I', 'ð™¹' => 'J', 'ð™º' => 'K', 'ð™»' => 'L', 'ð™¼' => 'M', 'ð™½' => 'N', 'ð™¾' => 'O', 'ð™¿' => 'P', 'ðš€' => 'Q', 'ðš' => 'R', 'ðš‚' => 'S', 'ðšƒ' => 'T', 'ðš„' => 'U', 'ðš…' => 'V', 'ðš†' => 'W', 'ðš‡' => 'X', 'ðšˆ' => 'Y', 'ðš‰' => 'Z', 'ðšŠ' => 'a', 'ðš‹' => 'b', 'ðšŒ' => 'c', 'ðš' => 'd', 'ðšŽ' => 'e', 'ðš' => 'f', 'ðš' => 'g', 'ðš‘' => 'h', 'ðš’' => 'i', 'ðš“' => 'j', 'ðš”' => 'k', 'ðš•' => 'l', 'ðš–' => 'm', 'ðš—' => 'n', 'ðš˜' => 'o', 'ðš™' => 'p', 'ðšš' => 'q', 'ðš›' => 'r', 'ðšœ' => 's', 'ðš' => 't', 'ðšž' => 'u', 'ðšŸ' => 'v', 'ðš ' => 'w', 'ðš¡' => 'x', 'ðš¢' => 'y', 'ðš£' => 'z', 'ðš¤' => 'ı', 'ðš¥' => 'È·', 'ðš¨' => 'Α', 'ðš©' => 'Î’', 'ðšª' => 'Γ', 'ðš«' => 'Δ', 'ðš¬' => 'Ε', 'ðš­' => 'Ζ', 'ðš®' => 'Η', 'ðš¯' => 'Θ', 'ðš°' => 'Ι', 'ðš±' => 'Κ', 'ðš²' => 'Λ', 'ðš³' => 'Îœ', 'ðš´' => 'Î', 'ðšµ' => 'Ξ', 'ðš¶' => 'Ο', 'ðš·' => 'Π', 'ðš¸' => 'Ρ', 'ðš¹' => 'Θ', 'ðšº' => 'Σ', 'ðš»' => 'Τ', 'ðš¼' => 'Î¥', 'ðš½' => 'Φ', 'ðš¾' => 'Χ', 'ðš¿' => 'Ψ', 'ð›€' => 'Ω', 'ð›' => '∇', 'ð›‚' => 'α', 'ð›ƒ' => 'β', 'ð›„' => 'γ', 'ð›…' => 'δ', 'ð›†' => 'ε', 'ð›‡' => 'ζ', 'ð›ˆ' => 'η', 'ð›‰' => 'θ', 'ð›Š' => 'ι', 'ð›‹' => 'κ', 'ð›Œ' => 'λ', 'ð›' => 'μ', 'ð›Ž' => 'ν', 'ð›' => 'ξ', 'ð›' => 'ο', 'ð›‘' => 'Ï€', 'ð›’' => 'Ï', 'ð›“' => 'Ï‚', 'ð›”' => 'σ', 'ð›•' => 'Ï„', 'ð›–' => 'Ï…', 'ð›—' => 'φ', 'ð›˜' => 'χ', 'ð›™' => 'ψ', 'ð›š' => 'ω', 'ð››' => '∂', 'ð›œ' => 'ε', 'ð›' => 'θ', 'ð›ž' => 'κ', 'ð›Ÿ' => 'φ', 'ð› ' => 'Ï', 'ð›¡' => 'Ï€', 'ð›¢' => 'Α', 'ð›£' => 'Î’', 'ð›¤' => 'Γ', 'ð›¥' => 'Δ', 'ð›¦' => 'Ε', 'ð›§' => 'Ζ', 'ð›¨' => 'Η', 'ð›©' => 'Θ', 'ð›ª' => 'Ι', 'ð›«' => 'Κ', 'ð›¬' => 'Λ', 'ð›­' => 'Îœ', 'ð›®' => 'Î', 'ð›¯' => 'Ξ', 'ð›°' => 'Ο', 'ð›±' => 'Π', 'ð›²' => 'Ρ', 'ð›³' => 'Θ', 'ð›´' => 'Σ', 'ð›µ' => 'Τ', 'ð›¶' => 'Î¥', 'ð›·' => 'Φ', 'ð›¸' => 'Χ', 'ð›¹' => 'Ψ', 'ð›º' => 'Ω', 'ð›»' => '∇', 'ð›¼' => 'α', 'ð›½' => 'β', 'ð›¾' => 'γ', 'ð›¿' => 'δ', 'ðœ€' => 'ε', 'ðœ' => 'ζ', 'ðœ‚' => 'η', 'ðœƒ' => 'θ', 'ðœ„' => 'ι', 'ðœ…' => 'κ', 'ðœ†' => 'λ', 'ðœ‡' => 'μ', 'ðœˆ' => 'ν', 'ðœ‰' => 'ξ', 'ðœŠ' => 'ο', 'ðœ‹' => 'Ï€', 'ðœŒ' => 'Ï', 'ðœ' => 'Ï‚', 'ðœŽ' => 'σ', 'ðœ' => 'Ï„', 'ðœ' => 'Ï…', 'ðœ‘' => 'φ', 'ðœ’' => 'χ', 'ðœ“' => 'ψ', 'ðœ”' => 'ω', 'ðœ•' => '∂', 'ðœ–' => 'ε', 'ðœ—' => 'θ', 'ðœ˜' => 'κ', 'ðœ™' => 'φ', 'ðœš' => 'Ï', 'ðœ›' => 'Ï€', 'ðœœ' => 'Α', 'ðœ' => 'Î’', 'ðœž' => 'Γ', 'ðœŸ' => 'Δ', 'ðœ ' => 'Ε', 'ðœ¡' => 'Ζ', 'ðœ¢' => 'Η', 'ðœ£' => 'Θ', 'ðœ¤' => 'Ι', 'ðœ¥' => 'Κ', 'ðœ¦' => 'Λ', 'ðœ§' => 'Îœ', 'ðœ¨' => 'Î', 'ðœ©' => 'Ξ', 'ðœª' => 'Ο', 'ðœ«' => 'Π', 'ðœ¬' => 'Ρ', 'ðœ­' => 'Θ', 'ðœ®' => 'Σ', 'ðœ¯' => 'Τ', 'ðœ°' => 'Î¥', 'ðœ±' => 'Φ', 'ðœ²' => 'Χ', 'ðœ³' => 'Ψ', 'ðœ´' => 'Ω', 'ðœµ' => '∇', 'ðœ¶' => 'α', 'ðœ·' => 'β', 'ðœ¸' => 'γ', 'ðœ¹' => 'δ', 'ðœº' => 'ε', 'ðœ»' => 'ζ', 'ðœ¼' => 'η', 'ðœ½' => 'θ', 'ðœ¾' => 'ι', 'ðœ¿' => 'κ', 'ð€' => 'λ', 'ð' => 'μ', 'ð‚' => 'ν', 'ðƒ' => 'ξ', 'ð„' => 'ο', 'ð…' => 'Ï€', 'ð†' => 'Ï', 'ð‡' => 'Ï‚', 'ðˆ' => 'σ', 'ð‰' => 'Ï„', 'ðŠ' => 'Ï…', 'ð‹' => 'φ', 'ðŒ' => 'χ', 'ð' => 'ψ', 'ðŽ' => 'ω', 'ð' => '∂', 'ð' => 'ε', 'ð‘' => 'θ', 'ð’' => 'κ', 'ð“' => 'φ', 'ð”' => 'Ï', 'ð•' => 'Ï€', 'ð–' => 'Α', 'ð—' => 'Î’', 'ð˜' => 'Γ', 'ð™' => 'Δ', 'ðš' => 'Ε', 'ð›' => 'Ζ', 'ðœ' => 'Η', 'ð' => 'Θ', 'ðž' => 'Ι', 'ðŸ' => 'Κ', 'ð ' => 'Λ', 'ð¡' => 'Îœ', 'ð¢' => 'Î', 'ð£' => 'Ξ', 'ð¤' => 'Ο', 'ð¥' => 'Π', 'ð¦' => 'Ρ', 'ð§' => 'Θ', 'ð¨' => 'Σ', 'ð©' => 'Τ', 'ðª' => 'Î¥', 'ð«' => 'Φ', 'ð¬' => 'Χ', 'ð­' => 'Ψ', 'ð®' => 'Ω', 'ð¯' => '∇', 'ð°' => 'α', 'ð±' => 'β', 'ð²' => 'γ', 'ð³' => 'δ', 'ð´' => 'ε', 'ðµ' => 'ζ', 'ð¶' => 'η', 'ð·' => 'θ', 'ð¸' => 'ι', 'ð¹' => 'κ', 'ðº' => 'λ', 'ð»' => 'μ', 'ð¼' => 'ν', 'ð½' => 'ξ', 'ð¾' => 'ο', 'ð¿' => 'Ï€', 'ðž€' => 'Ï', 'ðž' => 'Ï‚', 'ðž‚' => 'σ', 'ðžƒ' => 'Ï„', 'ðž„' => 'Ï…', 'ðž…' => 'φ', 'ðž†' => 'χ', 'ðž‡' => 'ψ', 'ðžˆ' => 'ω', 'ðž‰' => '∂', 'ðžŠ' => 'ε', 'ðž‹' => 'θ', 'ðžŒ' => 'κ', 'ðž' => 'φ', 'ðžŽ' => 'Ï', 'ðž' => 'Ï€', 'ðž' => 'Α', 'ðž‘' => 'Î’', 'ðž’' => 'Γ', 'ðž“' => 'Δ', 'ðž”' => 'Ε', 'ðž•' => 'Ζ', 'ðž–' => 'Η', 'ðž—' => 'Θ', 'ðž˜' => 'Ι', 'ðž™' => 'Κ', 'ðžš' => 'Λ', 'ðž›' => 'Îœ', 'ðžœ' => 'Î', 'ðž' => 'Ξ', 'ðžž' => 'Ο', 'ðžŸ' => 'Π', 'ðž ' => 'Ρ', 'ðž¡' => 'Θ', 'ðž¢' => 'Σ', 'ðž£' => 'Τ', 'ðž¤' => 'Î¥', 'ðž¥' => 'Φ', 'ðž¦' => 'Χ', 'ðž§' => 'Ψ', 'ðž¨' => 'Ω', 'ðž©' => '∇', 'ðžª' => 'α', 'ðž«' => 'β', 'ðž¬' => 'γ', 'ðž­' => 'δ', 'ðž®' => 'ε', 'ðž¯' => 'ζ', 'ðž°' => 'η', 'ðž±' => 'θ', 'ðž²' => 'ι', 'ðž³' => 'κ', 'ðž´' => 'λ', 'ðžµ' => 'μ', 'ðž¶' => 'ν', 'ðž·' => 'ξ', 'ðž¸' => 'ο', 'ðž¹' => 'Ï€', 'ðžº' => 'Ï', 'ðž»' => 'Ï‚', 'ðž¼' => 'σ', 'ðž½' => 'Ï„', 'ðž¾' => 'Ï…', 'ðž¿' => 'φ', 'ðŸ€' => 'χ', 'ðŸ' => 'ψ', 'ðŸ‚' => 'ω', 'ðŸƒ' => '∂', 'ðŸ„' => 'ε', 'ðŸ…' => 'θ', 'ðŸ†' => 'κ', 'ðŸ‡' => 'φ', 'ðŸˆ' => 'Ï', 'ðŸ‰' => 'Ï€', 'ðŸŠ' => 'Ïœ', 'ðŸ‹' => 'Ï', 'ðŸŽ' => '0', 'ðŸ' => '1', 'ðŸ' => '2', 'ðŸ‘' => '3', 'ðŸ’' => '4', 'ðŸ“' => '5', 'ðŸ”' => '6', 'ðŸ•' => '7', 'ðŸ–' => '8', 'ðŸ—' => '9', 'ðŸ˜' => '0', 'ðŸ™' => '1', 'ðŸš' => '2', 'ðŸ›' => '3', 'ðŸœ' => '4', 'ðŸ' => '5', 'ðŸž' => '6', 'ðŸŸ' => '7', 'ðŸ ' => '8', 'ðŸ¡' => '9', 'ðŸ¢' => '0', 'ðŸ£' => '1', 'ðŸ¤' => '2', 'ðŸ¥' => '3', 'ðŸ¦' => '4', 'ðŸ§' => '5', 'ðŸ¨' => '6', 'ðŸ©' => '7', 'ðŸª' => '8', 'ðŸ«' => '9', 'ðŸ¬' => '0', 'ðŸ­' => '1', 'ðŸ®' => '2', 'ðŸ¯' => '3', 'ðŸ°' => '4', 'ðŸ±' => '5', 'ðŸ²' => '6', 'ðŸ³' => '7', 'ðŸ´' => '8', 'ðŸµ' => '9', 'ðŸ¶' => '0', 'ðŸ·' => '1', 'ðŸ¸' => '2', 'ðŸ¹' => '3', 'ðŸº' => '4', 'ðŸ»' => '5', 'ðŸ¼' => '6', 'ðŸ½' => '7', 'ðŸ¾' => '8', 'ðŸ¿' => '9', '𞸀' => 'ا', 'ðž¸' => 'ب', '𞸂' => 'ج', '𞸃' => 'د', '𞸅' => 'Ùˆ', '𞸆' => 'ز', '𞸇' => 'Ø­', '𞸈' => 'Ø·', '𞸉' => 'ÙŠ', '𞸊' => 'Ùƒ', '𞸋' => 'Ù„', '𞸌' => 'Ù…', 'ðž¸' => 'Ù†', '𞸎' => 'س', 'ðž¸' => 'ع', 'ðž¸' => 'Ù', '𞸑' => 'ص', '𞸒' => 'Ù‚', '𞸓' => 'ر', '𞸔' => 'Ø´', '𞸕' => 'ت', '𞸖' => 'Ø«', '𞸗' => 'Ø®', '𞸘' => 'Ø°', '𞸙' => 'ض', '𞸚' => 'ظ', '𞸛' => 'غ', '𞸜' => 'Ù®', 'ðž¸' => 'Úº', '𞸞' => 'Ú¡', '𞸟' => 'Ù¯', '𞸡' => 'ب', '𞸢' => 'ج', '𞸤' => 'Ù‡', '𞸧' => 'Ø­', '𞸩' => 'ÙŠ', '𞸪' => 'Ùƒ', '𞸫' => 'Ù„', '𞸬' => 'Ù…', '𞸭' => 'Ù†', '𞸮' => 'س', '𞸯' => 'ع', '𞸰' => 'Ù', '𞸱' => 'ص', '𞸲' => 'Ù‚', '𞸴' => 'Ø´', '𞸵' => 'ت', '𞸶' => 'Ø«', '𞸷' => 'Ø®', '𞸹' => 'ض', '𞸻' => 'غ', '𞹂' => 'ج', '𞹇' => 'Ø­', '𞹉' => 'ÙŠ', '𞹋' => 'Ù„', 'ðž¹' => 'Ù†', '𞹎' => 'س', 'ðž¹' => 'ع', '𞹑' => 'ص', 'ðž¹’' => 'Ù‚', 'ðž¹”' => 'Ø´', 'ðž¹—' => 'Ø®', 'ðž¹™' => 'ض', 'ðž¹›' => 'غ', 'ðž¹' => 'Úº', '𞹟' => 'Ù¯', '𞹡' => 'ب', 'ðž¹¢' => 'ج', '𞹤' => 'Ù‡', '𞹧' => 'Ø­', '𞹨' => 'Ø·', '𞹩' => 'ÙŠ', '𞹪' => 'Ùƒ', '𞹬' => 'Ù…', 'ðž¹­' => 'Ù†', 'ðž¹®' => 'س', '𞹯' => 'ع', 'ðž¹°' => 'Ù', 'ðž¹±' => 'ص', 'ðž¹²' => 'Ù‚', 'ðž¹´' => 'Ø´', 'ðž¹µ' => 'ت', '𞹶' => 'Ø«', 'ðž¹·' => 'Ø®', 'ðž¹¹' => 'ض', '𞹺' => 'ظ', 'ðž¹»' => 'غ', 'ðž¹¼' => 'Ù®', 'ðž¹¾' => 'Ú¡', '𞺀' => 'ا', 'ðžº' => 'ب', '𞺂' => 'ج', '𞺃' => 'د', '𞺄' => 'Ù‡', '𞺅' => 'Ùˆ', '𞺆' => 'ز', '𞺇' => 'Ø­', '𞺈' => 'Ø·', '𞺉' => 'ÙŠ', '𞺋' => 'Ù„', '𞺌' => 'Ù…', 'ðžº' => 'Ù†', '𞺎' => 'س', 'ðžº' => 'ع', 'ðžº' => 'Ù', '𞺑' => 'ص', '𞺒' => 'Ù‚', '𞺓' => 'ر', '𞺔' => 'Ø´', '𞺕' => 'ت', '𞺖' => 'Ø«', '𞺗' => 'Ø®', '𞺘' => 'Ø°', '𞺙' => 'ض', '𞺚' => 'ظ', '𞺛' => 'غ', '𞺡' => 'ب', '𞺢' => 'ج', '𞺣' => 'د', '𞺥' => 'Ùˆ', '𞺦' => 'ز', '𞺧' => 'Ø­', '𞺨' => 'Ø·', '𞺩' => 'ÙŠ', '𞺫' => 'Ù„', '𞺬' => 'Ù…', '𞺭' => 'Ù†', '𞺮' => 'س', '𞺯' => 'ع', '𞺰' => 'Ù', '𞺱' => 'ص', '𞺲' => 'Ù‚', '𞺳' => 'ر', '𞺴' => 'Ø´', '𞺵' => 'ت', '𞺶' => 'Ø«', '𞺷' => 'Ø®', '𞺸' => 'Ø°', '𞺹' => 'ض', '𞺺' => 'ظ', '𞺻' => 'غ', '🄀' => '0.', 'ðŸ„' => '0,', '🄂' => '1,', '🄃' => '2,', '🄄' => '3,', '🄅' => '4,', '🄆' => '5,', '🄇' => '6,', '🄈' => '7,', '🄉' => '8,', '🄊' => '9,', 'ðŸ„' => '(A)', '🄑' => '(B)', '🄒' => '(C)', '🄓' => '(D)', '🄔' => '(E)', '🄕' => '(F)', '🄖' => '(G)', '🄗' => '(H)', '🄘' => '(I)', '🄙' => '(J)', '🄚' => '(K)', '🄛' => '(L)', '🄜' => '(M)', 'ðŸ„' => '(N)', '🄞' => '(O)', '🄟' => '(P)', '🄠' => '(Q)', '🄡' => '(R)', '🄢' => '(S)', '🄣' => '(T)', '🄤' => '(U)', '🄥' => '(V)', '🄦' => '(W)', '🄧' => '(X)', '🄨' => '(Y)', '🄩' => '(Z)', '🄪' => '〔S〕', '🄫' => 'C', '🄬' => 'R', '🄭' => 'CD', '🄮' => 'WZ', '🄰' => 'A', '🄱' => 'B', '🄲' => 'C', '🄳' => 'D', '🄴' => 'E', '🄵' => 'F', '🄶' => 'G', '🄷' => 'H', '🄸' => 'I', '🄹' => 'J', '🄺' => 'K', '🄻' => 'L', '🄼' => 'M', '🄽' => 'N', '🄾' => 'O', '🄿' => 'P', '🅀' => 'Q', 'ðŸ…' => 'R', '🅂' => 'S', '🅃' => 'T', '🅄' => 'U', '🅅' => 'V', '🅆' => 'W', '🅇' => 'X', '🅈' => 'Y', '🅉' => 'Z', '🅊' => 'HV', '🅋' => 'MV', '🅌' => 'SD', 'ðŸ…' => 'SS', '🅎' => 'PPV', 'ðŸ…' => 'WC', '🅪' => 'MC', '🅫' => 'MD', '🅬' => 'MR', 'ðŸ†' => 'DJ', '🈀' => 'ã»ã‹', 'ðŸˆ' => 'ココ', '🈂' => 'サ', 'ðŸˆ' => '手', '🈑' => 'å­—', '🈒' => 'åŒ', '🈓' => 'デ', '🈔' => '二', '🈕' => '多', '🈖' => '解', '🈗' => '天', '🈘' => '交', '🈙' => '映', '🈚' => 'ç„¡', '🈛' => 'æ–™', '🈜' => 'å‰', 'ðŸˆ' => '後', '🈞' => 'å†', '🈟' => 'æ–°', '🈠' => 'åˆ', '🈡' => '終', '🈢' => '生', '🈣' => '販', '🈤' => '声', '🈥' => 'å¹', '🈦' => 'æ¼”', '🈧' => '投', '🈨' => 'æ•', '🈩' => '一', '🈪' => '三', '🈫' => 'éŠ', '🈬' => 'å·¦', '🈭' => '中', '🈮' => 'å³', '🈯' => '指', '🈰' => 'èµ°', '🈱' => '打', '🈲' => 'ç¦', '🈳' => '空', '🈴' => 'åˆ', '🈵' => '満', '🈶' => '有', '🈷' => '月', '🈸' => '申', '🈹' => '割', '🈺' => 'å–¶', '🈻' => 'é…', '🉀' => '〔本〕', 'ðŸ‰' => '〔三〕', '🉂' => '〔二〕', '🉃' => '〔安〕', '🉄' => '〔点〕', '🉅' => '〔打〕', '🉆' => '〔盗〕', '🉇' => '〔å‹ã€•', '🉈' => '〔敗〕', 'ðŸ‰' => 'å¾—', '🉑' => 'å¯', '🯰' => '0', '🯱' => '1', '🯲' => '2', '🯳' => '3', '🯴' => '4', '🯵' => '5', '🯶' => '6', '🯷' => '7', '🯸' => '8', '🯹' => '9'); diff --git a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php b/vendor/symfony/polyfill-intl-normalizer/bootstrap.php index bf6ad7cffb0..dc33969e8a4 100644 --- a/vendor/symfony/polyfill-intl-normalizer/bootstrap.php +++ b/vendor/symfony/polyfill-intl-normalizer/bootstrap.php @@ -10,19 +10,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer as p; +use RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer as p; if (\PHP_VERSION_ID >= 80000) { return require __DIR__ . '/bootstrap80.php'; } if (!\function_exists('normalizer_is_normalized')) { - function normalizer_is_normalized($string, $form = \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_is_normalized($string, $form = \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized($string, $form); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized($string, $form); } } if (!\function_exists('normalizer_normalize')) { - function normalizer_normalize($string, $form = \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_normalize($string, $form = \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize($string, $form); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize($string, $form); } } diff --git a/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php b/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php index 6c3c097749d..ffdc5c04ca2 100644 --- a/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php +++ b/vendor/symfony/polyfill-intl-normalizer/bootstrap80.php @@ -10,19 +10,19 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer as p; +use RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer as p; if (!\function_exists('normalizer_is_normalized')) { - function normalizer_is_normalized(?string $string, ?int $form = \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) : bool + function normalizer_is_normalized(?string $string, ?int $form = \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized((string) $string, (int) $form); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::isNormalized((string) $string, (int) $form); } } if (!\function_exists('normalizer_normalize')) { /** * @return bool|string */ - function normalizer_normalize(?string $string, ?int $form = \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) + function normalizer_normalize(?string $string, ?int $form = \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::FORM_C) { - return \RectorPrefix20211129\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize((string) $string, (int) $form); + return \RectorPrefix20211130\Symfony\Polyfill\Intl\Normalizer\Normalizer::normalize((string) $string, (int) $form); } } diff --git a/vendor/symfony/polyfill-intl-normalizer/composer.json b/vendor/symfony/polyfill-intl-normalizer/composer.json index 5843473b540..08f696371f5 100644 --- a/vendor/symfony/polyfill-intl-normalizer/composer.json +++ b/vendor/symfony/polyfill-intl-normalizer/composer.json @@ -27,7 +27,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Intl\\Normalizer\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-mbstring/Mbstring.php b/vendor/symfony/polyfill-mbstring/Mbstring.php index ab35dd1ea11..c09d008b7ad 100644 --- a/vendor/symfony/polyfill-mbstring/Mbstring.php +++ b/vendor/symfony/polyfill-mbstring/Mbstring.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Mbstring; +namespace RectorPrefix20211130\Symfony\Polyfill\Mbstring; /** * Partial mbstring implementation in PHP, iconv based, UTF-8 centric. diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php index 693b87234ee..e70f1fa34ab 100644 --- a/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php +++ b/vendor/symfony/polyfill-mbstring/Resources/unidata/lowerCase.php @@ -1,5 +1,5 @@ 'a', 'B' => 'b', 'C' => 'c', 'D' => 'd', 'E' => 'e', 'F' => 'f', 'G' => 'g', 'H' => 'h', 'I' => 'i', 'J' => 'j', 'K' => 'k', 'L' => 'l', 'M' => 'm', 'N' => 'n', 'O' => 'o', 'P' => 'p', 'Q' => 'q', 'R' => 'r', 'S' => 's', 'T' => 't', 'U' => 'u', 'V' => 'v', 'W' => 'w', 'X' => 'x', 'Y' => 'y', 'Z' => 'z', 'À' => 'à', 'Ã' => 'á', 'Â' => 'â', 'Ã' => 'ã', 'Ä' => 'ä', 'Ã…' => 'Ã¥', 'Æ' => 'æ', 'Ç' => 'ç', 'È' => 'è', 'É' => 'é', 'Ê' => 'ê', 'Ë' => 'ë', 'ÃŒ' => 'ì', 'Ã' => 'í', 'ÃŽ' => 'î', 'Ã' => 'ï', 'Ã' => 'ð', 'Ñ' => 'ñ', 'Ã’' => 'ò', 'Ó' => 'ó', 'Ô' => 'ô', 'Õ' => 'õ', 'Ö' => 'ö', 'Ø' => 'ø', 'Ù' => 'ù', 'Ú' => 'ú', 'Û' => 'û', 'Ãœ' => 'ü', 'Ã' => 'ý', 'Þ' => 'þ', 'Ä€' => 'Ä', 'Ä‚' => 'ă', 'Ä„' => 'Ä…', 'Ć' => 'ć', 'Ĉ' => 'ĉ', 'ÄŠ' => 'Ä‹', 'ÄŒ' => 'Ä', 'ÄŽ' => 'Ä', 'Ä' => 'Ä‘', 'Ä’' => 'Ä“', 'Ä”' => 'Ä•', 'Ä–' => 'Ä—', 'Ę' => 'Ä™', 'Äš' => 'Ä›', 'Äœ' => 'Ä', 'Äž' => 'ÄŸ', 'Ä ' => 'Ä¡', 'Ä¢' => 'Ä£', 'Ĥ' => 'Ä¥', 'Ħ' => 'ħ', 'Ĩ' => 'Ä©', 'Ī' => 'Ä«', 'Ĭ' => 'Ä­', 'Ä®' => 'į', 'Ä°' => 'i̇', 'IJ' => 'ij', 'Ä´' => 'ĵ', 'Ķ' => 'Ä·', 'Ĺ' => 'ĺ', 'Ä»' => 'ļ', 'Ľ' => 'ľ', 'Ä¿' => 'Å€', 'Å' => 'Å‚', 'Ń' => 'Å„', 'Å…' => 'ņ', 'Ň' => 'ň', 'ÅŠ' => 'Å‹', 'ÅŒ' => 'Å', 'ÅŽ' => 'Å', 'Å' => 'Å‘', 'Å’' => 'Å“', 'Å”' => 'Å•', 'Å–' => 'Å—', 'Ř' => 'Å™', 'Åš' => 'Å›', 'Åœ' => 'Å', 'Åž' => 'ÅŸ', 'Å ' => 'Å¡', 'Å¢' => 'Å£', 'Ť' => 'Å¥', 'Ŧ' => 'ŧ', 'Ũ' => 'Å©', 'Ū' => 'Å«', 'Ŭ' => 'Å­', 'Å®' => 'ů', 'Å°' => 'ű', 'Ų' => 'ų', 'Å´' => 'ŵ', 'Ŷ' => 'Å·', 'Ÿ' => 'ÿ', 'Ź' => 'ź', 'Å»' => 'ż', 'Ž' => 'ž', 'Æ' => 'É“', 'Æ‚' => 'ƃ', 'Æ„' => 'Æ…', 'Ɔ' => 'É”', 'Ƈ' => 'ƈ', 'Ɖ' => 'É–', 'ÆŠ' => 'É—', 'Æ‹' => 'ÆŒ', 'ÆŽ' => 'Ç', 'Æ' => 'É™', 'Æ' => 'É›', 'Æ‘' => 'Æ’', 'Æ“' => 'É ', 'Æ”' => 'É£', 'Æ–' => 'É©', 'Æ—' => 'ɨ', 'Ƙ' => 'Æ™', 'Æœ' => 'ɯ', 'Æ' => 'ɲ', 'ÆŸ' => 'ɵ', 'Æ ' => 'Æ¡', 'Æ¢' => 'Æ£', 'Ƥ' => 'Æ¥', 'Ʀ' => 'Ê€', 'Ƨ' => 'ƨ', 'Æ©' => 'ʃ', 'Ƭ' => 'Æ­', 'Æ®' => 'ʈ', 'Ư' => 'Æ°', 'Ʊ' => 'ÊŠ', 'Ʋ' => 'Ê‹', 'Ƴ' => 'Æ´', 'Ƶ' => 'ƶ', 'Æ·' => 'Ê’', 'Ƹ' => 'ƹ', 'Ƽ' => 'ƽ', 'Ç„' => 'dž', 'Ç…' => 'dž', 'LJ' => 'lj', 'Lj' => 'lj', 'ÇŠ' => 'ÇŒ', 'Ç‹' => 'ÇŒ', 'Ç' => 'ÇŽ', 'Ç' => 'Ç', 'Ç‘' => 'Ç’', 'Ç“' => 'Ç”', 'Ç•' => 'Ç–', 'Ç—' => 'ǘ', 'Ç™' => 'Çš', 'Ç›' => 'Çœ', 'Çž' => 'ÇŸ', 'Ç ' => 'Ç¡', 'Ç¢' => 'Ç£', 'Ǥ' => 'Ç¥', 'Ǧ' => 'ǧ', 'Ǩ' => 'Ç©', 'Ǫ' => 'Ç«', 'Ǭ' => 'Ç­', 'Ç®' => 'ǯ', 'DZ' => 'dz', 'Dz' => 'dz', 'Ç´' => 'ǵ', 'Ƕ' => 'Æ•', 'Ç·' => 'Æ¿', 'Ǹ' => 'ǹ', 'Ǻ' => 'Ç»', 'Ǽ' => 'ǽ', 'Ǿ' => 'Ç¿', 'È€' => 'È', 'È‚' => 'ȃ', 'È„' => 'È…', 'Ȇ' => 'ȇ', 'Ȉ' => 'ȉ', 'ÈŠ' => 'È‹', 'ÈŒ' => 'È', 'ÈŽ' => 'È', 'È' => 'È‘', 'È’' => 'È“', 'È”' => 'È•', 'È–' => 'È—', 'Ș' => 'È™', 'Èš' => 'È›', 'Èœ' => 'È', 'Èž' => 'ÈŸ', 'È ' => 'Æž', 'È¢' => 'È£', 'Ȥ' => 'È¥', 'Ȧ' => 'ȧ', 'Ȩ' => 'È©', 'Ȫ' => 'È«', 'Ȭ' => 'È­', 'È®' => 'ȯ', 'È°' => 'ȱ', 'Ȳ' => 'ȳ', 'Ⱥ' => 'â±¥', 'È»' => 'ȼ', 'Ƚ' => 'Æš', 'Ⱦ' => 'ⱦ', 'É' => 'É‚', 'Ƀ' => 'Æ€', 'É„' => 'ʉ', 'É…' => 'ÊŒ', 'Ɇ' => 'ɇ', 'Ɉ' => 'ɉ', 'ÉŠ' => 'É‹', 'ÉŒ' => 'É', 'ÉŽ' => 'É', 'Í°' => 'ͱ', 'Ͳ' => 'ͳ', 'Ͷ' => 'Í·', 'Í¿' => 'ϳ', 'Ά' => 'ά', 'Έ' => 'έ', 'Ή' => 'ή', 'Ί' => 'ί', 'ÎŒ' => 'ÏŒ', 'ÎŽ' => 'Ï', 'Î' => 'ÏŽ', 'Α' => 'α', 'Î’' => 'β', 'Γ' => 'γ', 'Δ' => 'δ', 'Ε' => 'ε', 'Ζ' => 'ζ', 'Η' => 'η', 'Θ' => 'θ', 'Ι' => 'ι', 'Κ' => 'κ', 'Λ' => 'λ', 'Îœ' => 'μ', 'Î' => 'ν', 'Ξ' => 'ξ', 'Ο' => 'ο', 'Π' => 'Ï€', 'Ρ' => 'Ï', 'Σ' => 'σ', 'Τ' => 'Ï„', 'Î¥' => 'Ï…', 'Φ' => 'φ', 'Χ' => 'χ', 'Ψ' => 'ψ', 'Ω' => 'ω', 'Ϊ' => 'ÏŠ', 'Ϋ' => 'Ï‹', 'Ï' => 'Ï—', 'Ϙ' => 'Ï™', 'Ïš' => 'Ï›', 'Ïœ' => 'Ï', 'Ïž' => 'ÏŸ', 'Ï ' => 'Ï¡', 'Ï¢' => 'Ï£', 'Ϥ' => 'Ï¥', 'Ϧ' => 'ϧ', 'Ϩ' => 'Ï©', 'Ϫ' => 'Ï«', 'Ϭ' => 'Ï­', 'Ï®' => 'ϯ', 'Ï´' => 'θ', 'Ï·' => 'ϸ', 'Ϲ' => 'ϲ', 'Ϻ' => 'Ï»', 'Ͻ' => 'Í»', 'Ͼ' => 'ͼ', 'Ï¿' => 'ͽ', 'Ѐ' => 'Ñ', 'Ð' => 'Ñ‘', 'Ђ' => 'Ñ’', 'Ѓ' => 'Ñ“', 'Є' => 'Ñ”', 'Ð…' => 'Ñ•', 'І' => 'Ñ–', 'Ї' => 'Ñ—', 'Ј' => 'ј', 'Љ' => 'Ñ™', 'Њ' => 'Ñš', 'Ћ' => 'Ñ›', 'ÐŒ' => 'Ñœ', 'Ð' => 'Ñ', 'ÐŽ' => 'Ñž', 'Ð' => 'ÑŸ', 'Ð' => 'а', 'Б' => 'б', 'Ð’' => 'в', 'Г' => 'г', 'Д' => 'д', 'Е' => 'е', 'Ж' => 'ж', 'З' => 'з', 'И' => 'и', 'Й' => 'й', 'К' => 'к', 'Л' => 'л', 'Ðœ' => 'м', 'Ð' => 'н', 'О' => 'о', 'П' => 'п', 'Р' => 'Ñ€', 'С' => 'Ñ', 'Т' => 'Ñ‚', 'У' => 'у', 'Ф' => 'Ñ„', 'Ð¥' => 'Ñ…', 'Ц' => 'ц', 'Ч' => 'ч', 'Ш' => 'ш', 'Щ' => 'щ', 'Ъ' => 'ÑŠ', 'Ы' => 'Ñ‹', 'Ь' => 'ÑŒ', 'Э' => 'Ñ', 'Ю' => 'ÑŽ', 'Я' => 'Ñ', 'Ñ ' => 'Ñ¡', 'Ñ¢' => 'Ñ£', 'Ѥ' => 'Ñ¥', 'Ѧ' => 'ѧ', 'Ѩ' => 'Ñ©', 'Ѫ' => 'Ñ«', 'Ѭ' => 'Ñ­', 'Ñ®' => 'ѯ', 'Ñ°' => 'ѱ', 'Ѳ' => 'ѳ', 'Ñ´' => 'ѵ', 'Ѷ' => 'Ñ·', 'Ѹ' => 'ѹ', 'Ѻ' => 'Ñ»', 'Ѽ' => 'ѽ', 'Ѿ' => 'Ñ¿', 'Ò€' => 'Ò', 'ÒŠ' => 'Ò‹', 'ÒŒ' => 'Ò', 'ÒŽ' => 'Ò', 'Ò' => 'Ò‘', 'Ò’' => 'Ò“', 'Ò”' => 'Ò•', 'Ò–' => 'Ò—', 'Ò˜' => 'Ò™', 'Òš' => 'Ò›', 'Òœ' => 'Ò', 'Òž' => 'ÒŸ', 'Ò ' => 'Ò¡', 'Ò¢' => 'Ò£', 'Ò¤' => 'Ò¥', 'Ò¦' => 'Ò§', 'Ò¨' => 'Ò©', 'Òª' => 'Ò«', 'Ò¬' => 'Ò­', 'Ò®' => 'Ò¯', 'Ò°' => 'Ò±', 'Ò²' => 'Ò³', 'Ò´' => 'Òµ', 'Ò¶' => 'Ò·', 'Ò¸' => 'Ò¹', 'Òº' => 'Ò»', 'Ò¼' => 'Ò½', 'Ò¾' => 'Ò¿', 'Ó€' => 'Ó', 'Ó' => 'Ó‚', 'Óƒ' => 'Ó„', 'Ó…' => 'Ó†', 'Ó‡' => 'Óˆ', 'Ó‰' => 'ÓŠ', 'Ó‹' => 'ÓŒ', 'Ó' => 'ÓŽ', 'Ó' => 'Ó‘', 'Ó’' => 'Ó“', 'Ó”' => 'Ó•', 'Ó–' => 'Ó—', 'Ó˜' => 'Ó™', 'Óš' => 'Ó›', 'Óœ' => 'Ó', 'Óž' => 'ÓŸ', 'Ó ' => 'Ó¡', 'Ó¢' => 'Ó£', 'Ó¤' => 'Ó¥', 'Ó¦' => 'Ó§', 'Ó¨' => 'Ó©', 'Óª' => 'Ó«', 'Ó¬' => 'Ó­', 'Ó®' => 'Ó¯', 'Ó°' => 'Ó±', 'Ó²' => 'Ó³', 'Ó´' => 'Óµ', 'Ó¶' => 'Ó·', 'Ó¸' => 'Ó¹', 'Óº' => 'Ó»', 'Ó¼' => 'Ó½', 'Ó¾' => 'Ó¿', 'Ô€' => 'Ô', 'Ô‚' => 'Ôƒ', 'Ô„' => 'Ô…', 'Ô†' => 'Ô‡', 'Ôˆ' => 'Ô‰', 'ÔŠ' => 'Ô‹', 'ÔŒ' => 'Ô', 'ÔŽ' => 'Ô', 'Ô' => 'Ô‘', 'Ô’' => 'Ô“', 'Ô”' => 'Ô•', 'Ô–' => 'Ô—', 'Ô˜' => 'Ô™', 'Ôš' => 'Ô›', 'Ôœ' => 'Ô', 'Ôž' => 'ÔŸ', 'Ô ' => 'Ô¡', 'Ô¢' => 'Ô£', 'Ô¤' => 'Ô¥', 'Ô¦' => 'Ô§', 'Ô¨' => 'Ô©', 'Ôª' => 'Ô«', 'Ô¬' => 'Ô­', 'Ô®' => 'Ô¯', 'Ô±' => 'Õ¡', 'Ô²' => 'Õ¢', 'Ô³' => 'Õ£', 'Ô´' => 'Õ¤', 'Ôµ' => 'Õ¥', 'Ô¶' => 'Õ¦', 'Ô·' => 'Õ§', 'Ô¸' => 'Õ¨', 'Ô¹' => 'Õ©', 'Ôº' => 'Õª', 'Ô»' => 'Õ«', 'Ô¼' => 'Õ¬', 'Ô½' => 'Õ­', 'Ô¾' => 'Õ®', 'Ô¿' => 'Õ¯', 'Õ€' => 'Õ°', 'Õ' => 'Õ±', 'Õ‚' => 'Õ²', 'Õƒ' => 'Õ³', 'Õ„' => 'Õ´', 'Õ…' => 'Õµ', 'Õ†' => 'Õ¶', 'Õ‡' => 'Õ·', 'Õˆ' => 'Õ¸', 'Õ‰' => 'Õ¹', 'ÕŠ' => 'Õº', 'Õ‹' => 'Õ»', 'ÕŒ' => 'Õ¼', 'Õ' => 'Õ½', 'ÕŽ' => 'Õ¾', 'Õ' => 'Õ¿', 'Õ' => 'Ö€', 'Õ‘' => 'Ö', 'Õ’' => 'Ö‚', 'Õ“' => 'Öƒ', 'Õ”' => 'Ö„', 'Õ•' => 'Ö…', 'Õ–' => 'Ö†', 'á‚ ' => 'â´€', 'á‚¡' => 'â´', 'á‚¢' => 'â´‚', 'á‚£' => 'â´ƒ', 'Ⴄ' => 'â´„', 'á‚¥' => 'â´…', 'Ⴆ' => 'â´†', 'Ⴇ' => 'â´‡', 'Ⴈ' => 'â´ˆ', 'á‚©' => 'â´‰', 'Ⴊ' => 'â´Š', 'á‚«' => 'â´‹', 'Ⴌ' => 'â´Œ', 'á‚­' => 'â´', 'á‚®' => 'â´Ž', 'Ⴏ' => 'â´', 'á‚°' => 'â´', 'Ⴑ' => 'â´‘', 'Ⴒ' => 'â´’', 'Ⴓ' => 'â´“', 'á‚´' => 'â´”', 'Ⴕ' => 'â´•', 'Ⴖ' => 'â´–', 'á‚·' => 'â´—', 'Ⴘ' => 'â´˜', 'Ⴙ' => 'â´™', 'Ⴚ' => 'â´š', 'á‚»' => 'â´›', 'Ⴜ' => 'â´œ', 'Ⴝ' => 'â´', 'Ⴞ' => 'â´ž', 'á‚¿' => 'â´Ÿ', 'Ⴠ' => 'â´ ', 'áƒ' => 'â´¡', 'Ⴢ' => 'â´¢', 'Ⴣ' => 'â´£', 'Ⴤ' => 'â´¤', 'Ⴥ' => 'â´¥', 'Ⴧ' => 'â´§', 'áƒ' => 'â´­', 'Ꭰ' => 'ê­°', 'Ꭱ' => 'ê­±', 'Ꭲ' => 'ê­²', 'Ꭳ' => 'ê­³', 'Ꭴ' => 'ê­´', 'Ꭵ' => 'ê­µ', 'Ꭶ' => 'ê­¶', 'Ꭷ' => 'ê­·', 'Ꭸ' => 'ê­¸', 'Ꭹ' => 'ê­¹', 'Ꭺ' => 'ê­º', 'Ꭻ' => 'ê­»', 'Ꭼ' => 'ê­¼', 'Ꭽ' => 'ê­½', 'Ꭾ' => 'ê­¾', 'Ꭿ' => 'ê­¿', 'Ꮀ' => 'ꮀ', 'Ꮁ' => 'ê®', 'Ꮂ' => 'ꮂ', 'Ꮃ' => 'ꮃ', 'Ꮄ' => 'ꮄ', 'Ꮅ' => 'ê®…', 'Ꮆ' => 'ꮆ', 'Ꮇ' => 'ꮇ', 'Ꮈ' => 'ꮈ', 'Ꮉ' => 'ꮉ', 'Ꮊ' => 'ꮊ', 'Ꮋ' => 'ꮋ', 'Ꮌ' => 'ꮌ', 'Ꮍ' => 'ê®', 'Ꮎ' => 'ꮎ', 'Ꮏ' => 'ê®', 'á€' => 'ê®', 'á' => 'ꮑ', 'á‚' => 'ê®’', 'áƒ' => 'ꮓ', 'á„' => 'ê®”', 'á…' => 'ꮕ', 'á†' => 'ê®–', 'á‡' => 'ê®—', 'áˆ' => 'ꮘ', 'á‰' => 'ê®™', 'áŠ' => 'ꮚ', 'á‹' => 'ê®›', 'áŒ' => 'ꮜ', 'á' => 'ê®', 'áŽ' => 'ꮞ', 'á' => 'ꮟ', 'á' => 'ê® ', 'á‘' => 'ꮡ', 'á’' => 'ꮢ', 'á“' => 'ꮣ', 'á”' => 'ꮤ', 'á•' => 'ꮥ', 'á–' => 'ꮦ', 'á—' => 'ꮧ', 'á˜' => 'ꮨ', 'á™' => 'ꮩ', 'áš' => 'ꮪ', 'á›' => 'ꮫ', 'áœ' => 'ꮬ', 'á' => 'ê®­', 'áž' => 'ê®®', 'áŸ' => 'ꮯ', 'á ' => 'ê®°', 'á¡' => 'ê®±', 'á¢' => 'ꮲ', 'á£' => 'ꮳ', 'á¤' => 'ê®´', 'á¥' => 'ꮵ', 'á¦' => 'ꮶ', 'á§' => 'ê®·', 'á¨' => 'ꮸ', 'á©' => 'ꮹ', 'áª' => 'ꮺ', 'á«' => 'ê®»', 'á¬' => 'ꮼ', 'á­' => 'ꮽ', 'á®' => 'ꮾ', 'á¯' => 'ꮿ', 'á°' => 'á¸', 'á±' => 'á¹', 'á²' => 'áº', 'á³' => 'á»', 'á´' => 'á¼', 'áµ' => 'á½', 'á²' => 'áƒ', 'Ბ' => 'ბ', 'á²’' => 'გ', 'Დ' => 'დ', 'á²”' => 'ე', 'Ვ' => 'ვ', 'á²–' => 'ზ', 'á²—' => 'თ', 'Ი' => 'ი', 'á²™' => 'კ', 'Ლ' => 'ლ', 'á²›' => 'მ', 'Ნ' => 'ნ', 'á²' => 'áƒ', 'Პ' => 'პ', 'Ჟ' => 'ჟ', 'á² ' => 'რ', 'Ს' => 'ს', 'á²¢' => 'ტ', 'á²£' => 'უ', 'Ფ' => 'ფ', 'á²¥' => 'ქ', 'Ღ' => 'ღ', 'Ყ' => 'ყ', 'Შ' => 'შ', 'Ჩ' => 'ჩ', 'Ც' => 'ც', 'Ძ' => 'ძ', 'Წ' => 'წ', 'á²­' => 'ჭ', 'á²®' => 'ხ', 'Ჯ' => 'ჯ', 'á²°' => 'ჰ', 'á²±' => 'ჱ', 'á²²' => 'ჲ', 'á²³' => 'ჳ', 'á²´' => 'ჴ', 'á²µ' => 'ჵ', 'Ჶ' => 'ჶ', 'á²·' => 'ჷ', 'Ჸ' => 'ჸ', 'á²¹' => 'ჹ', 'Ჺ' => 'ჺ', 'á²½' => 'ჽ', 'á²¾' => 'ჾ', 'Ჿ' => 'ჿ', 'Ḁ' => 'á¸', 'Ḃ' => 'ḃ', 'Ḅ' => 'ḅ', 'Ḇ' => 'ḇ', 'Ḉ' => 'ḉ', 'Ḋ' => 'ḋ', 'Ḍ' => 'á¸', 'Ḏ' => 'á¸', 'á¸' => 'ḑ', 'Ḓ' => 'ḓ', 'Ḕ' => 'ḕ', 'Ḗ' => 'ḗ', 'Ḙ' => 'ḙ', 'Ḛ' => 'ḛ', 'Ḝ' => 'á¸', 'Ḟ' => 'ḟ', 'Ḡ' => 'ḡ', 'Ḣ' => 'ḣ', 'Ḥ' => 'ḥ', 'Ḧ' => 'ḧ', 'Ḩ' => 'ḩ', 'Ḫ' => 'ḫ', 'Ḭ' => 'ḭ', 'Ḯ' => 'ḯ', 'Ḱ' => 'ḱ', 'Ḳ' => 'ḳ', 'Ḵ' => 'ḵ', 'Ḷ' => 'ḷ', 'Ḹ' => 'ḹ', 'Ḻ' => 'ḻ', 'Ḽ' => 'ḽ', 'Ḿ' => 'ḿ', 'á¹€' => 'á¹', 'Ṃ' => 'ṃ', 'Ṅ' => 'á¹…', 'Ṇ' => 'ṇ', 'Ṉ' => 'ṉ', 'Ṋ' => 'ṋ', 'Ṍ' => 'á¹', 'Ṏ' => 'á¹', 'á¹' => 'ṑ', 'á¹’' => 'ṓ', 'á¹”' => 'ṕ', 'á¹–' => 'á¹—', 'Ṙ' => 'á¹™', 'Ṛ' => 'á¹›', 'Ṝ' => 'á¹', 'Ṟ' => 'ṟ', 'á¹ ' => 'ṡ', 'á¹¢' => 'á¹£', 'Ṥ' => 'á¹¥', 'Ṧ' => 'ṧ', 'Ṩ' => 'ṩ', 'Ṫ' => 'ṫ', 'Ṭ' => 'á¹­', 'á¹®' => 'ṯ', 'á¹°' => 'á¹±', 'á¹²' => 'á¹³', 'á¹´' => 'á¹µ', 'Ṷ' => 'á¹·', 'Ṹ' => 'á¹¹', 'Ṻ' => 'á¹»', 'á¹¼' => 'á¹½', 'á¹¾' => 'ṿ', 'Ẁ' => 'áº', 'Ẃ' => 'ẃ', 'Ẅ' => 'ẅ', 'Ẇ' => 'ẇ', 'Ẉ' => 'ẉ', 'Ẋ' => 'ẋ', 'Ẍ' => 'áº', 'Ẏ' => 'áº', 'áº' => 'ẑ', 'Ẓ' => 'ẓ', 'Ẕ' => 'ẕ', 'ẞ' => 'ß', 'Ạ' => 'ạ', 'Ả' => 'ả', 'Ấ' => 'ấ', 'Ầ' => 'ầ', 'Ẩ' => 'ẩ', 'Ẫ' => 'ẫ', 'Ậ' => 'ậ', 'Ắ' => 'ắ', 'Ằ' => 'ằ', 'Ẳ' => 'ẳ', 'Ẵ' => 'ẵ', 'Ặ' => 'ặ', 'Ẹ' => 'ẹ', 'Ẻ' => 'ẻ', 'Ẽ' => 'ẽ', 'Ế' => 'ế', 'Ề' => 'á»', 'Ể' => 'ể', 'Ễ' => 'á»…', 'Ệ' => 'ệ', 'Ỉ' => 'ỉ', 'Ị' => 'ị', 'Ọ' => 'á»', 'Ỏ' => 'á»', 'á»' => 'ố', 'á»’' => 'ồ', 'á»”' => 'ổ', 'á»–' => 'á»—', 'Ộ' => 'á»™', 'Ớ' => 'á»›', 'Ờ' => 'á»', 'Ở' => 'ở', 'á» ' => 'ỡ', 'Ợ' => 'ợ', 'Ụ' => 'ụ', 'Ủ' => 'ủ', 'Ứ' => 'ứ', 'Ừ' => 'ừ', 'Ử' => 'á»­', 'á»®' => 'ữ', 'á»°' => 'á»±', 'Ỳ' => 'ỳ', 'á»´' => 'ỵ', 'Ỷ' => 'á»·', 'Ỹ' => 'ỹ', 'Ỻ' => 'á»»', 'Ỽ' => 'ỽ', 'Ỿ' => 'ỿ', 'Ἀ' => 'á¼€', 'Ἁ' => 'á¼', 'Ἂ' => 'ἂ', 'Ἃ' => 'ἃ', 'Ἄ' => 'ἄ', 'á¼' => 'á¼…', 'Ἆ' => 'ἆ', 'á¼' => 'ἇ', 'Ἐ' => 'á¼', 'á¼™' => 'ἑ', 'Ἒ' => 'á¼’', 'á¼›' => 'ἓ', 'Ἔ' => 'á¼”', 'á¼' => 'ἕ', 'Ἠ' => 'á¼ ', 'Ἡ' => 'ἡ', 'Ἢ' => 'á¼¢', 'Ἣ' => 'á¼£', 'Ἤ' => 'ἤ', 'á¼­' => 'á¼¥', 'á¼®' => 'ἦ', 'Ἧ' => 'ἧ', 'Ἰ' => 'á¼°', 'á¼¹' => 'á¼±', 'Ἲ' => 'á¼²', 'á¼»' => 'á¼³', 'á¼¼' => 'á¼´', 'á¼½' => 'á¼µ', 'á¼¾' => 'ἶ', 'Ἷ' => 'á¼·', 'Ὀ' => 'á½€', 'Ὁ' => 'á½', 'Ὂ' => 'ὂ', 'Ὃ' => 'ὃ', 'Ὄ' => 'ὄ', 'á½' => 'á½…', 'á½™' => 'ὑ', 'á½›' => 'ὓ', 'á½' => 'ὕ', 'Ὗ' => 'á½—', 'Ὠ' => 'á½ ', 'Ὡ' => 'ὡ', 'Ὢ' => 'á½¢', 'Ὣ' => 'á½£', 'Ὤ' => 'ὤ', 'á½­' => 'á½¥', 'á½®' => 'ὦ', 'Ὧ' => 'ὧ', 'ᾈ' => 'á¾€', 'ᾉ' => 'á¾', 'ᾊ' => 'ᾂ', 'ᾋ' => 'ᾃ', 'ᾌ' => 'ᾄ', 'á¾' => 'á¾…', 'ᾎ' => 'ᾆ', 'á¾' => 'ᾇ', 'ᾘ' => 'á¾', 'á¾™' => 'ᾑ', 'ᾚ' => 'á¾’', 'á¾›' => 'ᾓ', 'ᾜ' => 'á¾”', 'á¾' => 'ᾕ', 'ᾞ' => 'á¾–', 'ᾟ' => 'á¾—', 'ᾨ' => 'á¾ ', 'ᾩ' => 'ᾡ', 'ᾪ' => 'á¾¢', 'ᾫ' => 'á¾£', 'ᾬ' => 'ᾤ', 'á¾­' => 'á¾¥', 'á¾®' => 'ᾦ', 'ᾯ' => 'ᾧ', 'Ᾰ' => 'á¾°', 'á¾¹' => 'á¾±', 'Ὰ' => 'á½°', 'á¾»' => 'á½±', 'á¾¼' => 'á¾³', 'Ὲ' => 'á½²', 'Έ' => 'á½³', 'á¿Š' => 'á½´', 'á¿‹' => 'á½µ', 'á¿Œ' => 'ῃ', 'Ῐ' => 'á¿', 'á¿™' => 'á¿‘', 'á¿š' => 'ὶ', 'á¿›' => 'á½·', 'Ῠ' => 'á¿ ', 'á¿©' => 'á¿¡', 'Ὺ' => 'ὺ', 'á¿«' => 'á½»', 'Ῥ' => 'á¿¥', 'Ὸ' => 'ὸ', 'Ό' => 'á½¹', 'Ὼ' => 'á½¼', 'á¿»' => 'á½½', 'ῼ' => 'ῳ', 'Ω' => 'ω', 'K' => 'k', 'â„«' => 'Ã¥', 'Ⅎ' => 'â…Ž', 'â… ' => 'â…°', 'â…¡' => 'â…±', 'â…¢' => 'â…²', 'â…£' => 'â…³', 'â…¤' => 'â…´', 'â…¥' => 'â…µ', 'â…¦' => 'â…¶', 'â…§' => 'â…·', 'â…¨' => 'â…¸', 'â…©' => 'â…¹', 'â…ª' => 'â…º', 'â…«' => 'â…»', 'â…¬' => 'â…¼', 'â…­' => 'â…½', 'â…®' => 'â…¾', 'â…¯' => 'â…¿', 'Ↄ' => 'ↄ', 'â’¶' => 'â“', 'â’·' => 'â“‘', 'â’¸' => 'â“’', 'â’¹' => 'â““', 'â’º' => 'â“”', 'â’»' => 'â“•', 'â’¼' => 'â“–', 'â’½' => 'â“—', 'â’¾' => 'ⓘ', 'â’¿' => 'â“™', 'â“€' => 'â“š', 'â“' => 'â“›', 'â“‚' => 'â“œ', 'Ⓝ' => 'â“', 'â“„' => 'â“ž', 'â“…' => 'â“Ÿ', 'Ⓠ' => 'â“ ', 'Ⓡ' => 'â“¡', 'Ⓢ' => 'â“¢', 'Ⓣ' => 'â“£', 'â“Š' => 'ⓤ', 'â“‹' => 'â“¥', 'â“Œ' => 'ⓦ', 'â“' => 'ⓧ', 'â“Ž' => 'ⓨ', 'â“' => 'â“©', 'â°€' => 'â°°', 'â°' => 'â°±', 'â°‚' => 'â°²', 'â°ƒ' => 'â°³', 'â°„' => 'â°´', 'â°…' => 'â°µ', 'â°†' => 'â°¶', 'â°‡' => 'â°·', 'â°ˆ' => 'â°¸', 'â°‰' => 'â°¹', 'â°Š' => 'â°º', 'â°‹' => 'â°»', 'â°Œ' => 'â°¼', 'â°' => 'â°½', 'â°Ž' => 'â°¾', 'â°' => 'â°¿', 'â°' => 'â±€', 'â°‘' => 'â±', 'â°’' => 'ⱂ', 'â°“' => 'ⱃ', 'â°”' => 'ⱄ', 'â°•' => 'â±…', 'â°–' => 'ⱆ', 'â°—' => 'ⱇ', 'â°˜' => 'ⱈ', 'â°™' => 'ⱉ', 'â°š' => 'ⱊ', 'â°›' => 'ⱋ', 'â°œ' => 'ⱌ', 'â°' => 'â±', 'â°ž' => 'ⱎ', 'â°Ÿ' => 'â±', 'â° ' => 'â±', 'â°¡' => 'ⱑ', 'â°¢' => 'â±’', 'â°£' => 'ⱓ', 'â°¤' => 'â±”', 'â°¥' => 'ⱕ', 'â°¦' => 'â±–', 'â°§' => 'â±—', 'â°¨' => 'ⱘ', 'â°©' => 'â±™', 'â°ª' => 'ⱚ', 'â°«' => 'â±›', 'â°¬' => 'ⱜ', 'â°­' => 'â±', 'â°®' => 'ⱞ', 'â± ' => 'ⱡ', 'â±¢' => 'É«', 'â±£' => 'áµ½', 'Ɽ' => 'ɽ', 'Ⱨ' => 'ⱨ', 'Ⱪ' => 'ⱪ', 'Ⱬ' => 'ⱬ', 'â±­' => 'É‘', 'â±®' => 'ɱ', 'Ɐ' => 'É', 'â±°' => 'É’', 'â±²' => 'â±³', 'â±µ' => 'ⱶ', 'â±¾' => 'È¿', 'Ɀ' => 'É€', 'â²€' => 'â²', 'Ⲃ' => 'ⲃ', 'Ⲅ' => 'â²…', 'Ⲇ' => 'ⲇ', 'Ⲉ' => 'ⲉ', 'Ⲋ' => 'ⲋ', 'Ⲍ' => 'â²', 'Ⲏ' => 'â²', 'â²' => 'ⲑ', 'â²’' => 'ⲓ', 'â²”' => 'ⲕ', 'â²–' => 'â²—', 'Ⲙ' => 'â²™', 'Ⲛ' => 'â²›', 'Ⲝ' => 'â²', 'Ⲟ' => 'ⲟ', 'â² ' => 'ⲡ', 'â²¢' => 'â²£', 'Ⲥ' => 'â²¥', 'Ⲧ' => 'ⲧ', 'Ⲩ' => 'ⲩ', 'Ⲫ' => 'ⲫ', 'Ⲭ' => 'â²­', 'â²®' => 'ⲯ', 'â²°' => 'â²±', 'â²²' => 'â²³', 'â²´' => 'â²µ', 'Ⲷ' => 'â²·', 'Ⲹ' => 'â²¹', 'Ⲻ' => 'â²»', 'â²¼' => 'â²½', 'â²¾' => 'ⲿ', 'â³€' => 'â³', 'Ⳃ' => 'ⳃ', 'Ⳅ' => 'â³…', 'Ⳇ' => 'ⳇ', 'Ⳉ' => 'ⳉ', 'Ⳋ' => 'ⳋ', 'Ⳍ' => 'â³', 'Ⳏ' => 'â³', 'â³' => 'ⳑ', 'â³’' => 'ⳓ', 'â³”' => 'ⳕ', 'â³–' => 'â³—', 'Ⳙ' => 'â³™', 'Ⳛ' => 'â³›', 'Ⳝ' => 'â³', 'Ⳟ' => 'ⳟ', 'â³ ' => 'ⳡ', 'â³¢' => 'â³£', 'Ⳬ' => 'ⳬ', 'â³­' => 'â³®', 'â³²' => 'â³³', 'Ꙁ' => 'ê™', 'Ꙃ' => 'ꙃ', 'Ꙅ' => 'ê™…', 'Ꙇ' => 'ꙇ', 'Ꙉ' => 'ꙉ', 'Ꙋ' => 'ꙋ', 'Ꙍ' => 'ê™', 'Ꙏ' => 'ê™', 'ê™' => 'ꙑ', 'ê™’' => 'ꙓ', 'ê™”' => 'ꙕ', 'ê™–' => 'ê™—', 'Ꙙ' => 'ê™™', 'Ꙛ' => 'ê™›', 'Ꙝ' => 'ê™', 'Ꙟ' => 'ꙟ', 'ê™ ' => 'ꙡ', 'Ꙣ' => 'ꙣ', 'Ꙥ' => 'ꙥ', 'Ꙧ' => 'ꙧ', 'Ꙩ' => 'ꙩ', 'Ꙫ' => 'ꙫ', 'Ꙭ' => 'ê™­', 'Ꚁ' => 'êš', 'êš‚' => 'ꚃ', 'êš„' => 'êš…', 'Ꚇ' => 'ꚇ', 'Ꚉ' => 'ꚉ', 'Ꚋ' => 'êš‹', 'Ꚍ' => 'êš', 'Ꚏ' => 'êš', 'êš' => 'êš‘', 'êš’' => 'êš“', 'êš”' => 'êš•', 'êš–' => 'êš—', 'Ꚙ' => 'êš™', 'êšš' => 'êš›', 'Ꜣ' => 'ꜣ', 'Ꜥ' => 'ꜥ', 'Ꜧ' => 'ꜧ', 'Ꜩ' => 'ꜩ', 'Ꜫ' => 'ꜫ', 'Ꜭ' => 'ꜭ', 'Ꜯ' => 'ꜯ', 'Ꜳ' => 'ꜳ', 'Ꜵ' => 'ꜵ', 'Ꜷ' => 'ꜷ', 'Ꜹ' => 'ꜹ', 'Ꜻ' => 'ꜻ', 'Ꜽ' => 'ꜽ', 'Ꜿ' => 'ꜿ', 'ê€' => 'ê', 'ê‚' => 'êƒ', 'ê„' => 'ê…', 'ê†' => 'ê‡', 'êˆ' => 'ê‰', 'êŠ' => 'ê‹', 'êŒ' => 'ê', 'êŽ' => 'ê', 'ê' => 'ê‘', 'ê’' => 'ê“', 'ê”' => 'ê•', 'ê–' => 'ê—', 'ê˜' => 'ê™', 'êš' => 'ê›', 'êœ' => 'ê', 'êž' => 'êŸ', 'ê ' => 'ê¡', 'ê¢' => 'ê£', 'ê¤' => 'ê¥', 'ê¦' => 'ê§', 'ê¨' => 'ê©', 'êª' => 'ê«', 'ê¬' => 'ê­', 'ê®' => 'ê¯', 'ê¹' => 'êº', 'ê»' => 'ê¼', 'ê½' => 'áµ¹', 'ê¾' => 'ê¿', 'Ꞁ' => 'êž', 'êž‚' => 'ꞃ', 'êž„' => 'êž…', 'Ꞇ' => 'ꞇ', 'êž‹' => 'ꞌ', 'êž' => 'É¥', 'êž' => 'êž‘', 'êž’' => 'êž“', 'êž–' => 'êž—', 'Ꞙ' => 'êž™', 'êžš' => 'êž›', 'êžœ' => 'êž', 'êžž' => 'ꞟ', 'êž ' => 'êž¡', 'Ꞣ' => 'ꞣ', 'Ꞥ' => 'ꞥ', 'Ꞧ' => 'ꞧ', 'Ꞩ' => 'êž©', 'Ɦ' => 'ɦ', 'êž«' => 'Éœ', 'Ɡ' => 'É¡', 'êž­' => 'ɬ', 'êž®' => 'ɪ', 'êž°' => 'Êž', 'êž±' => 'ʇ', 'êž²' => 'Ê', 'êž³' => 'ê­“', 'êž´' => 'êžµ', 'Ꞷ' => 'êž·', 'Ꞹ' => 'êž¹', 'Ꞻ' => 'êž»', 'êž¼' => 'êž½', 'êž¾' => 'êž¿', 'Ꟃ' => 'ꟃ', 'Ꞔ' => 'êž”', 'Ʂ' => 'Ê‚', 'Ᶎ' => 'ᶎ', 'Ꟈ' => 'ꟈ', 'Ꟊ' => 'ꟊ', 'Ꟶ' => 'ꟶ', 'A' => 'ï½', 'ï¼¢' => 'b', 'ï¼£' => 'c', 'D' => 'd', 'ï¼¥' => 'ï½…', 'F' => 'f', 'G' => 'g', 'H' => 'h', 'I' => 'i', 'J' => 'j', 'K' => 'k', 'L' => 'l', 'ï¼­' => 'ï½', 'ï¼®' => 'n', 'O' => 'ï½', 'ï¼°' => 'ï½', 'ï¼±' => 'q', 'ï¼²' => 'ï½’', 'ï¼³' => 's', 'ï¼´' => 'ï½”', 'ï¼µ' => 'u', 'V' => 'ï½–', 'ï¼·' => 'ï½—', 'X' => 'x', 'ï¼¹' => 'ï½™', 'Z' => 'z', 'ð€' => 'ð¨', 'ð' => 'ð©', 'ð‚' => 'ðª', 'ðƒ' => 'ð«', 'ð„' => 'ð¬', 'ð…' => 'ð­', 'ð†' => 'ð®', 'ð‡' => 'ð¯', 'ðˆ' => 'ð°', 'ð‰' => 'ð±', 'ðŠ' => 'ð²', 'ð‹' => 'ð³', 'ðŒ' => 'ð´', 'ð' => 'ðµ', 'ðŽ' => 'ð¶', 'ð' => 'ð·', 'ð' => 'ð¸', 'ð‘' => 'ð¹', 'ð’' => 'ðº', 'ð“' => 'ð»', 'ð”' => 'ð¼', 'ð•' => 'ð½', 'ð–' => 'ð¾', 'ð—' => 'ð¿', 'ð˜' => 'ð‘€', 'ð™' => 'ð‘', 'ðš' => 'ð‘‚', 'ð›' => 'ð‘ƒ', 'ðœ' => 'ð‘„', 'ð' => 'ð‘…', 'ðž' => 'ð‘†', 'ðŸ' => 'ð‘‡', 'ð ' => 'ð‘ˆ', 'ð¡' => 'ð‘‰', 'ð¢' => 'ð‘Š', 'ð£' => 'ð‘‹', 'ð¤' => 'ð‘Œ', 'ð¥' => 'ð‘', 'ð¦' => 'ð‘Ž', 'ð§' => 'ð‘', 'ð’°' => 'ð“˜', 'ð’±' => 'ð“™', 'ð’²' => 'ð“š', 'ð’³' => 'ð“›', 'ð’´' => 'ð“œ', 'ð’µ' => 'ð“', 'ð’¶' => 'ð“ž', 'ð’·' => 'ð“Ÿ', 'ð’¸' => 'ð“ ', 'ð’¹' => 'ð“¡', 'ð’º' => 'ð“¢', 'ð’»' => 'ð“£', 'ð’¼' => 'ð“¤', 'ð’½' => 'ð“¥', 'ð’¾' => 'ð“¦', 'ð’¿' => 'ð“§', 'ð“€' => 'ð“¨', 'ð“' => 'ð“©', 'ð“‚' => 'ð“ª', 'ð“ƒ' => 'ð“«', 'ð“„' => 'ð“¬', 'ð“…' => 'ð“­', 'ð“†' => 'ð“®', 'ð“‡' => 'ð“¯', 'ð“ˆ' => 'ð“°', 'ð“‰' => 'ð“±', 'ð“Š' => 'ð“²', 'ð“‹' => 'ð“³', 'ð“Œ' => 'ð“´', 'ð“' => 'ð“µ', 'ð“Ž' => 'ð“¶', 'ð“' => 'ð“·', 'ð“' => 'ð“¸', 'ð“‘' => 'ð“¹', 'ð“’' => 'ð“º', 'ð““' => 'ð“»', 'ð²€' => 'ð³€', 'ð²' => 'ð³', 'ð²‚' => 'ð³‚', 'ð²ƒ' => 'ð³ƒ', 'ð²„' => 'ð³„', 'ð²…' => 'ð³…', 'ð²†' => 'ð³†', 'ð²‡' => 'ð³‡', 'ð²ˆ' => 'ð³ˆ', 'ð²‰' => 'ð³‰', 'ð²Š' => 'ð³Š', 'ð²‹' => 'ð³‹', 'ð²Œ' => 'ð³Œ', 'ð²' => 'ð³', 'ð²Ž' => 'ð³Ž', 'ð²' => 'ð³', 'ð²' => 'ð³', 'ð²‘' => 'ð³‘', 'ð²’' => 'ð³’', 'ð²“' => 'ð³“', 'ð²”' => 'ð³”', 'ð²•' => 'ð³•', 'ð²–' => 'ð³–', 'ð²—' => 'ð³—', 'ð²˜' => 'ð³˜', 'ð²™' => 'ð³™', 'ð²š' => 'ð³š', 'ð²›' => 'ð³›', 'ð²œ' => 'ð³œ', 'ð²' => 'ð³', 'ð²ž' => 'ð³ž', 'ð²Ÿ' => 'ð³Ÿ', 'ð² ' => 'ð³ ', 'ð²¡' => 'ð³¡', 'ð²¢' => 'ð³¢', 'ð²£' => 'ð³£', 'ð²¤' => 'ð³¤', 'ð²¥' => 'ð³¥', 'ð²¦' => 'ð³¦', 'ð²§' => 'ð³§', 'ð²¨' => 'ð³¨', 'ð²©' => 'ð³©', 'ð²ª' => 'ð³ª', 'ð²«' => 'ð³«', 'ð²¬' => 'ð³¬', 'ð²­' => 'ð³­', 'ð²®' => 'ð³®', 'ð²¯' => 'ð³¯', 'ð²°' => 'ð³°', 'ð²±' => 'ð³±', 'ð²²' => 'ð³²', 'ð‘¢ ' => 'ð‘£€', '𑢡' => 'ð‘£', 'ð‘¢¢' => '𑣂', 'ð‘¢£' => '𑣃', '𑢤' => '𑣄', 'ð‘¢¥' => 'ð‘£…', '𑢦' => '𑣆', '𑢧' => '𑣇', '𑢨' => '𑣈', '𑢩' => '𑣉', '𑢪' => '𑣊', '𑢫' => '𑣋', '𑢬' => '𑣌', 'ð‘¢­' => 'ð‘£', 'ð‘¢®' => '𑣎', '𑢯' => 'ð‘£', 'ð‘¢°' => 'ð‘£', 'ð‘¢±' => '𑣑', 'ð‘¢²' => 'ð‘£’', 'ð‘¢³' => '𑣓', 'ð‘¢´' => 'ð‘£”', 'ð‘¢µ' => '𑣕', '𑢶' => 'ð‘£–', 'ð‘¢·' => 'ð‘£—', '𑢸' => '𑣘', 'ð‘¢¹' => 'ð‘£™', '𑢺' => '𑣚', 'ð‘¢»' => 'ð‘£›', 'ð‘¢¼' => '𑣜', 'ð‘¢½' => 'ð‘£', 'ð‘¢¾' => '𑣞', '𑢿' => '𑣟', 'ð–¹€' => 'ð–¹ ', 'ð–¹' => '𖹡', '𖹂' => 'ð–¹¢', '𖹃' => 'ð–¹£', '𖹄' => '𖹤', 'ð–¹…' => 'ð–¹¥', '𖹆' => '𖹦', '𖹇' => '𖹧', '𖹈' => '𖹨', '𖹉' => '𖹩', '𖹊' => '𖹪', '𖹋' => '𖹫', '𖹌' => '𖹬', 'ð–¹' => 'ð–¹­', '𖹎' => 'ð–¹®', 'ð–¹' => '𖹯', 'ð–¹' => 'ð–¹°', '𖹑' => 'ð–¹±', 'ð–¹’' => 'ð–¹²', '𖹓' => 'ð–¹³', 'ð–¹”' => 'ð–¹´', '𖹕' => 'ð–¹µ', 'ð–¹–' => '𖹶', 'ð–¹—' => 'ð–¹·', '𖹘' => '𖹸', 'ð–¹™' => 'ð–¹¹', '𖹚' => '𖹺', 'ð–¹›' => 'ð–¹»', '𖹜' => 'ð–¹¼', 'ð–¹' => 'ð–¹½', '𖹞' => 'ð–¹¾', '𖹟' => '𖹿', '𞤀' => '𞤢', 'ðž¤' => '𞤣', '𞤂' => '𞤤', '𞤃' => '𞤥', '𞤄' => '𞤦', '𞤅' => '𞤧', '𞤆' => '𞤨', '𞤇' => '𞤩', '𞤈' => '𞤪', '𞤉' => '𞤫', '𞤊' => '𞤬', '𞤋' => '𞤭', '𞤌' => '𞤮', 'ðž¤' => '𞤯', '𞤎' => '𞤰', 'ðž¤' => '𞤱', 'ðž¤' => '𞤲', '𞤑' => '𞤳', '𞤒' => '𞤴', '𞤓' => '𞤵', '𞤔' => '𞤶', '𞤕' => '𞤷', '𞤖' => '𞤸', '𞤗' => '𞤹', '𞤘' => '𞤺', '𞤙' => '𞤻', '𞤚' => '𞤼', '𞤛' => '𞤽', '𞤜' => '𞤾', 'ðž¤' => '𞤿', '𞤞' => '𞥀', '𞤟' => 'ðž¥', '𞤠' => '𞥂', '𞤡' => '𞥃'); diff --git a/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php b/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php index 3e629328808..b2d91eb47a1 100644 --- a/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php +++ b/vendor/symfony/polyfill-mbstring/Resources/unidata/titleCaseRegexp.php @@ -1,6 +1,6 @@ 'A', 'b' => 'B', 'c' => 'C', 'd' => 'D', 'e' => 'E', 'f' => 'F', 'g' => 'G', 'h' => 'H', 'i' => 'I', 'j' => 'J', 'k' => 'K', 'l' => 'L', 'm' => 'M', 'n' => 'N', 'o' => 'O', 'p' => 'P', 'q' => 'Q', 'r' => 'R', 's' => 'S', 't' => 'T', 'u' => 'U', 'v' => 'V', 'w' => 'W', 'x' => 'X', 'y' => 'Y', 'z' => 'Z', 'µ' => 'Îœ', 'à' => 'À', 'á' => 'Ã', 'â' => 'Â', 'ã' => 'Ã', 'ä' => 'Ä', 'Ã¥' => 'Ã…', 'æ' => 'Æ', 'ç' => 'Ç', 'è' => 'È', 'é' => 'É', 'ê' => 'Ê', 'ë' => 'Ë', 'ì' => 'ÃŒ', 'í' => 'Ã', 'î' => 'ÃŽ', 'ï' => 'Ã', 'ð' => 'Ã', 'ñ' => 'Ñ', 'ò' => 'Ã’', 'ó' => 'Ó', 'ô' => 'Ô', 'õ' => 'Õ', 'ö' => 'Ö', 'ø' => 'Ø', 'ù' => 'Ù', 'ú' => 'Ú', 'û' => 'Û', 'ü' => 'Ãœ', 'ý' => 'Ã', 'þ' => 'Þ', 'ÿ' => 'Ÿ', 'Ä' => 'Ä€', 'ă' => 'Ä‚', 'Ä…' => 'Ä„', 'ć' => 'Ć', 'ĉ' => 'Ĉ', 'Ä‹' => 'ÄŠ', 'Ä' => 'ÄŒ', 'Ä' => 'ÄŽ', 'Ä‘' => 'Ä', 'Ä“' => 'Ä’', 'Ä•' => 'Ä”', 'Ä—' => 'Ä–', 'Ä™' => 'Ę', 'Ä›' => 'Äš', 'Ä' => 'Äœ', 'ÄŸ' => 'Äž', 'Ä¡' => 'Ä ', 'Ä£' => 'Ä¢', 'Ä¥' => 'Ĥ', 'ħ' => 'Ħ', 'Ä©' => 'Ĩ', 'Ä«' => 'Ī', 'Ä­' => 'Ĭ', 'į' => 'Ä®', 'ı' => 'I', 'ij' => 'IJ', 'ĵ' => 'Ä´', 'Ä·' => 'Ķ', 'ĺ' => 'Ĺ', 'ļ' => 'Ä»', 'ľ' => 'Ľ', 'Å€' => 'Ä¿', 'Å‚' => 'Å', 'Å„' => 'Ń', 'ņ' => 'Å…', 'ň' => 'Ň', 'Å‹' => 'ÅŠ', 'Å' => 'ÅŒ', 'Å' => 'ÅŽ', 'Å‘' => 'Å', 'Å“' => 'Å’', 'Å•' => 'Å”', 'Å—' => 'Å–', 'Å™' => 'Ř', 'Å›' => 'Åš', 'Å' => 'Åœ', 'ÅŸ' => 'Åž', 'Å¡' => 'Å ', 'Å£' => 'Å¢', 'Å¥' => 'Ť', 'ŧ' => 'Ŧ', 'Å©' => 'Ũ', 'Å«' => 'Ū', 'Å­' => 'Ŭ', 'ů' => 'Å®', 'ű' => 'Å°', 'ų' => 'Ų', 'ŵ' => 'Å´', 'Å·' => 'Ŷ', 'ź' => 'Ź', 'ż' => 'Å»', 'ž' => 'Ž', 'Å¿' => 'S', 'Æ€' => 'Ƀ', 'ƃ' => 'Æ‚', 'Æ…' => 'Æ„', 'ƈ' => 'Ƈ', 'ÆŒ' => 'Æ‹', 'Æ’' => 'Æ‘', 'Æ•' => 'Ƕ', 'Æ™' => 'Ƙ', 'Æš' => 'Ƚ', 'Æž' => 'È ', 'Æ¡' => 'Æ ', 'Æ£' => 'Æ¢', 'Æ¥' => 'Ƥ', 'ƨ' => 'Ƨ', 'Æ­' => 'Ƭ', 'Æ°' => 'Ư', 'Æ´' => 'Ƴ', 'ƶ' => 'Ƶ', 'ƹ' => 'Ƹ', 'ƽ' => 'Ƽ', 'Æ¿' => 'Ç·', 'Ç…' => 'Ç„', 'dž' => 'Ç„', 'Lj' => 'LJ', 'lj' => 'LJ', 'Ç‹' => 'ÇŠ', 'ÇŒ' => 'ÇŠ', 'ÇŽ' => 'Ç', 'Ç' => 'Ç', 'Ç’' => 'Ç‘', 'Ç”' => 'Ç“', 'Ç–' => 'Ç•', 'ǘ' => 'Ç—', 'Çš' => 'Ç™', 'Çœ' => 'Ç›', 'Ç' => 'ÆŽ', 'ÇŸ' => 'Çž', 'Ç¡' => 'Ç ', 'Ç£' => 'Ç¢', 'Ç¥' => 'Ǥ', 'ǧ' => 'Ǧ', 'Ç©' => 'Ǩ', 'Ç«' => 'Ǫ', 'Ç­' => 'Ǭ', 'ǯ' => 'Ç®', 'Dz' => 'DZ', 'dz' => 'DZ', 'ǵ' => 'Ç´', 'ǹ' => 'Ǹ', 'Ç»' => 'Ǻ', 'ǽ' => 'Ǽ', 'Ç¿' => 'Ǿ', 'È' => 'È€', 'ȃ' => 'È‚', 'È…' => 'È„', 'ȇ' => 'Ȇ', 'ȉ' => 'Ȉ', 'È‹' => 'ÈŠ', 'È' => 'ÈŒ', 'È' => 'ÈŽ', 'È‘' => 'È', 'È“' => 'È’', 'È•' => 'È”', 'È—' => 'È–', 'È™' => 'Ș', 'È›' => 'Èš', 'È' => 'Èœ', 'ÈŸ' => 'Èž', 'È£' => 'È¢', 'È¥' => 'Ȥ', 'ȧ' => 'Ȧ', 'È©' => 'Ȩ', 'È«' => 'Ȫ', 'È­' => 'Ȭ', 'ȯ' => 'È®', 'ȱ' => 'È°', 'ȳ' => 'Ȳ', 'ȼ' => 'È»', 'È¿' => 'â±¾', 'É€' => 'Ɀ', 'É‚' => 'É', 'ɇ' => 'Ɇ', 'ɉ' => 'Ɉ', 'É‹' => 'ÉŠ', 'É' => 'ÉŒ', 'É' => 'ÉŽ', 'É' => 'Ɐ', 'É‘' => 'â±­', 'É’' => 'â±°', 'É“' => 'Æ', 'É”' => 'Ɔ', 'É–' => 'Ɖ', 'É—' => 'ÆŠ', 'É™' => 'Æ', 'É›' => 'Æ', 'Éœ' => 'êž«', 'É ' => 'Æ“', 'É¡' => 'Ɡ', 'É£' => 'Æ”', 'É¥' => 'êž', 'ɦ' => 'Ɦ', 'ɨ' => 'Æ—', 'É©' => 'Æ–', 'ɪ' => 'êž®', 'É«' => 'â±¢', 'ɬ' => 'êž­', 'ɯ' => 'Æœ', 'ɱ' => 'â±®', 'ɲ' => 'Æ', 'ɵ' => 'ÆŸ', 'ɽ' => 'Ɽ', 'Ê€' => 'Ʀ', 'Ê‚' => 'Ʂ', 'ʃ' => 'Æ©', 'ʇ' => 'êž±', 'ʈ' => 'Æ®', 'ʉ' => 'É„', 'ÊŠ' => 'Ʊ', 'Ê‹' => 'Ʋ', 'ÊŒ' => 'É…', 'Ê’' => 'Æ·', 'Ê' => 'êž²', 'Êž' => 'êž°', 'Í…' => 'Ι', 'ͱ' => 'Í°', 'ͳ' => 'Ͳ', 'Í·' => 'Ͷ', 'Í»' => 'Ͻ', 'ͼ' => 'Ͼ', 'ͽ' => 'Ï¿', 'ά' => 'Ά', 'έ' => 'Έ', 'ή' => 'Ή', 'ί' => 'Ί', 'α' => 'Α', 'β' => 'Î’', 'γ' => 'Γ', 'δ' => 'Δ', 'ε' => 'Ε', 'ζ' => 'Ζ', 'η' => 'Η', 'θ' => 'Θ', 'ι' => 'Ι', 'κ' => 'Κ', 'λ' => 'Λ', 'μ' => 'Îœ', 'ν' => 'Î', 'ξ' => 'Ξ', 'ο' => 'Ο', 'Ï€' => 'Π', 'Ï' => 'Ρ', 'Ï‚' => 'Σ', 'σ' => 'Σ', 'Ï„' => 'Τ', 'Ï…' => 'Î¥', 'φ' => 'Φ', 'χ' => 'Χ', 'ψ' => 'Ψ', 'ω' => 'Ω', 'ÏŠ' => 'Ϊ', 'Ï‹' => 'Ϋ', 'ÏŒ' => 'ÎŒ', 'Ï' => 'ÎŽ', 'ÏŽ' => 'Î', 'Ï' => 'Î’', 'Ï‘' => 'Θ', 'Ï•' => 'Φ', 'Ï–' => 'Π', 'Ï—' => 'Ï', 'Ï™' => 'Ϙ', 'Ï›' => 'Ïš', 'Ï' => 'Ïœ', 'ÏŸ' => 'Ïž', 'Ï¡' => 'Ï ', 'Ï£' => 'Ï¢', 'Ï¥' => 'Ϥ', 'ϧ' => 'Ϧ', 'Ï©' => 'Ϩ', 'Ï«' => 'Ϫ', 'Ï­' => 'Ϭ', 'ϯ' => 'Ï®', 'Ï°' => 'Κ', 'ϱ' => 'Ρ', 'ϲ' => 'Ϲ', 'ϳ' => 'Í¿', 'ϵ' => 'Ε', 'ϸ' => 'Ï·', 'Ï»' => 'Ϻ', 'а' => 'Ð', 'б' => 'Б', 'в' => 'Ð’', 'г' => 'Г', 'д' => 'Д', 'е' => 'Е', 'ж' => 'Ж', 'з' => 'З', 'и' => 'И', 'й' => 'Й', 'к' => 'К', 'л' => 'Л', 'м' => 'Ðœ', 'н' => 'Ð', 'о' => 'О', 'п' => 'П', 'Ñ€' => 'Р', 'Ñ' => 'С', 'Ñ‚' => 'Т', 'у' => 'У', 'Ñ„' => 'Ф', 'Ñ…' => 'Ð¥', 'ц' => 'Ц', 'ч' => 'Ч', 'ш' => 'Ш', 'щ' => 'Щ', 'ÑŠ' => 'Ъ', 'Ñ‹' => 'Ы', 'ÑŒ' => 'Ь', 'Ñ' => 'Э', 'ÑŽ' => 'Ю', 'Ñ' => 'Я', 'Ñ' => 'Ѐ', 'Ñ‘' => 'Ð', 'Ñ’' => 'Ђ', 'Ñ“' => 'Ѓ', 'Ñ”' => 'Є', 'Ñ•' => 'Ð…', 'Ñ–' => 'І', 'Ñ—' => 'Ї', 'ј' => 'Ј', 'Ñ™' => 'Љ', 'Ñš' => 'Њ', 'Ñ›' => 'Ћ', 'Ñœ' => 'ÐŒ', 'Ñ' => 'Ð', 'Ñž' => 'ÐŽ', 'ÑŸ' => 'Ð', 'Ñ¡' => 'Ñ ', 'Ñ£' => 'Ñ¢', 'Ñ¥' => 'Ѥ', 'ѧ' => 'Ѧ', 'Ñ©' => 'Ѩ', 'Ñ«' => 'Ѫ', 'Ñ­' => 'Ѭ', 'ѯ' => 'Ñ®', 'ѱ' => 'Ñ°', 'ѳ' => 'Ѳ', 'ѵ' => 'Ñ´', 'Ñ·' => 'Ѷ', 'ѹ' => 'Ѹ', 'Ñ»' => 'Ѻ', 'ѽ' => 'Ѽ', 'Ñ¿' => 'Ѿ', 'Ò' => 'Ò€', 'Ò‹' => 'ÒŠ', 'Ò' => 'ÒŒ', 'Ò' => 'ÒŽ', 'Ò‘' => 'Ò', 'Ò“' => 'Ò’', 'Ò•' => 'Ò”', 'Ò—' => 'Ò–', 'Ò™' => 'Ò˜', 'Ò›' => 'Òš', 'Ò' => 'Òœ', 'ÒŸ' => 'Òž', 'Ò¡' => 'Ò ', 'Ò£' => 'Ò¢', 'Ò¥' => 'Ò¤', 'Ò§' => 'Ò¦', 'Ò©' => 'Ò¨', 'Ò«' => 'Òª', 'Ò­' => 'Ò¬', 'Ò¯' => 'Ò®', 'Ò±' => 'Ò°', 'Ò³' => 'Ò²', 'Òµ' => 'Ò´', 'Ò·' => 'Ò¶', 'Ò¹' => 'Ò¸', 'Ò»' => 'Òº', 'Ò½' => 'Ò¼', 'Ò¿' => 'Ò¾', 'Ó‚' => 'Ó', 'Ó„' => 'Óƒ', 'Ó†' => 'Ó…', 'Óˆ' => 'Ó‡', 'ÓŠ' => 'Ó‰', 'ÓŒ' => 'Ó‹', 'ÓŽ' => 'Ó', 'Ó' => 'Ó€', 'Ó‘' => 'Ó', 'Ó“' => 'Ó’', 'Ó•' => 'Ó”', 'Ó—' => 'Ó–', 'Ó™' => 'Ó˜', 'Ó›' => 'Óš', 'Ó' => 'Óœ', 'ÓŸ' => 'Óž', 'Ó¡' => 'Ó ', 'Ó£' => 'Ó¢', 'Ó¥' => 'Ó¤', 'Ó§' => 'Ó¦', 'Ó©' => 'Ó¨', 'Ó«' => 'Óª', 'Ó­' => 'Ó¬', 'Ó¯' => 'Ó®', 'Ó±' => 'Ó°', 'Ó³' => 'Ó²', 'Óµ' => 'Ó´', 'Ó·' => 'Ó¶', 'Ó¹' => 'Ó¸', 'Ó»' => 'Óº', 'Ó½' => 'Ó¼', 'Ó¿' => 'Ó¾', 'Ô' => 'Ô€', 'Ôƒ' => 'Ô‚', 'Ô…' => 'Ô„', 'Ô‡' => 'Ô†', 'Ô‰' => 'Ôˆ', 'Ô‹' => 'ÔŠ', 'Ô' => 'ÔŒ', 'Ô' => 'ÔŽ', 'Ô‘' => 'Ô', 'Ô“' => 'Ô’', 'Ô•' => 'Ô”', 'Ô—' => 'Ô–', 'Ô™' => 'Ô˜', 'Ô›' => 'Ôš', 'Ô' => 'Ôœ', 'ÔŸ' => 'Ôž', 'Ô¡' => 'Ô ', 'Ô£' => 'Ô¢', 'Ô¥' => 'Ô¤', 'Ô§' => 'Ô¦', 'Ô©' => 'Ô¨', 'Ô«' => 'Ôª', 'Ô­' => 'Ô¬', 'Ô¯' => 'Ô®', 'Õ¡' => 'Ô±', 'Õ¢' => 'Ô²', 'Õ£' => 'Ô³', 'Õ¤' => 'Ô´', 'Õ¥' => 'Ôµ', 'Õ¦' => 'Ô¶', 'Õ§' => 'Ô·', 'Õ¨' => 'Ô¸', 'Õ©' => 'Ô¹', 'Õª' => 'Ôº', 'Õ«' => 'Ô»', 'Õ¬' => 'Ô¼', 'Õ­' => 'Ô½', 'Õ®' => 'Ô¾', 'Õ¯' => 'Ô¿', 'Õ°' => 'Õ€', 'Õ±' => 'Õ', 'Õ²' => 'Õ‚', 'Õ³' => 'Õƒ', 'Õ´' => 'Õ„', 'Õµ' => 'Õ…', 'Õ¶' => 'Õ†', 'Õ·' => 'Õ‡', 'Õ¸' => 'Õˆ', 'Õ¹' => 'Õ‰', 'Õº' => 'ÕŠ', 'Õ»' => 'Õ‹', 'Õ¼' => 'ÕŒ', 'Õ½' => 'Õ', 'Õ¾' => 'ÕŽ', 'Õ¿' => 'Õ', 'Ö€' => 'Õ', 'Ö' => 'Õ‘', 'Ö‚' => 'Õ’', 'Öƒ' => 'Õ“', 'Ö„' => 'Õ”', 'Ö…' => 'Õ•', 'Ö†' => 'Õ–', 'áƒ' => 'á²', 'ბ' => 'Ბ', 'გ' => 'á²’', 'დ' => 'Დ', 'ე' => 'á²”', 'ვ' => 'Ვ', 'ზ' => 'á²–', 'თ' => 'á²—', 'ი' => 'Ი', 'კ' => 'á²™', 'ლ' => 'Ლ', 'მ' => 'á²›', 'ნ' => 'Ნ', 'áƒ' => 'á²', 'პ' => 'Პ', 'ჟ' => 'Ჟ', 'რ' => 'á² ', 'ს' => 'Ს', 'ტ' => 'á²¢', 'უ' => 'á²£', 'ფ' => 'Ფ', 'ქ' => 'á²¥', 'ღ' => 'Ღ', 'ყ' => 'Ყ', 'შ' => 'Შ', 'ჩ' => 'Ჩ', 'ც' => 'Ც', 'ძ' => 'Ძ', 'წ' => 'Წ', 'ჭ' => 'á²­', 'ხ' => 'á²®', 'ჯ' => 'Ჯ', 'ჰ' => 'á²°', 'ჱ' => 'á²±', 'ჲ' => 'á²²', 'ჳ' => 'á²³', 'ჴ' => 'á²´', 'ჵ' => 'á²µ', 'ჶ' => 'Ჶ', 'ჷ' => 'á²·', 'ჸ' => 'Ჸ', 'ჹ' => 'á²¹', 'ჺ' => 'Ჺ', 'ჽ' => 'á²½', 'ჾ' => 'á²¾', 'ჿ' => 'Ჿ', 'á¸' => 'á°', 'á¹' => 'á±', 'áº' => 'á²', 'á»' => 'á³', 'á¼' => 'á´', 'á½' => 'áµ', 'á²€' => 'Ð’', 'á²' => 'Д', 'ᲂ' => 'О', 'ᲃ' => 'С', 'ᲄ' => 'Т', 'á²…' => 'Т', 'ᲆ' => 'Ъ', 'ᲇ' => 'Ñ¢', 'ᲈ' => 'Ꙋ', 'áµ¹' => 'ê½', 'áµ½' => 'â±£', 'ᶎ' => 'Ᶎ', 'á¸' => 'Ḁ', 'ḃ' => 'Ḃ', 'ḅ' => 'Ḅ', 'ḇ' => 'Ḇ', 'ḉ' => 'Ḉ', 'ḋ' => 'Ḋ', 'á¸' => 'Ḍ', 'á¸' => 'Ḏ', 'ḑ' => 'á¸', 'ḓ' => 'Ḓ', 'ḕ' => 'Ḕ', 'ḗ' => 'Ḗ', 'ḙ' => 'Ḙ', 'ḛ' => 'Ḛ', 'á¸' => 'Ḝ', 'ḟ' => 'Ḟ', 'ḡ' => 'Ḡ', 'ḣ' => 'Ḣ', 'ḥ' => 'Ḥ', 'ḧ' => 'Ḧ', 'ḩ' => 'Ḩ', 'ḫ' => 'Ḫ', 'ḭ' => 'Ḭ', 'ḯ' => 'Ḯ', 'ḱ' => 'Ḱ', 'ḳ' => 'Ḳ', 'ḵ' => 'Ḵ', 'ḷ' => 'Ḷ', 'ḹ' => 'Ḹ', 'ḻ' => 'Ḻ', 'ḽ' => 'Ḽ', 'ḿ' => 'Ḿ', 'á¹' => 'á¹€', 'ṃ' => 'Ṃ', 'á¹…' => 'Ṅ', 'ṇ' => 'Ṇ', 'ṉ' => 'Ṉ', 'ṋ' => 'Ṋ', 'á¹' => 'Ṍ', 'á¹' => 'Ṏ', 'ṑ' => 'á¹', 'ṓ' => 'á¹’', 'ṕ' => 'á¹”', 'á¹—' => 'á¹–', 'á¹™' => 'Ṙ', 'á¹›' => 'Ṛ', 'á¹' => 'Ṝ', 'ṟ' => 'Ṟ', 'ṡ' => 'á¹ ', 'á¹£' => 'á¹¢', 'á¹¥' => 'Ṥ', 'ṧ' => 'Ṧ', 'ṩ' => 'Ṩ', 'ṫ' => 'Ṫ', 'á¹­' => 'Ṭ', 'ṯ' => 'á¹®', 'á¹±' => 'á¹°', 'á¹³' => 'á¹²', 'á¹µ' => 'á¹´', 'á¹·' => 'Ṷ', 'á¹¹' => 'Ṹ', 'á¹»' => 'Ṻ', 'á¹½' => 'á¹¼', 'ṿ' => 'á¹¾', 'áº' => 'Ẁ', 'ẃ' => 'Ẃ', 'ẅ' => 'Ẅ', 'ẇ' => 'Ẇ', 'ẉ' => 'Ẉ', 'ẋ' => 'Ẋ', 'áº' => 'Ẍ', 'áº' => 'Ẏ', 'ẑ' => 'áº', 'ẓ' => 'Ẓ', 'ẕ' => 'Ẕ', 'ẛ' => 'á¹ ', 'ạ' => 'Ạ', 'ả' => 'Ả', 'ấ' => 'Ấ', 'ầ' => 'Ầ', 'ẩ' => 'Ẩ', 'ẫ' => 'Ẫ', 'ậ' => 'Ậ', 'ắ' => 'Ắ', 'ằ' => 'Ằ', 'ẳ' => 'Ẳ', 'ẵ' => 'Ẵ', 'ặ' => 'Ặ', 'ẹ' => 'Ẹ', 'ẻ' => 'Ẻ', 'ẽ' => 'Ẽ', 'ế' => 'Ế', 'á»' => 'Ề', 'ể' => 'Ể', 'á»…' => 'Ễ', 'ệ' => 'Ệ', 'ỉ' => 'Ỉ', 'ị' => 'Ị', 'á»' => 'Ọ', 'á»' => 'Ỏ', 'ố' => 'á»', 'ồ' => 'á»’', 'ổ' => 'á»”', 'á»—' => 'á»–', 'á»™' => 'Ộ', 'á»›' => 'Ớ', 'á»' => 'Ờ', 'ở' => 'Ở', 'ỡ' => 'á» ', 'ợ' => 'Ợ', 'ụ' => 'Ụ', 'ủ' => 'Ủ', 'ứ' => 'Ứ', 'ừ' => 'Ừ', 'á»­' => 'Ử', 'ữ' => 'á»®', 'á»±' => 'á»°', 'ỳ' => 'Ỳ', 'ỵ' => 'á»´', 'á»·' => 'Ỷ', 'ỹ' => 'Ỹ', 'á»»' => 'Ỻ', 'ỽ' => 'Ỽ', 'ỿ' => 'Ỿ', 'á¼€' => 'Ἀ', 'á¼' => 'Ἁ', 'ἂ' => 'Ἂ', 'ἃ' => 'Ἃ', 'ἄ' => 'Ἄ', 'á¼…' => 'á¼', 'ἆ' => 'Ἆ', 'ἇ' => 'á¼', 'á¼' => 'Ἐ', 'ἑ' => 'á¼™', 'á¼’' => 'Ἒ', 'ἓ' => 'á¼›', 'á¼”' => 'Ἔ', 'ἕ' => 'á¼', 'á¼ ' => 'Ἠ', 'ἡ' => 'Ἡ', 'á¼¢' => 'Ἢ', 'á¼£' => 'Ἣ', 'ἤ' => 'Ἤ', 'á¼¥' => 'á¼­', 'ἦ' => 'á¼®', 'ἧ' => 'Ἧ', 'á¼°' => 'Ἰ', 'á¼±' => 'á¼¹', 'á¼²' => 'Ἲ', 'á¼³' => 'á¼»', 'á¼´' => 'á¼¼', 'á¼µ' => 'á¼½', 'ἶ' => 'á¼¾', 'á¼·' => 'Ἷ', 'á½€' => 'Ὀ', 'á½' => 'Ὁ', 'ὂ' => 'Ὂ', 'ὃ' => 'Ὃ', 'ὄ' => 'Ὄ', 'á½…' => 'á½', 'ὑ' => 'á½™', 'ὓ' => 'á½›', 'ὕ' => 'á½', 'á½—' => 'Ὗ', 'á½ ' => 'Ὠ', 'ὡ' => 'Ὡ', 'á½¢' => 'Ὢ', 'á½£' => 'Ὣ', 'ὤ' => 'Ὤ', 'á½¥' => 'á½­', 'ὦ' => 'á½®', 'ὧ' => 'Ὧ', 'á½°' => 'Ὰ', 'á½±' => 'á¾»', 'á½²' => 'Ὲ', 'á½³' => 'Έ', 'á½´' => 'á¿Š', 'á½µ' => 'á¿‹', 'ὶ' => 'á¿š', 'á½·' => 'á¿›', 'ὸ' => 'Ὸ', 'á½¹' => 'Ό', 'ὺ' => 'Ὺ', 'á½»' => 'á¿«', 'á½¼' => 'Ὼ', 'á½½' => 'á¿»', 'á¾€' => 'ἈΙ', 'á¾' => 'ἉΙ', 'ᾂ' => 'ἊΙ', 'ᾃ' => 'ἋΙ', 'ᾄ' => 'ἌΙ', 'á¾…' => 'á¼Î™', 'ᾆ' => 'ἎΙ', 'ᾇ' => 'á¼Î™', 'á¾' => 'ἨΙ', 'ᾑ' => 'ἩΙ', 'á¾’' => 'ἪΙ', 'ᾓ' => 'ἫΙ', 'á¾”' => 'ἬΙ', 'ᾕ' => 'ἭΙ', 'á¾–' => 'ἮΙ', 'á¾—' => 'ἯΙ', 'á¾ ' => 'ὨΙ', 'ᾡ' => 'ὩΙ', 'á¾¢' => 'ὪΙ', 'á¾£' => 'ὫΙ', 'ᾤ' => 'ὬΙ', 'á¾¥' => 'ὭΙ', 'ᾦ' => 'ὮΙ', 'ᾧ' => 'ὯΙ', 'á¾°' => 'Ᾰ', 'á¾±' => 'á¾¹', 'á¾³' => 'ΑΙ', 'á¾¾' => 'Ι', 'ῃ' => 'ΗΙ', 'á¿' => 'Ῐ', 'á¿‘' => 'á¿™', 'á¿ ' => 'Ῠ', 'á¿¡' => 'á¿©', 'á¿¥' => 'Ῥ', 'ῳ' => 'ΩΙ', 'â…Ž' => 'Ⅎ', 'â…°' => 'â… ', 'â…±' => 'â…¡', 'â…²' => 'â…¢', 'â…³' => 'â…£', 'â…´' => 'â…¤', 'â…µ' => 'â…¥', 'â…¶' => 'â…¦', 'â…·' => 'â…§', 'â…¸' => 'â…¨', 'â…¹' => 'â…©', 'â…º' => 'â…ª', 'â…»' => 'â…«', 'â…¼' => 'â…¬', 'â…½' => 'â…­', 'â…¾' => 'â…®', 'â…¿' => 'â…¯', 'ↄ' => 'Ↄ', 'â“' => 'â’¶', 'â“‘' => 'â’·', 'â“’' => 'â’¸', 'â““' => 'â’¹', 'â“”' => 'â’º', 'â“•' => 'â’»', 'â“–' => 'â’¼', 'â“—' => 'â’½', 'ⓘ' => 'â’¾', 'â“™' => 'â’¿', 'â“š' => 'â“€', 'â“›' => 'â“', 'â“œ' => 'â“‚', 'â“' => 'Ⓝ', 'â“ž' => 'â“„', 'â“Ÿ' => 'â“…', 'â“ ' => 'Ⓠ', 'â“¡' => 'Ⓡ', 'â“¢' => 'Ⓢ', 'â“£' => 'Ⓣ', 'ⓤ' => 'â“Š', 'â“¥' => 'â“‹', 'ⓦ' => 'â“Œ', 'ⓧ' => 'â“', 'ⓨ' => 'â“Ž', 'â“©' => 'â“', 'â°°' => 'â°€', 'â°±' => 'â°', 'â°²' => 'â°‚', 'â°³' => 'â°ƒ', 'â°´' => 'â°„', 'â°µ' => 'â°…', 'â°¶' => 'â°†', 'â°·' => 'â°‡', 'â°¸' => 'â°ˆ', 'â°¹' => 'â°‰', 'â°º' => 'â°Š', 'â°»' => 'â°‹', 'â°¼' => 'â°Œ', 'â°½' => 'â°', 'â°¾' => 'â°Ž', 'â°¿' => 'â°', 'â±€' => 'â°', 'â±' => 'â°‘', 'ⱂ' => 'â°’', 'ⱃ' => 'â°“', 'ⱄ' => 'â°”', 'â±…' => 'â°•', 'ⱆ' => 'â°–', 'ⱇ' => 'â°—', 'ⱈ' => 'â°˜', 'ⱉ' => 'â°™', 'ⱊ' => 'â°š', 'ⱋ' => 'â°›', 'ⱌ' => 'â°œ', 'â±' => 'â°', 'ⱎ' => 'â°ž', 'â±' => 'â°Ÿ', 'â±' => 'â° ', 'ⱑ' => 'â°¡', 'â±’' => 'â°¢', 'ⱓ' => 'â°£', 'â±”' => 'â°¤', 'ⱕ' => 'â°¥', 'â±–' => 'â°¦', 'â±—' => 'â°§', 'ⱘ' => 'â°¨', 'â±™' => 'â°©', 'ⱚ' => 'â°ª', 'â±›' => 'â°«', 'ⱜ' => 'â°¬', 'â±' => 'â°­', 'ⱞ' => 'â°®', 'ⱡ' => 'â± ', 'â±¥' => 'Ⱥ', 'ⱦ' => 'Ⱦ', 'ⱨ' => 'Ⱨ', 'ⱪ' => 'Ⱪ', 'ⱬ' => 'Ⱬ', 'â±³' => 'â±²', 'ⱶ' => 'â±µ', 'â²' => 'â²€', 'ⲃ' => 'Ⲃ', 'â²…' => 'Ⲅ', 'ⲇ' => 'Ⲇ', 'ⲉ' => 'Ⲉ', 'ⲋ' => 'Ⲋ', 'â²' => 'Ⲍ', 'â²' => 'Ⲏ', 'ⲑ' => 'â²', 'ⲓ' => 'â²’', 'ⲕ' => 'â²”', 'â²—' => 'â²–', 'â²™' => 'Ⲙ', 'â²›' => 'Ⲛ', 'â²' => 'Ⲝ', 'ⲟ' => 'Ⲟ', 'ⲡ' => 'â² ', 'â²£' => 'â²¢', 'â²¥' => 'Ⲥ', 'ⲧ' => 'Ⲧ', 'ⲩ' => 'Ⲩ', 'ⲫ' => 'Ⲫ', 'â²­' => 'Ⲭ', 'ⲯ' => 'â²®', 'â²±' => 'â²°', 'â²³' => 'â²²', 'â²µ' => 'â²´', 'â²·' => 'Ⲷ', 'â²¹' => 'Ⲹ', 'â²»' => 'Ⲻ', 'â²½' => 'â²¼', 'ⲿ' => 'â²¾', 'â³' => 'â³€', 'ⳃ' => 'Ⳃ', 'â³…' => 'Ⳅ', 'ⳇ' => 'Ⳇ', 'ⳉ' => 'Ⳉ', 'ⳋ' => 'Ⳋ', 'â³' => 'Ⳍ', 'â³' => 'Ⳏ', 'ⳑ' => 'â³', 'ⳓ' => 'â³’', 'ⳕ' => 'â³”', 'â³—' => 'â³–', 'â³™' => 'Ⳙ', 'â³›' => 'Ⳛ', 'â³' => 'Ⳝ', 'ⳟ' => 'Ⳟ', 'ⳡ' => 'â³ ', 'â³£' => 'â³¢', 'ⳬ' => 'Ⳬ', 'â³®' => 'â³­', 'â³³' => 'â³²', 'â´€' => 'á‚ ', 'â´' => 'á‚¡', 'â´‚' => 'á‚¢', 'â´ƒ' => 'á‚£', 'â´„' => 'Ⴄ', 'â´…' => 'á‚¥', 'â´†' => 'Ⴆ', 'â´‡' => 'Ⴇ', 'â´ˆ' => 'Ⴈ', 'â´‰' => 'á‚©', 'â´Š' => 'Ⴊ', 'â´‹' => 'á‚«', 'â´Œ' => 'Ⴌ', 'â´' => 'á‚­', 'â´Ž' => 'á‚®', 'â´' => 'Ⴏ', 'â´' => 'á‚°', 'â´‘' => 'Ⴑ', 'â´’' => 'Ⴒ', 'â´“' => 'Ⴓ', 'â´”' => 'á‚´', 'â´•' => 'Ⴕ', 'â´–' => 'Ⴖ', 'â´—' => 'á‚·', 'â´˜' => 'Ⴘ', 'â´™' => 'Ⴙ', 'â´š' => 'Ⴚ', 'â´›' => 'á‚»', 'â´œ' => 'Ⴜ', 'â´' => 'Ⴝ', 'â´ž' => 'Ⴞ', 'â´Ÿ' => 'á‚¿', 'â´ ' => 'Ⴠ', 'â´¡' => 'áƒ', 'â´¢' => 'Ⴢ', 'â´£' => 'Ⴣ', 'â´¤' => 'Ⴤ', 'â´¥' => 'Ⴥ', 'â´§' => 'Ⴧ', 'â´­' => 'áƒ', 'ê™' => 'Ꙁ', 'ꙃ' => 'Ꙃ', 'ê™…' => 'Ꙅ', 'ꙇ' => 'Ꙇ', 'ꙉ' => 'Ꙉ', 'ꙋ' => 'Ꙋ', 'ê™' => 'Ꙍ', 'ê™' => 'Ꙏ', 'ꙑ' => 'ê™', 'ꙓ' => 'ê™’', 'ꙕ' => 'ê™”', 'ê™—' => 'ê™–', 'ê™™' => 'Ꙙ', 'ê™›' => 'Ꙛ', 'ê™' => 'Ꙝ', 'ꙟ' => 'Ꙟ', 'ꙡ' => 'ê™ ', 'ꙣ' => 'Ꙣ', 'ꙥ' => 'Ꙥ', 'ꙧ' => 'Ꙧ', 'ꙩ' => 'Ꙩ', 'ꙫ' => 'Ꙫ', 'ê™­' => 'Ꙭ', 'êš' => 'Ꚁ', 'ꚃ' => 'êš‚', 'êš…' => 'êš„', 'ꚇ' => 'Ꚇ', 'ꚉ' => 'Ꚉ', 'êš‹' => 'Ꚋ', 'êš' => 'Ꚍ', 'êš' => 'Ꚏ', 'êš‘' => 'êš', 'êš“' => 'êš’', 'êš•' => 'êš”', 'êš—' => 'êš–', 'êš™' => 'Ꚙ', 'êš›' => 'êšš', 'ꜣ' => 'Ꜣ', 'ꜥ' => 'Ꜥ', 'ꜧ' => 'Ꜧ', 'ꜩ' => 'Ꜩ', 'ꜫ' => 'Ꜫ', 'ꜭ' => 'Ꜭ', 'ꜯ' => 'Ꜯ', 'ꜳ' => 'Ꜳ', 'ꜵ' => 'Ꜵ', 'ꜷ' => 'Ꜷ', 'ꜹ' => 'Ꜹ', 'ꜻ' => 'Ꜻ', 'ꜽ' => 'Ꜽ', 'ꜿ' => 'Ꜿ', 'ê' => 'ê€', 'êƒ' => 'ê‚', 'ê…' => 'ê„', 'ê‡' => 'ê†', 'ê‰' => 'êˆ', 'ê‹' => 'êŠ', 'ê' => 'êŒ', 'ê' => 'êŽ', 'ê‘' => 'ê', 'ê“' => 'ê’', 'ê•' => 'ê”', 'ê—' => 'ê–', 'ê™' => 'ê˜', 'ê›' => 'êš', 'ê' => 'êœ', 'êŸ' => 'êž', 'ê¡' => 'ê ', 'ê£' => 'ê¢', 'ê¥' => 'ê¤', 'ê§' => 'ê¦', 'ê©' => 'ê¨', 'ê«' => 'êª', 'ê­' => 'ê¬', 'ê¯' => 'ê®', 'êº' => 'ê¹', 'ê¼' => 'ê»', 'ê¿' => 'ê¾', 'êž' => 'Ꞁ', 'ꞃ' => 'êž‚', 'êž…' => 'êž„', 'ꞇ' => 'Ꞇ', 'ꞌ' => 'êž‹', 'êž‘' => 'êž', 'êž“' => 'êž’', 'êž”' => 'Ꞔ', 'êž—' => 'êž–', 'êž™' => 'Ꞙ', 'êž›' => 'êžš', 'êž' => 'êžœ', 'ꞟ' => 'êžž', 'êž¡' => 'êž ', 'ꞣ' => 'Ꞣ', 'ꞥ' => 'Ꞥ', 'ꞧ' => 'Ꞧ', 'êž©' => 'Ꞩ', 'êžµ' => 'êž´', 'êž·' => 'Ꞷ', 'êž¹' => 'Ꞹ', 'êž»' => 'Ꞻ', 'êž½' => 'êž¼', 'êž¿' => 'êž¾', 'ꟃ' => 'Ꟃ', 'ꟈ' => 'Ꟈ', 'ꟊ' => 'Ꟊ', 'ꟶ' => 'Ꟶ', 'ê­“' => 'êž³', 'ê­°' => 'Ꭰ', 'ê­±' => 'Ꭱ', 'ê­²' => 'Ꭲ', 'ê­³' => 'Ꭳ', 'ê­´' => 'Ꭴ', 'ê­µ' => 'Ꭵ', 'ê­¶' => 'Ꭶ', 'ê­·' => 'Ꭷ', 'ê­¸' => 'Ꭸ', 'ê­¹' => 'Ꭹ', 'ê­º' => 'Ꭺ', 'ê­»' => 'Ꭻ', 'ê­¼' => 'Ꭼ', 'ê­½' => 'Ꭽ', 'ê­¾' => 'Ꭾ', 'ê­¿' => 'Ꭿ', 'ꮀ' => 'Ꮀ', 'ê®' => 'Ꮁ', 'ꮂ' => 'Ꮂ', 'ꮃ' => 'Ꮃ', 'ꮄ' => 'Ꮄ', 'ê®…' => 'Ꮅ', 'ꮆ' => 'Ꮆ', 'ꮇ' => 'Ꮇ', 'ꮈ' => 'Ꮈ', 'ꮉ' => 'Ꮉ', 'ꮊ' => 'Ꮊ', 'ꮋ' => 'Ꮋ', 'ꮌ' => 'Ꮌ', 'ê®' => 'Ꮍ', 'ꮎ' => 'Ꮎ', 'ê®' => 'Ꮏ', 'ê®' => 'á€', 'ꮑ' => 'á', 'ê®’' => 'á‚', 'ꮓ' => 'áƒ', 'ê®”' => 'á„', 'ꮕ' => 'á…', 'ê®–' => 'á†', 'ê®—' => 'á‡', 'ꮘ' => 'áˆ', 'ê®™' => 'á‰', 'ꮚ' => 'áŠ', 'ê®›' => 'á‹', 'ꮜ' => 'áŒ', 'ê®' => 'á', 'ꮞ' => 'áŽ', 'ꮟ' => 'á', 'ê® ' => 'á', 'ꮡ' => 'á‘', 'ꮢ' => 'á’', 'ꮣ' => 'á“', 'ꮤ' => 'á”', 'ꮥ' => 'á•', 'ꮦ' => 'á–', 'ꮧ' => 'á—', 'ꮨ' => 'á˜', 'ꮩ' => 'á™', 'ꮪ' => 'áš', 'ꮫ' => 'á›', 'ꮬ' => 'áœ', 'ê®­' => 'á', 'ê®®' => 'áž', 'ꮯ' => 'áŸ', 'ê®°' => 'á ', 'ê®±' => 'á¡', 'ꮲ' => 'á¢', 'ꮳ' => 'á£', 'ê®´' => 'á¤', 'ꮵ' => 'á¥', 'ꮶ' => 'á¦', 'ê®·' => 'á§', 'ꮸ' => 'á¨', 'ꮹ' => 'á©', 'ꮺ' => 'áª', 'ê®»' => 'á«', 'ꮼ' => 'á¬', 'ꮽ' => 'á­', 'ꮾ' => 'á®', 'ꮿ' => 'á¯', 'ï½' => 'A', 'b' => 'ï¼¢', 'c' => 'ï¼£', 'd' => 'D', 'ï½…' => 'ï¼¥', 'f' => 'F', 'g' => 'G', 'h' => 'H', 'i' => 'I', 'j' => 'J', 'k' => 'K', 'l' => 'L', 'ï½' => 'ï¼­', 'n' => 'ï¼®', 'ï½' => 'O', 'ï½' => 'ï¼°', 'q' => 'ï¼±', 'ï½’' => 'ï¼²', 's' => 'ï¼³', 'ï½”' => 'ï¼´', 'u' => 'ï¼µ', 'ï½–' => 'V', 'ï½—' => 'ï¼·', 'x' => 'X', 'ï½™' => 'ï¼¹', 'z' => 'Z', 'ð¨' => 'ð€', 'ð©' => 'ð', 'ðª' => 'ð‚', 'ð«' => 'ðƒ', 'ð¬' => 'ð„', 'ð­' => 'ð…', 'ð®' => 'ð†', 'ð¯' => 'ð‡', 'ð°' => 'ðˆ', 'ð±' => 'ð‰', 'ð²' => 'ðŠ', 'ð³' => 'ð‹', 'ð´' => 'ðŒ', 'ðµ' => 'ð', 'ð¶' => 'ðŽ', 'ð·' => 'ð', 'ð¸' => 'ð', 'ð¹' => 'ð‘', 'ðº' => 'ð’', 'ð»' => 'ð“', 'ð¼' => 'ð”', 'ð½' => 'ð•', 'ð¾' => 'ð–', 'ð¿' => 'ð—', 'ð‘€' => 'ð˜', 'ð‘' => 'ð™', 'ð‘‚' => 'ðš', 'ð‘ƒ' => 'ð›', 'ð‘„' => 'ðœ', 'ð‘…' => 'ð', 'ð‘†' => 'ðž', 'ð‘‡' => 'ðŸ', 'ð‘ˆ' => 'ð ', 'ð‘‰' => 'ð¡', 'ð‘Š' => 'ð¢', 'ð‘‹' => 'ð£', 'ð‘Œ' => 'ð¤', 'ð‘' => 'ð¥', 'ð‘Ž' => 'ð¦', 'ð‘' => 'ð§', 'ð“˜' => 'ð’°', 'ð“™' => 'ð’±', 'ð“š' => 'ð’²', 'ð“›' => 'ð’³', 'ð“œ' => 'ð’´', 'ð“' => 'ð’µ', 'ð“ž' => 'ð’¶', 'ð“Ÿ' => 'ð’·', 'ð“ ' => 'ð’¸', 'ð“¡' => 'ð’¹', 'ð“¢' => 'ð’º', 'ð“£' => 'ð’»', 'ð“¤' => 'ð’¼', 'ð“¥' => 'ð’½', 'ð“¦' => 'ð’¾', 'ð“§' => 'ð’¿', 'ð“¨' => 'ð“€', 'ð“©' => 'ð“', 'ð“ª' => 'ð“‚', 'ð“«' => 'ð“ƒ', 'ð“¬' => 'ð“„', 'ð“­' => 'ð“…', 'ð“®' => 'ð“†', 'ð“¯' => 'ð“‡', 'ð“°' => 'ð“ˆ', 'ð“±' => 'ð“‰', 'ð“²' => 'ð“Š', 'ð“³' => 'ð“‹', 'ð“´' => 'ð“Œ', 'ð“µ' => 'ð“', 'ð“¶' => 'ð“Ž', 'ð“·' => 'ð“', 'ð“¸' => 'ð“', 'ð“¹' => 'ð“‘', 'ð“º' => 'ð“’', 'ð“»' => 'ð““', 'ð³€' => 'ð²€', 'ð³' => 'ð²', 'ð³‚' => 'ð²‚', 'ð³ƒ' => 'ð²ƒ', 'ð³„' => 'ð²„', 'ð³…' => 'ð²…', 'ð³†' => 'ð²†', 'ð³‡' => 'ð²‡', 'ð³ˆ' => 'ð²ˆ', 'ð³‰' => 'ð²‰', 'ð³Š' => 'ð²Š', 'ð³‹' => 'ð²‹', 'ð³Œ' => 'ð²Œ', 'ð³' => 'ð²', 'ð³Ž' => 'ð²Ž', 'ð³' => 'ð²', 'ð³' => 'ð²', 'ð³‘' => 'ð²‘', 'ð³’' => 'ð²’', 'ð³“' => 'ð²“', 'ð³”' => 'ð²”', 'ð³•' => 'ð²•', 'ð³–' => 'ð²–', 'ð³—' => 'ð²—', 'ð³˜' => 'ð²˜', 'ð³™' => 'ð²™', 'ð³š' => 'ð²š', 'ð³›' => 'ð²›', 'ð³œ' => 'ð²œ', 'ð³' => 'ð²', 'ð³ž' => 'ð²ž', 'ð³Ÿ' => 'ð²Ÿ', 'ð³ ' => 'ð² ', 'ð³¡' => 'ð²¡', 'ð³¢' => 'ð²¢', 'ð³£' => 'ð²£', 'ð³¤' => 'ð²¤', 'ð³¥' => 'ð²¥', 'ð³¦' => 'ð²¦', 'ð³§' => 'ð²§', 'ð³¨' => 'ð²¨', 'ð³©' => 'ð²©', 'ð³ª' => 'ð²ª', 'ð³«' => 'ð²«', 'ð³¬' => 'ð²¬', 'ð³­' => 'ð²­', 'ð³®' => 'ð²®', 'ð³¯' => 'ð²¯', 'ð³°' => 'ð²°', 'ð³±' => 'ð²±', 'ð³²' => 'ð²²', 'ð‘£€' => 'ð‘¢ ', 'ð‘£' => '𑢡', '𑣂' => 'ð‘¢¢', '𑣃' => 'ð‘¢£', '𑣄' => '𑢤', 'ð‘£…' => 'ð‘¢¥', '𑣆' => '𑢦', '𑣇' => '𑢧', '𑣈' => '𑢨', '𑣉' => '𑢩', '𑣊' => '𑢪', '𑣋' => '𑢫', '𑣌' => '𑢬', 'ð‘£' => 'ð‘¢­', '𑣎' => 'ð‘¢®', 'ð‘£' => '𑢯', 'ð‘£' => 'ð‘¢°', '𑣑' => 'ð‘¢±', 'ð‘£’' => 'ð‘¢²', '𑣓' => 'ð‘¢³', 'ð‘£”' => 'ð‘¢´', '𑣕' => 'ð‘¢µ', 'ð‘£–' => '𑢶', 'ð‘£—' => 'ð‘¢·', '𑣘' => '𑢸', 'ð‘£™' => 'ð‘¢¹', '𑣚' => '𑢺', 'ð‘£›' => 'ð‘¢»', '𑣜' => 'ð‘¢¼', 'ð‘£' => 'ð‘¢½', '𑣞' => 'ð‘¢¾', '𑣟' => '𑢿', 'ð–¹ ' => 'ð–¹€', '𖹡' => 'ð–¹', 'ð–¹¢' => '𖹂', 'ð–¹£' => '𖹃', '𖹤' => '𖹄', 'ð–¹¥' => 'ð–¹…', '𖹦' => '𖹆', '𖹧' => '𖹇', '𖹨' => '𖹈', '𖹩' => '𖹉', '𖹪' => '𖹊', '𖹫' => '𖹋', '𖹬' => '𖹌', 'ð–¹­' => 'ð–¹', 'ð–¹®' => '𖹎', '𖹯' => 'ð–¹', 'ð–¹°' => 'ð–¹', 'ð–¹±' => '𖹑', 'ð–¹²' => 'ð–¹’', 'ð–¹³' => '𖹓', 'ð–¹´' => 'ð–¹”', 'ð–¹µ' => '𖹕', '𖹶' => 'ð–¹–', 'ð–¹·' => 'ð–¹—', '𖹸' => '𖹘', 'ð–¹¹' => 'ð–¹™', '𖹺' => '𖹚', 'ð–¹»' => 'ð–¹›', 'ð–¹¼' => '𖹜', 'ð–¹½' => 'ð–¹', 'ð–¹¾' => '𖹞', '𖹿' => '𖹟', '𞤢' => '𞤀', '𞤣' => 'ðž¤', '𞤤' => '𞤂', '𞤥' => '𞤃', '𞤦' => '𞤄', '𞤧' => '𞤅', '𞤨' => '𞤆', '𞤩' => '𞤇', '𞤪' => '𞤈', '𞤫' => '𞤉', '𞤬' => '𞤊', '𞤭' => '𞤋', '𞤮' => '𞤌', '𞤯' => 'ðž¤', '𞤰' => '𞤎', '𞤱' => 'ðž¤', '𞤲' => 'ðž¤', '𞤳' => '𞤑', '𞤴' => '𞤒', '𞤵' => '𞤓', '𞤶' => '𞤔', '𞤷' => '𞤕', '𞤸' => '𞤖', '𞤹' => '𞤗', '𞤺' => '𞤘', '𞤻' => '𞤙', '𞤼' => '𞤚', '𞤽' => '𞤛', '𞤾' => '𞤜', '𞤿' => 'ðž¤', '𞥀' => '𞤞', 'ðž¥' => '𞤟', '𞥂' => '𞤠', '𞥃' => '𞤡', 'ß' => 'SS', 'ff' => 'FF', 'ï¬' => 'FI', 'fl' => 'FL', 'ffi' => 'FFI', 'ffl' => 'FFL', 'ſt' => 'ST', 'st' => 'ST', 'Ö‡' => 'ÔµÕ’', 'ﬓ' => 'Õ„Õ†', 'ﬔ' => 'Õ„Ôµ', 'ﬕ' => 'Õ„Ô»', 'ﬖ' => 'ÕŽÕ†', 'ﬗ' => 'Õ„Ô½', 'ʼn' => 'ʼN', 'Î' => 'ΪÌ', 'ΰ' => 'ΫÌ', 'Ç°' => 'JÌŒ', 'ẖ' => 'H̱', 'ẗ' => 'T̈', 'ẘ' => 'WÌŠ', 'ẙ' => 'YÌŠ', 'ẚ' => 'Aʾ', 'á½' => 'Υ̓', 'á½’' => 'Υ̓̀', 'á½”' => 'Υ̓Ì', 'á½–' => 'Υ̓͂', 'ᾶ' => 'Α͂', 'ῆ' => 'Η͂', 'á¿’' => 'Ϊ̀', 'á¿“' => 'ΪÌ', 'á¿–' => 'Ι͂', 'á¿—' => 'Ϊ͂', 'á¿¢' => 'Ϋ̀', 'á¿£' => 'ΫÌ', 'ῤ' => 'Ρ̓', 'ῦ' => 'Υ͂', 'ῧ' => 'Ϋ͂', 'ῶ' => 'Ω͂', 'ᾈ' => 'ἈΙ', 'ᾉ' => 'ἉΙ', 'ᾊ' => 'ἊΙ', 'ᾋ' => 'ἋΙ', 'ᾌ' => 'ἌΙ', 'á¾' => 'á¼Î™', 'ᾎ' => 'ἎΙ', 'á¾' => 'á¼Î™', 'ᾘ' => 'ἨΙ', 'á¾™' => 'ἩΙ', 'ᾚ' => 'ἪΙ', 'á¾›' => 'ἫΙ', 'ᾜ' => 'ἬΙ', 'á¾' => 'ἭΙ', 'ᾞ' => 'ἮΙ', 'ᾟ' => 'ἯΙ', 'ᾨ' => 'ὨΙ', 'ᾩ' => 'ὩΙ', 'ᾪ' => 'ὪΙ', 'ᾫ' => 'ὫΙ', 'ᾬ' => 'ὬΙ', 'á¾­' => 'ὭΙ', 'á¾®' => 'ὮΙ', 'ᾯ' => 'ὯΙ', 'á¾¼' => 'ΑΙ', 'á¿Œ' => 'ΗΙ', 'ῼ' => 'ΩΙ', 'á¾²' => 'ᾺΙ', 'á¾´' => 'ΆΙ', 'á¿‚' => 'ῊΙ', 'á¿„' => 'ΉΙ', 'ῲ' => 'ῺΙ', 'á¿´' => 'ÎΙ', 'á¾·' => 'Α͂Ι', 'ῇ' => 'Η͂Ι', 'á¿·' => 'Ω͂Ι'); diff --git a/vendor/symfony/polyfill-mbstring/bootstrap.php b/vendor/symfony/polyfill-mbstring/bootstrap.php index daa6f7ed150..bf578e9111e 100644 --- a/vendor/symfony/polyfill-mbstring/bootstrap.php +++ b/vendor/symfony/polyfill-mbstring/bootstrap.php @@ -10,86 +10,86 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Mbstring as p; +use RectorPrefix20211130\Symfony\Polyfill\Mbstring as p; if (\PHP_VERSION_ID >= 80000) { return require __DIR__ . '/bootstrap80.php'; } if (!\function_exists('mb_convert_encoding')) { function mb_convert_encoding($string, $to_encoding, $from_encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string, $to_encoding, $from_encoding); } } if (!\function_exists('mb_decode_mimeheader')) { function mb_decode_mimeheader($string) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader($string); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader($string); } } if (!\function_exists('mb_encode_mimeheader')) { function mb_encode_mimeheader($string, $charset = null, $transfer_encoding = null, $newline = "\r\n", $indent = 0) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader($string, $charset, $transfer_encoding, $newline, $indent); } } if (!\function_exists('mb_decode_numericentity')) { function mb_decode_numericentity($string, $map, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity($string, $map, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity($string, $map, $encoding); } } if (!\function_exists('mb_encode_numericentity')) { function mb_encode_numericentity($string, $map, $encoding = null, $hex = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity($string, $map, $encoding, $hex); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity($string, $map, $encoding, $hex); } } if (!\function_exists('mb_convert_case')) { function mb_convert_case($string, $mode, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case($string, $mode, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case($string, $mode, $encoding); } } if (!\function_exists('mb_internal_encoding')) { function mb_internal_encoding($encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); } } if (!\function_exists('mb_language')) { function mb_language($language = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); } } if (!\function_exists('mb_list_encodings')) { function mb_list_encodings() { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); } } if (!\function_exists('mb_encoding_aliases')) { function mb_encoding_aliases($encoding) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases($encoding); } } if (!\function_exists('mb_check_encoding')) { function mb_check_encoding($value = null, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); } } if (!\function_exists('mb_detect_encoding')) { function mb_detect_encoding($string, $encodings = null, $strict = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding($string, $encodings, $strict); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding($string, $encodings, $strict); } } if (!\function_exists('mb_detect_order')) { function mb_detect_order($encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); } } if (!\function_exists('mb_parse_str')) { @@ -102,133 +102,133 @@ if (!\function_exists('mb_parse_str')) { if (!\function_exists('mb_strlen')) { function mb_strlen($string, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen($string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen($string, $encoding); } } if (!\function_exists('mb_strpos')) { function mb_strpos($haystack, $needle, $offset = 0, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos($haystack, $needle, $offset, $encoding); } } if (!\function_exists('mb_strtolower')) { function mb_strtolower($string, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower($string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower($string, $encoding); } } if (!\function_exists('mb_strtoupper')) { function mb_strtoupper($string, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper($string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper($string, $encoding); } } if (!\function_exists('mb_substitute_character')) { function mb_substitute_character($substitute_character = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); } } if (!\function_exists('mb_substr')) { function mb_substr($string, $start, $length = 2147483647, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substr($string, $start, $length, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substr($string, $start, $length, $encoding); } } if (!\function_exists('mb_stripos')) { function mb_stripos($haystack, $needle, $offset = 0, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos($haystack, $needle, $offset, $encoding); } } if (!\function_exists('mb_stristr')) { function mb_stristr($haystack, $needle, $before_needle = \false, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr($haystack, $needle, $before_needle, $encoding); } } if (!\function_exists('mb_strrchr')) { function mb_strrchr($haystack, $needle, $before_needle = \false, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr($haystack, $needle, $before_needle, $encoding); } } if (!\function_exists('mb_strrichr')) { function mb_strrichr($haystack, $needle, $before_needle = \false, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr($haystack, $needle, $before_needle, $encoding); } } if (!\function_exists('mb_strripos')) { function mb_strripos($haystack, $needle, $offset = 0, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos($haystack, $needle, $offset, $encoding); } } if (!\function_exists('mb_strrpos')) { function mb_strrpos($haystack, $needle, $offset = 0, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos($haystack, $needle, $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos($haystack, $needle, $offset, $encoding); } } if (!\function_exists('mb_strstr')) { function mb_strstr($haystack, $needle, $before_needle = \false, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr($haystack, $needle, $before_needle, $encoding); } } if (!\function_exists('mb_get_info')) { function mb_get_info($type = 'all') { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info($type); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info($type); } } if (!\function_exists('mb_http_output')) { function mb_http_output($encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); } } if (!\function_exists('mb_strwidth')) { function mb_strwidth($string, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth($string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth($string, $encoding); } } if (!\function_exists('mb_substr_count')) { function mb_substr_count($haystack, $needle, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count($haystack, $needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count($haystack, $needle, $encoding); } } if (!\function_exists('mb_output_handler')) { function mb_output_handler($string, $status) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler($string, $status); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler($string, $status); } } if (!\function_exists('mb_http_input')) { function mb_http_input($type = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); } } if (!\function_exists('mb_convert_variables')) { function mb_convert_variables($to_encoding, $from_encoding, &...$vars) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables($to_encoding, $from_encoding, ...$vars); } } if (!\function_exists('mb_ord')) { function mb_ord($string, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_ord($string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_ord($string, $encoding); } } if (!\function_exists('mb_chr')) { function mb_chr($codepoint, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_chr($codepoint, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_chr($codepoint, $encoding); } } if (!\function_exists('mb_scrub')) { @@ -241,7 +241,7 @@ if (!\function_exists('mb_scrub')) { if (!\function_exists('mb_str_split')) { function mb_str_split($string, $length = 1, $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split($string, $length, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split($string, $length, $encoding); } } if (\extension_loaded('mbstring')) { diff --git a/vendor/symfony/polyfill-mbstring/bootstrap80.php b/vendor/symfony/polyfill-mbstring/bootstrap80.php index b55f36eb8ef..02ec58117b0 100644 --- a/vendor/symfony/polyfill-mbstring/bootstrap80.php +++ b/vendor/symfony/polyfill-mbstring/bootstrap80.php @@ -10,7 +10,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Mbstring as p; +use RectorPrefix20211130\Symfony\Polyfill\Mbstring as p; if (!\function_exists('mb_convert_encoding')) { /** * @param mixed[]|string|null $string @@ -19,37 +19,37 @@ if (!\function_exists('mb_convert_encoding')) { */ function mb_convert_encoding($string, ?string $to_encoding, $from_encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_encoding($string ?? '', (string) $to_encoding, $from_encoding); } } if (!\function_exists('mb_decode_mimeheader')) { function mb_decode_mimeheader(?string $string) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader((string) $string); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_mimeheader((string) $string); } } if (!\function_exists('mb_encode_mimeheader')) { function mb_encode_mimeheader(?string $string, ?string $charset = null, ?string $transfer_encoding = null, ?string $newline = "\r\n", ?int $indent = 0) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader((string) $string, $charset, $transfer_encoding, (string) $newline, (int) $indent); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_mimeheader((string) $string, $charset, $transfer_encoding, (string) $newline, (int) $indent); } } if (!\function_exists('mb_decode_numericentity')) { function mb_decode_numericentity(?string $string, array $map, ?string $encoding = null) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity((string) $string, $map, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_decode_numericentity((string) $string, $map, $encoding); } } if (!\function_exists('mb_encode_numericentity')) { function mb_encode_numericentity(?string $string, array $map, ?string $encoding = null, ?bool $hex = \false) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity((string) $string, $map, $encoding, (bool) $hex); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encode_numericentity((string) $string, $map, $encoding, (bool) $hex); } } if (!\function_exists('mb_convert_case')) { function mb_convert_case(?string $string, ?int $mode, ?string $encoding = null) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_case((string) $string, (int) $mode, $encoding); } } if (!\function_exists('mb_internal_encoding')) { @@ -58,7 +58,7 @@ if (!\function_exists('mb_internal_encoding')) { */ function mb_internal_encoding(?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_internal_encoding($encoding); } } if (!\function_exists('mb_language')) { @@ -67,19 +67,19 @@ if (!\function_exists('mb_language')) { */ function mb_language(?string $language = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_language($language); } } if (!\function_exists('mb_list_encodings')) { function mb_list_encodings() : array { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_list_encodings(); } } if (!\function_exists('mb_encoding_aliases')) { function mb_encoding_aliases(?string $encoding) : array { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases((string) $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_encoding_aliases((string) $encoding); } } if (!\function_exists('mb_check_encoding')) { @@ -88,7 +88,7 @@ if (!\function_exists('mb_check_encoding')) { */ function mb_check_encoding($value = null, ?string $encoding = null) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_check_encoding($value, $encoding); } } if (!\function_exists('mb_detect_encoding')) { @@ -98,7 +98,7 @@ if (!\function_exists('mb_detect_encoding')) { */ function mb_detect_encoding(?string $string, $encodings = null, ?bool $strict = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_encoding((string) $string, $encodings, (bool) $strict); } } if (!\function_exists('mb_detect_order')) { @@ -108,7 +108,7 @@ if (!\function_exists('mb_detect_order')) { */ function mb_detect_order($encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_detect_order($encoding); } } if (!\function_exists('mb_parse_str')) { @@ -121,7 +121,7 @@ if (!\function_exists('mb_parse_str')) { if (!\function_exists('mb_strlen')) { function mb_strlen(?string $string, ?string $encoding = null) : int { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen((string) $string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strlen((string) $string, $encoding); } } if (!\function_exists('mb_strpos')) { @@ -130,19 +130,19 @@ if (!\function_exists('mb_strpos')) { */ function mb_strpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strpos((string) $haystack, (string) $needle, (int) $offset, $encoding); } } if (!\function_exists('mb_strtolower')) { function mb_strtolower(?string $string, ?string $encoding = null) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower((string) $string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strtolower((string) $string, $encoding); } } if (!\function_exists('mb_strtoupper')) { function mb_strtoupper(?string $string, ?string $encoding = null) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper((string) $string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strtoupper((string) $string, $encoding); } } if (!\function_exists('mb_substitute_character')) { @@ -152,13 +152,13 @@ if (!\function_exists('mb_substitute_character')) { */ function mb_substitute_character($substitute_character = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substitute_character($substitute_character); } } if (!\function_exists('mb_substr')) { function mb_substr(?string $string, ?int $start, ?int $length = null, ?string $encoding = null) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substr((string) $string, (int) $start, $length, $encoding); } } if (!\function_exists('mb_stripos')) { @@ -167,7 +167,7 @@ if (!\function_exists('mb_stripos')) { */ function mb_stripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_stripos((string) $haystack, (string) $needle, (int) $offset, $encoding); } } if (!\function_exists('mb_stristr')) { @@ -176,7 +176,7 @@ if (!\function_exists('mb_stristr')) { */ function mb_stristr(?string $haystack, ?string $needle, ?bool $before_needle = \false, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_stristr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } } if (!\function_exists('mb_strrchr')) { @@ -185,7 +185,7 @@ if (!\function_exists('mb_strrchr')) { */ function mb_strrchr(?string $haystack, ?string $needle, ?bool $before_needle = \false, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrchr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } } if (!\function_exists('mb_strrichr')) { @@ -194,7 +194,7 @@ if (!\function_exists('mb_strrichr')) { */ function mb_strrichr(?string $haystack, ?string $needle, ?bool $before_needle = \false, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrichr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } } if (!\function_exists('mb_strripos')) { @@ -203,7 +203,7 @@ if (!\function_exists('mb_strripos')) { */ function mb_strripos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strripos((string) $haystack, (string) $needle, (int) $offset, $encoding); } } if (!\function_exists('mb_strrpos')) { @@ -212,7 +212,7 @@ if (!\function_exists('mb_strrpos')) { */ function mb_strrpos(?string $haystack, ?string $needle, ?int $offset = 0, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strrpos((string) $haystack, (string) $needle, (int) $offset, $encoding); } } if (!\function_exists('mb_strstr')) { @@ -221,7 +221,7 @@ if (!\function_exists('mb_strstr')) { */ function mb_strstr(?string $haystack, ?string $needle, ?bool $before_needle = \false, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strstr((string) $haystack, (string) $needle, (bool) $before_needle, $encoding); } } if (!\function_exists('mb_get_info')) { @@ -230,7 +230,7 @@ if (!\function_exists('mb_get_info')) { */ function mb_get_info(?string $type = 'all') { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info((string) $type); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_get_info((string) $type); } } if (!\function_exists('mb_http_output')) { @@ -239,25 +239,25 @@ if (!\function_exists('mb_http_output')) { */ function mb_http_output(?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_http_output($encoding); } } if (!\function_exists('mb_strwidth')) { function mb_strwidth(?string $string, ?string $encoding = null) : int { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth((string) $string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_strwidth((string) $string, $encoding); } } if (!\function_exists('mb_substr_count')) { function mb_substr_count(?string $haystack, ?string $needle, ?string $encoding = null) : int { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count((string) $haystack, (string) $needle, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_substr_count((string) $haystack, (string) $needle, $encoding); } } if (!\function_exists('mb_output_handler')) { function mb_output_handler(?string $string, ?int $status) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler((string) $string, (int) $status); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_output_handler((string) $string, (int) $status); } } if (!\function_exists('mb_http_input')) { @@ -266,7 +266,7 @@ if (!\function_exists('mb_http_input')) { */ function mb_http_input(?string $type = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_http_input($type); } } if (!\function_exists('mb_convert_variables')) { @@ -278,7 +278,7 @@ if (!\function_exists('mb_convert_variables')) { */ function mb_convert_variables(?string $to_encoding, $from_encoding, &$var, &...$vars) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_convert_variables((string) $to_encoding, $from_encoding ?? '', $var, ...$vars); } } if (!\function_exists('mb_ord')) { @@ -287,7 +287,7 @@ if (!\function_exists('mb_ord')) { */ function mb_ord(?string $string, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_ord((string) $string, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_ord((string) $string, $encoding); } } if (!\function_exists('mb_chr')) { @@ -296,7 +296,7 @@ if (!\function_exists('mb_chr')) { */ function mb_chr(?int $codepoint, ?string $encoding = null) { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_chr((int) $codepoint, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_chr((int) $codepoint, $encoding); } } if (!\function_exists('mb_scrub')) { @@ -309,7 +309,7 @@ if (!\function_exists('mb_scrub')) { if (!\function_exists('mb_str_split')) { function mb_str_split(?string $string, ?int $length = 1, ?string $encoding = null) : array { - return \RectorPrefix20211129\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split((string) $string, (int) $length, $encoding); + return \RectorPrefix20211130\Symfony\Polyfill\Mbstring\Mbstring::mb_str_split((string) $string, (int) $length, $encoding); } } if (\extension_loaded('mbstring')) { diff --git a/vendor/symfony/polyfill-mbstring/composer.json b/vendor/symfony/polyfill-mbstring/composer.json index 275300a5b57..e9040b2b093 100644 --- a/vendor/symfony/polyfill-mbstring/composer.json +++ b/vendor/symfony/polyfill-mbstring/composer.json @@ -26,7 +26,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Mbstring\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Mbstring\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-php73/Php73.php b/vendor/symfony/polyfill-php73/Php73.php index 828050fb1f9..3efdd47a3e1 100644 --- a/vendor/symfony/polyfill-php73/Php73.php +++ b/vendor/symfony/polyfill-php73/Php73.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Php73; +namespace RectorPrefix20211130\Symfony\Polyfill\Php73; /** * @author Gabriel Caruso diff --git a/vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php b/vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php index 15dc1e32e50..f48666ddbdb 100644 --- a/vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php +++ b/vendor/symfony/polyfill-php73/Resources/stubs/JsonException.php @@ -21,4 +21,4 @@ class JsonException extends \Exception * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -\class_alias('RectorPrefix20211129\\JsonException', 'JsonException', \false); +\class_alias('RectorPrefix20211130\\JsonException', 'JsonException', \false); diff --git a/vendor/symfony/polyfill-php73/bootstrap.php b/vendor/symfony/polyfill-php73/bootstrap.php index 5e93f95791e..5b7f7e7bdae 100644 --- a/vendor/symfony/polyfill-php73/bootstrap.php +++ b/vendor/symfony/polyfill-php73/bootstrap.php @@ -10,22 +10,22 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Php73 as p; +use RectorPrefix20211130\Symfony\Polyfill\Php73 as p; if (\PHP_VERSION_ID >= 70300) { return; } if (!\function_exists('is_countable')) { function is_countable($value) { - return \is_array($value) || $value instanceof \Countable || $value instanceof \ResourceBundle || $value instanceof \RectorPrefix20211129\SimpleXmlElement; + return \is_array($value) || $value instanceof \Countable || $value instanceof \ResourceBundle || $value instanceof \RectorPrefix20211130\SimpleXmlElement; } } if (!\function_exists('hrtime')) { require_once __DIR__ . '/Php73.php'; - \RectorPrefix20211129\Symfony\Polyfill\Php73\Php73::$startAt = (int) \microtime(\true); + \RectorPrefix20211130\Symfony\Polyfill\Php73\Php73::$startAt = (int) \microtime(\true); function hrtime($as_number = \false) { - return \RectorPrefix20211129\Symfony\Polyfill\Php73\Php73::hrtime($as_number); + return \RectorPrefix20211130\Symfony\Polyfill\Php73\Php73::hrtime($as_number); } } if (!\function_exists('array_key_first')) { diff --git a/vendor/symfony/polyfill-php73/composer.json b/vendor/symfony/polyfill-php73/composer.json index a8ff0f1b587..3cc50c38f13 100644 --- a/vendor/symfony/polyfill-php73/composer.json +++ b/vendor/symfony/polyfill-php73/composer.json @@ -25,7 +25,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php73\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php73\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-php80/Php80.php b/vendor/symfony/polyfill-php80/Php80.php index e4d633207a7..5ad0fd3f646 100644 --- a/vendor/symfony/polyfill-php80/Php80.php +++ b/vendor/symfony/polyfill-php80/Php80.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Php80; +namespace RectorPrefix20211130\Symfony\Polyfill\Php80; /** * @author Ion Bazan diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php b/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php index 79beb4415ba..16cb3ca03e4 100644 --- a/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php +++ b/vendor/symfony/polyfill-php80/Resources/stubs/Attribute.php @@ -20,4 +20,4 @@ final class Attribute $this->flags = $flags; } } -\class_alias('RectorPrefix20211129\\Attribute', 'Attribute', \false); +\class_alias('RectorPrefix20211130\\Attribute', 'Attribute', \false); diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php b/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php index bb6a7fae39a..525aaf2244a 100644 --- a/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php +++ b/vendor/symfony/polyfill-php80/Resources/stubs/UnhandledMatchError.php @@ -5,4 +5,4 @@ class UnhandledMatchError extends \Error { } -\class_alias('RectorPrefix20211129\\UnhandledMatchError', 'UnhandledMatchError', \false); +\class_alias('RectorPrefix20211130\\UnhandledMatchError', 'UnhandledMatchError', \false); diff --git a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php index 286babaaf90..882e4010dd0 100644 --- a/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php +++ b/vendor/symfony/polyfill-php80/Resources/stubs/ValueError.php @@ -5,4 +5,4 @@ class ValueError extends \Error { } -\class_alias('RectorPrefix20211129\\ValueError', 'ValueError', \false); +\class_alias('RectorPrefix20211130\\ValueError', 'ValueError', \false); diff --git a/vendor/symfony/polyfill-php80/bootstrap.php b/vendor/symfony/polyfill-php80/bootstrap.php index ab0e7c4d56b..299b0ea4651 100644 --- a/vendor/symfony/polyfill-php80/bootstrap.php +++ b/vendor/symfony/polyfill-php80/bootstrap.php @@ -10,7 +10,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -use RectorPrefix20211129\Symfony\Polyfill\Php80 as p; +use RectorPrefix20211130\Symfony\Polyfill\Php80 as p; if (\PHP_VERSION_ID >= 80000) { return; } @@ -20,42 +20,42 @@ if (!\defined('FILTER_VALIDATE_BOOL') && \defined('FILTER_VALIDATE_BOOLEAN')) { if (!\function_exists('fdiv')) { function fdiv(float $num1, float $num2) : float { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::fdiv($num1, $num2); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::fdiv($num1, $num2); } } if (!\function_exists('preg_last_error_msg')) { function preg_last_error_msg() : string { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::preg_last_error_msg(); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::preg_last_error_msg(); } } if (!\function_exists('str_contains')) { function str_contains(?string $haystack, ?string $needle) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::str_contains($haystack ?? '', $needle ?? ''); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::str_contains($haystack ?? '', $needle ?? ''); } } if (!\function_exists('str_starts_with')) { function str_starts_with(?string $haystack, ?string $needle) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::str_starts_with($haystack ?? '', $needle ?? ''); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::str_starts_with($haystack ?? '', $needle ?? ''); } } if (!\function_exists('str_ends_with')) { function str_ends_with(?string $haystack, ?string $needle) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::str_ends_with($haystack ?? '', $needle ?? ''); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::str_ends_with($haystack ?? '', $needle ?? ''); } } if (!\function_exists('get_debug_type')) { function get_debug_type($value) : string { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::get_debug_type($value); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::get_debug_type($value); } } if (!\function_exists('get_resource_id')) { function get_resource_id($resource) : int { - return \RectorPrefix20211129\Symfony\Polyfill\Php80\Php80::get_resource_id($resource); + return \RectorPrefix20211130\Symfony\Polyfill\Php80\Php80::get_resource_id($resource); } } diff --git a/vendor/symfony/polyfill-php80/composer.json b/vendor/symfony/polyfill-php80/composer.json index 288094e6e9b..c1686442da4 100644 --- a/vendor/symfony/polyfill-php80/composer.json +++ b/vendor/symfony/polyfill-php80/composer.json @@ -29,7 +29,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php80\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php80\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/polyfill-php81/Php81.php b/vendor/symfony/polyfill-php81/Php81.php index 070742cfc72..f573efa4e22 100644 --- a/vendor/symfony/polyfill-php81/Php81.php +++ b/vendor/symfony/polyfill-php81/Php81.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Polyfill\Php81; +namespace RectorPrefix20211130\Symfony\Polyfill\Php81; /** * @author Nicolas Grekas diff --git a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php b/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php index c95bb98a224..285d915f137 100644 --- a/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php +++ b/vendor/symfony/polyfill-php81/Resources/stubs/ReturnTypeWillChange.php @@ -9,4 +9,4 @@ final class ReturnTypeWillChange { } } -\class_alias('RectorPrefix20211129\\ReturnTypeWillChange', 'ReturnTypeWillChange', \false); +\class_alias('RectorPrefix20211130\\ReturnTypeWillChange', 'ReturnTypeWillChange', \false); diff --git a/vendor/symfony/polyfill-php81/bootstrap.php b/vendor/symfony/polyfill-php81/bootstrap.php index 5bfabdce9d6..2a548808e46 100644 --- a/vendor/symfony/polyfill-php81/bootstrap.php +++ b/vendor/symfony/polyfill-php81/bootstrap.php @@ -1,6 +1,6 @@ = 80100) { return; } if (\defined('MYSQLI_REFRESH_SLAVE') && !\defined('MYSQLI_REFRESH_REPLICA')) { \define('MYSQLI_REFRESH_REPLICA', 64); } -if (!\function_exists('RectorPrefix20211129\\array_is_list')) { +if (!\function_exists('RectorPrefix20211130\\array_is_list')) { function array_is_list(array $array) : bool { - return \RectorPrefix20211129\Symfony\Polyfill\Php81\Php81::array_is_list($array); + return \RectorPrefix20211130\Symfony\Polyfill\Php81\Php81::array_is_list($array); } } -if (!\function_exists('RectorPrefix20211129\\enum_exists')) { +if (!\function_exists('RectorPrefix20211130\\enum_exists')) { function enum_exists(string $enum, bool $autoload = \true) : bool { return $autoload && \class_exists($enum) && \false; diff --git a/vendor/symfony/polyfill-php81/composer.json b/vendor/symfony/polyfill-php81/composer.json index ec8d82d34b4..c1ace7f886d 100644 --- a/vendor/symfony/polyfill-php81/composer.json +++ b/vendor/symfony/polyfill-php81/composer.json @@ -25,7 +25,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Polyfill\\Php81\\": "" + "RectorPrefix20211130\\Symfony\\Polyfill\\Php81\\": "" }, "files": [ "bootstrap.php" diff --git a/vendor/symfony/process/Exception/ExceptionInterface.php b/vendor/symfony/process/Exception/ExceptionInterface.php index e4830a69206..369f2671bde 100644 --- a/vendor/symfony/process/Exception/ExceptionInterface.php +++ b/vendor/symfony/process/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; /** * Marker Interface for the Process Component. diff --git a/vendor/symfony/process/Exception/InvalidArgumentException.php b/vendor/symfony/process/Exception/InvalidArgumentException.php index d9628767ba4..4cfb87257b4 100644 --- a/vendor/symfony/process/Exception/InvalidArgumentException.php +++ b/vendor/symfony/process/Exception/InvalidArgumentException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; /** * InvalidArgumentException for the Process Component. * * @author Romain Neutron */ -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\Process\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/Exception/LogicException.php b/vendor/symfony/process/Exception/LogicException.php index 61460c2756a..84ebdffa527 100644 --- a/vendor/symfony/process/Exception/LogicException.php +++ b/vendor/symfony/process/Exception/LogicException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; /** * LogicException for the Process Component. * * @author Romain Neutron */ -class LogicException extends \LogicException implements \RectorPrefix20211129\Symfony\Component\Process\Exception\ExceptionInterface +class LogicException extends \LogicException implements \RectorPrefix20211130\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/Exception/ProcessFailedException.php b/vendor/symfony/process/Exception/ProcessFailedException.php index ecf98164b71..b323dc15021 100644 --- a/vendor/symfony/process/Exception/ProcessFailedException.php +++ b/vendor/symfony/process/Exception/ProcessFailedException.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * Exception for failed processes. * * @author Johannes M. Schmitt */ -class ProcessFailedException extends \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException +class ProcessFailedException extends \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException { private $process; - public function __construct(\RectorPrefix20211129\Symfony\Component\Process\Process $process) + public function __construct(\RectorPrefix20211130\Symfony\Component\Process\Process $process) { if ($process->isSuccessful()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException('Expected a failed process, but the given process was successful.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException('Expected a failed process, but the given process was successful.'); } $error = \sprintf('The command "%s" failed.' . "\n\nExit Code: %s(%s)\n\nWorking directory: %s", $process->getCommandLine(), $process->getExitCode(), $process->getExitCodeText(), $process->getWorkingDirectory()); if (!$process->isOutputDisabled()) { diff --git a/vendor/symfony/process/Exception/ProcessSignaledException.php b/vendor/symfony/process/Exception/ProcessSignaledException.php index 615c4dc44f7..c4018c4bc0b 100644 --- a/vendor/symfony/process/Exception/ProcessSignaledException.php +++ b/vendor/symfony/process/Exception/ProcessSignaledException.php @@ -8,23 +8,23 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * Exception that is thrown when a process has been signaled. * * @author Sullivan Senechal */ -final class ProcessSignaledException extends \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException +final class ProcessSignaledException extends \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException { private $process; - public function __construct(\RectorPrefix20211129\Symfony\Component\Process\Process $process) + public function __construct(\RectorPrefix20211130\Symfony\Component\Process\Process $process) { $this->process = $process; parent::__construct(\sprintf('The process has been signaled with signal "%s".', $process->getTermSignal())); } - public function getProcess() : \RectorPrefix20211129\Symfony\Component\Process\Process + public function getProcess() : \RectorPrefix20211130\Symfony\Component\Process\Process { return $this->process; } diff --git a/vendor/symfony/process/Exception/ProcessTimedOutException.php b/vendor/symfony/process/Exception/ProcessTimedOutException.php index 397d73fd2bf..7b150f05c03 100644 --- a/vendor/symfony/process/Exception/ProcessTimedOutException.php +++ b/vendor/symfony/process/Exception/ProcessTimedOutException.php @@ -8,21 +8,21 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * Exception that is thrown when a process times out. * * @author Johannes M. Schmitt */ -class ProcessTimedOutException extends \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException +class ProcessTimedOutException extends \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException { public const TYPE_GENERAL = 1; public const TYPE_IDLE = 2; private $process; private $timeoutType; - public function __construct(\RectorPrefix20211129\Symfony\Component\Process\Process $process, int $timeoutType) + public function __construct(\RectorPrefix20211130\Symfony\Component\Process\Process $process, int $timeoutType) { $this->process = $process; $this->timeoutType = $timeoutType; diff --git a/vendor/symfony/process/Exception/RuntimeException.php b/vendor/symfony/process/Exception/RuntimeException.php index a7a9edf50c4..e9345390360 100644 --- a/vendor/symfony/process/Exception/RuntimeException.php +++ b/vendor/symfony/process/Exception/RuntimeException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Exception; +namespace RectorPrefix20211130\Symfony\Component\Process\Exception; /** * RuntimeException for the Process Component. * * @author Johannes M. Schmitt */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\Process\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\Process\Exception\ExceptionInterface { } diff --git a/vendor/symfony/process/ExecutableFinder.php b/vendor/symfony/process/ExecutableFinder.php index c03d77adf18..45d22db13f4 100644 --- a/vendor/symfony/process/ExecutableFinder.php +++ b/vendor/symfony/process/ExecutableFinder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; /** * Generic executable finder. @@ -42,7 +42,7 @@ class ExecutableFinder * @param string|null $default The default to return if no executable is found * @param array $extraDirs Additional dirs to check into * - * @return string|null The executable path or default value + * @return string|null */ public function find($name, $default = null, $extraDirs = []) { diff --git a/vendor/symfony/process/InputStream.php b/vendor/symfony/process/InputStream.php index 4c178c92356..8e300bbe16e 100644 --- a/vendor/symfony/process/InputStream.php +++ b/vendor/symfony/process/InputStream.php @@ -8,13 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; -use RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException; /** * Provides a way to continuously write to the input of a Process until the InputStream is closed. * * @author Nicolas Grekas + * + * @implements \IteratorAggregate */ class InputStream implements \IteratorAggregate { @@ -42,9 +44,9 @@ class InputStream implements \IteratorAggregate return; } if ($this->isClosed()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException(\sprintf('"%s" is closed.', static::class)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException(\sprintf('"%s" is closed.', static::class)); } - $this->input[] = \RectorPrefix20211129\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); + $this->input[] = \RectorPrefix20211130\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); } /** * Closes the write buffer. @@ -61,7 +63,7 @@ class InputStream implements \IteratorAggregate return !$this->open; } /** - * @return \Traversable + * @return \Traversable */ #[\ReturnTypeWillChange] public function getIterator() diff --git a/vendor/symfony/process/PhpExecutableFinder.php b/vendor/symfony/process/PhpExecutableFinder.php index 4de5f5723c4..d5fe697853b 100644 --- a/vendor/symfony/process/PhpExecutableFinder.php +++ b/vendor/symfony/process/PhpExecutableFinder.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; /** * An executable finder specifically designed for the PHP executable. @@ -21,12 +21,12 @@ class PhpExecutableFinder private $executableFinder; public function __construct() { - $this->executableFinder = new \RectorPrefix20211129\Symfony\Component\Process\ExecutableFinder(); + $this->executableFinder = new \RectorPrefix20211130\Symfony\Component\Process\ExecutableFinder(); } /** * Finds The PHP executable. * - * @return string|false The PHP executable path or false if it cannot be found + * @return string|false * @param bool $includeArgs */ public function find($includeArgs = \true) @@ -73,7 +73,7 @@ class PhpExecutableFinder /** * Finds the PHP executable arguments. * - * @return array The PHP executable arguments + * @return array */ public function findArguments() { diff --git a/vendor/symfony/process/PhpProcess.php b/vendor/symfony/process/PhpProcess.php index f75930a21f7..7e98a06197f 100644 --- a/vendor/symfony/process/PhpProcess.php +++ b/vendor/symfony/process/PhpProcess.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; -use RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException; /** * PhpProcess runs a PHP script in an independent process. * @@ -21,7 +21,7 @@ use RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException; * * @author Fabien Potencier */ -class PhpProcess extends \RectorPrefix20211129\Symfony\Component\Process\Process +class PhpProcess extends \RectorPrefix20211130\Symfony\Component\Process\Process { /** * @param string $script The PHP script to run (as a string) @@ -33,7 +33,7 @@ class PhpProcess extends \RectorPrefix20211129\Symfony\Component\Process\Process public function __construct(string $script, string $cwd = null, array $env = null, int $timeout = 60, array $php = null) { if (null === $php) { - $executableFinder = new \RectorPrefix20211129\Symfony\Component\Process\PhpExecutableFinder(); + $executableFinder = new \RectorPrefix20211130\Symfony\Component\Process\PhpExecutableFinder(); $php = $executableFinder->find(\false); $php = \false === $php ? null : \array_merge([$php], $executableFinder->findArguments()); } @@ -55,7 +55,7 @@ class PhpProcess extends \RectorPrefix20211129\Symfony\Component\Process\Process */ public static function fromShellCommandline($command, $cwd = null, $env = null, $input = null, $timeout = 60) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException(\sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException(\sprintf('The "%s()" method cannot be called when using "%s".', __METHOD__, self::class)); } /** * {@inheritdoc} @@ -65,7 +65,7 @@ class PhpProcess extends \RectorPrefix20211129\Symfony\Component\Process\Process public function start($callback = null, $env = []) { if (null === $this->getCommandLine()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Unable to find the PHP executable.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Unable to find the PHP executable.'); } parent::start($callback, $env); } diff --git a/vendor/symfony/process/Pipes/AbstractPipes.php b/vendor/symfony/process/Pipes/AbstractPipes.php index 8b4a046eac3..6e469279c6e 100644 --- a/vendor/symfony/process/Pipes/AbstractPipes.php +++ b/vendor/symfony/process/Pipes/AbstractPipes.php @@ -8,15 +8,15 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Pipes; +namespace RectorPrefix20211130\Symfony\Component\Process\Pipes; -use RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException; /** * @author Romain Neutron * * @internal */ -abstract class AbstractPipes implements \RectorPrefix20211129\Symfony\Component\Process\Pipes\PipesInterface +abstract class AbstractPipes implements \RectorPrefix20211130\Symfony\Component\Process\Pipes\PipesInterface { public $pipes = []; private $inputBuffer = ''; @@ -91,7 +91,7 @@ abstract class AbstractPipes implements \RectorPrefix20211129\Symfony\Component\ } elseif (!isset($this->inputBuffer[0])) { if (!\is_string($input)) { if (!\is_scalar($input)) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" yielded a value of type "%s", but only scalars and stream resources are supported.', \get_debug_type($this->input), \get_debug_type($input))); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" yielded a value of type "%s", but only scalars and stream resources are supported.', \get_debug_type($this->input), \get_debug_type($input))); } $input = (string) $input; } diff --git a/vendor/symfony/process/Pipes/PipesInterface.php b/vendor/symfony/process/Pipes/PipesInterface.php index cbe99c1e975..3f4262af01d 100644 --- a/vendor/symfony/process/Pipes/PipesInterface.php +++ b/vendor/symfony/process/Pipes/PipesInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Pipes; +namespace RectorPrefix20211130\Symfony\Component\Process\Pipes; /** * PipesInterface manages descriptors and pipes for the use of proc_open. diff --git a/vendor/symfony/process/Pipes/UnixPipes.php b/vendor/symfony/process/Pipes/UnixPipes.php index 52551b78170..fb82778ef2f 100644 --- a/vendor/symfony/process/Pipes/UnixPipes.php +++ b/vendor/symfony/process/Pipes/UnixPipes.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Pipes; +namespace RectorPrefix20211130\Symfony\Component\Process\Pipes; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * UnixPipes implementation uses unix pipes as handles. * @@ -18,7 +18,7 @@ use RectorPrefix20211129\Symfony\Component\Process\Process; * * @internal */ -class UnixPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes\AbstractPipes +class UnixPipes extends \RectorPrefix20211130\Symfony\Component\Process\Pipes\AbstractPipes { private $ttyMode; private $ptyMode; @@ -30,10 +30,7 @@ class UnixPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes\Ab $this->haveReadSupport = $haveReadSupport; parent::__construct($input); } - /** - * @return array - */ - public function __sleep() + public function __sleep() : array { throw new \BadMethodCallException('Cannot serialize ' . __CLASS__); } @@ -57,7 +54,7 @@ class UnixPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes\Ab if ($this->ttyMode) { return [['file', '/dev/tty', 'r'], ['file', '/dev/tty', 'w'], ['file', '/dev/tty', 'w']]; } - if ($this->ptyMode && \RectorPrefix20211129\Symfony\Component\Process\Process::isPtySupported()) { + if ($this->ptyMode && \RectorPrefix20211130\Symfony\Component\Process\Process::isPtySupported()) { return [['pty'], ['pty'], ['pty']]; } return [ @@ -88,7 +85,7 @@ class UnixPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes\Ab unset($r[0]); // let's have a look if something changed in streams \set_error_handler([$this, 'handleError']); - if (($r || $w) && \false === \stream_select($r, $w, $e, 0, $blocking ? \RectorPrefix20211129\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0 : 0)) { + if (($r || $w) && \false === \stream_select($r, $w, $e, 0, $blocking ? \RectorPrefix20211130\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0 : 0)) { \restore_error_handler(); // if a system call has been interrupted, forget about it, let's try again // otherwise, an error occurred, let's reset pipes diff --git a/vendor/symfony/process/Pipes/WindowsPipes.php b/vendor/symfony/process/Pipes/WindowsPipes.php index 185a89158ce..24a451cfc6e 100644 --- a/vendor/symfony/process/Pipes/WindowsPipes.php +++ b/vendor/symfony/process/Pipes/WindowsPipes.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process\Pipes; +namespace RectorPrefix20211130\Symfony\Component\Process\Pipes; -use RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Process\Process; +use RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Process\Process; /** * WindowsPipes implementation uses temporary files as handles. * @@ -22,12 +22,12 @@ use RectorPrefix20211129\Symfony\Component\Process\Process; * * @internal */ -class WindowsPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes\AbstractPipes +class WindowsPipes extends \RectorPrefix20211130\Symfony\Component\Process\Pipes\AbstractPipes { private $files = []; private $fileHandles = []; private $lockHandles = []; - private $readBytes = [\RectorPrefix20211129\Symfony\Component\Process\Process::STDOUT => 0, \RectorPrefix20211129\Symfony\Component\Process\Process::STDERR => 0]; + private $readBytes = [\RectorPrefix20211130\Symfony\Component\Process\Process::STDOUT => 0, \RectorPrefix20211130\Symfony\Component\Process\Process::STDERR => 0]; private $haveReadSupport; public function __construct($input, bool $haveReadSupport) { @@ -37,7 +37,7 @@ class WindowsPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes // Workaround for this problem is to use temporary files instead of pipes on Windows platform. // // @see https://bugs.php.net/51800 - $pipes = [\RectorPrefix20211129\Symfony\Component\Process\Process::STDOUT => \RectorPrefix20211129\Symfony\Component\Process\Process::OUT, \RectorPrefix20211129\Symfony\Component\Process\Process::STDERR => \RectorPrefix20211129\Symfony\Component\Process\Process::ERR]; + $pipes = [\RectorPrefix20211130\Symfony\Component\Process\Process::STDOUT => \RectorPrefix20211130\Symfony\Component\Process\Process::OUT, \RectorPrefix20211130\Symfony\Component\Process\Process::STDERR => \RectorPrefix20211130\Symfony\Component\Process\Process::ERR]; $tmpDir = \sys_get_temp_dir(); $lastError = 'unknown reason'; \set_error_handler(function ($type, $msg) use(&$lastError) { @@ -51,7 +51,7 @@ class WindowsPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes continue 2; } \restore_error_handler(); - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('A temporary file could not be opened to write the process output: ' . $lastError); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('A temporary file could not be opened to write the process output: ' . $lastError); } if (!\flock($h, \LOCK_EX | \LOCK_NB)) { continue 2; @@ -76,10 +76,7 @@ class WindowsPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes } parent::__construct($input); } - /** - * @return array - */ - public function __sleep() + public function __sleep() : array { throw new \BadMethodCallException('Cannot serialize ' . __CLASS__); } @@ -124,9 +121,9 @@ class WindowsPipes extends \RectorPrefix20211129\Symfony\Component\Process\Pipes $read = $r = $e = []; if ($blocking) { if ($w) { - @\stream_select($r, $w, $e, 0, \RectorPrefix20211129\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); + @\stream_select($r, $w, $e, 0, \RectorPrefix20211130\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); } elseif ($this->fileHandles) { - \usleep(\RectorPrefix20211129\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); + \usleep(\RectorPrefix20211130\Symfony\Component\Process\Process::TIMEOUT_PRECISION * 1000000.0); } } foreach ($this->fileHandles as $type => $fileHandle) { diff --git a/vendor/symfony/process/Process.php b/vendor/symfony/process/Process.php index bc52bdce5ec..587a82ed9ee 100644 --- a/vendor/symfony/process/Process.php +++ b/vendor/symfony/process/Process.php @@ -8,23 +8,25 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; -use RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessFailedException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessSignaledException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessTimedOutException; -use RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Process\Pipes\PipesInterface; -use RectorPrefix20211129\Symfony\Component\Process\Pipes\UnixPipes; -use RectorPrefix20211129\Symfony\Component\Process\Pipes\WindowsPipes; +use RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessFailedException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessSignaledException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessTimedOutException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Process\Pipes\PipesInterface; +use RectorPrefix20211130\Symfony\Component\Process\Pipes\UnixPipes; +use RectorPrefix20211130\Symfony\Component\Process\Pipes\WindowsPipes; /** * Process is a thin wrapper around proc_* functions to easily * start independent PHP processes. * * @author Fabien Potencier * @author Romain Neutron + * + * @implements \IteratorAggregate */ class Process implements \IteratorAggregate { @@ -131,7 +133,7 @@ class Process implements \IteratorAggregate public function __construct(array $command, string $cwd = null, array $env = null, $input = null, ?float $timeout = 60) { if (!\function_exists('proc_open')) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('The Process class relies on proc_open, which is not available on your PHP installation.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('The Process class relies on proc_open, which is not available on your PHP installation.'); } $this->commandline = $command; $this->cwd = $cwd; @@ -248,7 +250,7 @@ class Process implements \IteratorAggregate public function mustRun($callback = null, $env = []) : self { if (0 !== $this->run($callback, $env)) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessFailedException($this); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessFailedException($this); } return $this; } @@ -275,7 +277,7 @@ class Process implements \IteratorAggregate public function start($callback = null, $env = []) { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); } $this->resetProcessData(); $this->starttime = $this->lastOutputTime = \microtime(\true); @@ -283,9 +285,9 @@ class Process implements \IteratorAggregate $this->hasCallback = null !== $callback; $descriptors = $this->getDescriptors(); if ($this->env) { - $env += $this->env; + $env += '\\' === \DIRECTORY_SEPARATOR ? \array_diff_ukey($this->env, $env, 'strcasecmp') : $this->env; } - $env += $this->getDefaultEnv(); + $env += '\\' === \DIRECTORY_SEPARATOR ? \array_diff_ukey($this->getDefaultEnv(), $env, 'strcasecmp') : $this->getDefaultEnv(); if (\is_array($commandline = $this->commandline)) { $commandline = \implode(' ', \array_map([$this, 'escapeArgument'], $commandline)); if ('\\' !== \DIRECTORY_SEPARATOR) { @@ -314,11 +316,11 @@ class Process implements \IteratorAggregate } } if (!\is_dir($this->cwd)) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException(\sprintf('The provided cwd "%s" does not exist.', $this->cwd)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException(\sprintf('The provided cwd "%s" does not exist.', $this->cwd)); } $this->process = @\proc_open($commandline, $descriptors, $this->processPipes->pipes, $this->cwd, $envPairs, $this->options); if (!\is_resource($this->process)) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Unable to launch a new process.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Unable to launch a new process.'); } $this->status = self::STATUS_STARTED; if (isset($descriptors[3])) { @@ -351,7 +353,7 @@ class Process implements \IteratorAggregate public function restart($callback = null, $env = []) : self { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Process is already running.'); } $process = clone $this; $process->start($callback, $env); @@ -379,7 +381,7 @@ class Process implements \IteratorAggregate if (null !== $callback) { if (!$this->processPipes->haveReadSupport()) { $this->stop(0); - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::wait".'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::wait".'); } $this->callback = $this->buildCallback($callback); } @@ -393,7 +395,7 @@ class Process implements \IteratorAggregate \usleep(1000); } if ($this->processInformation['signaled'] && $this->processInformation['termsig'] !== $this->latestSignal) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessSignaledException($this); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessSignaledException($this); } return $this->exitcode; } @@ -415,7 +417,7 @@ class Process implements \IteratorAggregate $this->updateStatus(\false); if (!$this->processPipes->haveReadSupport()) { $this->stop(0); - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::waitUntil".'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Pass the callback to the "Process::start" method or call enableOutput to use a callback with "Process::waitUntil".'); } $callback = $this->buildCallback($callback); $ready = \false; @@ -475,10 +477,10 @@ class Process implements \IteratorAggregate public function disableOutput() { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Disabling output while the process is running is not possible.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Disabling output while the process is running is not possible.'); } if (null !== $this->idleTimeout) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Output can not be disabled while an idle timeout is set.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Output cannot be disabled while an idle timeout is set.'); } $this->outputDisabled = \true; return $this; @@ -493,7 +495,7 @@ class Process implements \IteratorAggregate public function enableOutput() { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Enabling output while the process is running is not possible.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Enabling output while the process is running is not possible.'); } $this->outputDisabled = \false; return $this; @@ -510,7 +512,7 @@ class Process implements \IteratorAggregate /** * Returns the current output of the process (STDOUT). * - * @return string The process output + * @return string * * @throws LogicException in case the output has been disabled * @throws LogicException In case the process is not started @@ -529,7 +531,7 @@ class Process implements \IteratorAggregate * In comparison with the getOutput method which always return the whole * output, this one returns the new output since the last call. * - * @return string The process output since the last call + * @return string * * @throws LogicException in case the output has been disabled * @throws LogicException In case the process is not started @@ -552,7 +554,7 @@ class Process implements \IteratorAggregate * @throws LogicException in case the output has been disabled * @throws LogicException In case the process is not started * - * @return \Generator + * @return \Generator */ #[\ReturnTypeWillChange] public function getIterator(int $flags = 0) @@ -607,7 +609,7 @@ class Process implements \IteratorAggregate /** * Returns the current error output of the process (STDERR). * - * @return string The process error output + * @return string * * @throws LogicException in case the output has been disabled * @throws LogicException In case the process is not started @@ -627,7 +629,7 @@ class Process implements \IteratorAggregate * whole error output, this one returns the new error output since the last * call. * - * @return string The process error output since the last call + * @return string * * @throws LogicException in case the output has been disabled * @throws LogicException In case the process is not started @@ -685,7 +687,7 @@ class Process implements \IteratorAggregate /** * Checks if the process ended successfully. * - * @return bool true if the process ended successfully, false otherwise + * @return bool */ public function isSuccessful() { @@ -719,7 +721,7 @@ class Process implements \IteratorAggregate { $this->requireProcessIsTerminated(__FUNCTION__); if ($this->isSigchildEnabled() && -1 === $this->processInformation['termsig']) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal can not be retrieved.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('This PHP has been compiled with --enable-sigchild. Term signal cannot be retrieved.'); } return $this->processInformation['termsig']; } @@ -754,7 +756,7 @@ class Process implements \IteratorAggregate /** * Checks if the process is currently running. * - * @return bool true if the process is currently running, false otherwise + * @return bool */ public function isRunning() { @@ -767,7 +769,7 @@ class Process implements \IteratorAggregate /** * Checks if the process has been started with no regard to the current state. * - * @return bool true if status is ready, false otherwise + * @return bool */ public function isStarted() { @@ -776,7 +778,7 @@ class Process implements \IteratorAggregate /** * Checks if the process is terminated. * - * @return bool true if process is terminated, false otherwise + * @return bool */ public function isTerminated() { @@ -788,7 +790,7 @@ class Process implements \IteratorAggregate * * The status is one of: ready, started, terminated. * - * @return string The current process status + * @return string */ public function getStatus() { @@ -856,7 +858,7 @@ class Process implements \IteratorAggregate /** * Gets the last output time in seconds. * - * @return float|null The last output time in seconds or null if it isn't started + * @return float|null */ public function getLastOutputTime() : ?float { @@ -865,25 +867,25 @@ class Process implements \IteratorAggregate /** * Gets the command line to be executed. * - * @return string The command to execute + * @return string */ public function getCommandLine() { return \is_array($this->commandline) ? \implode(' ', \array_map([$this, 'escapeArgument'], $this->commandline)) : $this->commandline; } /** - * Gets the process timeout (max. runtime). + * Gets the process timeout in seconds (max. runtime). * - * @return float|null The timeout in seconds or null if it's disabled + * @return float|null */ public function getTimeout() { return $this->timeout; } /** - * Gets the process idle timeout (max. time since last output). + * Gets the process idle timeout in seconds (max. time since last output). * - * @return float|null The timeout in seconds or null if it's disabled + * @return float|null */ public function getIdleTimeout() { @@ -918,7 +920,7 @@ class Process implements \IteratorAggregate public function setIdleTimeout($timeout) { if (null !== $timeout && $this->outputDisabled) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Idle timeout can not be set while the output is disabled.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Idle timeout cannot be set while the output is disabled.'); } $this->idleTimeout = $this->validateTimeout($timeout); return $this; @@ -934,10 +936,10 @@ class Process implements \IteratorAggregate public function setTty($tty) { if ('\\' === \DIRECTORY_SEPARATOR && $tty) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('TTY mode is not supported on Windows platform.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('TTY mode is not supported on Windows platform.'); } if ($tty && !self::isTtySupported()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('TTY mode requires /dev/tty to be read/writable.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('TTY mode requires /dev/tty to be read/writable.'); } $this->tty = $tty; return $this; @@ -945,7 +947,7 @@ class Process implements \IteratorAggregate /** * Checks if the TTY mode is enabled. * - * @return bool true if the TTY mode is enabled, false otherwise + * @return bool */ public function isTty() { @@ -974,7 +976,7 @@ class Process implements \IteratorAggregate /** * Gets the working directory. * - * @return string|null The current working directory or null on failure + * @return string|null */ public function getWorkingDirectory() { @@ -999,7 +1001,7 @@ class Process implements \IteratorAggregate /** * Gets the environment variables. * - * @return array The current environment variables + * @return array */ public function getEnv() { @@ -1020,7 +1022,7 @@ class Process implements \IteratorAggregate /** * Gets the Process input. * - * @return resource|string|\Iterator|null The Process input + * @return resource|string|\Iterator|null */ public function getInput() { @@ -1040,9 +1042,9 @@ class Process implements \IteratorAggregate public function setInput($input) { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Input can not be set while the process is running.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Input cannot be set while the process is running.'); } - $this->input = \RectorPrefix20211129\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); + $this->input = \RectorPrefix20211130\Symfony\Component\Process\ProcessUtils::validateInput(__METHOD__, $input); return $this; } /** @@ -1060,11 +1062,11 @@ class Process implements \IteratorAggregate } if (null !== $this->timeout && $this->timeout < \microtime(\true) - $this->starttime) { $this->stop(0); - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_GENERAL); } if (null !== $this->idleTimeout && $this->idleTimeout < \microtime(\true) - $this->lastOutputTime) { $this->stop(0); - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20211129\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_IDLE); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessTimedOutException($this, \RectorPrefix20211130\Symfony\Component\Process\Exception\ProcessTimedOutException::TYPE_IDLE); } } /** @@ -1073,7 +1075,7 @@ class Process implements \IteratorAggregate public function getStartTime() : float { if (!$this->isStarted()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Start time is only available after process start.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Start time is only available after process start.'); } return $this->starttime; } @@ -1089,14 +1091,14 @@ class Process implements \IteratorAggregate public function setOptions($options) { if ($this->isRunning()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException('Setting options while the process is running is not possible.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException('Setting options while the process is running is not possible.'); } $defaultOptions = $this->options; $existingOptions = ['blocking_pipes', 'create_process_group', 'create_new_console']; foreach ($options as $key => $value) { if (!\in_array($key, $existingOptions)) { $this->options = $defaultOptions; - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException(\sprintf('Invalid option "%s" passed to "%s()". Supported options are "%s".', $key, __METHOD__, \implode('", "', $existingOptions))); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException(\sprintf('Invalid option "%s" passed to "%s()". Supported options are "%s".', $key, __METHOD__, \implode('", "', $existingOptions))); } $this->options[$key] = $value; } @@ -1137,9 +1139,9 @@ class Process implements \IteratorAggregate $this->input->rewind(); } if ('\\' === \DIRECTORY_SEPARATOR) { - $this->processPipes = new \RectorPrefix20211129\Symfony\Component\Process\Pipes\WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback); + $this->processPipes = new \RectorPrefix20211130\Symfony\Component\Process\Pipes\WindowsPipes($this->input, !$this->outputDisabled || $this->hasCallback); } else { - $this->processPipes = new \RectorPrefix20211129\Symfony\Component\Process\Pipes\UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback); + $this->processPipes = new \RectorPrefix20211130\Symfony\Component\Process\Pipes\UnixPipes($this->isTty(), $this->isPty(), $this->input, !$this->outputDisabled || $this->hasCallback); } return $this->processPipes->getDescriptors(); } @@ -1151,7 +1153,7 @@ class Process implements \IteratorAggregate * * @param callable|null $callback The user defined PHP callback * - * @return \Closure A PHP closure + * @return \Closure */ protected function buildCallback($callback = null) { @@ -1218,7 +1220,7 @@ class Process implements \IteratorAggregate private function readPipesForOutput(string $caller, bool $blocking = \false) { if ($this->outputDisabled) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Output has been disabled.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Output has been disabled.'); } $this->requireProcessIsStarted($caller); $this->updateStatus($blocking); @@ -1234,7 +1236,7 @@ class Process implements \IteratorAggregate if (0.0 === $timeout) { $timeout = null; } elseif ($timeout < 0) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException('The timeout value must be a valid positive integer or float number.'); } return $timeout; } @@ -1308,7 +1310,7 @@ class Process implements \IteratorAggregate * @param int $signal A valid POSIX signal (see https://php.net/pcntl.constants) * @param bool $throwException Whether to throw exception in case signal failed * - * @return bool True if the signal was sent successfully, false otherwise + * @return bool * * @throws LogicException In case the process is not running * @throws RuntimeException In case --enable-sigchild is activated and the process can't be killed @@ -1318,7 +1320,7 @@ class Process implements \IteratorAggregate { if (null === ($pid = $this->getPid())) { if ($throwException) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException('Can not send signal on a non running process.'); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException('Cannot send signal on a non running process.'); } return \false; } @@ -1326,7 +1328,7 @@ class Process implements \IteratorAggregate \exec(\sprintf('taskkill /F /T /PID %d 2>&1', $pid), $output, $exitCode); if ($exitCode && $this->isRunning()) { if ($throwException) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Unable to kill the process (%s).', \implode(' ', $output))); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Unable to kill the process (%s).', \implode(' ', $output))); } return \false; } @@ -1340,7 +1342,7 @@ class Process implements \IteratorAggregate } if (!$ok) { if ($throwException) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Error while sending signal "%s".', $signal)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\RuntimeException(\sprintf('Error while sending signal "%s".', $signal)); } return \false; } @@ -1395,7 +1397,7 @@ class Process implements \IteratorAggregate private function requireProcessIsStarted(string $functionName) { if (!$this->isStarted()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be started before calling "%s()".', $functionName)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be started before calling "%s()".', $functionName)); } } /** @@ -1406,7 +1408,7 @@ class Process implements \IteratorAggregate private function requireProcessIsTerminated(string $functionName) { if (!$this->isTerminated()) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be terminated before calling "%s()".', $functionName)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\LogicException(\sprintf('Process must be terminated before calling "%s()".', $functionName)); } } /** @@ -1433,7 +1435,7 @@ class Process implements \IteratorAggregate { return \preg_replace_callback('/"\\$\\{:([_a-zA-Z]++[_a-zA-Z0-9]*+)\\}"/', function ($matches) use($commandline, $env) { if (!isset($env[$matches[1]]) || \false === $env[$matches[1]]) { - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('Command line is missing a value for parameter "%s": ', $matches[1]) . $commandline); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('Command line is missing a value for parameter "%s": ', $matches[1]) . $commandline); } return $this->escapeArgument($env[$matches[1]]); }, $commandline); @@ -1441,7 +1443,7 @@ class Process implements \IteratorAggregate private function getDefaultEnv() : array { $env = \getenv(); - $env = \array_intersect_key($env, $_SERVER) ?: $env; - return $_ENV + $env; + $env = ('\\' === \DIRECTORY_SEPARATOR ? \array_intersect_ukey($env, $_SERVER, 'strcasecmp') : \array_intersect_key($env, $_SERVER)) ?: $env; + return $_ENV + ('\\' === \DIRECTORY_SEPARATOR ? \array_diff_ukey($env, $_ENV, 'strcasecmp') : $env); } } diff --git a/vendor/symfony/process/ProcessUtils.php b/vendor/symfony/process/ProcessUtils.php index 8d291ebad4e..6960c7f0e5e 100644 --- a/vendor/symfony/process/ProcessUtils.php +++ b/vendor/symfony/process/ProcessUtils.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Process; +namespace RectorPrefix20211130\Symfony\Component\Process; -use RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException; /** * ProcessUtils is a bunch of utility methods. * @@ -32,7 +32,7 @@ class ProcessUtils * @param string $caller The name of method call that validates the input * @param mixed $input The input to validate * - * @return mixed The validated input + * @return mixed * * @throws InvalidArgumentException In case the input is not valid */ @@ -48,7 +48,7 @@ class ProcessUtils if (\is_scalar($input)) { return (string) $input; } - if ($input instanceof \RectorPrefix20211129\Symfony\Component\Process\Process) { + if ($input instanceof \RectorPrefix20211130\Symfony\Component\Process\Process) { return $input->getIterator($input::ITER_SKIP_ERR); } if ($input instanceof \Iterator) { @@ -57,7 +57,7 @@ class ProcessUtils if ($input instanceof \Traversable) { return new \IteratorIterator($input); } - throw new \RectorPrefix20211129\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" only accepts strings, Traversable objects or stream resources.', $caller)); + throw new \RectorPrefix20211130\Symfony\Component\Process\Exception\InvalidArgumentException(\sprintf('"%s" only accepts strings, Traversable objects or stream resources.', $caller)); } return $input; } diff --git a/vendor/symfony/process/README.md b/vendor/symfony/process/README.md index afce5e45eee..8777de4a65c 100644 --- a/vendor/symfony/process/README.md +++ b/vendor/symfony/process/README.md @@ -3,6 +3,17 @@ Process Component The Process component executes commands in sub-processes. +Sponsor +------- + +The Process component for Symfony 5.4/6.0 is [backed][1] by [SensioLabs][2]. + +As the creator of Symfony, SensioLabs supports companies using Symfony, with an +offering encompassing consultancy, expertise, services, training, and technical +assistance to ensure the success of web application development projects. + +Help Symfony by [sponsoring][3] its development! + Resources --------- @@ -11,3 +22,7 @@ Resources * [Report issues](https://github.com/symfony/symfony/issues) and [send Pull Requests](https://github.com/symfony/symfony/pulls) in the [main Symfony repository](https://github.com/symfony/symfony) + +[1]: https://symfony.com/backers +[2]: https://sensiolabs.com +[3]: https://symfony.com/sponsor diff --git a/vendor/symfony/process/composer.json b/vendor/symfony/process/composer.json index 4547845a186..d4c2ff7ba59 100644 --- a/vendor/symfony/process/composer.json +++ b/vendor/symfony/process/composer.json @@ -21,7 +21,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Process\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Process\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/string/AbstractString.php b/vendor/symfony/string/AbstractString.php index 2e98badfc68..abf32a00702 100644 --- a/vendor/symfony/string/AbstractString.php +++ b/vendor/symfony/string/AbstractString.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; -use RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException; /** * Represents a string of abstract characters. * @@ -81,16 +81,18 @@ abstract class AbstractString implements \JsonSerializable } /** * @param string|string[] $needle - * - * @return static + * @return $this * @param bool $includeNeedle * @param int $offset */ - public function after($needle, $includeNeedle = \false, $offset = 0) : self + public function after($needle, $includeNeedle = \false, $offset = 0) { $str = clone $this; $i = \PHP_INT_MAX; - foreach ((array) $needle as $n) { + if (\is_string($needle)) { + $needle = [$needle]; + } + foreach ($needle as $n) { $n = (string) $n; $j = $this->indexOf($n, $offset); if (null !== $j && $j < $i) { @@ -108,16 +110,18 @@ abstract class AbstractString implements \JsonSerializable } /** * @param string|string[] $needle - * - * @return static + * @return $this * @param bool $includeNeedle * @param int $offset */ - public function afterLast($needle, $includeNeedle = \false, $offset = 0) : self + public function afterLast($needle, $includeNeedle = \false, $offset = 0) { $str = clone $this; $i = null; - foreach ((array) $needle as $n) { + if (\is_string($needle)) { + $needle = [$needle]; + } + foreach ($needle as $n) { $n = (string) $n; $j = $this->indexOfLast($n, $offset); if (null !== $j && $j >= $i) { @@ -134,22 +138,24 @@ abstract class AbstractString implements \JsonSerializable return $this->slice($i); } /** - * @return static + * @return $this * @param string ...$suffix */ - public abstract function append(...$suffix) : self; + public abstract function append(...$suffix); /** * @param string|string[] $needle - * - * @return static + * @return $this * @param bool $includeNeedle * @param int $offset */ - public function before($needle, $includeNeedle = \false, $offset = 0) : self + public function before($needle, $includeNeedle = \false, $offset = 0) { $str = clone $this; $i = \PHP_INT_MAX; - foreach ((array) $needle as $n) { + if (\is_string($needle)) { + $needle = [$needle]; + } + foreach ($needle as $n) { $n = (string) $n; $j = $this->indexOf($n, $offset); if (null !== $j && $j < $i) { @@ -167,16 +173,18 @@ abstract class AbstractString implements \JsonSerializable } /** * @param string|string[] $needle - * - * @return static + * @return $this * @param bool $includeNeedle * @param int $offset */ - public function beforeLast($needle, $includeNeedle = \false, $offset = 0) : self + public function beforeLast($needle, $includeNeedle = \false, $offset = 0) { $str = clone $this; $i = null; - foreach ((array) $needle as $n) { + if (\is_string($needle)) { + $needle = [$needle]; + } + foreach ($needle as $n) { $n = (string) $n; $j = $this->indexOfLast($n, $offset); if (null !== $j && $j >= $i) { @@ -202,18 +210,18 @@ abstract class AbstractString implements \JsonSerializable return '' === $str->string ? [] : \array_values(\unpack('C*', $str->string)); } /** - * @return static + * @return $this */ - public abstract function camel() : self; + public abstract function camel(); /** * @return static[] * @param int $length */ public abstract function chunk($length = 1) : array; /** - * @return static + * @return $this */ - public function collapseWhitespace() : self + public function collapseWhitespace() { $str = clone $this; $str->string = \trim(\preg_replace('/(?:\\s{2,}+|[^\\S ])/', ' ', $str->string)); @@ -231,7 +239,7 @@ abstract class AbstractString implements \JsonSerializable */ public function endsWith($suffix) : bool { - if (!\is_array($suffix) && !$suffix instanceof \Traversable) { + if (\is_string($suffix)) { throw new \TypeError(\sprintf('Method "%s()" must be overridden by class "%s" to deal with non-iterable values.', __FUNCTION__, static::class)); } foreach ($suffix as $s) { @@ -242,10 +250,10 @@ abstract class AbstractString implements \JsonSerializable return \false; } /** - * @return static + * @return $this * @param string $suffix */ - public function ensureEnd($suffix) : self + public function ensureEnd($suffix) { if (!$this->endsWith($suffix)) { return $this->append($suffix); @@ -255,10 +263,10 @@ abstract class AbstractString implements \JsonSerializable return $this->replaceMatches($regex . ($this->ignoreCase ? 'i' : ''), '$1'); } /** - * @return static + * @return $this * @param string $prefix */ - public function ensureStart($prefix) : self + public function ensureStart($prefix) { $prefix = new static($prefix); if (!$this->startsWith($prefix)) { @@ -277,7 +285,7 @@ abstract class AbstractString implements \JsonSerializable */ public function equalsTo($string) : bool { - if (!\is_array($string) && !$string instanceof \Traversable) { + if (\is_string($string)) { throw new \TypeError(\sprintf('Method "%s()" must be overridden by class "%s" to deal with non-iterable values.', __FUNCTION__, static::class)); } foreach ($string as $s) { @@ -288,13 +296,13 @@ abstract class AbstractString implements \JsonSerializable return \false; } /** - * @return static + * @return $this */ - public abstract function folded() : self; + public abstract function folded(); /** - * @return static + * @return $this */ - public function ignoreCase() : self + public function ignoreCase() { $str = clone $this; $str->ignoreCase = \true; @@ -306,7 +314,7 @@ abstract class AbstractString implements \JsonSerializable */ public function indexOf($needle, $offset = 0) : ?int { - if (!\is_array($needle) && !$needle instanceof \Traversable) { + if (\is_string($needle)) { throw new \TypeError(\sprintf('Method "%s()" must be overridden by class "%s" to deal with non-iterable values.', __FUNCTION__, static::class)); } $i = \PHP_INT_MAX; @@ -324,7 +332,7 @@ abstract class AbstractString implements \JsonSerializable */ public function indexOfLast($needle, $offset = 0) : ?int { - if (!\is_array($needle) && !$needle instanceof \Traversable) { + if (\is_string($needle)) { throw new \TypeError(\sprintf('Method "%s()" must be overridden by class "%s" to deal with non-iterable values.', __FUNCTION__, static::class)); } $i = null; @@ -341,20 +349,20 @@ abstract class AbstractString implements \JsonSerializable return '' === $this->string; } /** - * @return static + * @return $this * @param mixed[] $strings * @param string|null $lastGlue */ - public abstract function join($strings, $lastGlue = null) : self; + public abstract function join($strings, $lastGlue = null); public function jsonSerialize() : string { return $this->string; } public abstract function length() : int; /** - * @return static + * @return $this */ - public abstract function lower() : self; + public abstract function lower(); /** * Matches the string using a regular expression. * @@ -367,75 +375,74 @@ abstract class AbstractString implements \JsonSerializable */ public abstract function match($regexp, $flags = 0, $offset = 0) : array; /** - * @return static + * @return $this * @param int $length * @param string $padStr */ - public abstract function padBoth($length, $padStr = ' ') : self; + public abstract function padBoth($length, $padStr = ' '); /** - * @return static + * @return $this * @param int $length * @param string $padStr */ - public abstract function padEnd($length, $padStr = ' ') : self; + public abstract function padEnd($length, $padStr = ' '); /** - * @return static + * @return $this * @param int $length * @param string $padStr */ - public abstract function padStart($length, $padStr = ' ') : self; + public abstract function padStart($length, $padStr = ' '); /** - * @return static + * @return $this * @param string ...$prefix */ - public abstract function prepend(...$prefix) : self; + public abstract function prepend(...$prefix); /** - * @return static + * @return $this * @param int $multiplier */ - public function repeat($multiplier) : self + public function repeat($multiplier) { if (0 > $multiplier) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Multiplier must be positive, %d given.', $multiplier)); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Multiplier must be positive, %d given.', $multiplier)); } $str = clone $this; $str->string = \str_repeat($str->string, $multiplier); return $str; } /** - * @return static + * @return $this * @param string $from * @param string $to */ - public abstract function replace($from, $to) : self; + public abstract function replace($from, $to); /** * @param string|callable $to - * - * @return static + * @return $this * @param string $fromRegexp */ - public abstract function replaceMatches($fromRegexp, $to) : self; + public abstract function replaceMatches($fromRegexp, $to); /** - * @return static + * @return $this */ - public abstract function reverse() : self; + public abstract function reverse(); /** - * @return static + * @return $this * @param int $start * @param int|null $length */ - public abstract function slice($start = 0, $length = null) : self; + public abstract function slice($start = 0, $length = null); /** - * @return static + * @return $this */ - public abstract function snake() : self; + public abstract function snake(); /** - * @return static + * @return $this * @param string $replacement * @param int $start * @param int|null $length */ - public abstract function splice($replacement, $start = 0, $length = null) : self; + public abstract function splice($replacement, $start = 0, $length = null); /** * @return static[] * @param string $delimiter @@ -451,17 +458,17 @@ abstract class AbstractString implements \JsonSerializable $delimiter .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (\false === ($chunks = \preg_split($delimiter, $this->string, $limit, $flags))) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Splitting failed with ' . $k . '.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Splitting failed with ' . $k . '.'); } } - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Splitting failed with unknown error code.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Splitting failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -485,7 +492,7 @@ abstract class AbstractString implements \JsonSerializable */ public function startsWith($prefix) : bool { - if (!\is_array($prefix) && !$prefix instanceof \Traversable) { + if (\is_string($prefix)) { throw new \TypeError(\sprintf('Method "%s()" must be overridden by class "%s" to deal with non-iterable values.', __FUNCTION__, static::class)); } foreach ($prefix as $prefix) { @@ -496,28 +503,28 @@ abstract class AbstractString implements \JsonSerializable return \false; } /** - * @return static + * @return $this * @param bool $allWords */ - public abstract function title($allWords = \false) : self; + public abstract function title($allWords = \false); /** * @param string|null $toEncoding */ - public function toByteString($toEncoding = null) : \RectorPrefix20211129\Symfony\Component\String\ByteString + public function toByteString($toEncoding = null) : \RectorPrefix20211130\Symfony\Component\String\ByteString { - $b = new \RectorPrefix20211129\Symfony\Component\String\ByteString(); + $b = new \RectorPrefix20211130\Symfony\Component\String\ByteString(); $toEncoding = \in_array($toEncoding, ['utf8', 'utf-8', 'UTF8'], \true) ? 'UTF-8' : $toEncoding; - if (null === $toEncoding || $toEncoding === ($fromEncoding = $this instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString || \preg_match('//u', $b->string) ? 'UTF-8' : 'Windows-1252')) { + if (null === $toEncoding || $toEncoding === ($fromEncoding = $this instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString || \preg_match('//u', $b->string) ? 'UTF-8' : 'Windows-1252')) { $b->string = $this->string; return $b; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { try { $b->string = \mb_convert_encoding($this->string, $toEncoding, 'UTF-8'); - } catch (\RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException $e) { if (!\function_exists('iconv')) { throw $e; } @@ -528,40 +535,92 @@ abstract class AbstractString implements \JsonSerializable } return $b; } - public function toCodePointString() : \RectorPrefix20211129\Symfony\Component\String\CodePointString + public function toCodePointString() : \RectorPrefix20211130\Symfony\Component\String\CodePointString { - return new \RectorPrefix20211129\Symfony\Component\String\CodePointString($this->string); + return new \RectorPrefix20211130\Symfony\Component\String\CodePointString($this->string); } public function toString() : string { return $this->string; } - public function toUnicodeString() : \RectorPrefix20211129\Symfony\Component\String\UnicodeString + public function toUnicodeString() : \RectorPrefix20211130\Symfony\Component\String\UnicodeString { - return new \RectorPrefix20211129\Symfony\Component\String\UnicodeString($this->string); + return new \RectorPrefix20211130\Symfony\Component\String\UnicodeString($this->string); } /** - * @return static + * @return $this * @param string $chars */ - public abstract function trim($chars = " \t\n\r\0\v\f ") : self; + public abstract function trim($chars = " \t\n\r\0\v\f "); /** - * @return static + * @return $this * @param string $chars */ - public abstract function trimEnd($chars = " \t\n\r\0\v\f ") : self; + public abstract function trimEnd($chars = " \t\n\r\0\v\f "); /** - * @return static + * @param string|string[] $prefix + * @return $this + */ + public function trimPrefix($prefix) + { + if (\is_array($prefix) || $prefix instanceof \Traversable) { + foreach ($prefix as $s) { + $t = $this->trimPrefix($s); + if ($t->string !== $this->string) { + return $t; + } + } + return clone $this; + } + $str = clone $this; + if ($prefix instanceof self) { + $prefix = $prefix->string; + } else { + $prefix = (string) $prefix; + } + if ('' !== $prefix && \strlen($this->string) >= \strlen($prefix) && 0 === \substr_compare($this->string, $prefix, 0, \strlen($prefix), $this->ignoreCase)) { + $str->string = \substr($this->string, \strlen($prefix)); + } + return $str; + } + /** + * @return $this * @param string $chars */ - public abstract function trimStart($chars = " \t\n\r\0\v\f ") : self; + public abstract function trimStart($chars = " \t\n\r\0\v\f "); /** - * @return static + * @param string|string[] $suffix + * @return $this + */ + public function trimSuffix($suffix) + { + if (\is_array($suffix) || $suffix instanceof \Traversable) { + foreach ($suffix as $s) { + $t = $this->trimSuffix($s); + if ($t->string !== $this->string) { + return $t; + } + } + return clone $this; + } + $str = clone $this; + if ($suffix instanceof self) { + $suffix = $suffix->string; + } else { + $suffix = (string) $suffix; + } + if ('' !== $suffix && \strlen($this->string) >= \strlen($suffix) && 0 === \substr_compare($this->string, $suffix, -\strlen($suffix), null, $this->ignoreCase)) { + $str->string = \substr($this->string, 0, -\strlen($suffix)); + } + return $str; + } + /** + * @return $this * @param int $length * @param string $ellipsis * @param bool $cut */ - public function truncate($length, $ellipsis = '', $cut = \true) : self + public function truncate($length, $ellipsis = '', $cut = \true) { $stringLength = $this->length(); if ($stringLength <= $length) { @@ -581,21 +640,21 @@ abstract class AbstractString implements \JsonSerializable return $ellipsisLength ? $str->trimEnd()->append($ellipsis) : $str; } /** - * @return static + * @return $this */ - public abstract function upper() : self; + public abstract function upper(); /** * Returns the printable length on a terminal. * @param bool $ignoreAnsiDecoration */ public abstract function width($ignoreAnsiDecoration = \true) : int; /** - * @return static + * @return $this * @param int $width * @param string $break * @param bool $cut */ - public function wordwrap($width = 75, $break = "\n", $cut = \false) : self + public function wordwrap($width = 75, $break = "\n", $cut = \false) { $lines = '' !== $break ? $this->split($break) : [clone $this]; $chars = []; diff --git a/vendor/symfony/string/AbstractUnicodeString.php b/vendor/symfony/string/AbstractUnicodeString.php index c6492a7b2ab..bed82c01f4f 100644 --- a/vendor/symfony/string/AbstractUnicodeString.php +++ b/vendor/symfony/string/AbstractUnicodeString.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; -use RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException; /** * Represents a string of abstract Unicode characters. * @@ -24,7 +24,7 @@ use RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException; * * @throws ExceptionInterface */ -abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Component\String\AbstractString +abstract class AbstractUnicodeString extends \RectorPrefix20211130\Symfony\Component\String\AbstractString { public const NFC = \Normalizer::NFC; public const NFD = \Normalizer::NFD; @@ -43,10 +43,10 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo private const TRANSLIT_TO = ['AE', 'D', 'O', 'TH', 'ss', 'ae', 'd', 'o', 'th', 'D', 'd', 'H', 'h', 'i', 'q', 'L', 'l', 'L', 'l', '\'n', 'N', 'n', 'OE', 'oe', 'T', 't', 'b', 'B', 'B', 'b', 'C', 'c', 'D', 'D', 'D', 'd', 'E', 'F', 'f', 'G', 'hv', 'I', 'I', 'K', 'k', 'l', 'N', 'n', 'OI', 'oi', 'P', 'p', 't', 'T', 't', 'T', 'V', 'Y', 'y', 'Z', 'z', 'DZ', 'Dz', 'dz', 'G', 'g', 'd', 'Z', 'z', 'l', 'n', 't', 'j', 'db', 'qp', 'A', 'C', 'c', 'L', 'T', 's', 'z', 'B', 'U', 'E', 'e', 'J', 'j', 'R', 'r', 'Y', 'y', 'b', 'c', 'd', 'd', 'e', 'j', 'g', 'g', 'G', 'h', 'h', 'i', 'I', 'l', 'l', 'l', 'm', 'n', 'n', 'N', 'OE', 'r', 'r', 'r', 'R', 's', 't', 'u', 'v', 'Y', 'z', 'z', 'B', 'G', 'H', 'j', 'L', 'q', 'dz', 'dz', 'ts', 'ls', 'lz', 'A', 'AE', 'B', 'C', 'D', 'D', 'E', 'J', 'K', 'L', 'M', 'O', 'P', 'T', 'U', 'V', 'W', 'Z', 'ue', 'b', 'd', 'f', 'm', 'n', 'p', 'r', 'r', 's', 't', 'z', 'th', 'I', 'p', 'U', 'b', 'd', 'f', 'g', 'k', 'l', 'm', 'n', 'p', 'r', 's', 'v', 'x', 'z', 'a', 'd', 'e', 'e', 'i', 'u', 'a', 's', 's', 'SS', 'LL', 'll', 'V', 'v', 'Y', 'y', '(C)', '(R)', 'CE', 'Cr', 'Fr.', 'L.', 'Pts', 'TL', 'Rs', 'x', 'Rx', 'm/s', 'rad/s', 'C/kg', 'pH', 'V/m', 'A/m', ' 1/4', ' 1/2', ' 3/4', ' 1/3', ' 2/3', ' 1/5', ' 2/5', ' 3/5', ' 4/5', ' 1/6', ' 5/6', ' 1/8', ' 3/8', ' 5/8', ' 7/8', ' 1/', '0', '\'', '\'', ',', '\'', '"', '"', ',,', '"', '\'', '"', '"', '"', '<<', '>>', '<', '>', '-', '-', '-', '-', '-', '-', '-', '-', '-', '||', '/', '[', ']', '*', ',', '.', '<', '>', '<<', '>>', '[', ']', '[', ']', '[', ']', ',', '.', '[', ']', '<<', '>>', '<', '>', ',', '[', ']', '((', '))', '.', ',', '*', '/', '-', '/', '\\', '|', '||', '<<', '>>', '((', '))']; private static $transliterators = []; /** - * @return static + * @return $this * @param int ...$codes */ - public static function fromCodePoints(...$codes) : self + public static function fromCodePoints(...$codes) { $string = ''; foreach ($codes as $code) { @@ -113,7 +113,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo $transliterator = self::$transliterators[$rule] ?? (self::$transliterators[$rule] = \Transliterator::create($rule)); } if (null === $transliterator) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Unknown transliteration rule "%s".', $rule)); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Unknown transliteration rule "%s".', $rule)); } self::$transliterators['any-latin/bgn'] = $transliterator; } @@ -134,7 +134,10 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo $str->string .= $s; return $str; } - public function camel() : parent + /** + * @return $this + */ + public function camel() { $str = clone $this; $str->string = \str_replace(' ', '', \preg_replace_callback('/\\b./u', static function ($m) use(&$i) { @@ -159,12 +162,13 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $codePoints; } /** + * @return $this * @param bool $compat */ - public function folded($compat = \true) : parent + public function folded($compat = \true) { $str = clone $this; - if (!$compat || \PHP_VERSION_ID < 70300 || !\defined('Normalizer::NFKC_CF')) { + if (!$compat || !\defined('Normalizer::NFKC_CF')) { $str->string = \normalizer_normalize($str->string, $compat ? \Normalizer::NFKC : \Normalizer::NFC); $str->string = \mb_strtolower(\str_replace(self::FOLD_FROM, self::FOLD_TO, $this->string), 'UTF-8'); } else { @@ -173,20 +177,24 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $str; } /** + * @return $this * @param mixed[] $strings * @param string|null $lastGlue */ - public function join($strings, $lastGlue = null) : parent + public function join($strings, $lastGlue = null) { $str = clone $this; $tail = null !== $lastGlue && 1 < \count($strings) ? $lastGlue . \array_pop($strings) : ''; $str->string = \implode($this->string, $strings) . $tail; if (!\preg_match('//u', $str->string)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } - public function lower() : parent + /** + * @return $this + */ + public function lower() { $str = clone $this; $str->string = \mb_strtolower(\str_replace('İ', 'i̇', $str->string), 'UTF-8'); @@ -204,17 +212,17 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo $regexp .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (\false === $match($regexp . 'u', $this->string, $matches, $flags, $offset)) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } \array_walk_recursive($matches, function (&$value) { if ($value === '') { @@ -227,94 +235,96 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $matches; } /** - * @return static + * @return $this * @param int $form */ - public function normalize($form = self::NFC) : self + public function normalize($form = self::NFC) { if (!\in_array($form, [self::NFC, self::NFD, self::NFKC, self::NFKD])) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); } $str = clone $this; \normalizer_is_normalized($str->string, $form) ?: ($str->string = \normalizer_normalize($str->string, $form)); return $str; } /** + * @return $this * @param int $length * @param string $padStr */ - public function padBoth($length, $padStr = ' ') : parent + public function padBoth($length, $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; return $this->pad($length, $pad, \STR_PAD_BOTH); } /** + * @return $this * @param int $length * @param string $padStr */ - public function padEnd($length, $padStr = ' ') : parent + public function padEnd($length, $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; return $this->pad($length, $pad, \STR_PAD_RIGHT); } /** + * @return $this * @param int $length * @param string $padStr */ - public function padStart($length, $padStr = ' ') : parent + public function padStart($length, $padStr = ' ') { if ('' === $padStr || !\preg_match('//u', $padStr)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $pad = clone $this; $pad->string = $padStr; return $this->pad($length, $pad, \STR_PAD_LEFT); } /** + * @param callable|string $to + * @return $this * @param string $fromRegexp */ - public function replaceMatches($fromRegexp, $to) : parent + public function replaceMatches($fromRegexp, $to) { if ($this->ignoreCase) { $fromRegexp .= 'i'; } if (\is_array($to) || $to instanceof \Closure) { - if (!\is_callable($to)) { - throw new \TypeError(\sprintf('Argument 2 passed to "%s::replaceMatches()" must be callable, array given.', static::class)); - } $replace = 'preg_replace_callback'; $to = static function (array $m) use($to) : string { $to = $to($m); if ('' !== $to && (!\is_string($to) || !\preg_match('//u', $to))) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Replace callback must return a valid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Replace callback must return a valid UTF-8 string.'); } return $to; }; } elseif ('' !== $to && !\preg_match('//u', $to)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } else { $replace = 'preg_replace'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (null === ($string = $replace($fromRegexp . 'u', $to, $this->string))) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -323,22 +333,29 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo $str->string = $string; return $str; } - public function reverse() : parent + /** + * @return $this + */ + public function reverse() { $str = clone $this; $str->string = \implode('', \array_reverse(\preg_split('/(\\X)/u', $str->string, -1, \PREG_SPLIT_DELIM_CAPTURE | \PREG_SPLIT_NO_EMPTY))); return $str; } - public function snake() : parent + /** + * @return $this + */ + public function snake() { $str = $this->camel()->title(); - $str->string = \mb_strtolower(\preg_replace(['/(\\p{Lu}+)(\\p{Lu}\\p{Ll})/u', '/([\\p{Ll}0-9])(\\p{Lu})/u'], 'RectorPrefix20211129\\1_\\2', $str->string), 'UTF-8'); + $str->string = \mb_strtolower(\preg_replace(['/(\\p{Lu}+)(\\p{Lu}\\p{Ll})/u', '/([\\p{Ll}0-9])(\\p{Lu})/u'], 'RectorPrefix20211130\\1_\\2', $str->string), 'UTF-8'); return $str; } /** + * @return $this * @param bool $allWords */ - public function title($allWords = \false) : parent + public function title($allWords = \false) { $str = clone $this; $limit = $allWords ? -1 : 1; @@ -348,12 +365,13 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $str; } /** + * @return $this * @param string $chars */ - public function trim($chars = " \t\n\r\0\v\f ") : parent + public function trim($chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; @@ -361,12 +379,13 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $str; } /** + * @return $this * @param string $chars */ - public function trimEnd($chars = " \t\n\r\0\v\f ") : parent + public function trimEnd($chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; @@ -374,25 +393,62 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $str; } /** + * @return $this + */ + public function trimPrefix($prefix) + { + if (!$this->ignoreCase) { + return parent::trimPrefix($prefix); + } + $str = clone $this; + if ($prefix instanceof \Traversable) { + $prefix = \iterator_to_array($prefix, \false); + } elseif ($prefix instanceof parent) { + $prefix = $prefix->string; + } + $prefix = \implode('|', \array_map('preg_quote', (array) $prefix)); + $str->string = \preg_replace("{^(?:{$prefix})}iuD", '', $this->string); + return $str; + } + /** + * @return $this * @param string $chars */ - public function trimStart($chars = " \t\n\r\0\v\f ") : parent + public function trimStart($chars = " \t\n\r\0\v\f ") { if (" \t\n\r\0\v\f " !== $chars && !\preg_match('//u', $chars)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 chars.'); } $chars = \preg_quote($chars); $str = clone $this; $str->string = \preg_replace("{^[{$chars}]++}uD", '', $str->string); return $str; } - public function upper() : parent + /** + * @return $this + */ + public function trimSuffix($suffix) + { + if (!$this->ignoreCase) { + return parent::trimSuffix($suffix); + } + $str = clone $this; + if ($suffix instanceof \Traversable) { + $suffix = \iterator_to_array($suffix, \false); + } elseif ($suffix instanceof parent) { + $suffix = $suffix->string; + } + $suffix = \implode('|', \array_map('preg_quote', (array) $suffix)); + $str->string = \preg_replace("{(?:{$suffix})\$}iuD", '', $this->string); + return $str; + } + /** + * @return $this + */ + public function upper() { $str = clone $this; $str->string = \mb_strtoupper($str->string, 'UTF-8'); - if (\PHP_VERSION_ID < 70300) { - $str->string = \str_replace(self::UPPER_FROM, self::UPPER_TO, $str->string); - } return $str; } /** @@ -422,9 +478,9 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo return $width; } /** - * @return static + * @return $this */ - private function pad(int $len, self $pad, int $type) : parent + private function pad(int $len, self $pad, int $type) { $sLen = $this->length(); if ($len <= $sLen) { @@ -447,7 +503,7 @@ abstract class AbstractUnicodeString extends \RectorPrefix20211129\Symfony\Compo $len = $leftLen % $padLen; return $str->prepend(\str_repeat($pad->string, \intdiv($leftLen, $padLen)) . ($len ? $pad->slice(0, $len) : '')); default: - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid padding type.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid padding type.'); } } /** diff --git a/vendor/symfony/string/ByteString.php b/vendor/symfony/string/ByteString.php index 2106a1433c3..ed1485ae4f5 100644 --- a/vendor/symfony/string/ByteString.php +++ b/vendor/symfony/string/ByteString.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; -use RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException; /** * Represents a binary-safe string of bytes. * @@ -21,7 +21,7 @@ use RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException; * * @throws ExceptionInterface */ -class ByteString extends \RectorPrefix20211129\Symfony\Component\String\AbstractString +class ByteString extends \RectorPrefix20211130\Symfony\Component\String\AbstractString { private const ALPHABET_ALPHANUMERIC = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz'; public function __construct(string $string = '') @@ -44,13 +44,13 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract public static function fromRandom($length = 16, $alphabet = null) : self { if ($length <= 0) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('A strictly positive length is expected, "%d" given.', $length)); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('A strictly positive length is expected, "%d" given.', $length)); } $alphabet = $alphabet ?? self::ALPHABET_ALPHANUMERIC; $alphabetSize = \strlen($alphabet); $bits = (int) \ceil(\log($alphabetSize, 2.0)); if ($bits <= 0 || $bits > 56) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('The length of the alphabet must in the [2^1, 2^56] range.'); } $ret = ''; while ($length > 0) { @@ -88,15 +88,19 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return '' === $str ? [] : [\ord($str)]; } /** + * @return $this * @param string ...$suffix */ - public function append(...$suffix) : parent + public function append(...$suffix) { $str = clone $this; $str->string .= 1 >= \count($suffix) ? $suffix[0] ?? '' : \implode('', $suffix); return $str; } - public function camel() : parent + /** + * @return $this + */ + public function camel() { $str = clone $this; $str->string = \lcfirst(\str_replace(' ', '', \ucwords(\preg_replace('/[^a-zA-Z0-9\\x7f-\\xff]++/', ' ', $this->string)))); @@ -108,7 +112,7 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract public function chunk($length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -121,48 +125,52 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract } return $chunks; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $suffix + */ public function endsWith($suffix) : bool { - if ($suffix instanceof parent) { + if ($suffix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; - } elseif (\is_array($suffix) || $suffix instanceof \Traversable) { + } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); - } else { - $suffix = (string) $suffix; } return '' !== $suffix && \strlen($this->string) >= \strlen($suffix) && 0 === \substr_compare($this->string, $suffix, -\strlen($suffix), null, $this->ignoreCase); } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $string + */ public function equalsTo($string) : bool { - if ($string instanceof parent) { + if ($string instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $string = $string->string; - } elseif (\is_array($string) || $string instanceof \Traversable) { + } elseif (!\is_string($string)) { return parent::equalsTo($string); - } else { - $string = (string) $string; } if ('' !== $string && $this->ignoreCase) { return 0 === \strcasecmp($string, $this->string); } return $string === $this->string; } - public function folded() : parent + /** + * @return $this + */ + public function folded() { $str = clone $this; $str->string = \strtolower($str->string); return $str; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOf($needle, $offset = 0) : ?int { - if ($needle instanceof parent) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); - } else { - $needle = (string) $needle; } if ('' === $needle) { return null; @@ -171,16 +179,15 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return \false === $i ? null : $i; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOfLast($needle, $offset = 0) : ?int { - if ($needle instanceof parent) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); - } else { - $needle = (string) $needle; } if ('' === $needle) { return null; @@ -193,10 +200,11 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return '' === $this->string || \preg_match('//u', $this->string); } /** + * @return $this * @param mixed[] $strings * @param string|null $lastGlue */ - public function join($strings, $lastGlue = null) : parent + public function join($strings, $lastGlue = null) { $str = clone $this; $tail = null !== $lastGlue && 1 < \count($strings) ? $lastGlue . \array_pop($strings) : ''; @@ -207,7 +215,10 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract { return \strlen($this->string); } - public function lower() : parent + /** + * @return $this + */ + public function lower() { $str = clone $this; $str->string = \strtolower($str->string); @@ -225,17 +236,17 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract $regexp .= 'i'; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (\false === $match($regexp, $this->string, $matches, $flags, $offset)) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } \array_walk_recursive($matches, function (&$value) { if ($value === '') { @@ -248,49 +259,54 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return $matches; } /** + * @return $this * @param int $length * @param string $padStr */ - public function padBoth($length, $padStr = ' ') : parent + public function padBoth($length, $padStr = ' ') { $str = clone $this; $str->string = \str_pad($this->string, $length, $padStr, \STR_PAD_BOTH); return $str; } /** + * @return $this * @param int $length * @param string $padStr */ - public function padEnd($length, $padStr = ' ') : parent + public function padEnd($length, $padStr = ' ') { $str = clone $this; $str->string = \str_pad($this->string, $length, $padStr, \STR_PAD_RIGHT); return $str; } /** + * @return $this * @param int $length * @param string $padStr */ - public function padStart($length, $padStr = ' ') : parent + public function padStart($length, $padStr = ' ') { $str = clone $this; $str->string = \str_pad($this->string, $length, $padStr, \STR_PAD_LEFT); return $str; } /** + * @return $this * @param string ...$prefix */ - public function prepend(...$prefix) : parent + public function prepend(...$prefix) { $str = clone $this; $str->string = (1 >= \count($prefix) ? $prefix[0] ?? '' : \implode('', $prefix)) . $str->string; return $str; } /** + * @return $this * @param string $from * @param string $to */ - public function replace($from, $to) : parent + public function replace($from, $to) { $str = clone $this; if ('' !== $from) { @@ -299,33 +315,28 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return $str; } /** + * @param callable|string $to + * @return $this * @param string $fromRegexp */ - public function replaceMatches($fromRegexp, $to) : parent + public function replaceMatches($fromRegexp, $to) { if ($this->ignoreCase) { $fromRegexp .= 'i'; } - if (\is_array($to)) { - if (!\is_callable($to)) { - throw new \TypeError(\sprintf('Argument 2 passed to "%s::replaceMatches()" must be callable, array given.', static::class)); - } - $replace = 'preg_replace_callback'; - } else { - $replace = $to instanceof \Closure ? 'preg_replace_callback' : 'preg_replace'; - } + $replace = \is_array($to) || $to instanceof \Closure ? 'preg_replace_callback' : 'preg_replace'; \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { if (null === ($string = $replace($fromRegexp, $to, $this->string))) { $lastError = \preg_last_error(); foreach (\get_defined_constants(\true)['pcre'] as $k => $v) { if ($lastError === $v && '_ERROR' === \substr($k, -6)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with ' . $k . '.'); } } - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\RuntimeException('Matching failed with unknown error code.'); } } finally { \restore_error_handler(); @@ -334,34 +345,42 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract $str->string = $string; return $str; } - public function reverse() : parent + /** + * @return $this + */ + public function reverse() { $str = clone $this; $str->string = \strrev($str->string); return $str; } /** + * @return $this * @param int $start * @param int|null $length */ - public function slice($start = 0, $length = null) : parent + public function slice($start = 0, $length = null) { $str = clone $this; $str->string = (string) \substr($this->string, $start, $length ?? \PHP_INT_MAX); return $str; } - public function snake() : parent + /** + * @return $this + */ + public function snake() { $str = $this->camel()->title(); - $str->string = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20211129\\1_\\2', $str->string)); + $str->string = \strtolower(\preg_replace(['/([A-Z]+)([A-Z][a-z])/', '/([a-z\\d])([A-Z])/'], 'RectorPrefix20211130\\1_\\2', $str->string)); return $str; } /** + * @return $this * @param string $replacement * @param int $start * @param int|null $length */ - public function splice($replacement, $start = 0, $length = null) : parent + public function splice($replacement, $start = 0, $length = null) { $str = clone $this; $str->string = \substr_replace($this->string, $replacement, $start, $length ?? \PHP_INT_MAX); @@ -375,10 +394,10 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract public function split($delimiter, $limit = null, $flags = null) : array { if (1 > ($limit = $limit ?? \PHP_INT_MAX)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); } if (null !== $flags) { return parent::split($delimiter, $limit, $flags); @@ -391,9 +410,12 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract } return $chunks; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $prefix + */ public function startsWith($prefix) : bool { - if ($prefix instanceof parent) { + if ($prefix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); @@ -401,9 +423,10 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract return '' !== $prefix && 0 === ($this->ignoreCase ? \strncasecmp($this->string, $prefix, \strlen($prefix)) : \strncmp($this->string, $prefix, \strlen($prefix))); } /** + * @return $this * @param bool $allWords */ - public function title($allWords = \false) : parent + public function title($allWords = \false) { $str = clone $this; $str->string = $allWords ? \ucwords($str->string) : \ucfirst($str->string); @@ -412,27 +435,27 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract /** * @param string|null $fromEncoding */ - public function toUnicodeString($fromEncoding = null) : \RectorPrefix20211129\Symfony\Component\String\UnicodeString + public function toUnicodeString($fromEncoding = null) : \RectorPrefix20211130\Symfony\Component\String\UnicodeString { - return new \RectorPrefix20211129\Symfony\Component\String\UnicodeString($this->toCodePointString($fromEncoding)->string); + return new \RectorPrefix20211130\Symfony\Component\String\UnicodeString($this->toCodePointString($fromEncoding)->string); } /** * @param string|null $fromEncoding */ - public function toCodePointString($fromEncoding = null) : \RectorPrefix20211129\Symfony\Component\String\CodePointString + public function toCodePointString($fromEncoding = null) : \RectorPrefix20211130\Symfony\Component\String\CodePointString { - $u = new \RectorPrefix20211129\Symfony\Component\String\CodePointString(); + $u = new \RectorPrefix20211130\Symfony\Component\String\CodePointString(); if (\in_array($fromEncoding, [null, 'utf8', 'utf-8', 'UTF8', 'UTF-8'], \true) && \preg_match('//u', $this->string)) { $u->string = $this->string; return $u; } \set_error_handler(static function ($t, $m) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException($m); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException($m); }); try { try { $validEncoding = \false !== \mb_detect_encoding($this->string, $fromEncoding ?? 'Windows-1252', \true); - } catch (\RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException $e) { if (!\function_exists('iconv')) { throw $e; } @@ -443,39 +466,45 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract \restore_error_handler(); } if (!$validEncoding) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Invalid "%s" string.', $fromEncoding ?? 'Windows-1252')); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException(\sprintf('Invalid "%s" string.', $fromEncoding ?? 'Windows-1252')); } $u->string = \mb_convert_encoding($this->string, 'UTF-8', $fromEncoding ?? 'Windows-1252'); return $u; } /** + * @return $this * @param string $chars */ - public function trim($chars = " \t\n\r\0\v\f") : parent + public function trim($chars = " \t\n\r\0\v\f") { $str = clone $this; $str->string = \trim($str->string, $chars); return $str; } /** + * @return $this * @param string $chars */ - public function trimEnd($chars = " \t\n\r\0\v\f") : parent + public function trimEnd($chars = " \t\n\r\0\v\f") { $str = clone $this; $str->string = \rtrim($str->string, $chars); return $str; } /** + * @return $this * @param string $chars */ - public function trimStart($chars = " \t\n\r\0\v\f") : parent + public function trimStart($chars = " \t\n\r\0\v\f") { $str = clone $this; $str->string = \ltrim($str->string, $chars); return $str; } - public function upper() : parent + /** + * @return $this + */ + public function upper() { $str = clone $this; $str->string = \strtoupper($str->string); @@ -487,6 +516,6 @@ class ByteString extends \RectorPrefix20211129\Symfony\Component\String\Abstract public function width($ignoreAnsiDecoration = \true) : int { $string = \preg_match('//u', $this->string) ? $this->string : \preg_replace('/[\\x80-\\xFF]/', '?', $this->string); - return (new \RectorPrefix20211129\Symfony\Component\String\CodePointString($string))->width($ignoreAnsiDecoration); + return (new \RectorPrefix20211130\Symfony\Component\String\CodePointString($string))->width($ignoreAnsiDecoration); } } diff --git a/vendor/symfony/string/CHANGELOG.md b/vendor/symfony/string/CHANGELOG.md index 700d214832d..53af364005e 100644 --- a/vendor/symfony/string/CHANGELOG.md +++ b/vendor/symfony/string/CHANGELOG.md @@ -1,6 +1,11 @@ CHANGELOG ========= +5.4 +--- + + * Add `trimSuffix()` and `trimPrefix()` methods + 5.3 --- diff --git a/vendor/symfony/string/CodePointString.php b/vendor/symfony/string/CodePointString.php index 1b60677d2db..37bef01d382 100644 --- a/vendor/symfony/string/CodePointString.php +++ b/vendor/symfony/string/CodePointString.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; -use RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException; /** * Represents a string of Unicode code points encoded as UTF-8. * @@ -20,24 +20,25 @@ use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentExcep * * @throws ExceptionInterface */ -class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString +class CodePointString extends \RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString { public function __construct(string $string = '') { if ('' !== $string && !\preg_match('//u', $string)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $this->string = $string; } /** + * @return $this * @param string ...$suffix */ - public function append(...$suffix) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function append(...$suffix) { $str = clone $this; $str->string .= 1 >= \count($suffix) ? $suffix[0] ?? '' : \implode('', $suffix); if (!\preg_match('//u', $str->string)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -47,7 +48,7 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs public function chunk($length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -74,14 +75,15 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs $str = $offset ? $this->slice($offset, 1) : $this; return '' === $str->string ? [] : [\mb_ord($str->string, 'UTF-8')]; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $suffix + */ public function endsWith($suffix) : bool { - if ($suffix instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($suffix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; - } elseif (\is_array($suffix) || $suffix instanceof \Traversable) { + } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); - } else { - $suffix = (string) $suffix; } if ('' === $suffix || !\preg_match('//u', $suffix)) { return \false; @@ -91,14 +93,15 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs } return \strlen($this->string) >= \strlen($suffix) && 0 === \substr_compare($this->string, $suffix, -\strlen($suffix)); } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $string + */ public function equalsTo($string) : bool { - if ($string instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($string instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $string = $string->string; - } elseif (\is_array($string) || $string instanceof \Traversable) { + } elseif (!\is_string($string)) { return parent::equalsTo($string); - } else { - $string = (string) $string; } if ('' !== $string && $this->ignoreCase) { return \strlen($string) === \strlen($this->string) && 0 === \mb_stripos($this->string, $string, 0, 'UTF-8'); @@ -106,16 +109,15 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs return $string === $this->string; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOf($needle, $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); - } else { - $needle = (string) $needle; } if ('' === $needle) { return null; @@ -124,16 +126,15 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs return \false === $i ? null : $i; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOfLast($needle, $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); - } else { - $needle = (string) $needle; } if ('' === $needle) { return null; @@ -146,29 +147,31 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs return \mb_strlen($this->string, 'UTF-8'); } /** + * @return $this * @param string ...$prefix */ - public function prepend(...$prefix) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function prepend(...$prefix) { $str = clone $this; $str->string = (1 >= \count($prefix) ? $prefix[0] ?? '' : \implode('', $prefix)) . $this->string; if (!\preg_match('//u', $str->string)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } /** + * @return $this * @param string $from * @param string $to */ - public function replace($from, $to) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function replace($from, $to) { $str = clone $this; if ('' === $from || !\preg_match('//u', $from)) { return $str; } if ('' !== $to && !\preg_match('//u', $to)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } if ($this->ignoreCase) { $str->string = \implode($to, \preg_split('{' . \preg_quote($from) . '}iuD', $this->string)); @@ -178,24 +181,26 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs return $str; } /** + * @return $this * @param int $start * @param int|null $length */ - public function slice($start = 0, $length = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function slice($start = 0, $length = null) { $str = clone $this; $str->string = \mb_substr($this->string, $start, $length, 'UTF-8'); return $str; } /** + * @return $this * @param string $replacement * @param int $start * @param int|null $length */ - public function splice($replacement, $start = 0, $length = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function splice($replacement, $start = 0, $length = null) { if (!\preg_match('//u', $replacement)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } $str = clone $this; $start = $start ? \strlen(\mb_substr($this->string, 0, $start, 'UTF-8')) : 0; @@ -211,16 +216,16 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs public function split($delimiter, $limit = null, $flags = null) : array { if (1 > ($limit = $limit ?? \PHP_INT_MAX)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); } if (null !== $flags) { return parent::split($delimiter . 'u', $limit, $flags); } if (!\preg_match('//u', $delimiter)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); } $str = clone $this; $chunks = $this->ignoreCase ? \preg_split('{' . \preg_quote($delimiter) . '}iuD', $this->string, $limit) : \explode($delimiter, $this->string, $limit); @@ -230,14 +235,15 @@ class CodePointString extends \RectorPrefix20211129\Symfony\Component\String\Abs } return $chunks; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $prefix + */ public function startsWith($prefix) : bool { - if ($prefix instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($prefix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; - } elseif (\is_array($prefix) || $prefix instanceof \Traversable) { + } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); - } else { - $prefix = (string) $prefix; } if ('' === $prefix || !\preg_match('//u', $prefix)) { return \false; diff --git a/vendor/symfony/string/Exception/ExceptionInterface.php b/vendor/symfony/string/Exception/ExceptionInterface.php index 3d87addb5cd..cabadd31b9d 100644 --- a/vendor/symfony/string/Exception/ExceptionInterface.php +++ b/vendor/symfony/string/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Exception; +namespace RectorPrefix20211130\Symfony\Component\String\Exception; interface ExceptionInterface extends \Throwable { diff --git a/vendor/symfony/string/Exception/InvalidArgumentException.php b/vendor/symfony/string/Exception/InvalidArgumentException.php index 0ae0a6b5bb7..310459c3c11 100644 --- a/vendor/symfony/string/Exception/InvalidArgumentException.php +++ b/vendor/symfony/string/Exception/InvalidArgumentException.php @@ -8,8 +8,8 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Exception; +namespace RectorPrefix20211130\Symfony\Component\String\Exception; -class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface +class InvalidArgumentException extends \InvalidArgumentException implements \RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface { } diff --git a/vendor/symfony/string/Exception/RuntimeException.php b/vendor/symfony/string/Exception/RuntimeException.php index 057a96e9e61..426b120d549 100644 --- a/vendor/symfony/string/Exception/RuntimeException.php +++ b/vendor/symfony/string/Exception/RuntimeException.php @@ -8,8 +8,8 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Exception; +namespace RectorPrefix20211130\Symfony\Component\String\Exception; -class RuntimeException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface { } diff --git a/vendor/symfony/string/Inflector/EnglishInflector.php b/vendor/symfony/string/Inflector/EnglishInflector.php index 905dae2c936..f9811a8ad52 100644 --- a/vendor/symfony/string/Inflector/EnglishInflector.php +++ b/vendor/symfony/string/Inflector/EnglishInflector.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Inflector; +namespace RectorPrefix20211130\Symfony\Component\String\Inflector; -final class EnglishInflector implements \RectorPrefix20211129\Symfony\Component\String\Inflector\InflectorInterface +final class EnglishInflector implements \RectorPrefix20211130\Symfony\Component\String\Inflector\InflectorInterface { /** * Map English plural to singular suffixes. diff --git a/vendor/symfony/string/Inflector/FrenchInflector.php b/vendor/symfony/string/Inflector/FrenchInflector.php index 56aff201967..f1a95fe0c82 100644 --- a/vendor/symfony/string/Inflector/FrenchInflector.php +++ b/vendor/symfony/string/Inflector/FrenchInflector.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Inflector; +namespace RectorPrefix20211130\Symfony\Component\String\Inflector; /** * French inflector. * * This class does only inflect nouns; not adjectives nor composed words like "soixante-dix". */ -final class FrenchInflector implements \RectorPrefix20211129\Symfony\Component\String\Inflector\InflectorInterface +final class FrenchInflector implements \RectorPrefix20211130\Symfony\Component\String\Inflector\InflectorInterface { /** * A list of all rules for pluralise. @@ -50,8 +50,8 @@ final class FrenchInflector implements \RectorPrefix20211129\Symfony\Component\S // Invariable words ['/^(cinquante|soixante|mille)$/i', '\\1'], // French titles - ['/^(mon|ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20211129\\mes\\2s'], - ['/^(Mon|Ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20211129\\Mes\\2s'], + ['/^(mon|ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20211130\\mes\\2s'], + ['/^(Mon|Ma)(sieur|dame|demoiselle|seigneur)$/', 'RectorPrefix20211130\\Mes\\2s'], ]; /** * A list of all rules for singularize. @@ -77,10 +77,10 @@ final class FrenchInflector implements \RectorPrefix20211129\Symfony\Component\S // Les mots finissant par "ou" prennent un "s" sauf bijou, caillou, chou, genou, hibou, joujou, pou ['/(bij|caill|ch|gen|hib|jouj|p)oux$/i', '\\1ou'], // French titles - ['/^mes(dame|demoiselle)s$/', 'RectorPrefix20211129\\ma\\1'], - ['/^Mes(dame|demoiselle)s$/', 'RectorPrefix20211129\\Ma\\1'], - ['/^mes(sieur|seigneur)s$/', 'RectorPrefix20211129\\mon\\1'], - ['/^Mes(sieur|seigneur)s$/', 'RectorPrefix20211129\\Mon\\1'], + ['/^mes(dame|demoiselle)s$/', 'RectorPrefix20211130\\ma\\1'], + ['/^Mes(dame|demoiselle)s$/', 'RectorPrefix20211130\\Ma\\1'], + ['/^mes(sieur|seigneur)s$/', 'RectorPrefix20211130\\mon\\1'], + ['/^Mes(sieur|seigneur)s$/', 'RectorPrefix20211130\\Mon\\1'], //Default rule ['/s$/i', ''], ]; diff --git a/vendor/symfony/string/Inflector/InflectorInterface.php b/vendor/symfony/string/Inflector/InflectorInterface.php index 4c7a4aebb52..2e1db01946d 100644 --- a/vendor/symfony/string/Inflector/InflectorInterface.php +++ b/vendor/symfony/string/Inflector/InflectorInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Inflector; +namespace RectorPrefix20211130\Symfony\Component\String\Inflector; interface InflectorInterface { @@ -17,7 +17,7 @@ interface InflectorInterface * * If the method can't determine the form with certainty, several possible singulars are returned. * - * @return string[] An array of possible singular forms + * @return string[] * @param string $plural */ public function singularize($plural) : array; @@ -26,7 +26,7 @@ interface InflectorInterface * * If the method can't determine the form with certainty, several possible plurals are returned. * - * @return string[] An array of possible plural forms + * @return string[] * @param string $singular */ public function pluralize($singular) : array; diff --git a/vendor/symfony/string/LazyString.php b/vendor/symfony/string/LazyString.php index 93b1a921e37..62d6d61c85a 100644 --- a/vendor/symfony/string/LazyString.php +++ b/vendor/symfony/string/LazyString.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; /** * A string whose value is computed lazily by a callback. @@ -17,16 +17,19 @@ namespace RectorPrefix20211129\Symfony\Component\String; */ class LazyString implements \JsonSerializable { + /** + * @var \Closure|string + */ private $value; /** * @param callable|array $callback A callable or a [Closure, method] lazy-callable - * - * @return static + * @param mixed ...$arguments + * @return $this */ - public static function fromCallable($callback, ...$arguments) : self + public static function fromCallable($callback, ...$arguments) { - if (!\is_callable($callback) && !(\is_array($callback) && isset($callback[0]) && $callback[0] instanceof \Closure && 2 >= \count($callback))) { - throw new \TypeError(\sprintf('Argument 1 passed to "%s()" must be a callable or a [Closure, method] lazy-callable, "%s" given.', __METHOD__, \get_debug_type($callback))); + if (\is_array($callback) && !\is_callable($callback) && !(($callback[0] ?? null) instanceof \Closure || 2 < \count($callback))) { + throw new \TypeError(\sprintf('Argument 1 passed to "%s()" must be a callable or a [Closure, method] lazy-callable, "%s" given.', __METHOD__, '[' . \implode(', ', \array_map('get_debug_type', $callback)) . ']')); } $lazyString = new static(); $lazyString->value = static function () use(&$callback, &$arguments, &$value) : string { @@ -44,15 +47,11 @@ class LazyString implements \JsonSerializable return $lazyString; } /** - * @param string|int|float|bool|\Stringable $value - * - * @return static + * @param bool|float|int|string|\Stringable $value + * @return $this */ - public static function fromStringable($value) : self + public static function fromStringable($value) { - if (!self::isStringable($value)) { - throw new \TypeError(\sprintf('Argument 1 passed to "%s()" must be a scalar or a stringable object, "%s" given.', __METHOD__, \get_debug_type($value))); - } if (\is_object($value)) { return static::fromCallable([$value, '__toString']); } @@ -62,26 +61,23 @@ class LazyString implements \JsonSerializable } /** * Tells whether the provided value can be cast to string. + * @param mixed $value */ public static final function isStringable($value) : bool { - return \is_string($value) || $value instanceof self || (\is_object($value) ? \method_exists($value, '__toString') : \is_scalar($value)); + return \is_string($value) || $value instanceof \Stringable || \is_scalar($value); } /** * Casts scalars and stringable objects to strings. * - * @param object|string|int|float|bool $value - * * @throws \TypeError When the provided value is not stringable + * @param bool|float|int|string|\Stringable $value */ public static final function resolve($value) : string { return $value; } - /** - * @return string - */ - public function __toString() + public function __toString() : string { if (\is_string($this->value)) { return $this->value; @@ -96,10 +92,6 @@ class LazyString implements \JsonSerializable $callback = $r->getStaticVariables()['callback']; $e = new \TypeError(\sprintf('Return value of %s() passed to %s::fromCallable() must be of the type string, %s returned.', $callback, static::class, $type)); } - if (\PHP_VERSION_ID < 70400) { - // leverage the ErrorHandler component with graceful fallback when it's not available - return \trigger_error($e, \E_USER_ERROR); - } throw $e; } } diff --git a/vendor/symfony/string/Resources/data/wcswidth_table_wide.php b/vendor/symfony/string/Resources/data/wcswidth_table_wide.php index ac7b59fe383..4a42fd93b5e 100644 --- a/vendor/symfony/string/Resources/data/wcswidth_table_wide.php +++ b/vendor/symfony/string/Resources/data/wcswidth_table_wide.php @@ -1,11 +1,11 @@ */ -class AsciiSlugger implements \RectorPrefix20211129\Symfony\Component\String\Slugger\SluggerInterface, \RectorPrefix20211129\Symfony\Contracts\Translation\LocaleAwareInterface +class AsciiSlugger implements \RectorPrefix20211130\Symfony\Component\String\Slugger\SluggerInterface, \RectorPrefix20211130\Symfony\Contracts\Translation\LocaleAwareInterface { private const LOCALE_TO_TRANSLITERATOR_ID = ['am' => 'Amharic-Latin', 'ar' => 'Arabic-Latin', 'az' => 'Azerbaijani-Latin', 'be' => 'Belarusian-Latin', 'bg' => 'Bulgarian-Latin', 'bn' => 'Bengali-Latin', 'de' => 'de-ASCII', 'el' => 'Greek-Latin', 'fa' => 'Persian-Latin', 'he' => 'Hebrew-Latin', 'hy' => 'Armenian-Latin', 'ka' => 'Georgian-Latin', 'kk' => 'Kazakh-Latin', 'ky' => 'Kirghiz-Latin', 'ko' => 'Korean-Latin', 'mk' => 'Macedonian-Latin', 'mn' => 'Mongolian-Latin', 'or' => 'Oriya-Latin', 'ps' => 'Pashto-Latin', 'ru' => 'Russian-Latin', 'sr' => 'Serbian-Latin', 'sr_Cyrl' => 'Serbian-Latin', 'th' => 'Thai-Latin', 'tk' => 'Turkmen-Latin', 'uk' => 'Ukrainian-Latin', 'uz' => 'Uzbek-Latin', 'zh' => 'Han-Latin']; + /** + * @var string|null + */ private $defaultLocale; + /** + * @var mixed[]|\Closure + */ private $symbolsMap = ['en' => ['@' => 'at', '&' => 'and']]; /** * Cache of transliterators per locale. @@ -31,34 +37,31 @@ class AsciiSlugger implements \RectorPrefix20211129\Symfony\Component\String\Slu */ private $transliterators = []; /** - * @param array|\Closure|null $symbolsMap + * @param mixed[]|\Closure $symbolsMap */ public function __construct(string $defaultLocale = null, $symbolsMap = null) { - if (null !== $symbolsMap && !\is_array($symbolsMap) && !$symbolsMap instanceof \Closure) { - throw new \TypeError(\sprintf('Argument 2 passed to "%s()" must be array, Closure or null, "%s" given.', __METHOD__, \gettype($symbolsMap))); - } $this->defaultLocale = $defaultLocale; $this->symbolsMap = $symbolsMap ?? $this->symbolsMap; } /** * {@inheritdoc} */ - public function setLocale($locale) + public function setLocale(string $locale) { $this->defaultLocale = $locale; } /** * {@inheritdoc} */ - public function getLocale() + public function getLocale() : string { return $this->defaultLocale; } /** * {@inheritdoc} */ - public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString + public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString { $locale = $locale ?? $this->defaultLocale; $transliterator = []; @@ -76,7 +79,7 @@ class AsciiSlugger implements \RectorPrefix20211129\Symfony\Component\String\Slu return $symbolsMap($s, $locale); }); } - $unicodeString = (new \RectorPrefix20211129\Symfony\Component\String\UnicodeString($string))->ascii($transliterator); + $unicodeString = (new \RectorPrefix20211130\Symfony\Component\String\UnicodeString($string))->ascii($transliterator); if (\is_array($this->symbolsMap)) { $map = null; if (isset($this->symbolsMap[$locale])) { diff --git a/vendor/symfony/string/Slugger/SluggerInterface.php b/vendor/symfony/string/Slugger/SluggerInterface.php index cfc727faecb..cfcc1bafe78 100644 --- a/vendor/symfony/string/Slugger/SluggerInterface.php +++ b/vendor/symfony/string/Slugger/SluggerInterface.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String\Slugger; +namespace RectorPrefix20211130\Symfony\Component\String\Slugger; -use RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString; +use RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString; /** * Creates a URL-friendly slug from a given string. * @@ -21,5 +21,5 @@ interface SluggerInterface /** * Creates a slug for the given string and locale, using appropriate transliteration when needed. */ - public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString; + public function slug(string $string, string $separator = '-', string $locale = null) : \RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString; } diff --git a/vendor/symfony/string/UnicodeString.php b/vendor/symfony/string/UnicodeString.php index 08640325463..7b98cca5ca6 100644 --- a/vendor/symfony/string/UnicodeString.php +++ b/vendor/symfony/string/UnicodeString.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\String; +namespace RectorPrefix20211130\Symfony\Component\String; -use RectorPrefix20211129\Symfony\Component\String\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\String\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException; /** * Represents a string of Unicode grapheme clusters encoded as UTF-8. * @@ -28,25 +28,26 @@ use RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentExcep * * @throws ExceptionInterface */ -class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\AbstractUnicodeString +class UnicodeString extends \RectorPrefix20211130\Symfony\Component\String\AbstractUnicodeString { public function __construct(string $string = '') { $this->string = \normalizer_is_normalized($string) ? $string : \normalizer_normalize($string); if (\false === $this->string) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } } /** + * @return $this * @param string ...$suffix */ - public function append(...$suffix) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function append(...$suffix) { $str = clone $this; $str->string = $this->string . (1 >= \count($suffix) ? $suffix[0] ?? '' : \implode('', $suffix)); \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); if (\false === $str->string) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -56,7 +57,7 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr public function chunk($length = 1) : array { if (1 > $length) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('The chunk length must be greater than zero.'); } if ('' === $this->string) { return []; @@ -75,14 +76,15 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr } return $chunks; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $suffix + */ public function endsWith($suffix) : bool { - if ($suffix instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($suffix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $suffix = $suffix->string; - } elseif (\is_array($suffix) || $suffix instanceof \Traversable) { + } elseif (!\is_string($suffix)) { return parent::endsWith($suffix); - } else { - $suffix = (string) $suffix; } $form = null === $this->ignoreCase ? \Normalizer::NFD : \Normalizer::NFC; \normalizer_is_normalized($suffix, $form) ?: ($suffix = \normalizer_normalize($suffix, $form)); @@ -94,14 +96,15 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr } return $suffix === \grapheme_extract($this->string, \strlen($suffix), \GRAPHEME_EXTR_MAXBYTES, \strlen($this->string) - \strlen($suffix)); } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $string + */ public function equalsTo($string) : bool { - if ($string instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($string instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $string = $string->string; - } elseif (\is_array($string) || $string instanceof \Traversable) { + } elseif (!\is_string($string)) { return parent::equalsTo($string); - } else { - $string = (string) $string; } $form = null === $this->ignoreCase ? \Normalizer::NFD : \Normalizer::NFC; \normalizer_is_normalized($string, $form) ?: ($string = \normalizer_normalize($string, $form)); @@ -111,16 +114,15 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr return $string === $this->string; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOf($needle, $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOf($needle, $offset); - } else { - $needle = (string) $needle; } $form = null === $this->ignoreCase ? \Normalizer::NFD : \Normalizer::NFC; \normalizer_is_normalized($needle, $form) ?: ($needle = \normalizer_normalize($needle, $form)); @@ -135,16 +137,15 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr return \false === $i ? null : $i; } /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $needle * @param int $offset */ public function indexOfLast($needle, $offset = 0) : ?int { - if ($needle instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($needle instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $needle = $needle->string; - } elseif (\is_array($needle) || $needle instanceof \Traversable) { + } elseif (!\is_string($needle)) { return parent::indexOfLast($needle, $offset); - } else { - $needle = (string) $needle; } $form = null === $this->ignoreCase ? \Normalizer::NFD : \Normalizer::NFC; \normalizer_is_normalized($needle, $form) ?: ($needle = \normalizer_normalize($needle, $form)); @@ -163,10 +164,11 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr return \false === $i ? null : $i; } /** + * @return $this * @param mixed[] $strings * @param string|null $lastGlue */ - public function join($strings, $lastGlue = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function join($strings, $lastGlue = null) { $str = parent::join($strings, $lastGlue); \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); @@ -177,16 +179,16 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr return \grapheme_strlen($this->string); } /** - * @return static + * @return $this * @param int $form */ - public function normalize($form = self::NFC) : parent + public function normalize($form = self::NFC) { $str = clone $this; if (\in_array($form, [self::NFC, self::NFKC], \true)) { \normalizer_is_normalized($str->string, $form) ?: ($str->string = \normalizer_normalize($str->string, $form)); } elseif (!\in_array($form, [self::NFD, self::NFKD], \true)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Unsupported normalization form.'); } elseif (!\normalizer_is_normalized($str->string, $form)) { $str->string = \normalizer_normalize($str->string, $form); $str->ignoreCase = null; @@ -194,23 +196,25 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr return $str; } /** + * @return $this * @param string ...$prefix */ - public function prepend(...$prefix) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function prepend(...$prefix) { $str = clone $this; $str->string = (1 >= \count($prefix) ? $prefix[0] ?? '' : \implode('', $prefix)) . $this->string; \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); if (\false === $str->string) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } /** + * @return $this * @param string $from * @param string $to */ - public function replace($from, $to) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function replace($from, $to) { $str = clone $this; \normalizer_is_normalized($from) ?: ($from = \normalizer_normalize($from)); @@ -226,50 +230,48 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr $str->string = $result . $tail; \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); if (\false === $str->string) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } } return $str; } /** + * @param callable|string $to + * @return $this * @param string $fromRegexp */ - public function replaceMatches($fromRegexp, $to) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function replaceMatches($fromRegexp, $to) { $str = parent::replaceMatches($fromRegexp, $to); \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); return $str; } /** + * @return $this * @param int $start * @param int|null $length */ - public function slice($start = 0, $length = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function slice($start = 0, $length = null) { $str = clone $this; - if (\PHP_VERSION_ID < 80000 && 0 > $start && \grapheme_strlen($this->string) < -$start) { - $start = 0; - } $str->string = (string) \grapheme_substr($this->string, $start, $length ?? 2147483647); return $str; } /** + * @return $this * @param string $replacement * @param int $start * @param int|null $length */ - public function splice($replacement, $start = 0, $length = null) : \RectorPrefix20211129\Symfony\Component\String\AbstractString + public function splice($replacement, $start = 0, $length = null) { $str = clone $this; - if (\PHP_VERSION_ID < 80000 && 0 > $start && \grapheme_strlen($this->string) < -$start) { - $start = 0; - } $start = $start ? \strlen(\grapheme_substr($this->string, 0, $start)) : 0; $length = $length ? \strlen(\grapheme_substr($this->string, $start, $length ?? 2147483647)) : $length; $str->string = \substr_replace($this->string, $replacement, $start, $length ?? 2147483647); \normalizer_is_normalized($str->string) ?: ($str->string = \normalizer_normalize($str->string)); if (\false === $str->string) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Invalid UTF-8 string.'); } return $str; } @@ -281,17 +283,17 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr public function split($delimiter, $limit = null, $flags = null) : array { if (1 > ($limit = $limit ?? 2147483647)) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split limit must be a positive integer.'); } if ('' === $delimiter) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is empty.'); } if (null !== $flags) { return parent::split($delimiter . 'u', $limit, $flags); } \normalizer_is_normalized($delimiter) ?: ($delimiter = \normalizer_normalize($delimiter)); if (\false === $delimiter) { - throw new \RectorPrefix20211129\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); + throw new \RectorPrefix20211130\Symfony\Component\String\Exception\InvalidArgumentException('Split delimiter is not a valid UTF-8 string.'); } $str = clone $this; $tail = $this->string; @@ -307,14 +309,15 @@ class UnicodeString extends \RectorPrefix20211129\Symfony\Component\String\Abstr $chunks[] = clone $str; return $chunks; } + /** + * @param mixed[]|string|\Symfony\Component\String\AbstractString $prefix + */ public function startsWith($prefix) : bool { - if ($prefix instanceof \RectorPrefix20211129\Symfony\Component\String\AbstractString) { + if ($prefix instanceof \RectorPrefix20211130\Symfony\Component\String\AbstractString) { $prefix = $prefix->string; - } elseif (\is_array($prefix) || $prefix instanceof \Traversable) { + } elseif (!\is_string($prefix)) { return parent::startsWith($prefix); - } else { - $prefix = (string) $prefix; } $form = null === $this->ignoreCase ? \Normalizer::NFD : \Normalizer::NFC; \normalizer_is_normalized($prefix, $form) ?: ($prefix = \normalizer_normalize($prefix, $form)); diff --git a/vendor/symfony/string/composer.json b/vendor/symfony/string/composer.json index 03671ccfe4e..ac0ac4256e9 100644 --- a/vendor/symfony/string/composer.json +++ b/vendor/symfony/string/composer.json @@ -23,22 +23,24 @@ } ], "require": { - "php": ">=7.2.5", + "php": ">=8.0.2", "symfony\/polyfill-ctype": "~1.8", "symfony\/polyfill-intl-grapheme": "~1.0", "symfony\/polyfill-intl-normalizer": "~1.0", - "symfony\/polyfill-mbstring": "~1.0", - "symfony\/polyfill-php80": "~1.15" + "symfony\/polyfill-mbstring": "~1.0" }, "require-dev": { - "symfony\/error-handler": "^4.4|^5.0", - "symfony\/http-client": "^4.4|^5.0", - "symfony\/translation-contracts": "^1.1|^2", - "symfony\/var-exporter": "^4.4|^5.0" + "symfony\/error-handler": "^5.4|^6.0", + "symfony\/http-client": "^5.4|^6.0", + "symfony\/translation-contracts": "^2.0|^3.0", + "symfony\/var-exporter": "^5.4|^6.0" + }, + "conflict": { + "symfony\/translation-contracts": "<2.0" }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\String\\": "" + "RectorPrefix20211130\\Symfony\\Component\\String\\": "" }, "files": [ "Resources\/functions.php" diff --git a/vendor/symfony/var-exporter/Exception/ClassNotFoundException.php b/vendor/symfony/var-exporter/Exception/ClassNotFoundException.php index 91be540d5d5..5a7fe220cc1 100644 --- a/vendor/symfony/var-exporter/Exception/ClassNotFoundException.php +++ b/vendor/symfony/var-exporter/Exception/ClassNotFoundException.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Exception; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Exception; -class ClassNotFoundException extends \Exception implements \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ExceptionInterface +class ClassNotFoundException extends \Exception implements \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ExceptionInterface { public function __construct(string $class, \Throwable $previous = null) { diff --git a/vendor/symfony/var-exporter/Exception/ExceptionInterface.php b/vendor/symfony/var-exporter/Exception/ExceptionInterface.php index c0fdb51858e..808e61242ba 100644 --- a/vendor/symfony/var-exporter/Exception/ExceptionInterface.php +++ b/vendor/symfony/var-exporter/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Exception; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Exception; interface ExceptionInterface extends \Throwable { diff --git a/vendor/symfony/var-exporter/Exception/NotInstantiableTypeException.php b/vendor/symfony/var-exporter/Exception/NotInstantiableTypeException.php index fa56fef86ee..ab755cd181d 100644 --- a/vendor/symfony/var-exporter/Exception/NotInstantiableTypeException.php +++ b/vendor/symfony/var-exporter/Exception/NotInstantiableTypeException.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Exception; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Exception; -class NotInstantiableTypeException extends \Exception implements \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ExceptionInterface +class NotInstantiableTypeException extends \Exception implements \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ExceptionInterface { public function __construct(string $type, \Throwable $previous = null) { diff --git a/vendor/symfony/var-exporter/Instantiator.php b/vendor/symfony/var-exporter/Instantiator.php index 0592a34b58f..eb381b07f9f 100644 --- a/vendor/symfony/var-exporter/Instantiator.php +++ b/vendor/symfony/var-exporter/Instantiator.php @@ -8,12 +8,12 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter; +namespace RectorPrefix20211130\Symfony\Component\VarExporter; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry; /** * A utility class to create objects without calling their constructor. * @@ -51,19 +51,18 @@ final class Instantiator * @param array $privateProperties The private properties to set on the instance, * keyed by their declaring class * - * @return object The created instance - * * @throws ExceptionInterface When the instance cannot be created + * @return object */ public static function instantiate(string $class, array $properties = [], array $privateProperties = []) { - $reflector = \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$class] ?? \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class); - if (\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { - $wrappedInstance = [clone \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]]; - } elseif (\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class]) { + $reflector = \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$class] ?? \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class); + if (\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { + $wrappedInstance = [clone \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]]; + } elseif (\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class]) { $wrappedInstance = [$reflector->newInstanceWithoutConstructor()]; - } elseif (null === \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); + } elseif (null === \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]) { + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); } elseif ($reflector->implementsInterface('Serializable') && (\PHP_VERSION_ID < 70400 || !\method_exists($class, '__unserialize'))) { $wrappedInstance = [\unserialize('C:' . \strlen($class) . ':"' . $class . '":0:{}')]; } else { @@ -81,7 +80,7 @@ final class Instantiator // deal with array of instances, so we need to wrap values $properties[$name] = [$value]; } - (\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator::$hydrators[$class] ?? \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator::getHydrator($class))($properties, $wrappedInstance); + (\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator::$hydrators[$class] ?? \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator::getHydrator($class))($properties, $wrappedInstance); } return $wrappedInstance[0]; } diff --git a/vendor/symfony/var-exporter/Internal/Exporter.php b/vendor/symfony/var-exporter/Internal/Exporter.php index 833be39a95b..fa2b85324e8 100644 --- a/vendor/symfony/var-exporter/Internal/Exporter.php +++ b/vendor/symfony/var-exporter/Internal/Exporter.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Internal; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Internal; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; /** * @author Nicolas Grekas * @@ -36,7 +36,7 @@ class Exporter $refs = $values; foreach ($values as $k => $value) { if (\is_resource($value)) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException(\get_resource_type($value) . ' resource'); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException(\get_resource_type($value) . ' resource'); } $refs[$k] = $objectsPool; if ($isRef = !($valueIsStatic = $values[$k] !== $objectsPool)) { @@ -45,30 +45,30 @@ class Exporter unset($value); // independent from the original structure $refs[$k] = $value = $values[$k]; - if ($value instanceof \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference && 0 > $value->id) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference && 0 > $value->id) { $valuesAreStatic = \false; ++$value->count; continue; } $refsPool[] = [&$refs[$k], $value, &$value]; - $refs[$k] = $values[$k] = new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference(-\count($refsPool), $value); + $refs[$k] = $values[$k] = new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference(-\count($refsPool), $value); } if (\is_array($value)) { if ($value) { $value = self::prepare($value, $objectsPool, $refsPool, $objectsCount, $valueIsStatic); } goto handle_value; - } elseif (!\is_object($value) || $value instanceof \RectorPrefix20211129\UnitEnum) { + } elseif (!\is_object($value) || $value instanceof \RectorPrefix20211130\UnitEnum) { goto handle_value; } $valueIsStatic = \false; if (isset($objectsPool[$value])) { ++$objectsCount; - $value = new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference($objectsPool[$value][0]); + $value = new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference($objectsPool[$value][0]); goto handle_value; } $class = \get_class($value); - $reflector = \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$class] ?? \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class); + $reflector = \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$class] ?? \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class); if ($reflector->hasMethod('__serialize')) { if (!$reflector->getMethod('__serialize')->isPublic()) { throw new \Error(\sprintf('Call to %s method "%s::__serialize()".', $reflector->getMethod('__serialize')->isProtected() ? 'protected' : 'private', $class)); @@ -80,14 +80,14 @@ class Exporter } $properties = []; $sleep = null; - $proto = \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]; + $proto = \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$prototypes[$class]; if (($value instanceof \ArrayIterator || $value instanceof \ArrayObject) && null !== $proto) { // ArrayIterator and ArrayObject need special care because their "flags" // option changes the behavior of the (array) casting operator. [$arrayValue, $properties] = self::getArrayObjectProperties($value, $proto); // populates Registry::$prototypes[$class] with a new instance - \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class, \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class], \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]); - } elseif ($value instanceof \SplObjectStorage && \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class] && null !== $proto) { + \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($class, \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class], \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]); + } elseif ($value instanceof \SplObjectStorage && \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class] && null !== $proto) { // By implementing Serializable, SplObjectStorage breaks // internal references; let's deal with it on our own. foreach (clone $value as $v) { @@ -99,7 +99,7 @@ class Exporter } elseif ($value instanceof \Serializable || $value instanceof \__PHP_Incomplete_Class) { ++$objectsCount; $objectsPool[$value] = [$id = \count($objectsPool), \serialize($value), [], 0]; - $value = new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference($id); + $value = new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference($id); goto handle_value; } else { if (\method_exists($class, '__sleep')) { @@ -153,7 +153,7 @@ class Exporter $properties = self::prepare($properties, $objectsPool, $refsPool, $objectsCount, $valueIsStatic); ++$objectsCount; $objectsPool[$value] = [$id, $class, $properties, \method_exists($class, '__unserialize') ? -$objectsCount : (\method_exists($class, '__wakeup') ? $objectsCount : 0)]; - $value = new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference($id); + $value = new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference($id); handle_value: if ($isRef) { unset($value); @@ -171,7 +171,7 @@ class Exporter public static function export($value, $indent = '') { switch (\true) { - case \is_int($value) || \is_float($value) || $value instanceof \RectorPrefix20211129\UnitEnum: + case \is_int($value) || \is_float($value) || $value instanceof \RectorPrefix20211130\UnitEnum: return \var_export($value, \true); case [] === $value: return '[]'; @@ -184,7 +184,7 @@ class Exporter case '' === $value: return "''"; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Reference) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Reference) { if (0 <= $value->id) { return '$o[' . $value->id . ']'; } @@ -227,36 +227,36 @@ class Exporter } return "[\n" . $code . $indent . ']'; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Values) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Values) { $code = $subIndent . "\$r = [],\n"; foreach ($value->values as $k => $v) { $code .= $subIndent . '$r[' . $k . '] = ' . self::export($v, $subIndent) . ",\n"; } return "[\n" . $code . $indent . ']'; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry) { return self::exportRegistry($value, $indent, $subIndent); } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator) { return self::exportHydrator($value, $indent, $subIndent); } throw new \UnexpectedValueException(\sprintf('Cannot export value of type "%s".', \get_debug_type($value))); } - private static function exportRegistry(\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry $value, string $indent, string $subIndent) : string + private static function exportRegistry(\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry $value, string $indent, string $subIndent) : string { $code = ''; $serializables = []; $seen = []; $prototypesAccess = 0; $factoriesAccess = 0; - $r = '\\' . \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::class; + $r = '\\' . \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::class; $j = -1; foreach ($value->classes as $k => $class) { if (':' === ($class[1] ?? null)) { $serializables[$k] = $class; continue; } - if (!\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class]) { + if (!\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$instantiableWithoutConstructor[$class]) { if (\is_subclass_of($class, 'Serializable') && !\method_exists($class, '__unserialize')) { $serializables[$k] = 'C:' . \strlen($class) . ':"' . $class . '":0:{}'; } else { @@ -273,7 +273,7 @@ class Exporter $eol = ",\n"; $c = '[' . self::export($class) . ']'; if ($seen[$class] ?? \false) { - if (\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { + if (\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { ++$prototypesAccess; $code .= 'clone $p' . $c; } else { @@ -282,7 +282,7 @@ class Exporter } } else { $seen[$class] = \true; - if (\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { + if (\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$cloneable[$class]) { $code .= 'clone (' . ($prototypesAccess++ ? '$p' : '($p = &' . $r . '::$prototypes)') . $c . ' ?? ' . $r . '::p'; } else { $code .= '(' . ($factoriesAccess++ ? '$f' : '($f = &' . $r . '::$factories)') . $c . ' ?? ' . $r . '::f'; @@ -308,7 +308,7 @@ class Exporter } return '$o = ' . $code; } - private static function exportHydrator(\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator $value, string $indent, string $subIndent) : string + private static function exportHydrator(\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator $value, string $indent, string $subIndent) : string { $code = ''; foreach ($value->properties as $class => $properties) { @@ -324,7 +324,7 @@ class Exporter private static function getArrayObjectProperties($value, $proto) : array { $reflector = $value instanceof \ArrayIterator ? 'ArrayIterator' : 'ArrayObject'; - $reflector = \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$reflector] ?? \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($reflector); + $reflector = \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::$reflectors[$reflector] ?? \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry::getClassReflector($reflector); $properties = [$arrayValue = (array) $value, $reflector->getMethod('getFlags')->invoke($value), $value instanceof \ArrayObject ? $reflector->getMethod('getIteratorClass')->invoke($value) : 'ArrayIterator']; $reflector = $reflector->getMethod('setFlags'); $reflector->invoke($proto, \ArrayObject::STD_PROP_LIST); diff --git a/vendor/symfony/var-exporter/Internal/Hydrator.php b/vendor/symfony/var-exporter/Internal/Hydrator.php index b7d4b4126c6..fcfb4732d68 100644 --- a/vendor/symfony/var-exporter/Internal/Hydrator.php +++ b/vendor/symfony/var-exporter/Internal/Hydrator.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Internal; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Internal; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ClassNotFoundException; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ClassNotFoundException; /** * @author Nicolas Grekas * @@ -24,7 +24,7 @@ class Hydrator public $properties; public $value; public $wakeups; - public function __construct(?\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry $registry, ?\RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Values $values, array $properties, $value, array $wakeups) + public function __construct(?\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry $registry, ?\RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Values $values, array $properties, $value, array $wakeups) { $this->registry = $registry; $this->values = $values; @@ -58,7 +58,7 @@ class Hydrator }; } if (!\class_exists($class) && !\interface_exists($class, \false) && !\trait_exists($class, \false)) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ClassNotFoundException($class); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ClassNotFoundException($class); } $classReflector = new \ReflectionClass($class); if (!$classReflector->isInternal()) { diff --git a/vendor/symfony/var-exporter/Internal/Reference.php b/vendor/symfony/var-exporter/Internal/Reference.php index d7988ae6e58..7047eb31934 100644 --- a/vendor/symfony/var-exporter/Internal/Reference.php +++ b/vendor/symfony/var-exporter/Internal/Reference.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Internal; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Internal; /** * @author Nicolas Grekas diff --git a/vendor/symfony/var-exporter/Internal/Registry.php b/vendor/symfony/var-exporter/Internal/Registry.php index 7c02001cdb9..389f923fb6b 100644 --- a/vendor/symfony/var-exporter/Internal/Registry.php +++ b/vendor/symfony/var-exporter/Internal/Registry.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Internal; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Internal; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ClassNotFoundException; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ClassNotFoundException; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException; /** * @author Nicolas Grekas * @@ -54,13 +54,13 @@ class Registry public static function getClassReflector($class, $instantiableWithoutConstructor = \false, $cloneable = null) { if (!($isClass = \class_exists($class)) && !\interface_exists($class, \false) && !\trait_exists($class, \false)) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ClassNotFoundException($class); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ClassNotFoundException($class); } $reflector = new \ReflectionClass($class); if ($instantiableWithoutConstructor) { $proto = $reflector->newInstanceWithoutConstructor(); } elseif (!$isClass || $reflector->isAbstract()) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); } elseif ($reflector->name !== $class) { $reflector = self::$reflectors[$name = $reflector->name] ?? self::getClassReflector($name, \false, $cloneable); self::$cloneable[$class] = self::$cloneable[$name]; @@ -82,10 +82,10 @@ class Registry if (__FILE__ !== $e->getFile()) { throw $e; } - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class, $e); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class, $e); } if (\false === $proto) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); } } } @@ -93,13 +93,13 @@ class Registry try { \serialize($proto); } catch (\Exception $e) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class, $e); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class, $e); } } } if (null === $cloneable) { if (($proto instanceof \Reflector || $proto instanceof \ReflectionGenerator || $proto instanceof \ReflectionType || $proto instanceof \IteratorIterator || $proto instanceof \RecursiveIteratorIterator) && (!$proto instanceof \Serializable && !\method_exists($proto, '__wakeup') && (\PHP_VERSION_ID < 70400 || !\method_exists($class, '__unserialize')))) { - throw new \RectorPrefix20211129\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); + throw new \RectorPrefix20211130\Symfony\Component\VarExporter\Exception\NotInstantiableTypeException($class); } $cloneable = $reflector->isCloneable() && !$reflector->hasMethod('__clone'); } diff --git a/vendor/symfony/var-exporter/Internal/Values.php b/vendor/symfony/var-exporter/Internal/Values.php index 3d1448cde66..3aadb18dd40 100644 --- a/vendor/symfony/var-exporter/Internal/Values.php +++ b/vendor/symfony/var-exporter/Internal/Values.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter\Internal; +namespace RectorPrefix20211130\Symfony\Component\VarExporter\Internal; /** * @author Nicolas Grekas diff --git a/vendor/symfony/var-exporter/VarExporter.php b/vendor/symfony/var-exporter/VarExporter.php index c1fe6443486..558099a649f 100644 --- a/vendor/symfony/var-exporter/VarExporter.php +++ b/vendor/symfony/var-exporter/VarExporter.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\VarExporter; +namespace RectorPrefix20211130\Symfony\Component\VarExporter; -use RectorPrefix20211129\Symfony\Component\VarExporter\Exception\ExceptionInterface; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Exporter; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry; -use RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Values; +use RectorPrefix20211130\Symfony\Component\VarExporter\Exception\ExceptionInterface; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Exporter; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry; +use RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Values; /** * Exports serializable PHP values to PHP code. * @@ -34,21 +34,21 @@ final class VarExporter * @param bool &$isStaticValue Set to true after execution if the provided value is static, false otherwise * @param bool &$classes Classes found in the value are added to this list as both keys and values * - * @return string The value exported as PHP code + * @return string * * @throws ExceptionInterface When the provided value cannot be serialized */ public static function export($value, bool &$isStaticValue = null, array &$foundClasses = []) : string { $isStaticValue = \true; - if (!\is_object($value) && !(\is_array($value) && $value) && !\is_resource($value) || $value instanceof \RectorPrefix20211129\UnitEnum) { - return \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Exporter::export($value); + if (!\is_object($value) && !(\is_array($value) && $value) && !\is_resource($value) || $value instanceof \RectorPrefix20211130\UnitEnum) { + return \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Exporter::export($value); } $objectsPool = new \SplObjectStorage(); $refsPool = []; $objectsCount = 0; try { - $value = \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Exporter::prepare([$value], $objectsPool, $refsPool, $objectsCount, $isStaticValue)[0]; + $value = \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Exporter::prepare([$value], $objectsPool, $refsPool, $objectsCount, $isStaticValue)[0]; } finally { $references = []; foreach ($refsPool as $i => $v) { @@ -59,7 +59,7 @@ final class VarExporter } } if ($isStaticValue) { - return \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Exporter::export($value); + return \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Exporter::export($value); } $classes = []; $values = []; @@ -95,10 +95,10 @@ final class VarExporter } } if ($classes || $references) { - $value = new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Hydrator(new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Registry($classes), $references ? new \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Values($references) : null, $properties, $value, $wakeups); + $value = new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Hydrator(new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Registry($classes), $references ? new \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Values($references) : null, $properties, $value, $wakeups); } else { $isStaticValue = \true; } - return \RectorPrefix20211129\Symfony\Component\VarExporter\Internal\Exporter::export($value); + return \RectorPrefix20211130\Symfony\Component\VarExporter\Internal\Exporter::export($value); } } diff --git a/vendor/symfony/var-exporter/composer.json b/vendor/symfony/var-exporter/composer.json index 4eb28da2808..51c3699af65 100644 --- a/vendor/symfony/var-exporter/composer.json +++ b/vendor/symfony/var-exporter/composer.json @@ -27,11 +27,11 @@ "symfony\/polyfill-php80": "^1.16" }, "require-dev": { - "symfony\/var-dumper": "^4.4.9|^5.0.9" + "symfony\/var-dumper": "^4.4.9|^5.0.9|^6.0" }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\VarExporter\\": "" + "RectorPrefix20211130\\Symfony\\Component\\VarExporter\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symfony/yaml/CHANGELOG.md b/vendor/symfony/yaml/CHANGELOG.md index 21a0225e1a0..b9561b2af21 100644 --- a/vendor/symfony/yaml/CHANGELOG.md +++ b/vendor/symfony/yaml/CHANGELOG.md @@ -1,6 +1,13 @@ CHANGELOG ========= +5.4 +--- + + * Add new `lint:yaml dirname --exclude=/dirname/foo.yaml --exclude=/dirname/bar.yaml` + option to exclude one or more specific files from multiple file list + * Allow negatable for the parse tags option with `--no-parse-tags` + 5.3 --- diff --git a/vendor/symfony/yaml/Command/LintCommand.php b/vendor/symfony/yaml/Command/LintCommand.php index 62c9535b390..07ccdb65145 100644 --- a/vendor/symfony/yaml/Command/LintCommand.php +++ b/vendor/symfony/yaml/Command/LintCommand.php @@ -8,27 +8,29 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Command; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Command; -use RectorPrefix20211129\Symfony\Component\Console\CI\GithubActionReporter; -use RectorPrefix20211129\Symfony\Component\Console\Command\Command; -use RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException; -use RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Input\InputOption; -use RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface; -use RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20211129\Symfony\Component\Yaml\Parser; -use RectorPrefix20211129\Symfony\Component\Yaml\Yaml; +use RectorPrefix20211130\Symfony\Component\Console\CI\GithubActionReporter; +use RectorPrefix20211130\Symfony\Component\Console\Command\Command; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionInput; +use RectorPrefix20211130\Symfony\Component\Console\Completion\CompletionSuggestions; +use RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException; +use RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Input\InputOption; +use RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface; +use RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Parser; +use RectorPrefix20211130\Symfony\Component\Yaml\Yaml; /** * Validates YAML files syntax and outputs encountered errors. * * @author Grégoire Pineau * @author Robin Chalas */ -class LintCommand extends \RectorPrefix20211129\Symfony\Component\Console\Command\Command +class LintCommand extends \RectorPrefix20211130\Symfony\Component\Console\Command\Command { protected static $defaultName = 'lint:yaml'; protected static $defaultDescription = 'Lint a YAML file and outputs encountered errors'; @@ -48,7 +50,7 @@ class LintCommand extends \RectorPrefix20211129\Symfony\Component\Console\Comman */ protected function configure() { - $this->setDescription(self::$defaultDescription)->addArgument('filename', \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')->addOption('format', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format')->addOption('parse-tags', null, \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_NONE, 'Parse custom tags')->setHelp(<<setDescription(self::$defaultDescription)->addArgument('filename', \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'A file, a directory or "-" for reading from STDIN')->addOption('format', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'The output format')->addOption('exclude', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED | \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_IS_ARRAY, 'Path(s) to exclude')->addOption('parse-tags', null, \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_NEGATABLE, 'Parse custom tags', null)->setHelp(<<%command.name% command lints a YAML file and outputs to STDOUT the first encountered syntax error. @@ -65,6 +67,10 @@ Or of a whole directory: php %command.full_name% dirname php %command.full_name% dirname --format=json +You can also exclude one or more specific files: + + php %command.full_name% dirname --exclude="dirname/foo.yaml" --exclude="dirname/bar.yaml" + EOF ); } @@ -74,31 +80,35 @@ EOF */ protected function execute($input, $output) { - $io = new \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle($input, $output); + $io = new \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle($input, $output); $filenames = (array) $input->getArgument('filename'); + $excludes = $input->getOption('exclude'); $this->format = $input->getOption('format'); - if ('github' === $this->format && !\class_exists(\RectorPrefix20211129\Symfony\Component\Console\CI\GithubActionReporter::class)) { + $flags = $input->getOption('parse-tags'); + if ('github' === $this->format && !\class_exists(\RectorPrefix20211130\Symfony\Component\Console\CI\GithubActionReporter::class)) { throw new \InvalidArgumentException('The "github" format is only available since "symfony/console" >= 5.3.'); } if (null === $this->format) { // Autodetect format according to CI environment - $this->format = \class_exists(\RectorPrefix20211129\Symfony\Component\Console\CI\GithubActionReporter::class) && \RectorPrefix20211129\Symfony\Component\Console\CI\GithubActionReporter::isGithubActionEnvironment() ? 'github' : 'txt'; + $this->format = \class_exists(\RectorPrefix20211130\Symfony\Component\Console\CI\GithubActionReporter::class) && \RectorPrefix20211130\Symfony\Component\Console\CI\GithubActionReporter::isGithubActionEnvironment() ? 'github' : 'txt'; } + $flags = $flags ? \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS : 0; $this->displayCorrectFiles = $output->isVerbose(); - $flags = $input->getOption('parse-tags') ? \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS : 0; if (['-'] === $filenames) { return $this->display($io, [$this->validate(\file_get_contents('php://stdin'), $flags)]); } if (!$filenames) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException('Please provide a filename or pipe file content to STDIN.'); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException('Please provide a filename or pipe file content to STDIN.'); } $filesInfo = []; foreach ($filenames as $filename) { if (!$this->isReadable($filename)) { - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\RuntimeException(\sprintf('File or directory "%s" is not readable.', $filename)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\RuntimeException(\sprintf('File or directory "%s" is not readable.', $filename)); } foreach ($this->getFiles($filename) as $file) { - $filesInfo[] = $this->validate(\file_get_contents($file), $flags, $file); + if (!\in_array($file->getPathname(), $excludes, \true)) { + $filesInfo[] = $this->validate(\file_get_contents($file), $flags, $file); + } } } return $this->display($io, $filesInfo); @@ -107,20 +117,20 @@ EOF { $prevErrorHandler = \set_error_handler(function ($level, $message, $file, $line) use(&$prevErrorHandler) { if (\E_USER_DEPRECATED === $level) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException($message, $this->getParser()->getRealCurrentLineNb() + 1); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException($message, $this->getParser()->getRealCurrentLineNb() + 1); } return $prevErrorHandler ? $prevErrorHandler($level, $message, $file, $line) : \false; }); try { - $this->getParser()->parse($content, \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | $flags); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + $this->getParser()->parse($content, \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT | $flags); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { return ['file' => $file, 'line' => $e->getParsedLine(), 'valid' => \false, 'message' => $e->getMessage()]; } finally { \restore_error_handler(); } return ['file' => $file, 'valid' => \true]; } - private function display(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $io, array $files) : int + private function display(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $io, array $files) : int { switch ($this->format) { case 'txt': @@ -130,16 +140,16 @@ EOF case 'github': return $this->displayTxt($io, $files, \true); default: - throw new \RectorPrefix20211129\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The format "%s" is not supported.', $this->format)); + throw new \RectorPrefix20211130\Symfony\Component\Console\Exception\InvalidArgumentException(\sprintf('The format "%s" is not supported.', $this->format)); } } - private function displayTxt(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo, bool $errorAsGithubAnnotations = \false) : int + private function displayTxt(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo, bool $errorAsGithubAnnotations = \false) : int { $countFiles = \count($filesInfo); $erroredFiles = 0; $suggestTagOption = \false; if ($errorAsGithubAnnotations) { - $githubReporter = new \RectorPrefix20211129\Symfony\Component\Console\CI\GithubActionReporter($io); + $githubReporter = new \RectorPrefix20211130\Symfony\Component\Console\CI\GithubActionReporter($io); } foreach ($filesInfo as $info) { if ($info['valid'] && $this->displayCorrectFiles) { @@ -163,7 +173,7 @@ EOF } return \min($erroredFiles, 1); } - private function displayJson(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo) : int + private function displayJson(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $io, array $filesInfo) : int { $errors = 0; \array_walk($filesInfo, function (&$v) use(&$errors) { @@ -191,10 +201,10 @@ EOF (yield $file); } } - private function getParser() : \RectorPrefix20211129\Symfony\Component\Yaml\Parser + private function getParser() : \RectorPrefix20211130\Symfony\Component\Yaml\Parser { if (!$this->parser) { - $this->parser = new \RectorPrefix20211129\Symfony\Component\Yaml\Parser(); + $this->parser = new \RectorPrefix20211130\Symfony\Component\Yaml\Parser(); } return $this->parser; } @@ -218,4 +228,14 @@ EOF } return $default($fileOrDirectory); } + /** + * @param \Symfony\Component\Console\Completion\CompletionInput $input + * @param \Symfony\Component\Console\Completion\CompletionSuggestions $suggestions + */ + public function complete($input, $suggestions) : void + { + if ($input->mustSuggestOptionValuesFor('format')) { + $suggestions->suggestValues(['txt', 'json', 'github']); + } + } } diff --git a/vendor/symfony/yaml/Dumper.php b/vendor/symfony/yaml/Dumper.php index 34375dce043..f1eebd11adc 100644 --- a/vendor/symfony/yaml/Dumper.php +++ b/vendor/symfony/yaml/Dumper.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; -use RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue; /** * Dumper dumps PHP variables to YAML strings. * @@ -41,25 +41,25 @@ class Dumper * @param int $indent The level of indentation (used internally) * @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string * - * @return string The YAML representation of the PHP value + * @return string */ public function dump($input, int $inline = 0, int $indent = 0, int $flags = 0) : string { $output = ''; $prefix = $indent ? \str_repeat(' ', $indent) : ''; $dumpObjectAsInlineMap = \true; - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \stdClass)) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($input instanceof \ArrayObject || $input instanceof \stdClass)) { $dumpObjectAsInlineMap = empty((array) $input); } - if ($inline <= 0 || !\is_array($input) && !$input instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue && $dumpObjectAsInlineMap || empty($input)) { - $output .= $prefix . \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($input, $flags); + if ($inline <= 0 || !\is_array($input) && !$input instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue && $dumpObjectAsInlineMap || empty($input)) { + $output .= $prefix . \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($input, $flags); } else { - $dumpAsMap = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::isHash($input); + $dumpAsMap = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::isHash($input); foreach ($input as $key => $value) { if ('' !== $output && "\n" !== $output[-1]) { $output .= "\n"; } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && \false !== \strpos($value, "\n") && \false === \strpos($value, "\r")) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value) && \false !== \strpos($value, "\n") && \false === \strpos($value, "\r")) { // If the first line starts with a space character, the spec requires a blockIndicationIndicator // http://www.yaml.org/spec/1.2/spec.html#id2793979 $blockIndentationIndicator = ' ' === \substr($value, 0, 1) ? (string) $this->indentation : ''; @@ -70,7 +70,7 @@ class Dumper } else { $blockChompingIndicator = '-'; } - $output .= \sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', '', $blockIndentationIndicator, $blockChompingIndicator); + $output .= \sprintf('%s%s%s |%s%s', $prefix, $dumpAsMap ? \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', '', $blockIndentationIndicator, $blockChompingIndicator); foreach (\explode("\n", $value) as $row) { if ('' === $row) { $output .= "\n"; @@ -80,9 +80,9 @@ class Dumper } continue; } - if ($value instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue) { - $output .= \sprintf('%s%s !%s', $prefix, $dumpAsMap ? \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $value->getTag()); - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && \false !== \strpos($value->getValue(), "\n") && \false === \strpos($value->getValue(), "\r\n")) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue) { + $output .= \sprintf('%s%s !%s', $prefix, $dumpAsMap ? \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $value->getTag()); + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_MULTI_LINE_LITERAL_BLOCK & $flags && \is_string($value->getValue()) && \false !== \strpos($value->getValue(), "\n") && \false === \strpos($value->getValue(), "\r\n")) { // If the first line starts with a space character, the spec requires a blockIndicationIndicator // http://www.yaml.org/spec/1.2/spec.html#id2793979 $blockIndentationIndicator = ' ' === \substr($value->getValue(), 0, 1) ? (string) $this->indentation : ''; @@ -101,11 +101,11 @@ class Dumper continue; } $dumpObjectAsInlineMap = \true; - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \stdClass)) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \ArrayObject || $value instanceof \stdClass)) { $dumpObjectAsInlineMap = empty((array) $value); } $willBeInlined = $inline - 1 <= 0 || !\is_array($value) && $dumpObjectAsInlineMap || empty($value); - $output .= \sprintf('%s%s%s%s', $prefix, $dumpAsMap ? \RectorPrefix20211129\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $willBeInlined ? ' ' : "\n", $this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + $this->indentation, $flags)) . ($willBeInlined ? "\n" : ''); + $output .= \sprintf('%s%s%s%s', $prefix, $dumpAsMap ? \RectorPrefix20211130\Symfony\Component\Yaml\Inline::dump($key, $flags) . ':' : '-', $willBeInlined ? ' ' : "\n", $this->dump($value, $inline - 1, $willBeInlined ? 0 : $indent + $this->indentation, $flags)) . ($willBeInlined ? "\n" : ''); } } return $output; diff --git a/vendor/symfony/yaml/Escaper.php b/vendor/symfony/yaml/Escaper.php index 7781458afa8..faa459c1bac 100644 --- a/vendor/symfony/yaml/Escaper.php +++ b/vendor/symfony/yaml/Escaper.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; /** * Escaper encapsulates escaping rules for single and double-quoted @@ -32,8 +32,6 @@ class Escaper * Determines if a PHP value would require double quoting in YAML. * * @param string $value A PHP value - * - * @return bool True if the value would require double quotes */ public static function requiresDoubleQuoting($value) : bool { @@ -43,8 +41,6 @@ class Escaper * Escapes and surrounds a PHP value with double quotes. * * @param string $value A PHP value - * - * @return string The quoted, escaped string */ public static function escapeWithDoubleQuotes($value) : string { @@ -54,8 +50,6 @@ class Escaper * Determines if a PHP value would require single quoting in YAML. * * @param string $value A PHP value - * - * @return bool True if the value would require single quotes */ public static function requiresSingleQuoting($value) : bool { @@ -72,8 +66,6 @@ class Escaper * Escapes and surrounds a PHP value with single quotes. * * @param string $value A PHP value - * - * @return string The quoted, escaped string */ public static function escapeWithSingleQuotes($value) : string { diff --git a/vendor/symfony/yaml/Exception/DumpException.php b/vendor/symfony/yaml/Exception/DumpException.php index 686bdcb2e49..91ce5d57560 100644 --- a/vendor/symfony/yaml/Exception/DumpException.php +++ b/vendor/symfony/yaml/Exception/DumpException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during dumping. * * @author Fabien Potencier */ -class DumpException extends \RectorPrefix20211129\Symfony\Component\Yaml\Exception\RuntimeException +class DumpException extends \RectorPrefix20211130\Symfony\Component\Yaml\Exception\RuntimeException { } diff --git a/vendor/symfony/yaml/Exception/ExceptionInterface.php b/vendor/symfony/yaml/Exception/ExceptionInterface.php index b2de3953fae..1668659e0ed 100644 --- a/vendor/symfony/yaml/Exception/ExceptionInterface.php +++ b/vendor/symfony/yaml/Exception/ExceptionInterface.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Exception; /** * Exception interface for all exceptions thrown by the component. diff --git a/vendor/symfony/yaml/Exception/ParseException.php b/vendor/symfony/yaml/Exception/ParseException.php index b3eb28555ff..cce97f72a45 100644 --- a/vendor/symfony/yaml/Exception/ParseException.php +++ b/vendor/symfony/yaml/Exception/ParseException.php @@ -8,14 +8,14 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during parsing. * * @author Fabien Potencier */ -class ParseException extends \RectorPrefix20211129\Symfony\Component\Yaml\Exception\RuntimeException +class ParseException extends \RectorPrefix20211130\Symfony\Component\Yaml\Exception\RuntimeException { private $parsedFile; private $parsedLine; @@ -39,7 +39,7 @@ class ParseException extends \RectorPrefix20211129\Symfony\Component\Yaml\Except /** * Gets the snippet of code near the error. * - * @return string The snippet of code + * @return string */ public function getSnippet() { @@ -59,7 +59,7 @@ class ParseException extends \RectorPrefix20211129\Symfony\Component\Yaml\Except * * This method returns null if a string is parsed. * - * @return string The filename + * @return string */ public function getParsedFile() { @@ -77,7 +77,7 @@ class ParseException extends \RectorPrefix20211129\Symfony\Component\Yaml\Except /** * Gets the line where the error occurred. * - * @return int The file line + * @return int */ public function getParsedLine() { diff --git a/vendor/symfony/yaml/Exception/RuntimeException.php b/vendor/symfony/yaml/Exception/RuntimeException.php index 09328ca9bac..dd6c337c93e 100644 --- a/vendor/symfony/yaml/Exception/RuntimeException.php +++ b/vendor/symfony/yaml/Exception/RuntimeException.php @@ -8,13 +8,13 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Exception; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Exception; /** * Exception class thrown when an error occurs during parsing. * * @author Romain Neutron */ -class RuntimeException extends \RuntimeException implements \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ExceptionInterface +class RuntimeException extends \RuntimeException implements \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ExceptionInterface { } diff --git a/vendor/symfony/yaml/Inline.php b/vendor/symfony/yaml/Inline.php index bc33d4fe692..a15efc3e82a 100644 --- a/vendor/symfony/yaml/Inline.php +++ b/vendor/symfony/yaml/Inline.php @@ -8,11 +8,11 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\DumpException; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\DumpException; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue; /** * Inline implements a YAML parser/dumper for the YAML inline syntax. * @@ -36,10 +36,10 @@ class Inline */ public static function initialize($flags, $parsedLineNumber = null, $parsedFilename = null) { - self::$exceptionOnInvalidType = (bool) (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags); - self::$objectSupport = (bool) (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT & $flags); - self::$objectForMap = (bool) (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags); - self::$constantSupport = (bool) (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT & $flags); + self::$exceptionOnInvalidType = (bool) (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_EXCEPTION_ON_INVALID_TYPE & $flags); + self::$objectSupport = (bool) (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT & $flags); + self::$objectForMap = (bool) (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags); + self::$constantSupport = (bool) (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CONSTANT & $flags); self::$parsedFilename = $parsedFilename; if (null !== $parsedLineNumber) { self::$parsedLineNumber = $parsedLineNumber; @@ -52,7 +52,7 @@ class Inline * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * @param array $references Mapping of variable names to values * - * @return mixed A PHP value + * @return mixed * * @throws ParseException */ @@ -84,10 +84,10 @@ class Inline } // some comments are allowed at the end if (\preg_replace('/\\s*#.*$/A', '', \substr($value, $i))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($value, $i)), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($value, $i)), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } if (null !== $tag && '' !== $tag) { - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $result); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $result); } return $result; } finally { @@ -102,7 +102,7 @@ class Inline * @param mixed $value The PHP variable to convert * @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string * - * @return string The YAML string representing the PHP value + * @return string * * @throws DumpException When trying to dump PHP resource */ @@ -110,30 +110,30 @@ class Inline { switch (\true) { case \is_resource($value): - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\DumpException(\sprintf('Unable to dump PHP resources in a YAML file ("%s").', \get_resource_type($value))); + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\DumpException(\sprintf('Unable to dump PHP resources in a YAML file ("%s").', \get_resource_type($value))); } return self::dumpNull($flags); case $value instanceof \DateTimeInterface: return $value->format('c'); - case $value instanceof \RectorPrefix20211129\UnitEnum: + case $value instanceof \RectorPrefix20211130\UnitEnum: return \sprintf('!php/const %s::%s', \get_class($value), $value->name); case \is_object($value): - if ($value instanceof \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue) { + if ($value instanceof \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue) { return '!' . $value->getTag() . ' ' . self::dump($value->getValue(), $flags); } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_OBJECT & $flags) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_OBJECT & $flags) { return '!php/object ' . self::dump(\serialize($value)); } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \stdClass || $value instanceof \ArrayObject)) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_OBJECT_AS_MAP & $flags && ($value instanceof \stdClass || $value instanceof \ArrayObject)) { $output = []; foreach ($value as $key => $val) { $output[] = \sprintf('%s: %s', self::dump($key, $flags), self::dump($val, $flags)); } return \sprintf('{ %s }', \implode(', ', $output)); } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\DumpException('Object support when dumping a YAML file has been disabled.'); + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_EXCEPTION_ON_INVALID_TYPE & $flags) { + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\DumpException('Object support when dumping a YAML file has been disabled.'); } return self::dumpNull($flags); case \is_array($value): @@ -157,7 +157,9 @@ class Inline $repr = \str_ireplace('INF', '.Inf', $repr); } elseif (\floor($value) == $value && $repr == $value) { // Preserve float data type since storing a whole number will result in integer value. - $repr = '!!float ' . $repr; + if (\false === \strpos($repr, 'E')) { + $repr = $repr . '.0'; + } } } else { $repr = \is_string($value) ? "'{$value}'" : (string) $value; @@ -170,13 +172,13 @@ class Inline return "''"; case self::isBinaryString($value): return '!!binary ' . \base64_encode($value); - case \RectorPrefix20211129\Symfony\Component\Yaml\Escaper::requiresDoubleQuoting($value): - return \RectorPrefix20211129\Symfony\Component\Yaml\Escaper::escapeWithDoubleQuotes($value); - case \RectorPrefix20211129\Symfony\Component\Yaml\Escaper::requiresSingleQuoting($value): - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('{^[0-9]+[_0-9]*$}', $value): - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $value): - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $value): - return \RectorPrefix20211129\Symfony\Component\Yaml\Escaper::escapeWithSingleQuotes($value); + case \RectorPrefix20211130\Symfony\Component\Yaml\Escaper::requiresDoubleQuoting($value): + return \RectorPrefix20211130\Symfony\Component\Yaml\Escaper::escapeWithDoubleQuotes($value); + case \RectorPrefix20211130\Symfony\Component\Yaml\Escaper::requiresSingleQuoting($value): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('{^[0-9]+[_0-9]*$}', $value): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $value): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $value): + return \RectorPrefix20211130\Symfony\Component\Yaml\Escaper::escapeWithSingleQuotes($value); default: return $value; } @@ -186,7 +188,7 @@ class Inline * * @param array|\ArrayObject|\stdClass $value The PHP array or array-like object to check * - * @return bool true if value is hash array, false otherwise + * @return bool */ public static function isHash($value) : bool { @@ -207,12 +209,12 @@ class Inline * @param array $value The PHP array to dump * @param int $flags A bit field of Yaml::DUMP_* constants to customize the dumped YAML string * - * @return string The YAML string representing the PHP array + * @return string */ private static function dumpArray(array $value, int $flags) : string { // array - if (($value || \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE & $flags) && !self::isHash($value)) { + if (($value || \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_EMPTY_ARRAY_AS_SEQUENCE & $flags) && !self::isHash($value)) { $output = []; foreach ($value as $val) { $output[] = self::dump($val, $flags); @@ -228,7 +230,7 @@ class Inline } private static function dumpNull(int $flags) : string { - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::DUMP_NULL_AS_TILDE & $flags) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::DUMP_NULL_AS_TILDE & $flags) { return '~'; } return 'null'; @@ -256,10 +258,10 @@ class Inline if (null !== $delimiters) { $tmp = \ltrim(\substr($scalar, $i), " \n"); if ('' === $tmp) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected end of line, expected one of "%s".', \implode('', $delimiters)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected end of line, expected one of "%s".', \implode('', $delimiters)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } if (!\in_array($tmp[0], $delimiters)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters (%s).', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters (%s).', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } } } else { @@ -269,19 +271,19 @@ class Inline $output = \substr($scalar, $i); $i += \strlen($output); // remove comments - if (\RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('/[ \\t]+#/', $output, $match, \PREG_OFFSET_CAPTURE)) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('/[ \\t]+#/', $output, $match, \PREG_OFFSET_CAPTURE)) { $output = \substr($output, 0, $match[0][1]); } - } elseif (\RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('/^(.*?)(' . \implode('|', $delimiters) . ')/', \substr($scalar, $i), $match)) { + } elseif (\RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('/^(.*?)(' . \implode('|', $delimiters) . ')/', \substr($scalar, $i), $match)) { $output = $match[1]; $i += \strlen($output); $output = \trim($output); } else { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $scalar), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $scalar), self::$parsedLineNumber + 1, null, self::$parsedFilename); } // a non-quoted string cannot start with @ or ` (reserved) nor with a scalar indicator (| or >) if ($output && ('@' === $output[0] || '`' === $output[0] || '|' === $output[0] || '>' === $output[0] || '%' === $output[0])) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The reserved indicator "%s" cannot start a plain scalar; you need to quote the scalar.', $output[0]), self::$parsedLineNumber + 1, $output, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The reserved indicator "%s" cannot start a plain scalar; you need to quote the scalar.', $output[0]), self::$parsedLineNumber + 1, $output, self::$parsedFilename); } if ($evaluate) { $output = self::evaluateScalar($output, $flags, $references, $isQuoted); @@ -296,11 +298,11 @@ class Inline */ private static function parseQuotedScalar(string $scalar, int &$i = 0) : string { - if (!\RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('/' . self::REGEX_QUOTED_STRING . '/Au', \substr($scalar, $i), $match)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + if (!\RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('/' . self::REGEX_QUOTED_STRING . '/Au', \substr($scalar, $i), $match)) { + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', \substr($scalar, $i)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } $output = \substr($match[0], 1, -1); - $unescaper = new \RectorPrefix20211129\Symfony\Component\Yaml\Unescaper(); + $unescaper = new \RectorPrefix20211130\Symfony\Component\Yaml\Unescaper(); if ('"' == $scalar[$i]) { $output = $unescaper->unescapeDoubleQuotedString($output); } else { @@ -350,19 +352,19 @@ class Inline // no, it's not } } - if (!$isQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20211129\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { + if (!$isQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20211130\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { $references[$matches['ref']] = $matches['value']; $value = $matches['value']; } --$i; } if (null !== $tag && '' !== $tag) { - $value = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $value = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } $output[] = $value; ++$i; } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $sequence), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $sequence), self::$parsedLineNumber + 1, null, self::$parsedFilename); } /** * Parses a YAML mapping. @@ -396,7 +398,7 @@ class Inline $isKeyQuoted = \in_array($mapping[$i], ['"', "'"], \true); $key = self::parseScalar($mapping, $flags, [':', ' '], $i, \false); if ($offsetBeforeKeyParsing === $i) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Missing mapping key.', self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Missing mapping key.', self::$parsedLineNumber + 1, $mapping); } if ('!php/const' === $key) { $key .= ' ' . self::parseScalar($mapping, $flags, [':'], $i, \false); @@ -408,11 +410,11 @@ class Inline if (!$isKeyQuoted) { $evaluatedKey = self::evaluateScalar($key, $flags, $references); if ('' !== $key && $evaluatedKey !== $key && !\is_string($evaluatedKey) && !\is_int($evaluatedKey)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Implicit casting of incompatible mapping keys to strings is not supported. Quote your evaluable mapping keys instead.', self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Implicit casting of incompatible mapping keys to strings is not supported. Quote your evaluable mapping keys instead.', self::$parsedLineNumber + 1, $mapping); } } if (!$isKeyQuoted && (!isset($mapping[$i + 1]) || !\in_array($mapping[$i + 1], [' ', ',', '[', ']', '{', '}', "\n"], \true))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}").', self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Colons must be followed by a space or an indication character (i.e. " ", ",", "[", "]", "{", "}").', self::$parsedLineNumber + 1, $mapping); } if ('<<' === $key) { $allowOverwrite = \true; @@ -437,12 +439,12 @@ class Inline } } elseif ($allowOverwrite || !isset($output[$key])) { if (null !== $tag) { - $output[$key] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } break; case '{': @@ -456,12 +458,12 @@ class Inline $output += $value; } elseif ($allowOverwrite || !isset($output[$key])) { if (null !== $tag) { - $output[$key] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } break; default: @@ -473,17 +475,17 @@ class Inline if ('<<' === $key) { $output += $value; } elseif ($allowOverwrite || !isset($output[$key])) { - if (!$isValueQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20211129\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { + if (!$isValueQuoted && \is_string($value) && '' !== $value && '&' === $value[0] && \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(\RectorPrefix20211130\Symfony\Component\Yaml\Parser::REFERENCE_PATTERN, $value, $matches)) { $references[$matches['ref']] = $matches['value']; $value = $matches['value']; } if (null !== $tag) { - $output[$key] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); + $output[$key] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $value); } else { $output[$key] = $value; } } elseif (isset($output[$key])) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), self::$parsedLineNumber + 1, $mapping); } --$i; } @@ -491,12 +493,12 @@ class Inline continue 2; } } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $mapping), self::$parsedLineNumber + 1, null, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Malformed inline YAML string: "%s".', $mapping), self::$parsedLineNumber + 1, null, self::$parsedFilename); } /** * Evaluates scalars and replaces magic values. * - * @return mixed The evaluated YAML string + * @return mixed * * @throws ParseException when object parsing support was disabled and the parser detected a PHP object or when a reference could not be resolved */ @@ -512,10 +514,10 @@ class Inline } // an unquoted * if (\false === $value || '' === $value) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('A reference must contain at least one character.', self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('A reference must contain at least one character.', self::$parsedLineNumber + 1, $value, self::$parsedFilename); } if (!\array_key_exists($value, $references)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } return $references[$value]; } @@ -549,7 +551,7 @@ class Inline return \unserialize(self::parseScalar(\substr($scalar, 12))); } if (self::$exceptionOnInvalidType) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Object support when parsing a YAML file has been disabled.', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Object support when parsing a YAML file has been disabled.', self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } return null; case 0 === \strpos($scalar, '!php/const'): @@ -562,10 +564,10 @@ class Inline if (\defined($const = self::parseScalar(\substr($scalar, 11), 0, null, $i, \false))) { return \constant($const); } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The constant "%s" is not defined.', $const), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The constant "%s" is not defined.', $const), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } if (self::$exceptionOnInvalidType) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The string "%s" could not be parsed as a constant. Did you forget to pass the "Yaml::PARSE_CONSTANT" flag to the parser?', $scalar), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The string "%s" could not be parsed as a constant. Did you forget to pass the "Yaml::PARSE_CONSTANT" flag to the parser?', $scalar), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } return null; case 0 === \strpos($scalar, '!!float '): @@ -573,7 +575,7 @@ class Inline case 0 === \strpos($scalar, '!!binary '): return self::evaluateBinaryScalar(\substr($scalar, 9)); default: - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The string "%s" could not be parsed as it uses an unsupported built-in tag.', $scalar), self::$parsedLineNumber, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The string "%s" could not be parsed as it uses an unsupported built-in tag.', $scalar), self::$parsedLineNumber, $scalar, self::$parsedFilename); } // no break case \preg_match('/^(?:\\+|-)?0o(?P[0-7_]++)$/', $scalar, $matches): @@ -586,8 +588,8 @@ class Inline // Optimize for returning strings. // no break case \in_array($scalar[0], ['+', '-', '.'], \true) || \is_numeric($scalar[0]): - if (\RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) { - $scalar = \str_replace('_', '', (string) $scalar); + if (\RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('{^[+-]?[0-9][0-9_]*$}', $scalar)) { + $scalar = \str_replace('_', '', $scalar); } switch (\true) { case \ctype_digit($scalar): @@ -605,7 +607,7 @@ class Inline $cast = (int) $scalar; return $scalar === (string) $cast ? $cast : $scalar; case \is_numeric($scalar): - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $scalar): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(self::getHexRegex(), $scalar): $scalar = \str_replace('_', '', $scalar); return '0x' === $scalar[0] . $scalar[1] ? \hexdec($scalar) : (float) $scalar; case '.inf' === $scalarLower: @@ -613,12 +615,12 @@ class Inline return -\log(0); case '-.inf' === $scalarLower: return \log(0); - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('/^(-|\\+)?[0-9][0-9_]*(\\.[0-9_]+)?$/', $scalar): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('/^(-|\\+)?[0-9][0-9_]*(\\.[0-9_]+)?$/', $scalar): return (float) \str_replace('_', '', $scalar); - case \RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $scalar): + case \RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match(self::getTimestampRegex(), $scalar): // When no timezone is provided in the parsed date, YAML spec says we must assume UTC. $time = new \DateTime($scalar, new \DateTimeZone('UTC')); - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_DATETIME & $flags) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_DATETIME & $flags) { return $time; } try { @@ -643,7 +645,7 @@ class Inline $nextOffset = $i + $tagLength + 1; $nextOffset += \strspn($value, ' ', $nextOffset); if ('' === $tag && (!isset($value[$nextOffset]) || \in_array($value[$nextOffset], [']', '}', ','], \true))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Using the unquoted scalar value "!" is not supported. You must quote it.', self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Using the unquoted scalar value "!" is not supported. You must quote it.', self::$parsedLineNumber + 1, $value, self::$parsedFilename); } // Is followed by a scalar and is a built-in tag if ('' !== $tag && (!isset($value[$nextOffset]) || !\in_array($value[$nextOffset], ['[', '{'], \true)) && ('!' === $tag[0] || 'str' === $tag || 'php/const' === $tag || 'php/object' === $tag)) { @@ -653,15 +655,15 @@ class Inline $i = $nextOffset; // Built-in tags if ('' !== $tag && '!' === $tag[0]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } if ('' !== $tag && !isset($value[$i])) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Missing value for tag "%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Missing value for tag "%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } - if ('' === $tag || \RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { + if ('' === $tag || \RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { return $tag; } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Tags support is not enabled. Enable the "Yaml::PARSE_CUSTOM_TAGS" flag to use "!%s".', $tag), self::$parsedLineNumber + 1, $value, self::$parsedFilename); } /** * @param string $scalar @@ -670,10 +672,10 @@ class Inline { $parsedBinaryData = self::parseScalar(\preg_replace('/\\s/', '', $scalar)); if (0 !== \strlen($parsedBinaryData) % 4) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The normalized base64 encoded data (data without whitespace characters) length must be a multiple of four (%d bytes given).', \strlen($parsedBinaryData)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The normalized base64 encoded data (data without whitespace characters) length must be a multiple of four (%d bytes given).', \strlen($parsedBinaryData)), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } - if (!\RectorPrefix20211129\Symfony\Component\Yaml\Parser::preg_match('#^[A-Z0-9+/]+={0,2}$#i', $parsedBinaryData)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The base64 encoded data (%s) contains invalid characters.', $parsedBinaryData), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); + if (!\RectorPrefix20211130\Symfony\Component\Yaml\Parser::preg_match('#^[A-Z0-9+/]+={0,2}$#i', $parsedBinaryData)) { + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The base64 encoded data (%s) contains invalid characters.', $parsedBinaryData), self::$parsedLineNumber + 1, $scalar, self::$parsedFilename); } return \base64_decode($parsedBinaryData, \true); } @@ -684,7 +686,7 @@ class Inline /** * Gets a regex that matches a YAML date. * - * @return string The regular expression + * @return string * * @see http://www.yaml.org/spec/1.2/spec.html#id2761573 */ diff --git a/vendor/symfony/yaml/Parser.php b/vendor/symfony/yaml/Parser.php index 905c14a68e1..0c44079b57d 100644 --- a/vendor/symfony/yaml/Parser.php +++ b/vendor/symfony/yaml/Parser.php @@ -8,10 +8,10 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; -use RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue; /** * Parser parses YAML strings to convert them to PHP arrays. * @@ -41,17 +41,17 @@ class Parser * @param string $filename The path to the YAML file to be parsed * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * - * @return mixed The YAML converted to a PHP value + * @return mixed * * @throws ParseException If the file could not be read or the YAML is not valid */ public function parseFile(string $filename, int $flags = 0) { if (!\is_file($filename)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" does not exist.', $filename)); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" does not exist.', $filename)); } if (!\is_readable($filename)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" cannot be read.', $filename)); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('File "%s" cannot be read.', $filename)); } $this->filename = $filename; try { @@ -66,14 +66,14 @@ class Parser * @param string $value A YAML string * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * - * @return mixed A PHP value + * @return mixed * * @throws ParseException If the YAML is not valid */ public function parse(string $value, int $flags = 0) { if (\false === \preg_match('//u', $value)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('The YAML value does not appear to be valid UTF-8.', -1, null, $this->filename); } $this->refs = []; $mbEncoding = null; @@ -121,7 +121,7 @@ class Parser } // Resolves the tag and returns if end of the document if (null !== ($tag = $this->getLineTag($this->currentLine, $flags, \false)) && !$this->moveToNextLine()) { - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, ''); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, ''); } do { if ($this->isCurrentLineEmpty()) { @@ -129,13 +129,13 @@ class Parser } // tab? if ("\t" === $this->currentLine[0]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('A YAML file cannot contain tabs as indentation.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } - \RectorPrefix20211129\Symfony\Component\Yaml\Inline::initialize($flags, $this->getRealCurrentLineNb(), $this->filename); + \RectorPrefix20211130\Symfony\Component\Yaml\Inline::initialize($flags, $this->getRealCurrentLineNb(), $this->filename); $isRef = $mergeNode = \false; if ('-' === $this->currentLine[0] && self::preg_match('#^\\-((?P\\s+)(?P.+))?$#u', \rtrim($this->currentLine), $values)) { if ($context && 'mapping' == $context) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('You cannot define a sequence item when in a mapping.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('You cannot define a sequence item when in a mapping.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } $context = 'sequence'; if (isset($values['value']) && '&' === $values['value'][0] && self::preg_match(self::REFERENCE_PATTERN, $values['value'], $matches)) { @@ -144,7 +144,7 @@ class Parser $values['value'] = $matches['value']; } if (isset($values['value'][1]) && '?' === $values['value'][0] && ' ' === $values['value'][1]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); } // array if (isset($values['value']) && 0 === \strpos(\ltrim($values['value'], ' '), '-')) { @@ -157,9 +157,9 @@ class Parser } elseif (!isset($values['value']) || '' == \trim($values['value'], ' ') || 0 === \strpos(\ltrim($values['value'], ' '), '#')) { $data[] = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(null, \true) ?? '', $flags); } elseif (null !== ($subTag = $this->getLineTag(\ltrim($values['value'], ' '), $flags))) { - $data[] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(null, \true), $flags)); + $data[] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(null, \true), $flags)); } else { - if (isset($values['leadspaces']) && ('!' === $values['value'][0] || self::preg_match('#^(?P' . \RectorPrefix20211129\Symfony\Component\Yaml\Inline::REGEX_QUOTED_STRING . '|[^ \'"\\{\\[].*?) *\\:(\\s+(?P.+?))?\\s*$#u', $this->trimTag($values['value']), $matches))) { + if (isset($values['leadspaces']) && ('!' === $values['value'][0] || self::preg_match('#^(?P' . \RectorPrefix20211130\Symfony\Component\Yaml\Inline::REGEX_QUOTED_STRING . '|[^ \'"\\{\\[].*?) *\\:(\\s+(?P.+?))?\\s*$#u', $this->trimTag($values['value']), $matches))) { // this is a compact notation element, add to next block and parse $block = $values['value']; if ($this->isNextLineIndented()) { @@ -174,20 +174,20 @@ class Parser $this->refs[$isRef] = \end($data); \array_pop($this->refsBeingParsed); } - } elseif (self::preg_match('#^(?P(?:![^\\s]++\\s++)?(?:' . \RectorPrefix20211129\Symfony\Component\Yaml\Inline::REGEX_QUOTED_STRING . '|(?:!?!php/const:)?[^ \'"\\[\\{!].*?)) *\\:(( |\\t)++(?P.+))?$#u', \rtrim($this->currentLine), $values) && (\false === \strpos($values['key'], ' #') || \in_array($values['key'][0], ['"', "'"]))) { + } elseif (self::preg_match('#^(?P(?:![^\\s]++\\s++)?(?:' . \RectorPrefix20211130\Symfony\Component\Yaml\Inline::REGEX_QUOTED_STRING . '|(?:!?!php/const:)?[^ \'"\\[\\{!].*?)) *\\:(( |\\t)++(?P.+))?$#u', \rtrim($this->currentLine), $values) && (\false === \strpos($values['key'], ' #') || \in_array($values['key'][0], ['"', "'"]))) { if ($context && 'sequence' == $context) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('You cannot define a mapping item when in a sequence.', $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('You cannot define a mapping item when in a sequence.', $this->currentLineNb + 1, $this->currentLine, $this->filename); } $context = 'mapping'; try { - $key = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parseScalar($values['key']); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + $key = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parseScalar($values['key']); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; } if (!\is_string($key) && !\is_int($key)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException((\is_numeric($key) ? 'Numeric' : 'Non-string') . ' keys are not supported. Quote your evaluable mapping keys instead.', $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException((\is_numeric($key) ? 'Numeric' : 'Non-string') . ' keys are not supported. Quote your evaluable mapping keys instead.', $this->getRealCurrentLineNb() + 1, $this->currentLine); } // Convert float keys to strings, to avoid being converted to integers by PHP if (\is_float($key)) { @@ -200,16 +200,16 @@ class Parser $refName = \substr(\rtrim($values['value']), 1); if (!\array_key_exists($refName, $this->refs)) { if (\false !== ($pos = \array_search($refName, $this->refsBeingParsed, \true))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Circular reference [%s] detected for reference "%s".', \implode(', ', \array_merge(\array_slice($this->refsBeingParsed, $pos), [$refName])), $refName), $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Circular reference [%s] detected for reference "%s".', \implode(', ', \array_merge(\array_slice($this->refsBeingParsed, $pos), [$refName])), $refName), $this->currentLineNb + 1, $this->currentLine, $this->filename); } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $refName), $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } $refValue = $this->refs[$refName]; - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $refValue instanceof \stdClass) { $refValue = (array) $refValue; } if (!\is_array($refValue)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('YAML merge keys used with a scalar value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('YAML merge keys used with a scalar value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } $data += $refValue; // array union @@ -220,22 +220,22 @@ class Parser $value = $this->getNextEmbedBlock(); } $parsed = $this->parseBlock($this->getRealCurrentLineNb() + 1, $value, $flags); - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsed instanceof \stdClass) { $parsed = (array) $parsed; } if (!\is_array($parsed)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('YAML merge keys used with a scalar value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('YAML merge keys used with a scalar value instead of an array.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } if (isset($parsed[0])) { // If the value associated with the merge key is a sequence, then this sequence is expected to contain mapping nodes // and each of these nodes is merged in turn according to its order in the sequence. Keys in mapping nodes earlier // in the sequence override keys specified in later mapping nodes. foreach ($parsed as $parsedItem) { - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $parsedItem instanceof \stdClass) { $parsedItem = (array) $parsedItem; } if (!\is_array($parsedItem)) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsedItem, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Merge items must be arrays.', $this->getRealCurrentLineNb() + 1, $parsedItem, $this->filename); } $data += $parsedItem; // array union @@ -263,12 +263,12 @@ class Parser // But overwriting is allowed when a merge node is used in current block. if ($allowOverwrite || !isset($data[$key])) { if (null !== $subTag) { - $data[$key] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($subTag, ''); + $data[$key] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($subTag, ''); } else { $data[$key] = null; } } else { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); } } else { // remember the parsed line number here in case we need it to provide some contexts in error messages below @@ -276,7 +276,7 @@ class Parser $value = $this->parseBlock($this->getRealCurrentLineNb() + 1, $this->getNextEmbedBlock(), $flags); if ('<<' === $key) { $this->refs[$refMatches['ref']] = $value; - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && $value instanceof \stdClass) { $value = (array) $value; } $data += $value; @@ -284,12 +284,12 @@ class Parser // Spec: Keys MUST be unique; first one wins. // But overwriting is allowed when a merge node is used in current block. if (null !== $subTag) { - $data[$key] = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $value); + $data[$key] = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($subTag, $value); } else { $data[$key] = $value; } } else { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $realCurrentLineNbKey + 1, $this->currentLine); } } } else { @@ -299,7 +299,7 @@ class Parser if ($allowOverwrite || !isset($data[$key])) { $data[$key] = $value; } else { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Duplicate key "%s" detected.', $key), $this->getRealCurrentLineNb() + 1, $this->currentLine); } } if ($isRef) { @@ -308,45 +308,45 @@ class Parser } } elseif ('"' === $this->currentLine[0] || "'" === $this->currentLine[0]) { if (null !== $context) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - return \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString(), $flags, $this->refs); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + return \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString(), $flags, $this->refs); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; } } elseif ('{' === $this->currentLine[0]) { if (null !== $context) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - $parsedMapping = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping(), $flags, $this->refs); + $parsedMapping = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping(), $flags, $this->refs); while ($this->moveToNextLine()) { if (!$this->isCurrentLineEmpty()) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return $parsedMapping; - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; } } elseif ('[' === $this->currentLine[0]) { if (null !== $context) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } try { - $parsedSequence = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence(), $flags, $this->refs); + $parsedSequence = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence(), $flags, $this->refs); while ($this->moveToNextLine()) { if (!$this->isCurrentLineEmpty()) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return $parsedSequence; - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -354,16 +354,16 @@ class Parser } else { // multiple documents are not supported if ('---' === $this->currentLine) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Multiple documents are not supported.', $this->currentLineNb + 1, $this->currentLine, $this->filename); } if ($deprecatedUsage = isset($this->currentLine[1]) && '?' === $this->currentLine[0] && ' ' === $this->currentLine[1]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Complex mappings are not supported.', $this->getRealCurrentLineNb() + 1, $this->currentLine); } // 1-liner optionally followed by newline(s) if (\is_string($value) && $this->lines[0] === \trim($value)) { try { - $value = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lines[0], $flags, $this->refs); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + $value = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lines[0], $flags, $this->refs); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -382,10 +382,10 @@ class Parser } // If the indentation is not consistent at offset 0, it is to be considered as a ParseError if (0 === $this->offset && !$deprecatedUsage && isset($line[0]) && ' ' === $line[0]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } if (\false !== \strpos($line, ': ')) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Mapping values are not allowed in multi-line blocks.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Mapping values are not allowed in multi-line blocks.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } if ('' === $trimmedLine) { $value .= "\n"; @@ -409,18 +409,18 @@ class Parser } } try { - return \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse(\trim($value)); - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + return \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse(\trim($value)); + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { // fall-through to the ParseException thrown below } } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Unable to parse.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } while ($this->moveToNextLine()); if (null !== $tag) { - $data = new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue($tag, $data); + $data = new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue($tag, $data); } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && 'mapping' === $context && !\is_object($data)) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_OBJECT_FOR_MAP & $flags && 'mapping' === $context && !\is_object($data)) { $object = new \stdClass(); foreach ($data as $key => $value) { $object->{$key} = $value; @@ -450,8 +450,6 @@ class Parser * Returns the current line number (takes the offset into account). * * @internal - * - * @return int The current line number */ public function getRealCurrentLineNb() : int { @@ -466,8 +464,6 @@ class Parser } /** * Returns the current line indentation. - * - * @return int The current line indentation */ private function getCurrentLineIndentation() : int { @@ -482,8 +478,6 @@ class Parser * @param int|null $indentation The indent level at which the block is to be read, or null for default * @param bool $inSequence True if the enclosing data structure is a sequence * - * @return string A YAML string - * * @throws ParseException When indentation problem are detected */ private function getNextEmbedBlock(int $indentation = null, bool $inSequence = \false) : string @@ -512,7 +506,7 @@ class Parser } $unindentedEmbedBlock = $this->isStringUnIndentedCollectionItem(); if (!$this->isCurrentLineEmpty() && 0 === $newIndent && !$unindentedEmbedBlock) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } else { $newIndent = $indentation; @@ -556,7 +550,7 @@ class Parser $this->moveToPreviousLine(); break; } else { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Indentation problem.', $this->getRealCurrentLineNb() + 1, $this->currentLine, $this->filename); } } return \implode("\n", $data); @@ -594,7 +588,7 @@ class Parser * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * @param string $context The parser context (either sequence or mapping) * - * @return mixed A PHP value + * @return mixed * * @throws ParseException When reference does not exist */ @@ -608,9 +602,9 @@ class Parser } if (!\array_key_exists($value, $this->refs)) { if (\false !== ($pos = \array_search($value, $this->refsBeingParsed, \true))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Circular reference [%s] detected for reference "%s".', \implode(', ', \array_merge(\array_slice($this->refsBeingParsed, $pos), [$value])), $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Circular reference [%s] detected for reference "%s".', \implode(', ', \array_merge(\array_slice($this->refsBeingParsed, $pos), [$value])), $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Reference "%s" does not exist.', $value), $this->currentLineNb + 1, $this->currentLine, $this->filename); } return $this->refs[$value]; } @@ -619,27 +613,27 @@ class Parser $data = $this->parseBlockScalar($matches['separator'], \preg_replace('#\\d+#', '', $modifiers), \abs((int) $modifiers)); if ('' !== $matches['tag'] && '!' !== $matches['tag']) { if ('!!binary' === $matches['tag']) { - return \RectorPrefix20211129\Symfony\Component\Yaml\Inline::evaluateBinaryScalar($data); + return \RectorPrefix20211130\Symfony\Component\Yaml\Inline::evaluateBinaryScalar($data); } - return new \RectorPrefix20211129\Symfony\Component\Yaml\Tag\TaggedValue(\substr($matches['tag'], 1), $data); + return new \RectorPrefix20211130\Symfony\Component\Yaml\Tag\TaggedValue(\substr($matches['tag'], 1), $data); } return $data; } try { if ('' !== $value && '{' === $value[0]) { $cursor = \strlen(\rtrim($this->currentLine)) - \strlen(\rtrim($value)); - return \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping($cursor), $flags, $this->refs); + return \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineMapping($cursor), $flags, $this->refs); } elseif ('' !== $value && '[' === $value[0]) { $cursor = \strlen(\rtrim($this->currentLine)) - \strlen(\rtrim($value)); - return \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence($cursor), $flags, $this->refs); + return \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineSequence($cursor), $flags, $this->refs); } switch ($value[0] ?? '') { case '"': case "'": $cursor = \strlen(\rtrim($this->currentLine)) - \strlen(\rtrim($value)); - $parsedValue = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString($cursor), $flags, $this->refs); + $parsedValue = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($this->lexInlineQuotedString($cursor), $flags, $this->refs); if (isset($this->currentLine[$cursor]) && \preg_replace('/\\s*(#.*)?$/A', '', \substr($this->currentLine, $cursor))) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($this->currentLine, $cursor))); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Unexpected characters near "%s".', \substr($this->currentLine, $cursor))); } return $parsedValue; default: @@ -664,14 +658,14 @@ class Parser $previousLineBlank = \false; } } - \RectorPrefix20211129\Symfony\Component\Yaml\Inline::$parsedLineNumber = $this->getRealCurrentLineNb(); - $parsedValue = \RectorPrefix20211129\Symfony\Component\Yaml\Inline::parse($value, $flags, $this->refs); + \RectorPrefix20211130\Symfony\Component\Yaml\Inline::$parsedLineNumber = $this->getRealCurrentLineNb(); + $parsedValue = \RectorPrefix20211130\Symfony\Component\Yaml\Inline::parse($value, $flags, $this->refs); if ('mapping' === $context && \is_string($parsedValue) && '"' !== $value[0] && "'" !== $value[0] && '[' !== $value[0] && '{' !== $value[0] && '!' !== $value[0] && \false !== \strpos($parsedValue, ': ')) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCurrentLineNb() + 1, $value, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('A colon cannot be used in an unquoted mapping value.', $this->getRealCurrentLineNb() + 1, $value, $this->filename); } return $parsedValue; } - } catch (\RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException $e) { + } catch (\RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException $e) { $e->setParsedLine($this->getRealCurrentLineNb() + 1); $e->setSnippet($this->currentLine); throw $e; @@ -772,8 +766,6 @@ class Parser } /** * Returns true if the next line is indented. - * - * @return bool Returns true if the next line is indented, false otherwise */ private function isNextLineIndented() : bool { @@ -796,8 +788,6 @@ class Parser } /** * Returns true if the current line is blank or if it is a comment line. - * - * @return bool Returns true if the current line is empty or if it is a comment line, false otherwise */ private function isCurrentLineEmpty() : bool { @@ -805,8 +795,6 @@ class Parser } /** * Returns true if the current line is blank. - * - * @return bool Returns true if the current line is blank, false otherwise */ private function isCurrentLineBlank() : bool { @@ -814,8 +802,6 @@ class Parser } /** * Returns true if the current line is a comment line. - * - * @return bool Returns true if the current line is a comment line, false otherwise */ private function isCurrentLineComment() : bool { @@ -831,8 +817,6 @@ class Parser * Cleanups a YAML string to be parsed. * * @param string $value The input YAML string - * - * @return string A cleaned up YAML string */ private function cleanup(string $value) : string { @@ -861,8 +845,6 @@ class Parser } /** * Returns true if the next line starts unindented collection. - * - * @return bool Returns true if the next line starts unindented collection, false otherwise */ private function isNextLineUnIndentedCollection() : bool { @@ -885,8 +867,6 @@ class Parser } /** * Returns true if the string is un-indented collection item. - * - * @return bool Returns true if the string is un-indented collection item, false otherwise */ private function isStringUnIndentedCollectionItem() : bool { @@ -927,7 +907,7 @@ class Parser default: $error = 'Error.'; } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException($error); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException($error); } return $ret; } @@ -955,12 +935,12 @@ class Parser $tag = \substr($matches['tag'], 1); // Built-in tags if ($tag && '!' === $tag[0]) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRealCurrentLineNb() + 1, $value, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('The built-in tag "!%s" is not implemented.', $tag), $this->getRealCurrentLineNb() + 1, $value, $this->filename); } - if (\RectorPrefix20211129\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { + if (\RectorPrefix20211130\Symfony\Component\Yaml\Yaml::PARSE_CUSTOM_TAGS & $flags) { return $tag; } - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Tags support is not enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "%s".', $matches['tag']), $this->getRealCurrentLineNb() + 1, $value, $this->filename); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Tags support is not enabled. You must use the flag "Yaml::PARSE_CUSTOM_TAGS" to use "%s".', $matches['tag']), $this->getRealCurrentLineNb() + 1, $value, $this->filename); } private function lexInlineQuotedString(int &$cursor = 0) : string { @@ -1013,14 +993,14 @@ class Parser $cursor = 0; } } while ($this->moveToNextLine()); - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); } private function lexUnquotedString(int &$cursor) : string { $offset = $cursor; $cursor += \strcspn($this->currentLine, '[]{},: ', $cursor); if ($cursor === $offset) { - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Malformed unquoted YAML string.'); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Malformed unquoted YAML string.'); } return \substr($this->currentLine, $offset, $cursor - $offset); } @@ -1072,7 +1052,7 @@ class Parser $cursor = 0; } } while ($this->moveToNextLine()); - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException('Malformed inline YAML string.'); } private function consumeWhitespaces(int &$cursor) : bool { diff --git a/vendor/symfony/yaml/Resources/bin/yaml-lint b/vendor/symfony/yaml/Resources/bin/yaml-lint index 1e9e736c6a5..d800e4259e8 100644 --- a/vendor/symfony/yaml/Resources/bin/yaml-lint +++ b/vendor/symfony/yaml/Resources/bin/yaml-lint @@ -1,6 +1,6 @@ #!/usr/bin/env php */ -use RectorPrefix20211129\Symfony\Component\Console\Application; -use RectorPrefix20211129\Symfony\Component\Yaml\Command\LintCommand; +use RectorPrefix20211130\Symfony\Component\Console\Application; +use RectorPrefix20211130\Symfony\Component\Yaml\Command\LintCommand; function includeIfExists(string $file) : bool { return \file_exists($file) && (include $file); } -if (!\RectorPrefix20211129\includeIfExists(__DIR__ . '/../../../../autoload.php') && !\RectorPrefix20211129\includeIfExists(__DIR__ . '/../../vendor/autoload.php') && !\RectorPrefix20211129\includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')) { +if (!\RectorPrefix20211130\includeIfExists(__DIR__ . '/../../../../autoload.php') && !\RectorPrefix20211130\includeIfExists(__DIR__ . '/../../vendor/autoload.php') && !\RectorPrefix20211130\includeIfExists(__DIR__ . '/../../../../../../vendor/autoload.php')) { \fwrite(\STDERR, 'Install dependencies using Composer.' . \PHP_EOL); exit(1); } -if (!\class_exists(\RectorPrefix20211129\Symfony\Component\Console\Application::class)) { +if (!\class_exists(\RectorPrefix20211130\Symfony\Component\Console\Application::class)) { \fwrite(\STDERR, 'You need the "symfony/console" component in order to run the Yaml linter.' . \PHP_EOL); exit(1); } -(new \RectorPrefix20211129\Symfony\Component\Console\Application())->add($command = new \RectorPrefix20211129\Symfony\Component\Yaml\Command\LintCommand())->getApplication()->setDefaultCommand($command->getName(), \true)->run(); +(new \RectorPrefix20211130\Symfony\Component\Console\Application())->add($command = new \RectorPrefix20211130\Symfony\Component\Yaml\Command\LintCommand())->getApplication()->setDefaultCommand($command->getName(), \true)->run(); diff --git a/vendor/symfony/yaml/Tag/TaggedValue.php b/vendor/symfony/yaml/Tag/TaggedValue.php index aca02c735ea..6924cfbee8c 100644 --- a/vendor/symfony/yaml/Tag/TaggedValue.php +++ b/vendor/symfony/yaml/Tag/TaggedValue.php @@ -8,7 +8,7 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml\Tag; +namespace RectorPrefix20211130\Symfony\Component\Yaml\Tag; /** * @author Nicolas Grekas diff --git a/vendor/symfony/yaml/Unescaper.php b/vendor/symfony/yaml/Unescaper.php index 29863cf99d1..6f8476d3763 100644 --- a/vendor/symfony/yaml/Unescaper.php +++ b/vendor/symfony/yaml/Unescaper.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; /** * Unescaper encapsulates unescaping rules for single and double-quoted * YAML strings. @@ -30,7 +30,7 @@ class Unescaper * * @param string $value A single quoted string * - * @return string The unescaped string + * @return string */ public function unescapeSingleQuotedString($value) : string { @@ -41,7 +41,7 @@ class Unescaper * * @param string $value A double quoted string * - * @return string The unescaped string + * @return string */ public function unescapeDoubleQuotedString($value) : string { @@ -56,7 +56,7 @@ class Unescaper * * @param string $value An escaped character * - * @return string The unescaped character + * @return string */ private function unescapeCharacter(string $value) : string { @@ -108,7 +108,7 @@ class Unescaper case 'U': return self::utf8chr(\hexdec(\substr($value, 2, 8))); default: - throw new \RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Found unknown escape character "%s".', $value)); + throw new \RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException(\sprintf('Found unknown escape character "%s".', $value)); } } /** diff --git a/vendor/symfony/yaml/Yaml.php b/vendor/symfony/yaml/Yaml.php index a88ce5ac70e..d3217ef5831 100644 --- a/vendor/symfony/yaml/Yaml.php +++ b/vendor/symfony/yaml/Yaml.php @@ -8,9 +8,9 @@ * For the full copyright and license information, please view the LICENSE * file that was distributed with this source code. */ -namespace RectorPrefix20211129\Symfony\Component\Yaml; +namespace RectorPrefix20211130\Symfony\Component\Yaml; -use RectorPrefix20211129\Symfony\Component\Yaml\Exception\ParseException; +use RectorPrefix20211130\Symfony\Component\Yaml\Exception\ParseException; /** * Yaml offers convenience methods to load and dump YAML. * @@ -43,13 +43,13 @@ class Yaml * @param string $filename The path to the YAML file to be parsed * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * - * @return mixed The YAML converted to a PHP value + * @return mixed * * @throws ParseException If the file could not be read or the YAML is not valid */ public static function parseFile(string $filename, int $flags = 0) { - $yaml = new \RectorPrefix20211129\Symfony\Component\Yaml\Parser(); + $yaml = new \RectorPrefix20211130\Symfony\Component\Yaml\Parser(); return $yaml->parseFile($filename, $flags); } /** @@ -64,13 +64,13 @@ class Yaml * @param string $input A string containing YAML * @param int $flags A bit field of PARSE_* constants to customize the YAML parser behavior * - * @return mixed The YAML converted to a PHP value + * @return mixed * * @throws ParseException If the YAML is not valid */ public static function parse(string $input, int $flags = 0) { - $yaml = new \RectorPrefix20211129\Symfony\Component\Yaml\Parser(); + $yaml = new \RectorPrefix20211130\Symfony\Component\Yaml\Parser(); return $yaml->parse($input, $flags); } /** @@ -84,11 +84,11 @@ class Yaml * @param int $indent The amount of spaces to use for indentation of nested nodes * @param int $flags A bit field of DUMP_* constants to customize the dumped YAML string * - * @return string A YAML string representing the original PHP value + * @return string */ public static function dump($input, int $inline = 2, int $indent = 4, int $flags = 0) : string { - $yaml = new \RectorPrefix20211129\Symfony\Component\Yaml\Dumper($indent); + $yaml = new \RectorPrefix20211130\Symfony\Component\Yaml\Dumper($indent); return $yaml->dump($input, $inline, 0, $flags); } } diff --git a/vendor/symfony/yaml/composer.json b/vendor/symfony/yaml/composer.json index 16ce5e2d2ae..6761c6c7d4c 100644 --- a/vendor/symfony/yaml/composer.json +++ b/vendor/symfony/yaml/composer.json @@ -17,21 +17,21 @@ ], "require": { "php": ">=7.2.5", - "symfony\/deprecation-contracts": "^2.1", - "symfony\/polyfill-ctype": "~1.8" + "symfony\/deprecation-contracts": "^2.1|^3", + "symfony\/polyfill-ctype": "^1.8" }, "require-dev": { - "symfony\/console": "^4.4|^5.0" + "symfony\/console": "^5.3|^6.0" }, "conflict": { - "symfony\/console": "<4.4" + "symfony\/console": "<5.3" }, "suggest": { "symfony\/console": "For validating YAML files using the lint command" }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symfony\\Component\\Yaml\\": "" + "RectorPrefix20211130\\Symfony\\Component\\Yaml\\": "" }, "exclude-from-classmap": [ "\/Tests\/" diff --git a/vendor/symplify/astral/composer.json b/vendor/symplify/astral/composer.json index 14f3c66b357..d48dc8a307a 100644 --- a/vendor/symplify/astral/composer.json +++ b/vendor/symplify/astral/composer.json @@ -19,12 +19,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\Astral\\": "src" + "RectorPrefix20211130\\Symplify\\Astral\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Symplify\\Astral\\Tests\\": "tests" + "RectorPrefix20211130\\Symplify\\Astral\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/astral/config/config.php b/vendor/symplify/astral/config/config.php index 4d70522b37c..b787ad18a76 100644 --- a/vendor/symplify/astral/config/config.php +++ b/vendor/symplify/astral/config/config.php @@ -1,21 +1,21 @@ services(); $services->defaults()->autowire()->autoconfigure()->public(); - $services->load('RectorPrefix20211129\Symplify\\Astral\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/StaticFactory', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/NodeVisitor', __DIR__ . '/../src/PhpParser/SmartPhpParser.php']); - $services->set(\RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParserFactory::class), 'create']); + $services->load('RectorPrefix20211130\Symplify\\Astral\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/StaticFactory', __DIR__ . '/../src/ValueObject', __DIR__ . '/../src/NodeVisitor', __DIR__ . '/../src/PhpParser/SmartPhpParser.php']); + $services->set(\RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParserFactory::class), 'create']); $services->set(\PhpParser\ConstExprEvaluator::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Php\TypeChecker::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Php\TypeChecker::class); $services->set(\PhpParser\NodeFinder::class); }; diff --git a/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php b/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php index d9aa3ffe1a4..3713ade1d69 100644 --- a/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php +++ b/vendor/symplify/astral/src/Contract/NodeNameResolverInterface.php @@ -1,7 +1,7 @@ resolveShortName($className); @@ -134,13 +134,13 @@ final class SimpleNameResolver if ($name === null) { return \false; } - return (bool) \RectorPrefix20211129\Nette\Utils\Strings::match($name, $desiredNameRegex); + return (bool) \RectorPrefix20211130\Nette\Utils\Strings::match($name, $desiredNameRegex); } public function resolveShortName(string $className) : string { if (\strpos($className, '\\') === \false) { return $className; } - return (string) \RectorPrefix20211129\Nette\Utils\Strings::after($className, '\\', -1); + return (string) \RectorPrefix20211130\Nette\Utils\Strings::after($className, '\\', -1); } } diff --git a/vendor/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php b/vendor/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php index 451ce61c098..f016cbaf412 100644 --- a/vendor/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php +++ b/vendor/symplify/astral/src/NodeAnalyzer/NetteTypeAnalyzer.php @@ -1,14 +1,14 @@ > */ - private const TEMPLATE_TYPES = ['RectorPrefix20211129\\Nette\\Application\\UI\\Template', 'RectorPrefix20211129\\Nette\\Application\\UI\\ITemplate', 'RectorPrefix20211129\\Nette\\Bridges\\ApplicationLatte\\Template', 'RectorPrefix20211129\\Nette\\Bridges\\ApplicationLatte\\DefaultTemplate']; + private const TEMPLATE_TYPES = ['RectorPrefix20211130\\Nette\\Application\\UI\\Template', 'RectorPrefix20211130\\Nette\\Application\\UI\\ITemplate', 'RectorPrefix20211130\\Nette\\Bridges\\ApplicationLatte\\Template', 'RectorPrefix20211130\\Nette\\Bridges\\ApplicationLatte\\DefaultTemplate']; /** * @var \Symplify\Astral\Naming\SimpleNameResolver */ @@ -26,7 +26,7 @@ final class NetteTypeAnalyzer * @var \Symplify\Astral\TypeAnalyzer\ContainsTypeAnalyser */ private $containsTypeAnalyser; - public function __construct(\RectorPrefix20211129\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20211129\Symplify\Astral\TypeAnalyzer\ContainsTypeAnalyser $containsTypeAnalyser) + public function __construct(\RectorPrefix20211130\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20211130\Symplify\Astral\TypeAnalyzer\ContainsTypeAnalyser $containsTypeAnalyser) { $this->simpleNameResolver = $simpleNameResolver; $this->containsTypeAnalyser = $containsTypeAnalyser; @@ -61,7 +61,7 @@ final class NetteTypeAnalyzer return \false; } // this type has getComponent() method - return \is_a($className, 'RectorPrefix20211129\\Nette\\ComponentModel\\Container', \true); + return \is_a($className, 'RectorPrefix20211130\\Nette\\ComponentModel\\Container', \true); } public function isInsideControl(\PHPStan\Analyser\Scope $scope) : bool { @@ -69,6 +69,6 @@ final class NetteTypeAnalyzer if ($className === null) { return \false; } - return \is_a($className, 'RectorPrefix20211129\\Nette\\Application\\UI\\Control', \true); + return \is_a($className, 'RectorPrefix20211130\\Nette\\Application\\UI\\Control', \true); } } diff --git a/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php b/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php index afad84743c0..09fb280e2c7 100644 --- a/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php +++ b/vendor/symplify/astral/src/NodeFinder/SimpleNodeFinder.php @@ -1,12 +1,12 @@ typeChecker = $typeChecker; $this->nodeFinder = $nodeFinder; @@ -54,12 +54,12 @@ final class SimpleNodeFinder */ public function findFirstParentByType(\PhpParser\Node $node, string $nodeClass) : ?\PhpParser\Node { - $node = $node->getAttribute(\RectorPrefix20211129\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20211130\Symplify\Astral\ValueObject\AttributeKey::PARENT); while ($node) { if (\is_a($node, $nodeClass, \true)) { return $node; } - $node = $node->getAttribute(\RectorPrefix20211129\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20211130\Symplify\Astral\ValueObject\AttributeKey::PARENT); } return null; } @@ -70,12 +70,12 @@ final class SimpleNodeFinder */ public function findFirstParentByTypes(\PhpParser\Node $node, array $nodeTypes) : ?\PhpParser\Node { - $node = $node->getAttribute(\RectorPrefix20211129\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20211130\Symplify\Astral\ValueObject\AttributeKey::PARENT); while ($node) { if ($this->typeChecker->isInstanceOf($node, $nodeTypes)) { return $node; } - $node = $node->getAttribute(\RectorPrefix20211129\Symplify\Astral\ValueObject\AttributeKey::PARENT); + $node = $node->getAttribute(\RectorPrefix20211130\Symplify\Astral\ValueObject\AttributeKey::PARENT); } return null; } diff --git a/vendor/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php b/vendor/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php index 597749d9ba9..b728f023e47 100644 --- a/vendor/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php +++ b/vendor/symplify/astral/src/NodeNameResolver/ArgNodeNameResolver.php @@ -1,12 +1,12 @@ addVisitor($callableNodeVisitor); $nodeTraverser->traverse($nodes); } diff --git a/vendor/symplify/astral/src/NodeValue/NodeValueResolver.php b/vendor/symplify/astral/src/NodeValue/NodeValueResolver.php index a957b013975..81eb4149aad 100644 --- a/vendor/symplify/astral/src/NodeValue/NodeValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/NodeValueResolver.php @@ -1,7 +1,7 @@ simpleNameResolver = $simpleNameResolver; $this->typeChecker = $typeChecker; $this->constExprEvaluator = new \PhpParser\ConstExprEvaluator(function (\PhpParser\Node\Expr $expr) { return $this->resolveByNode($expr); }); - $this->unionTypeValueResolver = new \RectorPrefix20211129\Symplify\Astral\NodeValue\UnionTypeValueResolver(); - $this->nodeValueResolvers[] = new \RectorPrefix20211129\Symplify\Astral\NodeValue\NodeValueResolver\ClassConstFetchValueResolver($this->simpleNameResolver, $simpleNodeFinder); - $this->nodeValueResolvers[] = new \RectorPrefix20211129\Symplify\Astral\NodeValue\NodeValueResolver\ConstFetchValueResolver($this->simpleNameResolver); - $this->nodeValueResolvers[] = new \RectorPrefix20211129\Symplify\Astral\NodeValue\NodeValueResolver\MagicConstValueResolver(); - $this->nodeValueResolvers[] = new \RectorPrefix20211129\Symplify\Astral\NodeValue\NodeValueResolver\FuncCallValueResolver($this->simpleNameResolver, $this->constExprEvaluator); + $this->unionTypeValueResolver = new \RectorPrefix20211130\Symplify\Astral\NodeValue\UnionTypeValueResolver(); + $this->nodeValueResolvers[] = new \RectorPrefix20211130\Symplify\Astral\NodeValue\NodeValueResolver\ClassConstFetchValueResolver($this->simpleNameResolver, $simpleNodeFinder); + $this->nodeValueResolvers[] = new \RectorPrefix20211130\Symplify\Astral\NodeValue\NodeValueResolver\ConstFetchValueResolver($this->simpleNameResolver); + $this->nodeValueResolvers[] = new \RectorPrefix20211130\Symplify\Astral\NodeValue\NodeValueResolver\MagicConstValueResolver(); + $this->nodeValueResolvers[] = new \RectorPrefix20211130\Symplify\Astral\NodeValue\NodeValueResolver\FuncCallValueResolver($this->simpleNameResolver, $this->constExprEvaluator); } /** * @return array|bool|float|int|mixed|string|null @@ -102,7 +102,7 @@ final class NodeValueResolver private function resolveByNode(\PhpParser\Node\Expr $expr) { if ($this->currentFilePath === null) { - throw new \RectorPrefix20211129\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\Astral\Exception\ShouldNotHappenException(); } foreach ($this->nodeValueResolvers as $nodeValueResolver) { if (\is_a($expr, $nodeValueResolver->getType(), \true)) { diff --git a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php index f79a6620ef5..ef42d77dac9 100644 --- a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ClassConstFetchValueResolver.php @@ -1,21 +1,21 @@ */ -final class ClassConstFetchValueResolver implements \RectorPrefix20211129\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class ClassConstFetchValueResolver implements \RectorPrefix20211130\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var \Symplify\Astral\Naming\SimpleNameResolver @@ -25,7 +25,7 @@ final class ClassConstFetchValueResolver implements \RectorPrefix20211129\Sympli * @var \Symplify\Astral\NodeFinder\SimpleNodeFinder */ private $simpleNodeFinder; - public function __construct(\RectorPrefix20211129\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20211129\Symplify\Astral\NodeFinder\SimpleNodeFinder $simpleNodeFinder) + public function __construct(\RectorPrefix20211130\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \RectorPrefix20211130\Symplify\Astral\NodeFinder\SimpleNodeFinder $simpleNodeFinder) { $this->simpleNameResolver = $simpleNameResolver; $this->simpleNodeFinder = $simpleNodeFinder; diff --git a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php index b438fb74969..3dc3cac6878 100644 --- a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/ConstFetchValueResolver.php @@ -1,24 +1,24 @@ */ -final class ConstFetchValueResolver implements \RectorPrefix20211129\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class ConstFetchValueResolver implements \RectorPrefix20211130\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var \Symplify\Astral\Naming\SimpleNameResolver */ private $simpleNameResolver; - public function __construct(\RectorPrefix20211129\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver) + public function __construct(\RectorPrefix20211130\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver) { $this->simpleNameResolver = $simpleNameResolver; } diff --git a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php index 94fa3154026..267a31ac89c 100644 --- a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/FuncCallValueResolver.php @@ -1,21 +1,21 @@ */ -final class FuncCallValueResolver implements \RectorPrefix20211129\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class FuncCallValueResolver implements \RectorPrefix20211130\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { /** * @var \Symplify\Astral\Naming\SimpleNameResolver @@ -25,7 +25,7 @@ final class FuncCallValueResolver implements \RectorPrefix20211129\Symplify\Astr * @var \PhpParser\ConstExprEvaluator */ private $constExprEvaluator; - public function __construct(\RectorPrefix20211129\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \PhpParser\ConstExprEvaluator $constExprEvaluator) + public function __construct(\RectorPrefix20211130\Symplify\Astral\Naming\SimpleNameResolver $simpleNameResolver, \PhpParser\ConstExprEvaluator $constExprEvaluator) { $this->simpleNameResolver = $simpleNameResolver; $this->constExprEvaluator = $constExprEvaluator; @@ -54,7 +54,7 @@ final class FuncCallValueResolver implements \RectorPrefix20211129\Symplify\Astr if (\function_exists($functionName) && \is_callable($functionName)) { return \call_user_func_array($functionName, $arguments); } - throw new \RectorPrefix20211129\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\Astral\Exception\ShouldNotHappenException(); } return null; } diff --git a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php index 15e8b0909ce..c2d1a88561d 100644 --- a/vendor/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/NodeValueResolver/MagicConstValueResolver.php @@ -1,19 +1,19 @@ */ -final class MagicConstValueResolver implements \RectorPrefix20211129\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface +final class MagicConstValueResolver implements \RectorPrefix20211130\Symplify\Astral\Contract\NodeValueResolver\NodeValueResolverInterface { public function getType() : string { diff --git a/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php b/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php index 320cc31967f..6a5e3d0f942 100644 --- a/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php +++ b/vendor/symplify/astral/src/NodeValue/UnionTypeValueResolver.php @@ -1,7 +1,7 @@ createNativePhpParser(); $cachedParser = $this->createPHPStanParser($nativePhpParser); - return new \RectorPrefix20211129\Symplify\Astral\PhpParser\SmartPhpParser($cachedParser); + return new \RectorPrefix20211130\Symplify\Astral\PhpParser\SmartPhpParser($cachedParser); } private function createNativePhpParser() : \PhpParser\Parser { diff --git a/vendor/symplify/astral/src/Reflection/ReflectionParser.php b/vendor/symplify/astral/src/Reflection/ReflectionParser.php index 542c11d6412..247aa2cb403 100644 --- a/vendor/symplify/astral/src/Reflection/ReflectionParser.php +++ b/vendor/symplify/astral/src/Reflection/ReflectionParser.php @@ -1,7 +1,7 @@ smartPhpParser = $smartPhpParser; $this->nodeFinder = $nodeFinder; diff --git a/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php b/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php index acafdeaa2b7..e1fce457a8a 100644 --- a/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php +++ b/vendor/symplify/astral/src/StaticFactory/NodeValueResolverStaticFactory.php @@ -1,21 +1,21 @@ definitionFinder = new \RectorPrefix20211129\Symplify\AutowireArrayParameter\DependencyInjection\DefinitionFinder(); - $paramTypeDocBlockResolver = new \RectorPrefix20211129\Symplify\AutowireArrayParameter\DocBlock\ParamTypeDocBlockResolver(); - $this->parameterTypeResolver = new \RectorPrefix20211129\Symplify\AutowireArrayParameter\TypeResolver\ParameterTypeResolver($paramTypeDocBlockResolver); - $this->parameterSkipper = new \RectorPrefix20211129\Symplify\AutowireArrayParameter\Skipper\ParameterSkipper($this->parameterTypeResolver, $excludedFatalClasses); + $this->definitionFinder = new \RectorPrefix20211130\Symplify\AutowireArrayParameter\DependencyInjection\DefinitionFinder(); + $paramTypeDocBlockResolver = new \RectorPrefix20211130\Symplify\AutowireArrayParameter\DocBlock\ParamTypeDocBlockResolver(); + $this->parameterTypeResolver = new \RectorPrefix20211130\Symplify\AutowireArrayParameter\TypeResolver\ParameterTypeResolver($paramTypeDocBlockResolver); + $this->parameterSkipper = new \RectorPrefix20211130\Symplify\AutowireArrayParameter\Skipper\ParameterSkipper($this->parameterTypeResolver, $excludedFatalClasses); } /** * @param \Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder @@ -73,7 +73,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20211129\ $this->processParameters($containerBuilder, $constructorReflectionMethod, $definition); } } - private function shouldSkipDefinition(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : bool + private function shouldSkipDefinition(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : bool { if ($definition->isAbstract()) { return \true; @@ -86,7 +86,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20211129\ $resolvedClassName = $parameterBag->resolveValue($definition->getClass()); // skip 3rd party classes, they're autowired by own config $excludedNamespacePattern = '#^(' . \implode('|', self::EXCLUDED_NAMESPACES) . ')\\\\#'; - if (\RectorPrefix20211129\Nette\Utils\Strings::match($resolvedClassName, $excludedNamespacePattern)) { + if (\RectorPrefix20211130\Nette\Utils\Strings::match($resolvedClassName, $excludedNamespacePattern)) { return \true; } if (\in_array($resolvedClassName, $this->excludedFatalClasses, \true)) { @@ -102,14 +102,14 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20211129\ if (!$reflectionClass instanceof \ReflectionClass) { return \true; } - if (!$reflectionClass->hasMethod(\RectorPrefix20211129\Symplify\PackageBuilder\ValueObject\MethodName::CONSTRUCTOR)) { + if (!$reflectionClass->hasMethod(\RectorPrefix20211130\Symplify\PackageBuilder\ValueObject\MethodName::CONSTRUCTOR)) { return \true; } /** @var ReflectionMethod $constructorReflectionMethod */ $constructorReflectionMethod = $reflectionClass->getConstructor(); return !$constructorReflectionMethod->getParameters(); } - private function processParameters(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \ReflectionMethod $reflectionMethod, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition) : void + private function processParameters(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, \ReflectionMethod $reflectionMethod, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition) : void { $reflectionParameters = $reflectionMethod->getParameters(); foreach ($reflectionParameters as $reflectionParameter) { @@ -150,7 +150,7 @@ final class AutowireArrayParameterCompilerPass implements \RectorPrefix20211129\ $references = []; $definitionOfTypeNames = \array_keys($definitions); foreach ($definitionOfTypeNames as $definitionOfTypeName) { - $references[] = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Reference($definitionOfTypeName); + $references[] = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Reference($definitionOfTypeName); } return $references; } diff --git a/vendor/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php b/vendor/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php index 2dd71c614cb..5279c00a87c 100644 --- a/vendor/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php +++ b/vendor/symplify/autowire-array-parameter/src/DependencyInjection/DefinitionFinder.php @@ -1,11 +1,11 @@ getDefinitions(); @@ -31,15 +31,15 @@ final class DefinitionFinder } return $definitions; } - public function getByType(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + public function getByType(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { $definition = $this->getByTypeIfExists($containerBuilder, $type); if ($definition !== null) { return $definition; } - throw new \RectorPrefix20211129\Symplify\AutowireArrayParameter\Exception\DependencyInjection\DefinitionForTypeNotFoundException(\sprintf('Definition for type "%s" was not found.', $type)); + throw new \RectorPrefix20211130\Symplify\AutowireArrayParameter\Exception\DependencyInjection\DefinitionForTypeNotFoundException(\sprintf('Definition for type "%s" was not found.', $type)); } - private function getByTypeIfExists(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : ?\RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition + private function getByTypeIfExists(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, string $type) : ?\RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition { $containerBuilderDefinitions = $containerBuilder->getDefinitions(); foreach ($containerBuilderDefinitions as $name => $definition) { diff --git a/vendor/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php b/vendor/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php index fa64e1be714..bc0781cb413 100644 --- a/vendor/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php +++ b/vendor/symplify/autowire-array-parameter/src/DocBlock/ParamTypeDocBlockResolver.php @@ -1,9 +1,9 @@ parameterTypeResolver = $parameterTypeResolver; $this->excludedFatalClasses = \array_merge(self::DEFAULT_EXCLUDED_FATAL_CLASSES, $excludedFatalClasses); } - public function shouldSkipParameter(\ReflectionMethod $reflectionMethod, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition $definition, \ReflectionParameter $reflectionParameter) : bool + public function shouldSkipParameter(\ReflectionMethod $reflectionMethod, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition $definition, \ReflectionParameter $reflectionParameter) : bool { if (!$this->isArrayType($reflectionParameter)) { return \true; diff --git a/vendor/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php b/vendor/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php index 9426ee25b73..271dadc4aa6 100644 --- a/vendor/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php +++ b/vendor/symplify/autowire-array-parameter/src/TypeResolver/ParameterTypeResolver.php @@ -1,11 +1,11 @@ paramTypeDocBlockResolver = $paramTypeDocBlockResolver; } @@ -39,7 +39,7 @@ final class ParameterTypeResolver if (\ctype_lower($resolvedType[0])) { return null; } - $resolvedClass = \RectorPrefix20211129\Nette\Utils\Reflection::expandClassName($resolvedType, $declaringReflectionClass); + $resolvedClass = \RectorPrefix20211130\Nette\Utils\Reflection::expandClassName($resolvedType, $declaringReflectionClass); $this->resolvedParameterTypesCached[$uniqueKey] = $resolvedClass; return $resolvedClass; } diff --git a/vendor/symplify/composer-json-manipulator/composer.json b/vendor/symplify/composer-json-manipulator/composer.json index 8fad9b6cedd..40290371746 100644 --- a/vendor/symplify/composer-json-manipulator/composer.json +++ b/vendor/symplify/composer-json-manipulator/composer.json @@ -18,12 +18,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\": "src" + "RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\Tests\\": "tests" + "RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/composer-json-manipulator/config/config.php b/vendor/symplify/composer-json-manipulator/config/config.php index 1c574e18d64..9dec2dacfd1 100644 --- a/vendor/symplify/composer-json-manipulator/config/config.php +++ b/vendor/symplify/composer-json-manipulator/config/config.php @@ -1,26 +1,26 @@ parameters(); - $parameters->set(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS, ['keywords']); + $parameters->set(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS, ['keywords']); $services = $containerConfigurator->services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\ComposerJsonManipulator\\', __DIR__ . '/../src'); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::class)]); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->load('RectorPrefix20211130\Symplify\\ComposerJsonManipulator\\', __DIR__ . '/../src'); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::class)]); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); }; diff --git a/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php b/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php index 631c7c4afd5..e82b5196497 100644 --- a/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php +++ b/vendor/symplify/composer-json-manipulator/src/ComposerJsonFactory.php @@ -1,12 +1,12 @@ jsonFileManager = $jsonFileManager; } - public function createFromString(string $jsonString) : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromString(string $jsonString) : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - $jsonArray = \RectorPrefix20211129\Nette\Utils\Json::decode($jsonString, \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + $jsonArray = \RectorPrefix20211130\Nette\Utils\Json::decode($jsonString, \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); return $this->createFromArray($jsonArray); } - public function createFromFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo) : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { $jsonArray = $this->jsonFileManager->loadFromFilePath($smartFileInfo->getRealPath()); $composerJson = $this->createFromArray($jsonArray); $composerJson->setOriginalFileInfo($smartFileInfo); return $composerJson; } - public function createFromFilePath(string $filePath) : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromFilePath(string $filePath) : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { $jsonArray = $this->jsonFileManager->loadFromFilePath($filePath); $composerJson = $this->createFromArray($jsonArray); @@ -42,84 +42,84 @@ final class ComposerJsonFactory $composerJson->setOriginalFileInfo($fileInfo); return $composerJson; } - public function createEmpty() : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createEmpty() : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - return new \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); + return new \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); } /** * @param mixed[] $jsonArray */ - public function createFromArray(array $jsonArray) : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function createFromArray(array $jsonArray) : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { - $composerJson = new \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG])) { - $composerJson->setConfig($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG]); + $composerJson = new \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson(); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG])) { + $composerJson->setConfig($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME])) { - $composerJson->setName($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME])) { + $composerJson->setName($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE])) { - $composerJson->setType($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE])) { + $composerJson->setType($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS])) { - $composerJson->setAuthors($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS])) { + $composerJson->setAuthors($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION])) { - $composerJson->setDescription($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION])) { + $composerJson->setDescription($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS])) { - $composerJson->setKeywords($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS])) { + $composerJson->setKeywords($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE])) { - $composerJson->setHomepage($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE])) { + $composerJson->setHomepage($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE])) { - $composerJson->setLicense($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE])) { + $composerJson->setLicense($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN])) { - $composerJson->setBin($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN])) { + $composerJson->setBin($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE])) { - $composerJson->setRequire($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE])) { + $composerJson->setRequire($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV])) { - $composerJson->setRequireDev($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV])) { + $composerJson->setRequireDev($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD])) { - $composerJson->setAutoload($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD])) { + $composerJson->setAutoload($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV])) { - $composerJson->setAutoloadDev($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV])) { + $composerJson->setAutoloadDev($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE])) { - $composerJson->setReplace($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE])) { + $composerJson->setReplace($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA])) { - $composerJson->setExtra($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA])) { + $composerJson->setExtra($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS])) { - $composerJson->setScripts($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS])) { + $composerJson->setScripts($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS])) { - $composerJson->setScriptsDescriptions($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS])) { + $composerJson->setScriptsDescriptions($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST])) { - $composerJson->setSuggest($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST])) { + $composerJson->setSuggest($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY])) { - $composerJson->setMinimumStability($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY])) { + $composerJson->setMinimumStability($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE])) { - $composerJson->setPreferStable($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE])) { + $composerJson->setPreferStable($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT])) { - $composerJson->setConflicts($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT])) { + $composerJson->setConflicts($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES])) { - $composerJson->setRepositories($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES])) { + $composerJson->setRepositories($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES]); } - if (isset($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION])) { - $composerJson->setVersion($jsonArray[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION]); + if (isset($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION])) { + $composerJson->setVersion($jsonArray[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION]); } $orderedKeys = \array_keys($jsonArray); $composerJson->setOrderedKeys($orderedKeys); diff --git a/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php b/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php index d67d38f6ff2..78005e5f462 100644 --- a/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php +++ b/vendor/symplify/composer-json-manipulator/src/FileSystem/JsonFileManager.php @@ -1,15 +1,15 @@ smartFileSystem = $smartFileSystem; $this->jsonCleaner = $jsonCleaner; @@ -44,7 +44,7 @@ final class JsonFileManager { $realPath = $smartFileInfo->getRealPath(); if (!isset($this->cachedJSONFiles[$realPath])) { - $this->cachedJSONFiles[$realPath] = \RectorPrefix20211129\Nette\Utils\Json::decode($smartFileInfo->getContents(), \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + $this->cachedJSONFiles[$realPath] = \RectorPrefix20211130\Nette\Utils\Json::decode($smartFileInfo->getContents(), \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); } return $this->cachedJSONFiles[$realPath]; } @@ -54,7 +54,7 @@ final class JsonFileManager public function loadFromFilePath(string $filePath) : array { $fileContent = $this->smartFileSystem->readFile($filePath); - return \RectorPrefix20211129\Nette\Utils\Json::decode($fileContent, \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + return \RectorPrefix20211130\Nette\Utils\Json::decode($fileContent, \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); } /** * @param mixed[] $json @@ -67,7 +67,7 @@ final class JsonFileManager unset($this->cachedJSONFiles[$realPath]); return $jsonString; } - public function printComposerJsonToFilePath(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, string $filePath) : string + public function printComposerJsonToFilePath(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, string $filePath) : string { $jsonString = $this->encodeJsonToFileContent($composerJson->getJsonArray()); $this->smartFileSystem->dumpFile($filePath, $jsonString); @@ -80,7 +80,7 @@ final class JsonFileManager { // Empty arrays may lead to bad encoding since we can't be sure whether they need to be arrays or objects. $json = $this->jsonCleaner->removeEmptyKeysFromJsonArray($json); - $jsonContent = \RectorPrefix20211129\Nette\Utils\Json::encode($json, \RectorPrefix20211129\Nette\Utils\Json::PRETTY) . \RectorPrefix20211129\Symplify\PackageBuilder\Configuration\StaticEolConfiguration::getEolChar(); + $jsonContent = \RectorPrefix20211130\Nette\Utils\Json::encode($json, \RectorPrefix20211130\Nette\Utils\Json::PRETTY) . \RectorPrefix20211130\Symplify\PackageBuilder\Configuration\StaticEolConfiguration::getEolChar(); return $this->jsonInliner->inlineSections($jsonContent); } } diff --git a/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php b/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php index 6c60ba9125b..f7a991b6882 100644 --- a/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php +++ b/vendor/symplify/composer-json-manipulator/src/Json/JsonCleaner.php @@ -1,7 +1,7 @@ parameterProvider = $parameterProvider; } public function inlineSections(string $jsonContent) : string { - if (!$this->parameterProvider->hasParameter(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS)) { + if (!$this->parameterProvider->hasParameter(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS)) { return $jsonContent; } - $inlineSections = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS); + $inlineSections = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\Option::INLINE_SECTIONS); foreach ($inlineSections as $inlineSection) { $pattern = '#("' . \preg_quote($inlineSection, '#') . '": )\\[(.*?)\\](,)#ms'; - $jsonContent = \RectorPrefix20211129\Nette\Utils\Strings::replace($jsonContent, $pattern, function (array $match) : string { - $inlined = \RectorPrefix20211129\Nette\Utils\Strings::replace($match[2], self::SPACE_REGEX, ' '); + $jsonContent = \RectorPrefix20211130\Nette\Utils\Strings::replace($jsonContent, $pattern, function (array $match) : string { + $inlined = \RectorPrefix20211130\Nette\Utils\Strings::replace($match[2], self::SPACE_REGEX, ' '); $inlined = \trim($inlined); $inlined = '[' . $inlined . ']'; return $match[1] . $inlined . $match[3]; diff --git a/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php b/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php index 6ef3276377c..b3edd1b9683 100644 --- a/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php +++ b/vendor/symplify/composer-json-manipulator/src/Printer/ComposerJsonPrinter.php @@ -1,10 +1,10 @@ jsonFileManager = $jsonFileManager; } - public function printToString(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : string + public function printToString(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson) : string { return $this->jsonFileManager->encodeJsonToFileContent($composerJson->getJsonArray()); } /** * @param string|\Symplify\SmartFileSystem\SmartFileInfo $targetFile */ - public function print(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, $targetFile) : string + public function print(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson $composerJson, $targetFile) : string { if (\is_string($targetFile)) { return $this->jsonFileManager->printComposerJsonToFilePath($composerJson, $targetFile); diff --git a/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php b/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php index 64105ac3f16..0acdb6521cc 100644 --- a/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php +++ b/vendor/symplify/composer-json-manipulator/src/Sorter/ComposerPackageSorter.php @@ -1,9 +1,9 @@ isPlatformPackage($requirementName)) { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($requirementName, self::REQUIREMENT_TYPE_REGEX, function (array $match) : string { + return \RectorPrefix20211130\Nette\Utils\Strings::replace($requirementName, self::REQUIREMENT_TYPE_REGEX, function (array $match) : string { $name = $match['name']; if ($name === 'php') { return '0-' . $name; @@ -60,6 +60,6 @@ final class ComposerPackageSorter } private function isPlatformPackage(string $name) : bool { - return (bool) \RectorPrefix20211129\Nette\Utils\Strings::match($name, self::PLATFORM_PACKAGE_REGEX); + return (bool) \RectorPrefix20211130\Nette\Utils\Strings::match($name, self::PLATFORM_PACKAGE_REGEX); } } diff --git a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php index d0be809bedf..f9fade3f91b 100644 --- a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php +++ b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJson.php @@ -1,13 +1,13 @@ composerPackageSorter = new \RectorPrefix20211129\Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter(); + $this->composerPackageSorter = new \RectorPrefix20211130\Symplify\ComposerJsonManipulator\Sorter\ComposerPackageSorter(); } public function setOriginalFileInfo(\Symplify\SmartFileSystem\SmartFileInfo $fileInfo) : void { @@ -217,7 +217,7 @@ final class ComposerJson public function getAbsoluteAutoloadDirectories() : array { if ($this->fileInfo === null) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } $autoloadDirectories = $this->getAutoloadDirectories(); $absoluteAutoloadDirectories = []; @@ -320,7 +320,7 @@ final class ComposerJson if ($this->name === null) { return null; } - return \RectorPrefix20211129\Nette\Utils\Strings::after($this->name, '/', -1); + return \RectorPrefix20211130\Nette\Utils\Strings::after($this->name, '/', -1); } /** * @return string[] @@ -350,14 +350,14 @@ final class ComposerJson */ public function getJsonArray() : array { - $array = \array_filter([\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME => $this->name, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION => $this->description, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS => $this->keywords, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE => $this->homepage, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE => $this->license, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS => $this->authors, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE => $this->type, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE => $this->require, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV => $this->requireDev, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD => $this->autoload, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV => $this->autoloadDev, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES => $this->repositories, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA => $this->extra, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN => $this->bin, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS => $this->scripts, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS => $this->scriptsDescriptions, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST => $this->suggest, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG => $this->config, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE => $this->replace, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT => $this->conflicts, \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION => $this->version]); + $array = \array_filter([\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::NAME => $this->name, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::DESCRIPTION => $this->description, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::KEYWORDS => $this->keywords, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::HOMEPAGE => $this->homepage, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::LICENSE => $this->license, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTHORS => $this->authors, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::TYPE => $this->type, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE => $this->require, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REQUIRE_DEV => $this->requireDev, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD => $this->autoload, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::AUTOLOAD_DEV => $this->autoloadDev, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPOSITORIES => $this->repositories, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::EXTRA => $this->extra, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::BIN => $this->bin, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS => $this->scripts, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SCRIPTS_DESCRIPTIONS => $this->scriptsDescriptions, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::SUGGEST => $this->suggest, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFIG => $this->config, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::REPLACE => $this->replace, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::CONFLICT => $this->conflicts, \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::VERSION => $this->version]); if ($this->minimumStability !== null) { - $array[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY] = $this->minimumStability; - $this->moveValueToBack(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY); + $array[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY] = $this->minimumStability; + $this->moveValueToBack(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::MINIMUM_STABILITY); } if ($this->preferStable !== null) { - $array[\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE] = $this->preferStable; - $this->moveValueToBack(\RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE); + $array[\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE] = $this->preferStable; + $this->moveValueToBack(\RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJsonSection::PREFER_STABLE); } return $this->sortItemsByOrderedListOfKeys($array, $this->orderedKeys); } @@ -595,7 +595,7 @@ final class ComposerJson public function getAutoloadDirectories() : array { $autoloadDirectories = \array_merge($this->getPsr4AndClassmapDirectories(), $this->getPsr4AndClassmapDevDirectories()); - return \RectorPrefix20211129\Nette\Utils\Arrays::flatten($autoloadDirectories); + return \RectorPrefix20211130\Nette\Utils\Arrays::flatten($autoloadDirectories); } /** * @return string[] @@ -672,7 +672,7 @@ final class ComposerJson private function resolveExistingAutoloadDirectory(string $autoloadDirectory) : string { if ($this->fileInfo === null) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } $filePathCandidates = [ $this->fileInfo->getPath() . \DIRECTORY_SEPARATOR . $autoloadDirectory, @@ -709,4 +709,4 @@ final class ComposerJson * @api * @see \Symplify\ComposerJsonManipulator\Tests\ValueObject\ComposerJsonTest */ -\class_alias('RectorPrefix20211129\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', 'Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', \false); +\class_alias('RectorPrefix20211130\\Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', 'Symplify\\ComposerJsonManipulator\\ValueObject\\ComposerJson', \false); diff --git a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php index 6623e6ba3d4..1ad79b8bfaa 100644 --- a/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php +++ b/vendor/symplify/composer-json-manipulator/src/ValueObject/ComposerJsonManipulatorConfig.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\ConsoleColorDiff\\', __DIR__ . '/../src'); - $services->set(\RectorPrefix20211129\SebastianBergmann\Diff\Differ::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->load('RectorPrefix20211130\Symplify\\ConsoleColorDiff\\', __DIR__ . '/../src'); + $services->set(\RectorPrefix20211130\SebastianBergmann\Diff\Differ::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); }; diff --git a/vendor/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php b/vendor/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php index 9b233a54afe..f3be53e3506 100644 --- a/vendor/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php +++ b/vendor/symplify/console-color-diff/src/Console/Formatter/ColorConsoleDiffFormatter.php @@ -1,10 +1,10 @@ @@ -47,8 +47,8 @@ final class ColorConsoleDiffFormatter } private function formatWithTemplate(string $diff, string $template) : string { - $escapedDiff = \RectorPrefix20211129\Symfony\Component\Console\Formatter\OutputFormatter::escape(\rtrim($diff)); - $escapedDiffLines = \RectorPrefix20211129\Nette\Utils\Strings::split($escapedDiff, self::NEWLINES_REGEX); + $escapedDiff = \RectorPrefix20211130\Symfony\Component\Console\Formatter\OutputFormatter::escape(\rtrim($diff)); + $escapedDiffLines = \RectorPrefix20211130\Nette\Utils\Strings::split($escapedDiff, self::NEWLINES_REGEX); // remove description of added + remove; obvious on diffs foreach ($escapedDiffLines as $key => $escapedDiffLine) { if ($escapedDiffLine === '--- Original') { @@ -71,14 +71,14 @@ final class ColorConsoleDiffFormatter } private function makePlusLinesGreen(string $string) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($string, self::PLUS_START_REGEX, '$1'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($string, self::PLUS_START_REGEX, '$1'); } private function makeMinusLinesRed(string $string) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($string, self::MINUT_START_REGEX, '$1'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($string, self::MINUT_START_REGEX, '$1'); } private function makeAtNoteCyan(string $string) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($string, self::AT_START_REGEX, '$1'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($string, self::AT_START_REGEX, '$1'); } } diff --git a/vendor/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php b/vendor/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php index 4320b9c890d..fad0c7b7217 100644 --- a/vendor/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php +++ b/vendor/symplify/console-color-diff/src/Console/Output/ConsoleDiffer.php @@ -1,10 +1,10 @@ differ = $differ; $this->colorConsoleDiffFormatter = $colorConsoleDiffFormatter; diff --git a/vendor/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php b/vendor/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php index fcc983527f8..4425cbc945b 100644 --- a/vendor/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php +++ b/vendor/symplify/console-color-diff/src/Diff/Output/CompleteUnifiedDiffOutputBuilderFactory.php @@ -1,10 +1,10 @@ privatesAccessor = $privatesAccessor; } /** * @api */ - public function create() : \RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder + public function create() : \RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder { - $unifiedDiffOutputBuilder = new \RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(''); + $unifiedDiffOutputBuilder = new \RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder(''); $this->privatesAccessor->setPrivateProperty($unifiedDiffOutputBuilder, 'contextLines', 10000); return $unifiedDiffOutputBuilder; } diff --git a/vendor/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php b/vendor/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php index 00502dd9e1c..0a87119c14f 100644 --- a/vendor/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php +++ b/vendor/symplify/console-color-diff/src/ValueObject/ConsoleColorDiffConfig.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\EasyParallel\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); + $services->load('RectorPrefix20211130\Symplify\\EasyParallel\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); }; diff --git a/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php b/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php index 33bf4b3192e..2f7188b8f90 100644 --- a/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php +++ b/vendor/symplify/easy-parallel/src/CommandLine/WorkerCommandLineFactory.php @@ -1,12 +1,12 @@ commandFromReflectionFactory = new \RectorPrefix20211129\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); + $this->commandFromReflectionFactory = new \RectorPrefix20211130\Symplify\EasyParallel\Reflection\CommandFromReflectionFactory(); } /** * @param class-string $mainCommandClass */ - public function create(string $baseScript, string $mainCommandClass, string $workerCommandName, string $pathsOptionName, ?string $projectConfigFile, \RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string + public function create(string $baseScript, string $mainCommandClass, string $workerCommandName, string $pathsOptionName, ?string $projectConfigFile, \RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, string $identifier, int $port) : string { $commandArguments = \array_slice($_SERVER['argv'], 1); $args = \array_merge([\PHP_BINARY, $baseScript], $commandArguments); $mainCommand = $this->commandFromReflectionFactory->create($mainCommandClass); if ($mainCommand->getName() === null) { $errorMessage = \sprintf('The command name for "%s" is missing', \get_class($mainCommand)); - throw new \RectorPrefix20211129\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); + throw new \RectorPrefix20211130\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException($errorMessage); } $mainCommandName = $mainCommand->getName(); $processCommandArray = []; @@ -80,7 +80,7 @@ final class WorkerCommandLineFactory /** * @return string[] */ - private function getCommandOptionNames(\RectorPrefix20211129\Symfony\Component\Console\Command\Command $command) : array + private function getCommandOptionNames(\RectorPrefix20211130\Symfony\Component\Console\Command\Command $command) : array { $inputDefinition = $command->getDefinition(); $optionNames = []; @@ -95,7 +95,7 @@ final class WorkerCommandLineFactory * @param string[] $mainCommandOptionNames * @return string[] */ - private function mirrorCommandOptions(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array + private function mirrorCommandOptions(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, array $mainCommandOptionNames) : array { $processCommandOptions = []; foreach ($mainCommandOptionNames as $mainCommandOptionName) { @@ -119,7 +119,7 @@ final class WorkerCommandLineFactory } return $processCommandOptions; } - private function shouldSkipOption(\RectorPrefix20211129\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool + private function shouldSkipOption(\RectorPrefix20211130\Symfony\Component\Console\Input\InputInterface $input, string $optionName) : bool { if (!$input->hasOption($optionName)) { return \true; diff --git a/vendor/symplify/easy-parallel/src/Contract/SerializableInterface.php b/vendor/symplify/easy-parallel/src/Contract/SerializableInterface.php index e8c39043e72..5fe23fae13d 100644 --- a/vendor/symplify/easy-parallel/src/Contract/SerializableInterface.php +++ b/vendor/symplify/easy-parallel/src/Contract/SerializableInterface.php @@ -1,7 +1,7 @@ $className */ - public function create(string $className) : \RectorPrefix20211129\Symfony\Component\Console\Command\Command + public function create(string $className) : \RectorPrefix20211130\Symfony\Component\Console\Command\Command { $commandReflectionClass = new \ReflectionClass($className); $command = $commandReflectionClass->newInstanceWithoutConstructor(); $parentClassReflection = $commandReflectionClass->getParentClass(); if (!$parentClassReflection instanceof \ReflectionClass) { - throw new \RectorPrefix20211129\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); } $parentConstructorReflectionMethod = $parentClassReflection->getConstructor(); if (!$parentConstructorReflectionMethod instanceof \ReflectionMethod) { - throw new \RectorPrefix20211129\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(); } $parentConstructorReflectionMethod->invoke($command); return $command; diff --git a/vendor/symplify/easy-parallel/src/ScheduleFactory.php b/vendor/symplify/easy-parallel/src/ScheduleFactory.php index 1212f25c9c6..580e52f11f9 100644 --- a/vendor/symplify/easy-parallel/src/ScheduleFactory.php +++ b/vendor/symplify/easy-parallel/src/ScheduleFactory.php @@ -1,9 +1,9 @@ $files */ - public function create(int $cpuCores, int $jobSize, int $maxNumberOfProcesses, array $files) : \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\Schedule + public function create(int $cpuCores, int $jobSize, int $maxNumberOfProcesses, array $files) : \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\Schedule { $jobs = \array_chunk($files, $jobSize); $numberOfProcesses = \min(\count($jobs), $cpuCores); $numberOfProcesses = \min($maxNumberOfProcesses, $numberOfProcesses); - return new \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\Schedule($numberOfProcesses, $jobs); + return new \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\Schedule($numberOfProcesses, $jobs); } } diff --git a/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php b/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php index 26668baea28..893eba2e2d2 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/EasyParallelConfig.php @@ -1,7 +1,7 @@ command = $command; $this->loop = $loop; @@ -71,14 +71,14 @@ final class ParallelProcess { $tmp = \tmpfile(); if ($tmp === \false) { - throw new \RectorPrefix20211129\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('Failed creating temp file.'); + throw new \RectorPrefix20211130\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException('Failed creating temp file.'); } $this->stdErr = $tmp; - $this->process = new \RectorPrefix20211129\React\ChildProcess\Process($this->command, null, null, [2 => $this->stdErr]); + $this->process = new \RectorPrefix20211130\React\ChildProcess\Process($this->command, null, null, [2 => $this->stdErr]); $this->process->start($this->loop); $this->onData = $onData; $this->onError = $onError; - $this->process->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::EXIT, function ($exitCode) use($onExit) : void { + $this->process->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::EXIT, function ($exitCode) use($onExit) : void { $this->cancelTimer(); \rewind($this->stdErr); /** @var string $streamContents */ @@ -112,22 +112,22 @@ final class ParallelProcess $this->encoder->end(); $this->process->terminate(); } - public function bindConnection(\RectorPrefix20211129\Clue\React\NDJson\Decoder $decoder, \RectorPrefix20211129\Clue\React\NDJson\Encoder $encoder) : void + public function bindConnection(\RectorPrefix20211130\Clue\React\NDJson\Decoder $decoder, \RectorPrefix20211130\Clue\React\NDJson\Encoder $encoder) : void { - $decoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) : void { + $decoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::DATA, function (array $json) : void { $this->cancelTimer(); - if ($json[\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactCommand::ACTION] !== \RectorPrefix20211129\Symplify\EasyParallel\Enum\Action::RESULT) { + if ($json[\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactCommand::ACTION] !== \RectorPrefix20211130\Symplify\EasyParallel\Enum\Action::RESULT) { return; } $onData = $this->onData; - $onData($json[\RectorPrefix20211129\Symplify\EasyParallel\Enum\Content::RESULT]); + $onData($json[\RectorPrefix20211130\Symplify\EasyParallel\Enum\Content::RESULT]); }); $this->encoder = $encoder; - $decoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $error) : void { + $decoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $error) : void { $onError = $this->onError; $onError($error); }); - $encoder->on(\RectorPrefix20211129\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $error) : void { + $encoder->on(\RectorPrefix20211130\Symplify\EasyParallel\Enum\ReactEvent::ERROR, function (\Throwable $error) : void { $onError = $this->onError; $onError($error); }); diff --git a/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php b/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php index 02ebecf25bf..e272ae02f5d 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/ProcessPool.php @@ -1,10 +1,10 @@ tcpServer = $tcpServer; } - public function getProcess(string $identifier) : \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ParallelProcess + public function getProcess(string $identifier) : \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ParallelProcess { if (!\array_key_exists($identifier, $this->processes)) { - throw new \RectorPrefix20211129\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(\sprintf('Process "%s" not found.', $identifier)); + throw new \RectorPrefix20211130\Symplify\EasyParallel\Exception\ParallelShouldNotHappenException(\sprintf('Process "%s" not found.', $identifier)); } return $this->processes[$identifier]; } - public function attachProcess(string $identifier, \RectorPrefix20211129\Symplify\EasyParallel\ValueObject\ParallelProcess $parallelProcess) : void + public function attachProcess(string $identifier, \RectorPrefix20211130\Symplify\EasyParallel\ValueObject\ParallelProcess $parallelProcess) : void { $this->processes[$identifier] = $parallelProcess; } diff --git a/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php b/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php index 2a315d66fb0..43afa77af9d 100644 --- a/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php +++ b/vendor/symplify/easy-parallel/src/ValueObject/Schedule.php @@ -1,7 +1,7 @@ run(); diff --git a/vendor/symplify/easy-testing/composer.json b/vendor/symplify/easy-testing/composer.json index c76de78d709..3a2769786fa 100644 --- a/vendor/symplify/easy-testing/composer.json +++ b/vendor/symplify/easy-testing/composer.json @@ -21,12 +21,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\EasyTesting\\": "src" + "RectorPrefix20211130\\Symplify\\EasyTesting\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Symplify\\EasyTesting\\Tests\\": "tests" + "RectorPrefix20211130\\Symplify\\EasyTesting\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/easy-testing/config/config.php b/vendor/symplify/easy-testing/config/config.php index 4776f70e8d9..96c16a9f235 100644 --- a/vendor/symplify/easy-testing/config/config.php +++ b/vendor/symplify/easy-testing/config/config.php @@ -1,18 +1,18 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\EasyTesting\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/DataProvider', __DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); + $services->load('RectorPrefix20211130\Symplify\\EasyTesting\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/DataProvider', __DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); // console - $services->set(\RectorPrefix20211129\Symplify\EasyTesting\Console\EasyTestingConsoleApplication::class); - $services->alias(\RectorPrefix20211129\Symfony\Component\Console\Application::class, \RectorPrefix20211129\Symplify\EasyTesting\Console\EasyTestingConsoleApplication::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::class); + $services->set(\RectorPrefix20211130\Symplify\EasyTesting\Console\EasyTestingConsoleApplication::class); + $services->alias(\RectorPrefix20211130\Symfony\Component\Console\Application::class, \RectorPrefix20211130\Symplify\EasyTesting\Console\EasyTestingConsoleApplication::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::class); }; diff --git a/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php b/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php index e08c878ca97..7457b3818e5 100644 --- a/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php +++ b/vendor/symplify/easy-testing/src/Command/ValidateFixtureSkipNamingCommand.php @@ -1,16 +1,16 @@ missplacedSkipPrefixResolver = $missplacedSkipPrefixResolver; $this->fixtureFinder = $fixtureFinder; @@ -28,7 +28,7 @@ final class ValidateFixtureSkipNamingCommand extends \RectorPrefix20211129\Sympl } protected function configure() : void { - $this->addArgument(\RectorPrefix20211129\Symplify\EasyTesting\ValueObject\Option::SOURCE, \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::REQUIRED | \RectorPrefix20211129\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Paths to analyse'); + $this->addArgument(\RectorPrefix20211130\Symplify\EasyTesting\ValueObject\Option::SOURCE, \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::REQUIRED | \RectorPrefix20211130\Symfony\Component\Console\Input\InputArgument::IS_ARRAY, 'Paths to analyse'); $this->setDescription('Check that skipped fixture files (without `-----` separator) have a "skip" prefix'); } /** @@ -37,7 +37,7 @@ final class ValidateFixtureSkipNamingCommand extends \RectorPrefix20211129\Sympl */ protected function execute($input, $output) : int { - $source = (array) $input->getArgument(\RectorPrefix20211129\Symplify\EasyTesting\ValueObject\Option::SOURCE); + $source = (array) $input->getArgument(\RectorPrefix20211130\Symplify\EasyTesting\ValueObject\Option::SOURCE); $fixtureFileInfos = $this->fixtureFinder->find($source); $missplacedFixtureFileInfos = $this->missplacedSkipPrefixResolver->resolve($fixtureFileInfos); if ($missplacedFixtureFileInfos === []) { diff --git a/vendor/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php b/vendor/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php index e6802249154..fd7e58ee9fa 100644 --- a/vendor/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php +++ b/vendor/symplify/easy-testing/src/Console/EasyTestingConsoleApplication.php @@ -1,17 +1,17 @@ resolveFromCommand($command); diff --git a/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php b/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php index 3c5030306bf..974b684aaf0 100644 --- a/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php +++ b/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureFinder.php @@ -1,15 +1,15 @@ getRealPath()); (yield [$smartFileInfo]); - } catch (\RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { } } } @@ -72,7 +72,7 @@ final class StaticFixtureFinder try { $smartFileInfo = new \Symplify\SmartFileSystem\SmartFileInfo($fileInfo->getRealPath()); (yield $fileInfo->getRelativePathname() => [$smartFileInfo]); - } catch (\RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { + } catch (\RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException $exception) { } } } @@ -81,7 +81,7 @@ final class StaticFixtureFinder */ private static function findFilesInDirectory(string $directory, string $suffix) : array { - $finder = \RectorPrefix20211129\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); + $finder = \RectorPrefix20211130\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); $fileInfos = \iterator_to_array($finder); return \array_values($fileInfos); } @@ -91,22 +91,22 @@ final class StaticFixtureFinder private static function findFilesInDirectoryExclusively(string $directory, string $suffix) : array { self::ensureNoOtherFileName($directory, $suffix); - $finder = \RectorPrefix20211129\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); + $finder = \RectorPrefix20211130\Symfony\Component\Finder\Finder::create()->in($directory)->files()->name($suffix); $fileInfos = \iterator_to_array($finder->getIterator()); return \array_values($fileInfos); } private static function ensureNoOtherFileName(string $directory, string $suffix) : void { - $finder = \RectorPrefix20211129\Symfony\Component\Finder\Finder::create()->in($directory)->files()->notName($suffix); + $finder = \RectorPrefix20211130\Symfony\Component\Finder\Finder::create()->in($directory)->files()->notName($suffix); /** @var SplFileInfo[] $fileInfos */ $fileInfos = \iterator_to_array($finder->getIterator()); $relativeFilePaths = []; foreach ($fileInfos as $fileInfo) { - $relativeFilePaths[] = \RectorPrefix20211129\Nette\Utils\Strings::substring($fileInfo->getRealPath(), \strlen(\getcwd()) + 1); + $relativeFilePaths[] = \RectorPrefix20211130\Nette\Utils\Strings::substring($fileInfo->getRealPath(), \strlen(\getcwd()) + 1); } if ($relativeFilePaths === []) { return; } - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(\sprintf('Files "%s" have invalid suffix, use "%s" suffix instead', \implode('", ', $relativeFilePaths), $suffix)); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(\sprintf('Files "%s" have invalid suffix, use "%s" suffix instead', \implode('", ', $relativeFilePaths), $suffix)); } } diff --git a/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php b/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php index 3229beb03c3..477869a20b0 100644 --- a/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php +++ b/vendor/symplify/easy-testing/src/DataProvider/StaticFixtureUpdater.php @@ -1,10 +1,10 @@ dumpFile($expectedFixtureFileInfo->getRealPath(), $newOriginalContent); } - private static function getSmartFileSystem() : \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem + private static function getSmartFileSystem() : \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem { - return new \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem(); + return new \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem(); } /** * @param string|\Symplify\SmartFileSystem\SmartFileInfo $originalFileInfo diff --git a/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php b/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php index 743420ec081..00172c53deb 100644 --- a/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php +++ b/vendor/symplify/easy-testing/src/Finder/FixtureFinder.php @@ -1,10 +1,10 @@ finderSanitizer = $finderSanitizer; } @@ -21,7 +21,7 @@ final class FixtureFinder */ public function find(array $sources) : array { - $finder = new \RectorPrefix20211129\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20211130\Symfony\Component\Finder\Finder(); $finder->files()->in($sources)->name('*.php.inc')->path('Fixture')->sortByName(); return $this->finderSanitizer->sanitize($finder); } diff --git a/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php b/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php index d18bb5248dc..42d9eddf89c 100644 --- a/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php +++ b/vendor/symplify/easy-testing/src/FixtureSplitter/TrioFixtureSplitter.php @@ -1,23 +1,23 @@ getContents(), \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + $parts = \RectorPrefix20211130\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); $this->ensureHasThreeParts($parts, $smartFileInfo); - return new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\FixtureSplit\TrioContent($parts[0], $parts[1], $parts[2]); + return new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\FixtureSplit\TrioContent($parts[0], $parts[1], $parts[2]); } /** * @param mixed[] $parts @@ -28,6 +28,6 @@ final class TrioFixtureSplitter return; } $message = \sprintf('The fixture "%s" should have 3 parts. %d found', $smartFileInfo->getRelativeFilePathFromCwd(), \count($parts)); - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException($message); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException($message); } } diff --git a/vendor/symplify/easy-testing/src/Kernel/EasyTestingKernel.php b/vendor/symplify/easy-testing/src/Kernel/EasyTestingKernel.php index 11a21646549..7cf18621ca7 100644 --- a/vendor/symplify/easy-testing/src/Kernel/EasyTestingKernel.php +++ b/vendor/symplify/easy-testing/src/Kernel/EasyTestingKernel.php @@ -1,19 +1,19 @@ create([], [], $configFiles); } } diff --git a/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php b/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php index 6e962f1bed6..694b6fe4c03 100644 --- a/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php +++ b/vendor/symplify/easy-testing/src/MissplacedSkipPrefixResolver.php @@ -1,11 +1,11 @@ hasNameSkipStart($fixtureFileInfo); $fileContents = $fixtureFileInfo->getContents(); - $hasSplitLine = (bool) \RectorPrefix20211129\Nette\Utils\Strings::match($fileContents, \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + $hasSplitLine = (bool) \RectorPrefix20211130\Nette\Utils\Strings::match($fileContents, \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); if ($hasNameSkipStart && $hasSplitLine) { $invalidFileInfos['incorrect_skips'][] = $fixtureFileInfo; continue; @@ -36,6 +36,6 @@ final class MissplacedSkipPrefixResolver } private function hasNameSkipStart(\Symplify\SmartFileSystem\SmartFileInfo $fixtureFileInfo) : bool { - return (bool) \RectorPrefix20211129\Nette\Utils\Strings::match($fixtureFileInfo->getBasenameWithoutSuffix(), \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\Prefix::SKIP_PREFIX_REGEX); + return (bool) \RectorPrefix20211130\Nette\Utils\Strings::match($fixtureFileInfo->getBasenameWithoutSuffix(), \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\Prefix::SKIP_PREFIX_REGEX); } } diff --git a/vendor/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php b/vendor/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php index 4cd79ba01d8..0d1c8401cf6 100644 --- a/vendor/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php +++ b/vendor/symplify/easy-testing/src/PHPUnit/Behavior/DirectoryAssertableTrait.php @@ -1,11 +1,11 @@ files()->in($directory); - $finderSanitizer = new \RectorPrefix20211129\Symplify\SmartFileSystem\Finder\FinderSanitizer(); + $finderSanitizer = new \RectorPrefix20211130\Symplify\SmartFileSystem\Finder\FinderSanitizer(); return $finderSanitizer->sanitize($firstDirectoryFinder); } /** @@ -58,7 +58,7 @@ trait DirectoryAssertableTrait $relativeFilePath = $expectedFileInfo->getRelativeFilePathFromDirectory($expectedDirectory); // match output file info $outputFileInfo = $this->resolveFileInfoByRelativeFilePath($outputFileInfos, $outputDirectory, $relativeFilePath); - $fileInfosByRelativeFilePath[$relativeFilePath] = new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\ExpectedAndOutputFileInfoPair($expectedFileInfo, $outputFileInfo); + $fileInfosByRelativeFilePath[$relativeFilePath] = new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\ExpectedAndOutputFileInfoPair($expectedFileInfo, $outputFileInfo); } return $fileInfosByRelativeFilePath; } diff --git a/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php b/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php index 1ee15315e36..c032800e004 100644 --- a/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php +++ b/vendor/symplify/easy-testing/src/PHPUnit/StaticPHPUnitEnvironment.php @@ -1,7 +1,7 @@ getContents(), \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX)); + $splitLineCount = \count(\RectorPrefix20211130\Nette\Utils\Strings::matchAll($smartFileInfo->getContents(), \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX)); // if more or less, it could be a test cases for monorepo line in it if ($splitLineCount === 1) { // input → expected - [$input, $expected] = \RectorPrefix20211129\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); + [$input, $expected] = \RectorPrefix20211130\Nette\Utils\Strings::split($smartFileInfo->getContents(), \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\SplitLine::SPLIT_LINE_REGEX); $expected = self::retypeExpected($expected); - return new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputAndExpected($input, $expected); + return new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputAndExpected($input, $expected); } // no changes - return new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputAndExpected($smartFileInfo->getContents(), $smartFileInfo->getContents()); + return new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputAndExpected($smartFileInfo->getContents(), $smartFileInfo->getContents()); } - public static function splitFileInfoToLocalInputAndExpectedFileInfos(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo + public static function splitFileInfoToLocalInputAndExpectedFileInfos(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo { $inputAndExpected = self::splitFileInfoToInputAndExpected($smartFileInfo); $inputFileInfo = self::createTemporaryFileInfo($smartFileInfo, 'input', $inputAndExpected->getInput()); @@ -41,7 +41,7 @@ final class StaticFixtureSplitter require_once $inputFileInfo->getRealPath(); } $expectedFileInfo = self::createTemporaryFileInfo($smartFileInfo, 'expected', $inputAndExpected->getExpected()); - return new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo($inputFileInfo, $expectedFileInfo); + return new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpectedFileInfo($inputFileInfo, $expectedFileInfo); } public static function getTemporaryPath() : string { @@ -61,7 +61,7 @@ final class StaticFixtureSplitter \file_put_contents($temporaryFilePath, $fileContent); return new \Symplify\SmartFileSystem\SmartFileInfo($temporaryFilePath); } - public static function splitFileInfoToLocalInputAndExpected(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected + public static function splitFileInfoToLocalInputAndExpected(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, bool $autoloadTestFixture = \false) : \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected { $inputAndExpected = self::splitFileInfoToInputAndExpected($smartFileInfo); $inputFileInfo = self::createTemporaryFileInfo($smartFileInfo, 'input', $inputAndExpected->getInput()); @@ -69,11 +69,11 @@ final class StaticFixtureSplitter if ($autoloadTestFixture) { require_once $inputFileInfo->getRealPath(); } - return new \RectorPrefix20211129\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected($inputFileInfo, $inputAndExpected->getExpected()); + return new \RectorPrefix20211130\Symplify\EasyTesting\ValueObject\InputFileInfoAndExpected($inputFileInfo, $inputAndExpected->getExpected()); } private static function createTemporaryPathWithPrefix(\Symplify\SmartFileSystem\SmartFileInfo $smartFileInfo, string $prefix) : string { - $hash = \RectorPrefix20211129\Nette\Utils\Strings::substring(\md5($smartFileInfo->getRealPath()), -20); + $hash = \RectorPrefix20211130\Nette\Utils\Strings::substring(\md5($smartFileInfo->getRealPath()), -20); $fileBaseName = $smartFileInfo->getBasename('.inc'); return self::getTemporaryPath() . \sprintf('/%s_%s_%s', $prefix, $hash, $fileBaseName); } diff --git a/vendor/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php b/vendor/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php index 78a7ad214f8..3fa0c5c0f39 100644 --- a/vendor/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php +++ b/vendor/symplify/easy-testing/src/ValueObject/EasyTestingConfig.php @@ -1,7 +1,7 @@ outputFileInfo instanceof \Symplify\SmartFileSystem\SmartFileInfo) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } return $this->outputFileInfo->getContents(); } diff --git a/vendor/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php b/vendor/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php index fb9c8ae0009..0ad97de4e7b 100644 --- a/vendor/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php +++ b/vendor/symplify/easy-testing/src/ValueObject/FixtureSplit/TrioContent.php @@ -1,7 +1,7 @@ getFileName(), 2); } } diff --git a/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php b/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php index 40b51a41709..970615c692b 100644 --- a/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php +++ b/vendor/symplify/package-builder/src/Configuration/StaticEolConfiguration.php @@ -1,7 +1,7 @@ addOption(\RectorPrefix20211129\Symplify\PackageBuilder\ValueObject\Option::CONFIG, 'c', \RectorPrefix20211129\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file'); + $this->addOption(\RectorPrefix20211130\Symplify\PackageBuilder\ValueObject\Option::CONFIG, 'c', \RectorPrefix20211130\Symfony\Component\Console\Input\InputOption::VALUE_REQUIRED, 'Path to config file'); } /** * @required */ - public function autowire(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20211129\Symplify\SmartFileSystem\Finder\SmartFinder $smartFinder, \RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) : void + public function autowire(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle $symfonyStyle, \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem $smartFileSystem, \RectorPrefix20211130\Symplify\SmartFileSystem\Finder\SmartFinder $smartFinder, \RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard $fileSystemGuard) : void { $this->symfonyStyle = $symfonyStyle; $this->smartFileSystem = $smartFileSystem; diff --git a/vendor/symplify/package-builder/src/Console/Command/CommandNaming.php b/vendor/symplify/package-builder/src/Console/Command/CommandNaming.php index 059862f94dc..2967c3ac0d1 100644 --- a/vendor/symplify/package-builder/src/Console/Command/CommandNaming.php +++ b/vendor/symplify/package-builder/src/Console/Command/CommandNaming.php @@ -1,10 +1,10 @@ ecs for ($i = 0; $i < \strlen($rawCommandName); ++$i) { if (\ctype_upper($rawCommandName[$i]) && self::isFollowedByUpperCaseLetterOrNothing($rawCommandName, $i)) { @@ -45,7 +45,7 @@ final class CommandNaming } } $lowercasedRawCommandName = \lcfirst($rawCommandName); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($lowercasedRawCommandName, self::BIG_LETTER_REGEX, function (array $matches) : string { + return \RectorPrefix20211130\Nette\Utils\Strings::replace($lowercasedRawCommandName, self::BIG_LETTER_REGEX, function (array $matches) : string { return '-' . \strtolower($matches[0]); }); } diff --git a/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php b/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php index 95ff1f4dbff..65305457640 100644 --- a/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php +++ b/vendor/symplify/package-builder/src/Console/Input/StaticInputDetector.php @@ -1,9 +1,9 @@ hasParameterOption(['--debug', '-v', '-vv', '-vvv']); } } diff --git a/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php b/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php index 9c9a92dd779..e305688883c 100644 --- a/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php +++ b/vendor/symplify/package-builder/src/Console/Style/SymfonyStyleFactory.php @@ -1,15 +1,15 @@ privatesCaller = new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesCaller(); + $this->privatesCaller = new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesCaller(); } - public function create() : \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle + public function create() : \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle { // to prevent missing argv indexes if (!isset($_SERVER['argv'])) { $_SERVER['argv'] = []; } - $argvInput = new \RectorPrefix20211129\Symfony\Component\Console\Input\ArgvInput(); - $consoleOutput = new \RectorPrefix20211129\Symfony\Component\Console\Output\ConsoleOutput(); + $argvInput = new \RectorPrefix20211130\Symfony\Component\Console\Input\ArgvInput(); + $consoleOutput = new \RectorPrefix20211130\Symfony\Component\Console\Output\ConsoleOutput(); // to configure all -v, -vv, -vvv options without memory-lock to Application run() arguments - $this->privatesCaller->callPrivateMethod(new \RectorPrefix20211129\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); + $this->privatesCaller->callPrivateMethod(new \RectorPrefix20211130\Symfony\Component\Console\Application(), 'configureIO', [$argvInput, $consoleOutput]); // --debug is called if ($argvInput->hasParameterOption('--debug')) { - $consoleOutput->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); + $consoleOutput->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_DEBUG); } // disable output for tests - if (\RectorPrefix20211129\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { - $consoleOutput->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if (\RectorPrefix20211130\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + $consoleOutput->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } - return new \RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle($argvInput, $consoleOutput); + return new \RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle($argvInput, $consoleOutput); } } diff --git a/vendor/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php b/vendor/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php index 372cfe3a444..98aebf2ad0b 100644 --- a/vendor/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php +++ b/vendor/symplify/package-builder/src/DependencyInjection/CompilerPass/AutowireInterfacesCompilerPass.php @@ -1,11 +1,11 @@ parametersMerger = new \RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger(); + $this->parametersMerger = new \RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger(); parent::__construct($containerBuilder, $fileLocator); } /** diff --git a/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php b/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php index 41cc03d6801..4261ef5f1e5 100644 --- a/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php +++ b/vendor/symplify/package-builder/src/Exception/HttpKernel/MissingInterfaceException.php @@ -1,7 +1,7 @@ replaceTabsWithSpaces($neonContent); // inline single tags, dummy @@ -36,14 +36,14 @@ final class NeonPrinter } private function replaceTabsWithSpaces(string $neonContent) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' '); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($neonContent, '#\\t#', ' '); } private function inlineSingleTags(string $neonContent) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($neonContent, self::TAGS_REGEX, 'tags: [$1]'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($neonContent, self::TAGS_REGEX, 'tags: [$1]'); } private function fixDoubleSpaceInArguments(string $neonContent) : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($neonContent, self::ARGUMENTS_DOUBLE_SPACE_REGEX, '$1'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($neonContent, self::ARGUMENTS_DOUBLE_SPACE_REGEX, '$1'); } } diff --git a/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php b/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php index 06f65d6a6b3..b7af37a344f 100644 --- a/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php +++ b/vendor/symplify/package-builder/src/Parameter/ParameterProvider.php @@ -1,10 +1,10 @@ */ private $parameters = []; - public function __construct(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface $container) + public function __construct(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface $container) { $parameterBag = $container->getParameterBag(); $this->parameters = $parameterBag->all(); @@ -87,6 +87,6 @@ final class ParameterProvider if (\array_key_exists($name, $this->parameters)) { return; } - throw new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); + throw new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Exception\ParameterNotFoundException($name); } } diff --git a/vendor/symplify/package-builder/src/Php/TypeChecker.php b/vendor/symplify/package-builder/src/Php/TypeChecker.php index 6bf9426657e..6aa653d6a32 100644 --- a/vendor/symplify/package-builder/src/Php/TypeChecker.php +++ b/vendor/symplify/package-builder/src/Php/TypeChecker.php @@ -1,7 +1,7 @@ get($type); if ($service === null) { $errorMessage = \sprintf('Services "%s" was not found', $type); - throw new \RectorPrefix20211129\Symplify\Astral\Exception\ShouldNotHappenException($errorMessage); + throw new \RectorPrefix20211130\Symplify\Astral\Exception\ShouldNotHappenException($errorMessage); } return $service; } @@ -70,7 +70,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram */ protected function bootKernel($kernelClass) : void { - if (\is_a($kernelClass, \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { /** @var LightKernelInterface $kernel */ $kernel = new $kernelClass(); $kernel->createFromConfigs([]); @@ -80,8 +80,8 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram } $this->ensureKernelShutdown(); $kernel = new $kernelClass('test', \true); - if (!$kernel instanceof \RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$kernel instanceof \RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface) { + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } static::$kernel = $this->bootAndReturnKernel($kernel); } @@ -90,7 +90,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram */ protected function ensureKernelShutdown() : void { - if (static::$kernel !== null && static::$kernel instanceof \RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface) { + if (static::$kernel !== null && static::$kernel instanceof \RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface) { // make sure boot() is called // @see https://github.com/symfony/symfony/pull/31202/files $kernelReflectionClass = new \ReflectionClass(static::$kernel); @@ -100,7 +100,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram if ($kernel !== null) { $container = static::$kernel->getContainer(); static::$kernel->shutdown(); - if ($container instanceof \RectorPrefix20211129\Symfony\Contracts\Service\ResetInterface) { + if ($container instanceof \RectorPrefix20211130\Symfony\Contracts\Service\ResetInterface) { $container->reset(); } } @@ -135,15 +135,15 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram */ private function ensureIsConfigAwareKernel($kernel) : void { - if ($kernel instanceof \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface) { + if ($kernel instanceof \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface) { return; } - if ($kernel instanceof \RectorPrefix20211129\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface) { + if ($kernel instanceof \RectorPrefix20211130\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface) { return; } - throw new \RectorPrefix20211129\Symplify\PackageBuilder\Exception\HttpKernel\MissingInterfaceException(\sprintf('"%s" is missing an "%s" interface', \get_class($kernel), \RectorPrefix20211129\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface::class)); + throw new \RectorPrefix20211130\Symplify\PackageBuilder\Exception\HttpKernel\MissingInterfaceException(\sprintf('"%s" is missing an "%s" interface', \get_class($kernel), \RectorPrefix20211130\Symplify\PackageBuilder\Contract\HttpKernel\ExtraConfigAwareKernelInterface::class)); } - private function bootAndReturnKernel(\RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface $kernel) : \RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface + private function bootAndReturnKernel(\RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface $kernel) : \RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface { $kernel->boot(); $container = $kernel->getContainer(); @@ -151,13 +151,13 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram if ($container->has('test.service_container')) { $container = $container->get('test.service_container'); } - if (!$container instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$container instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface) { + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } // has output? keep it silent out of tests - if ($container->has(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle::class)) { - $symfonyStyle = $container->get(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle::class); - $symfonyStyle->setVerbosity(\RectorPrefix20211129\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); + if ($container->has(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle::class)) { + $symfonyStyle = $container->get(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle::class); + $symfonyStyle->setVerbosity(\RectorPrefix20211130\Symfony\Component\Console\Output\OutputInterface::VERBOSITY_QUIET); } static::$container = $container; return $kernel; @@ -169,7 +169,7 @@ abstract class AbstractKernelTestCase extends \RectorPrefix20211129\PHPUnit\Fram */ private function createBootedKernelFromConfigs(string $kernelClass, string $configsHash, array $configFilePaths) { - if (\is_a($kernelClass, \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { /** @var LightKernelInterface $kernel */ $kernel = new $kernelClass(); $kernel->createFromConfigs($configFilePaths); diff --git a/vendor/symplify/package-builder/src/ValueObject/MethodName.php b/vendor/symplify/package-builder/src/ValueObject/MethodName.php index 7799b84db1e..3ad441dbb13 100644 --- a/vendor/symplify/package-builder/src/ValueObject/MethodName.php +++ b/vendor/symplify/package-builder/src/ValueObject/MethodName.php @@ -1,7 +1,7 @@ ruleClass === null) { throw new \Symplify\RuleDocGenerator\Exception\ShouldNotHappenException(); } - return (string) \RectorPrefix20211129\Nette\Utils\Strings::after($this->ruleClass, '\\', -1); + return (string) \RectorPrefix20211130\Nette\Utils\Strings::after($this->ruleClass, '\\', -1); } /** * @return CodeSampleInterface[] diff --git a/vendor/symplify/simple-php-doc-parser/composer.json b/vendor/symplify/simple-php-doc-parser/composer.json index 9215751c25a..a807fa7e43f 100644 --- a/vendor/symplify/simple-php-doc-parser/composer.json +++ b/vendor/symplify/simple-php-doc-parser/composer.json @@ -15,12 +15,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\": "src" + "RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SimplePhpDocParser\\Tests\\": "tests" + "RectorPrefix20211130\\Symplify\\SimplePhpDocParser\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/simple-php-doc-parser/config/config.php b/vendor/symplify/simple-php-doc-parser/config/config.php index 6af295dceca..a19c32ed3f3 100644 --- a/vendor/symplify/simple-php-doc-parser/config/config.php +++ b/vendor/symplify/simple-php-doc-parser/config/config.php @@ -1,7 +1,7 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\SimplePhpDocParser\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php']); + $services->load('RectorPrefix20211130\Symplify\\SimplePhpDocParser\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/PhpDocNodeVisitor/CallablePhpDocNodeVisitor.php']); $services->set(\PHPStan\PhpDocParser\Parser\PhpDocParser::class); $services->set(\PHPStan\PhpDocParser\Lexer\Lexer::class); $services->set(\PHPStan\PhpDocParser\Parser\TypeParser::class); diff --git a/vendor/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php b/vendor/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php index 680b5cec3c0..bb6eaccebfd 100644 --- a/vendor/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php +++ b/vendor/symplify/simple-php-doc-parser/src/Contract/PhpDocNodeVisitorInterface.php @@ -1,7 +1,7 @@ phpDocNodeVisitors[] = $phpDocNodeVisitor; } @@ -78,7 +78,7 @@ final class PhpDocNodeTraverser } public function traverseWithCallable(\PHPStan\PhpDocParser\Ast\Node $node, string $docContent, callable $callable) : \PHPStan\PhpDocParser\Ast\Node { - $callablePhpDocNodeVisitor = new \RectorPrefix20211129\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CallablePhpDocNodeVisitor($callable, $docContent); + $callablePhpDocNodeVisitor = new \RectorPrefix20211130\Symplify\SimplePhpDocParser\PhpDocNodeVisitor\CallablePhpDocNodeVisitor($callable, $docContent); $this->addPhpDocNodeVisitor($callablePhpDocNodeVisitor); $this->traverse($node); return $node; @@ -115,7 +115,7 @@ final class PhpDocNodeTraverser $subNode = null; continue 2; } else { - throw new \RectorPrefix20211129\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20211130\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); } } } @@ -166,7 +166,7 @@ final class PhpDocNodeTraverser unset($nodes[$key]); continue 2; } else { - throw new \RectorPrefix20211129\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20211130\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('enterNode() returned invalid value of type ' . \gettype($return)); } } } @@ -192,7 +192,7 @@ final class PhpDocNodeTraverser $this->stopTraversal = \true; break 2; } else { - throw new \RectorPrefix20211129\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('leaveNode() returned invalid value of type ' . \gettype($return)); + throw new \RectorPrefix20211130\Symplify\SimplePhpDocParser\Exception\InvalidTraverseException('leaveNode() returned invalid value of type ' . \gettype($return)); } } if ($breakVisitorIndex === $visitorIndex) { diff --git a/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php b/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php index bc42e4b539b..ac87c013c1c 100644 --- a/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php +++ b/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/AbstractPhpDocNodeVisitor.php @@ -1,14 +1,14 @@ setAttribute(\RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE, $node); + $clonedNode->setAttribute(\RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::ORIG_NODE, $node); return $clonedNode; } } diff --git a/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php b/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php index 2be219c37c9..4803f19d0e5 100644 --- a/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php +++ b/vendor/symplify/simple-php-doc-parser/src/PhpDocNodeVisitor/ParentConnectingPhpDocNodeVisitor.php @@ -1,10 +1,10 @@ stack !== []) { $parentNode = $this->stack[\count($this->stack) - 1]; - $node->setAttribute(\RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::PARENT, $parentNode); + $node->setAttribute(\RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\PhpDocAttributeKey::PARENT, $parentNode); } $this->stack[] = $node; return $node; diff --git a/vendor/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php b/vendor/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php index 51952037dfe..30209cf30d8 100644 --- a/vendor/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php +++ b/vendor/symplify/simple-php-doc-parser/src/SimplePhpDocParser.php @@ -1,14 +1,14 @@ phpDocParser = $phpDocParser; $this->lexer = $lexer; } - public function parseNode(\PhpParser\Node $node) : ?\RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode + public function parseNode(\PhpParser\Node $node) : ?\RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode { $docComment = $node->getDocComment(); if (!$docComment instanceof \PhpParser\Comment\Doc) { @@ -35,11 +35,11 @@ final class SimplePhpDocParser } return $this->parseDocBlock($docComment->getText()); } - public function parseDocBlock(string $docBlock) : \RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode + public function parseDocBlock(string $docBlock) : \RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode { $tokens = $this->lexer->tokenize($docBlock); $tokenIterator = new \PHPStan\PhpDocParser\Parser\TokenIterator($tokens); $phpDocNode = $this->phpDocParser->parse($tokenIterator); - return new \RectorPrefix20211129\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode($phpDocNode->children); + return new \RectorPrefix20211130\Symplify\SimplePhpDocParser\ValueObject\Ast\PhpDoc\SimplePhpDocNode($phpDocNode->children); } } diff --git a/vendor/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php b/vendor/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php index 1838b0b9941..5a22d510976 100644 --- a/vendor/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php +++ b/vendor/symplify/simple-php-doc-parser/src/StaticFactory/SimplePhpDocParserStaticFactory.php @@ -1,21 +1,21 @@ parameters(); - $parameters->set(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP, []); - $parameters->set(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::ONLY, []); + $parameters->set(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP, []); + $parameters->set(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::ONLY, []); $services = $containerConfigurator->services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\Skipper\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Normalizer\PathNormalizer::class); + $services->load('RectorPrefix20211130\Symplify\\Skipper\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/ValueObject']); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\ClassLikeExistenceChecker::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Normalizer\PathNormalizer::class); }; diff --git a/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php b/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php index 9cecb864299..8acd67aff25 100644 --- a/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php +++ b/vendor/symplify/skipper/src/Contract/SkipVoterInterface.php @@ -1,7 +1,7 @@ fnMatchPathNormalizer = $fnMatchPathNormalizer; } diff --git a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php index f95d403d68a..3fccfba9770 100644 --- a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php +++ b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassAndCodesResolver.php @@ -1,10 +1,10 @@ parameterProvider = $parameterProvider; } @@ -27,7 +27,7 @@ final class SkippedClassAndCodesResolver if ($this->skippedClassAndCodes !== []) { return $this->skippedClassAndCodes; } - $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP); foreach ($skip as $key => $value) { // e.g. [SomeClass::class] → shift values to [SomeClass::class => null] if (\is_int($key)) { diff --git a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php index 860c1d31e7d..cf7d53dd67f 100644 --- a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php +++ b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedClassResolver.php @@ -1,11 +1,11 @@ parameterProvider = $parameterProvider; $this->classLikeExistenceChecker = $classLikeExistenceChecker; @@ -33,7 +33,7 @@ final class SkippedClassResolver if ($this->skippedClasses !== []) { return $this->skippedClasses; } - $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP); foreach ($skip as $key => $value) { // e.g. [SomeClass::class] → shift values to [SomeClass::class => null] if (\is_int($key)) { diff --git a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php index ad148c71913..9a6a0ca0bd8 100644 --- a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php +++ b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedMessagesResolver.php @@ -1,10 +1,10 @@ parameterProvider = $parameterProvider; } @@ -27,7 +27,7 @@ final class SkippedMessagesResolver if ($this->skippedMessages !== []) { return $this->skippedMessages; } - $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP); foreach ($skip as $key => $value) { // e.g. [SomeClass::class] → shift values to [SomeClass::class => null] if (\is_int($key)) { diff --git a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php index 4fcddb3aa5f..8a7311aec40 100644 --- a/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php +++ b/vendor/symplify/skipper/src/SkipCriteriaResolver/SkippedPathsResolver.php @@ -1,11 +1,11 @@ parameterProvider = $parameterProvider; $this->pathNormalizer = $pathNormalizer; @@ -36,7 +36,7 @@ final class SkippedPathsResolver if ($this->skippedPaths !== []) { return $this->skippedPaths; } - $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::SKIP); + $skip = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::SKIP); foreach ($skip as $key => $value) { if (!\is_int($key)) { continue; diff --git a/vendor/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php b/vendor/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php index 70ed2f99ab3..ffe04436872 100644 --- a/vendor/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php +++ b/vendor/symplify/skipper/src/SkipVoter/ClassAndCodeSkipVoter.php @@ -1,16 +1,16 @@ skippedClassAndCodesResolver = $skippedClassAndCodesResolver; $this->fileInfoMatcher = $fileInfoMatcher; diff --git a/vendor/symplify/skipper/src/SkipVoter/ClassSkipVoter.php b/vendor/symplify/skipper/src/SkipVoter/ClassSkipVoter.php index 174957fcd94..f22181b0868 100644 --- a/vendor/symplify/skipper/src/SkipVoter/ClassSkipVoter.php +++ b/vendor/symplify/skipper/src/SkipVoter/ClassSkipVoter.php @@ -1,17 +1,17 @@ classLikeExistenceChecker = $classLikeExistenceChecker; $this->parameterProvider = $parameterProvider; @@ -57,7 +57,7 @@ final class ClassSkipVoter implements \RectorPrefix20211129\Symplify\Skipper\Con */ public function shouldSkip($element, $smartFileInfo) : bool { - $only = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211129\Symplify\Skipper\ValueObject\Option::ONLY); + $only = $this->parameterProvider->provideArrayParameter(\RectorPrefix20211130\Symplify\Skipper\ValueObject\Option::ONLY); $doesMatchOnly = $this->onlySkipper->doesMatchOnly($element, $smartFileInfo, $only); if (\is_bool($doesMatchOnly)) { return $doesMatchOnly; diff --git a/vendor/symplify/skipper/src/SkipVoter/MessageSkipVoter.php b/vendor/symplify/skipper/src/SkipVoter/MessageSkipVoter.php index e54fa2e347d..815e4e78c8e 100644 --- a/vendor/symplify/skipper/src/SkipVoter/MessageSkipVoter.php +++ b/vendor/symplify/skipper/src/SkipVoter/MessageSkipVoter.php @@ -1,13 +1,13 @@ skippedMessagesResolver = $skippedMessagesResolver; $this->fileInfoMatcher = $fileInfoMatcher; diff --git a/vendor/symplify/skipper/src/SkipVoter/PathSkipVoter.php b/vendor/symplify/skipper/src/SkipVoter/PathSkipVoter.php index 10dc2c704c3..9f8785814bc 100644 --- a/vendor/symplify/skipper/src/SkipVoter/PathSkipVoter.php +++ b/vendor/symplify/skipper/src/SkipVoter/PathSkipVoter.php @@ -1,13 +1,13 @@ fileInfoMatcher = $fileInfoMatcher; $this->skippedPathsResolver = $skippedPathsResolver; diff --git a/vendor/symplify/skipper/src/Skipper/OnlySkipper.php b/vendor/symplify/skipper/src/Skipper/OnlySkipper.php index e25199ced8f..4a5880e6a9a 100644 --- a/vendor/symplify/skipper/src/Skipper/OnlySkipper.php +++ b/vendor/symplify/skipper/src/Skipper/OnlySkipper.php @@ -1,9 +1,9 @@ fileInfoMatcher = $fileInfoMatcher; } diff --git a/vendor/symplify/skipper/src/Skipper/SkipSkipper.php b/vendor/symplify/skipper/src/Skipper/SkipSkipper.php index 0285ffe3696..451e17123e6 100644 --- a/vendor/symplify/skipper/src/Skipper/SkipSkipper.php +++ b/vendor/symplify/skipper/src/Skipper/SkipSkipper.php @@ -1,9 +1,9 @@ fileInfoMatcher = $fileInfoMatcher; } diff --git a/vendor/symplify/skipper/src/Skipper/Skipper.php b/vendor/symplify/skipper/src/Skipper/Skipper.php index 21845b9fa0c..e36dc4f7d14 100644 --- a/vendor/symplify/skipper/src/Skipper/Skipper.php +++ b/vendor/symplify/skipper/src/Skipper/Skipper.php @@ -1,9 +1,9 @@ finderSanitizer = $finderSanitizer; $this->fileSystemFilter = $fileSystemFilter; @@ -34,7 +34,7 @@ final class SmartFinder $directories = $this->fileSystemFilter->filterDirectories($directoriesOrFiles); $fileInfos = []; if ($directories !== []) { - $finder = new \RectorPrefix20211129\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20211130\Symfony\Component\Finder\Finder(); $finder->name('*')->in($directories)->path($path)->files()->sortByName(); $fileInfos = $this->finderSanitizer->sanitize($finder); } @@ -50,7 +50,7 @@ final class SmartFinder $directories = $this->fileSystemFilter->filterDirectories($directoriesOrFiles); $fileInfos = []; if ($directories !== []) { - $finder = new \RectorPrefix20211129\Symfony\Component\Finder\Finder(); + $finder = new \RectorPrefix20211130\Symfony\Component\Finder\Finder(); $finder->name($name)->in($directories)->files()->sortByName(); if ($excludedDirectories !== []) { $finder->exclude($excludedDirectories); diff --git a/vendor/symplify/smart-file-system/src/Json/JsonFileSystem.php b/vendor/symplify/smart-file-system/src/Json/JsonFileSystem.php index 6f91de06982..607cf9d9fe0 100644 --- a/vendor/symplify/smart-file-system/src/Json/JsonFileSystem.php +++ b/vendor/symplify/smart-file-system/src/Json/JsonFileSystem.php @@ -1,12 +1,12 @@ fileSystemGuard = $fileSystemGuard; $this->smartFileSystem = $smartFileSystem; @@ -33,14 +33,14 @@ final class JsonFileSystem { $this->fileSystemGuard->ensureFileExists($filePath, __METHOD__); $fileContent = $this->smartFileSystem->readFile($filePath); - return \RectorPrefix20211129\Nette\Utils\Json::decode($fileContent, \RectorPrefix20211129\Nette\Utils\Json::FORCE_ARRAY); + return \RectorPrefix20211130\Nette\Utils\Json::decode($fileContent, \RectorPrefix20211130\Nette\Utils\Json::FORCE_ARRAY); } /** * @param array $jsonArray */ public function writeJsonToFilePath(array $jsonArray, string $filePath) : void { - $jsonContent = \RectorPrefix20211129\Nette\Utils\Json::encode($jsonArray, \RectorPrefix20211129\Nette\Utils\Json::PRETTY) . \PHP_EOL; + $jsonContent = \RectorPrefix20211130\Nette\Utils\Json::encode($jsonArray, \RectorPrefix20211130\Nette\Utils\Json::PRETTY) . \PHP_EOL; $this->smartFileSystem->dumpFile($filePath, $jsonContent); } /** @@ -49,7 +49,7 @@ final class JsonFileSystem public function mergeArrayToJsonFile(string $filePath, array $newJsonArray) : void { $jsonArray = $this->loadFilePathToJson($filePath); - $newComposerJsonArray = \RectorPrefix20211129\Nette\Utils\Arrays::mergeTree($jsonArray, $newJsonArray); + $newComposerJsonArray = \RectorPrefix20211130\Nette\Utils\Arrays::mergeTree($jsonArray, $newJsonArray); $this->writeJsonToFilePath($newComposerJsonArray, $filePath); } } diff --git a/vendor/symplify/smart-file-system/src/Normalizer/PathNormalizer.php b/vendor/symplify/smart-file-system/src/Normalizer/PathNormalizer.php index 00b9256f388..d07fc51e6d9 100644 --- a/vendor/symplify/smart-file-system/src/Normalizer/PathNormalizer.php +++ b/vendor/symplify/smart-file-system/src/Normalizer/PathNormalizer.php @@ -1,9 +1,9 @@ normalizePathParts($pathParts, $scheme); diff --git a/vendor/symplify/smart-file-system/src/SmartFileInfo.php b/vendor/symplify/smart-file-system/src/SmartFileInfo.php index dd3af3d3393..94dbcdb5d4b 100644 --- a/vendor/symplify/smart-file-system/src/SmartFileInfo.php +++ b/vendor/symplify/smart-file-system/src/SmartFileInfo.php @@ -1,18 +1,18 @@ smartFileSystem = new \RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem(); + $this->smartFileSystem = new \RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem(); // accepts also dirs if (!\file_exists($filePath)) { - throw new \RectorPrefix20211129\Symplify\SmartFileSystem\Exception\FileNotFoundException(\sprintf('File path "%s" was not found while creating "%s" object.', $filePath, self::class)); + throw new \RectorPrefix20211130\Symplify\SmartFileSystem\Exception\FileNotFoundException(\sprintf('File path "%s" was not found while creating "%s" object.', $filePath, self::class)); } // real path doesn't work in PHAR: https://www.php.net/manual/en/function.realpath.php if (\strncmp($filePath, 'phar://', \strlen('phar://')) === 0) { @@ -58,7 +58,7 @@ final class SmartFileInfo extends \RectorPrefix20211129\Symfony\Component\Finder } public function getRealPathWithoutSuffix() : string { - return \RectorPrefix20211129\Nette\Utils\Strings::replace($this->getRealPath(), self::LAST_SUFFIX_REGEX, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($this->getRealPath(), self::LAST_SUFFIX_REGEX, ''); } public function getRelativeFilePath() : string { @@ -74,7 +74,7 @@ final class SmartFileInfo extends \RectorPrefix20211129\Symfony\Component\Finder public function getRelativeFilePathFromDirectory($directory) : string { if (!\file_exists($directory)) { - throw new \RectorPrefix20211129\Symplify\SmartFileSystem\Exception\DirectoryNotFoundException(\sprintf('Directory "%s" was not found in %s.', $directory, self::class)); + throw new \RectorPrefix20211130\Symplify\SmartFileSystem\Exception\DirectoryNotFoundException(\sprintf('Directory "%s" was not found in %s.', $directory, self::class)); } $relativeFilePath = $this->smartFileSystem->makePathRelative($this->getNormalizedRealPath(), (string) \realpath($directory)); return \rtrim($relativeFilePath, '/'); @@ -82,8 +82,8 @@ final class SmartFileInfo extends \RectorPrefix20211129\Symfony\Component\Finder public function getRelativeFilePathFromCwdInTests() : string { // special case for tests - if (\RectorPrefix20211129\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { - return $this->getRelativeFilePathFromDirectory(\RectorPrefix20211129\Symplify\EasyTesting\StaticFixtureSplitter::getTemporaryPath()); + if (\RectorPrefix20211130\Symplify\EasyTesting\PHPUnit\StaticPHPUnitEnvironment::isPHPUnitRun()) { + return $this->getRelativeFilePathFromDirectory(\RectorPrefix20211130\Symplify\EasyTesting\StaticFixtureSplitter::getTemporaryPath()); } return $this->getRelativeFilePathFromDirectory(\getcwd()); } @@ -138,4 +138,4 @@ final class SmartFileInfo extends \RectorPrefix20211129\Symfony\Component\Finder /** * @see \Symplify\SmartFileSystem\Tests\SmartFileInfo\SmartFileInfoTest */ -\class_alias('RectorPrefix20211129\\Symplify\\SmartFileSystem\\SmartFileInfo', 'Symplify\\SmartFileSystem\\SmartFileInfo', \false); +\class_alias('RectorPrefix20211130\\Symplify\\SmartFileSystem\\SmartFileInfo', 'Symplify\\SmartFileSystem\\SmartFileInfo', \false); diff --git a/vendor/symplify/smart-file-system/src/SmartFileSystem.php b/vendor/symplify/smart-file-system/src/SmartFileSystem.php index cd3216dbd88..13fd1127819 100644 --- a/vendor/symplify/smart-file-system/src/SmartFileSystem.php +++ b/vendor/symplify/smart-file-system/src/SmartFileSystem.php @@ -1,15 +1,15 @@ getLastError()); - throw new \RectorPrefix20211129\Symfony\Component\Filesystem\Exception\IOException($message, 0, null, $filename); + throw new \RectorPrefix20211130\Symfony\Component\Filesystem\Exception\IOException($message, 0, null, $filename); } return $source; } @@ -68,6 +68,6 @@ final class SmartFileSystem extends \RectorPrefix20211129\Symfony\Component\File { $message = \error_get_last()['message'] ?? ''; $htmlMessage = \ini_get('html_errors') ? $this->htmlToText($message) : $message; - return \RectorPrefix20211129\Nette\Utils\Strings::replace($htmlMessage, self::BEFORE_COLLON_REGEX, ''); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($htmlMessage, self::BEFORE_COLLON_REGEX, ''); } } diff --git a/vendor/symplify/symfony-php-config/src/Reflection/ArgumentAndParameterFactory.php b/vendor/symplify/symfony-php-config/src/Reflection/ArgumentAndParameterFactory.php index 3660d3f9ae6..c372f42bf36 100644 --- a/vendor/symplify/symfony-php-config/src/Reflection/ArgumentAndParameterFactory.php +++ b/vendor/symplify/symfony-php-config/src/Reflection/ArgumentAndParameterFactory.php @@ -3,7 +3,7 @@ declare (strict_types=1); namespace Symplify\SymfonyPhpConfig\Reflection; -use RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor; +use RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor; final class ArgumentAndParameterFactory { /** @@ -12,7 +12,7 @@ final class ArgumentAndParameterFactory private $privatesAccessor; public function __construct() { - $this->privatesAccessor = new \RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); + $this->privatesAccessor = new \RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor(); } /** * @param array $arguments diff --git a/vendor/symplify/symfony-php-config/src/ValueObjectInliner.php b/vendor/symplify/symfony-php-config/src/ValueObjectInliner.php index 1effe9ee0ec..b0d92f30706 100644 --- a/vendor/symplify/symfony-php-config/src/ValueObjectInliner.php +++ b/vendor/symplify/symfony-php-config/src/ValueObjectInliner.php @@ -5,10 +5,10 @@ namespace Symplify\SymfonyPhpConfig; use ReflectionClass; use ReflectionMethod; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; -use RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator; +use RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator; use Symplify\SymfonyPhpConfig\Reflection\ArgumentAndParameterFactory; /** * @api @@ -18,7 +18,7 @@ final class ValueObjectInliner /** * @param object $object */ - public static function inlineArgumentObject($object, \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $servicesConfigurator) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator + public static function inlineArgumentObject($object, \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ServicesConfigurator $servicesConfigurator) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator { $reflectionClass = new \ReflectionClass($object); $className = $reflectionClass->getName(); @@ -27,8 +27,8 @@ final class ValueObjectInliner // @see https://symfony.com/doc/current/service_container/factories.html#passing-arguments-to-the-factory-method $servicesConfigurator->set(\Symplify\SymfonyPhpConfig\Reflection\ArgumentAndParameterFactory::class); $argumentValues = self::resolveArgumentValues($reflectionClass, $object); - $servicesConfigurator->set($className)->factory([new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator(\Symplify\SymfonyPhpConfig\Reflection\ArgumentAndParameterFactory::class), 'create'])->args([$className, $argumentValues, $propertyValues]); - return new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($className); + $servicesConfigurator->set($className)->factory([new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator(\Symplify\SymfonyPhpConfig\Reflection\ArgumentAndParameterFactory::class), 'create'])->args([$className, $argumentValues, $propertyValues]); + return new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\ReferenceConfigurator($className); } /** * @param object|object[] $object @@ -94,12 +94,12 @@ final class ValueObjectInliner /** * @param object $object */ - private static function inlineSingle($object) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator + private static function inlineSingle($object) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator { $reflectionClass = new \ReflectionClass($object); $className = $reflectionClass->getName(); $argumentValues = self::resolveArgumentValues($reflectionClass, $object); - $inlineServiceConfigurator = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211129\Symfony\Component\DependencyInjection\Definition($className)); + $inlineServiceConfigurator = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\InlineServiceConfigurator(new \RectorPrefix20211130\Symfony\Component\DependencyInjection\Definition($className)); if ($argumentValues !== []) { $inlineServiceConfigurator->args($argumentValues); } diff --git a/vendor/symplify/symplify-kernel/composer.json b/vendor/symplify/symplify-kernel/composer.json index 690c738ef3e..47390ca4978 100644 --- a/vendor/symplify/symplify-kernel/composer.json +++ b/vendor/symplify/symplify-kernel/composer.json @@ -18,7 +18,7 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\SymplifyKernel\\": "src" + "RectorPrefix20211130\\Symplify\\SymplifyKernel\\": "src" } }, "extra": { diff --git a/vendor/symplify/symplify-kernel/config/common-config.php b/vendor/symplify/symplify-kernel/config/common-config.php index 248c0a3c922..58317808fbe 100644 --- a/vendor/symplify/symplify-kernel/config/common-config.php +++ b/vendor/symplify/symplify-kernel/config/common-config.php @@ -1,32 +1,32 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); // symfony style - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); - $services->set(\RectorPrefix20211129\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class); + $services->set(\RectorPrefix20211130\Symfony\Component\Console\Style\SymfonyStyle::class)->factory([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory::class), 'create']); // filesystem - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\SmartFileSystem::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Finder\SmartFinder::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemGuard::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\FileSystemFilter::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerInterface::class)]); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Finder\FinderSanitizer::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\SmartFileSystem::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Finder\SmartFinder::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemGuard::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\FileSystemFilter::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Parameter\ParameterProvider::class)->args([\RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerInterface::class)]); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Reflection\PrivatesAccessor::class); }; diff --git a/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php b/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php index b3d4c20785d..a56a00e18ec 100644 --- a/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php +++ b/vendor/symplify/symplify-kernel/src/Config/Loader/ParameterMergingLoaderFactory.php @@ -1,26 +1,26 @@ loaderFactory = $loaderFactory; } @@ -24,24 +24,24 @@ final class ContainerBuilderFactory * @param CompilerPassInterface[] $compilerPasses * @param string[] $configFiles */ - public function create(array $extensions, array $compilerPasses, array $configFiles) : \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder + public function create(array $extensions, array $compilerPasses, array $configFiles) : \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder { - \RectorPrefix20211129\Webmozart\Assert\Assert::allString($configFiles); - \RectorPrefix20211129\Webmozart\Assert\Assert::allFile($configFiles); - $containerBuilder = new \RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder(); + \RectorPrefix20211130\Webmozart\Assert\Assert::allString($configFiles); + \RectorPrefix20211130\Webmozart\Assert\Assert::allFile($configFiles); + $containerBuilder = new \RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder(); $this->registerExtensions($containerBuilder, $extensions); $this->registerConfigFiles($containerBuilder, $configFiles); $this->registerCompilerPasses($containerBuilder, $compilerPasses); // this calls load() method in every extensions // ensure these extensions are implicitly loaded $compilerPassConfig = $containerBuilder->getCompilerPassConfig(); - $compilerPassConfig->setMergePass(new \RectorPrefix20211129\Symplify\SymplifyKernel\DependencyInjection\LoadExtensionConfigsCompilerPass()); + $compilerPassConfig->setMergePass(new \RectorPrefix20211130\Symplify\SymplifyKernel\DependencyInjection\LoadExtensionConfigsCompilerPass()); return $containerBuilder; } /** * @param ExtensionInterface[] $extensions */ - private function registerExtensions(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $extensions) : void + private function registerExtensions(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $extensions) : void { foreach ($extensions as $extension) { $containerBuilder->registerExtension($extension); @@ -50,7 +50,7 @@ final class ContainerBuilderFactory /** * @param CompilerPassInterface[] $compilerPasses */ - private function registerCompilerPasses(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $compilerPasses) : void + private function registerCompilerPasses(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $compilerPasses) : void { foreach ($compilerPasses as $compilerPass) { $containerBuilder->addCompilerPass($compilerPass); @@ -59,7 +59,7 @@ final class ContainerBuilderFactory /** * @param string[] $configFiles */ - private function registerConfigFiles(\RectorPrefix20211129\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $configFiles) : void + private function registerConfigFiles(\RectorPrefix20211130\Symfony\Component\DependencyInjection\ContainerBuilder $containerBuilder, array $configFiles) : void { $delegatingLoader = $this->loaderFactory->create($containerBuilder, \getcwd()); foreach ($configFiles as $configFile) { diff --git a/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php b/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php index 18bc3aa1f25..0bed7f56c28 100644 --- a/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php +++ b/vendor/symplify/symplify-kernel/src/Contract/Config/LoaderFactoryInterface.php @@ -1,15 +1,15 @@ create($extensions, $compilerPasses, $configFiles); $containerBuilder->compile(); $this->container = $containerBuilder; return $containerBuilder; } - public function getContainer() : \RectorPrefix20211129\Psr\Container\ContainerInterface + public function getContainer() : \RectorPrefix20211130\Psr\Container\ContainerInterface { - if (!$this->container instanceof \RectorPrefix20211129\Symfony\Component\DependencyInjection\Container) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + if (!$this->container instanceof \RectorPrefix20211130\Symfony\Component\DependencyInjection\Container) { + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } return $this->container; } diff --git a/vendor/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php b/vendor/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php index fe128a093c5..0adae2af488 100644 --- a/vendor/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php +++ b/vendor/symplify/symplify-kernel/src/ValueObject/KernelBootAndApplicationRun.php @@ -1,15 +1,15 @@ booKernelAndRunApplication(); } catch (\Throwable $throwable) { - $symfonyStyleFactory = new \RectorPrefix20211129\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); + $symfonyStyleFactory = new \RectorPrefix20211130\Symplify\PackageBuilder\Console\Style\SymfonyStyleFactory(); $symfonyStyle = $symfonyStyleFactory->create(); $symfonyStyle->error($throwable->getMessage()); - exit(\RectorPrefix20211129\Symfony\Component\Console\Command\Command::FAILURE); + exit(\RectorPrefix20211130\Symfony\Component\Console\Command\Command::FAILURE); } } /** @@ -52,23 +52,23 @@ final class KernelBootAndApplicationRun { // random has is needed, so cache is invalidated and changes from config are loaded $kernelClass = $this->kernelClass; - if (\is_a($kernelClass, \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { return new $kernelClass(); } $environment = 'prod' . \random_int(1, 100000); - return new $kernelClass($environment, \RectorPrefix20211129\Symplify\PackageBuilder\Console\Input\StaticInputDetector::isDebug()); + return new $kernelClass($environment, \RectorPrefix20211130\Symplify\PackageBuilder\Console\Input\StaticInputDetector::isDebug()); } private function booKernelAndRunApplication() : void { $kernel = $this->createKernel(); - if ($kernel instanceof \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface) { + if ($kernel instanceof \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface) { $container = $kernel->createFromConfigs($this->extraConfigs); } else { $kernel->boot(); $container = $kernel->getContainer(); } /** @var Application $application */ - $application = $container->get(\RectorPrefix20211129\Symfony\Component\Console\Application::class); + $application = $container->get(\RectorPrefix20211130\Symfony\Component\Console\Application::class); exit($application->run()); } /** @@ -76,13 +76,13 @@ final class KernelBootAndApplicationRun */ private function validateKernelClass(string $kernelClass) : void { - if (\is_a($kernelClass, \RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface::class, \true)) { return; } - if (\is_a($kernelClass, \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { + if (\is_a($kernelClass, \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface::class, \true)) { return; } - $errorMessage = \sprintf('Class "%s" must by type of "%s" or "%s"', $kernelClass, \RectorPrefix20211129\Symfony\Component\HttpKernel\KernelInterface::class, \RectorPrefix20211129\Symplify\SymplifyKernel\Contract\LightKernelInterface::class); - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\BootException($errorMessage); + $errorMessage = \sprintf('Class "%s" must by type of "%s" or "%s"', $kernelClass, \RectorPrefix20211130\Symfony\Component\HttpKernel\KernelInterface::class, \RectorPrefix20211130\Symplify\SymplifyKernel\Contract\LightKernelInterface::class); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\BootException($errorMessage); } } diff --git a/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php b/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php index 7c9969f5654..681707c9dd5 100644 --- a/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php +++ b/vendor/symplify/symplify-kernel/src/ValueObject/SymplifyKernelConfig.php @@ -1,7 +1,7 @@ run(); diff --git a/vendor/symplify/vendor-patches/composer.json b/vendor/symplify/vendor-patches/composer.json index 500ef616da1..66b1604edf3 100644 --- a/vendor/symplify/vendor-patches/composer.json +++ b/vendor/symplify/vendor-patches/composer.json @@ -20,12 +20,12 @@ }, "autoload": { "psr-4": { - "RectorPrefix20211129\\Symplify\\VendorPatches\\": "src" + "RectorPrefix20211130\\Symplify\\VendorPatches\\": "src" } }, "autoload-dev": { "psr-4": { - "RectorPrefix20211129\\Symplify\\VendorPatches\\Tests\\": "tests" + "RectorPrefix20211130\\Symplify\\VendorPatches\\Tests\\": "tests" } }, "extra": { diff --git a/vendor/symplify/vendor-patches/config/config.php b/vendor/symplify/vendor-patches/config/config.php index 7a506f2cad7..e2580373907 100644 --- a/vendor/symplify/vendor-patches/config/config.php +++ b/vendor/symplify/vendor-patches/config/config.php @@ -1,27 +1,27 @@ services(); $services->defaults()->public()->autowire()->autoconfigure(); - $services->load('RectorPrefix20211129\Symplify\\VendorPatches\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); - $services->set(\RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)->args(['$addLineNumbers' => \true]); - $services->set(\RectorPrefix20211129\SebastianBergmann\Diff\Differ::class)->args(['$outputBuilder' => \RectorPrefix20211129\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211129\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)]); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Composer\VendorDirProvider::class); - $services->set(\RectorPrefix20211129\Symplify\SmartFileSystem\Json\JsonFileSystem::class); - $services->alias(\RectorPrefix20211129\Symfony\Component\Console\Application::class, \RectorPrefix20211129\Symplify\VendorPatches\Console\VendorPatchesConsoleApplication::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Console\Command\CommandNaming::class); - $services->set(\RectorPrefix20211129\Symplify\PackageBuilder\Yaml\ParametersMerger::class); + $services->load('RectorPrefix20211130\Symplify\\VendorPatches\\', __DIR__ . '/../src')->exclude([__DIR__ . '/../src/Kernel', __DIR__ . '/../src/ValueObject']); + $services->set(\RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)->args(['$addLineNumbers' => \true]); + $services->set(\RectorPrefix20211130\SebastianBergmann\Diff\Differ::class)->args(['$outputBuilder' => \RectorPrefix20211130\Symfony\Component\DependencyInjection\Loader\Configurator\service(\RectorPrefix20211130\SebastianBergmann\Diff\Output\UnifiedDiffOutputBuilder::class)]); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Composer\VendorDirProvider::class); + $services->set(\RectorPrefix20211130\Symplify\SmartFileSystem\Json\JsonFileSystem::class); + $services->alias(\RectorPrefix20211130\Symfony\Component\Console\Application::class, \RectorPrefix20211130\Symplify\VendorPatches\Console\VendorPatchesConsoleApplication::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Console\Command\CommandNaming::class); + $services->set(\RectorPrefix20211130\Symplify\PackageBuilder\Yaml\ParametersMerger::class); }; diff --git a/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php b/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php index 49bf41aaf12..598329f8f65 100644 --- a/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php +++ b/vendor/symplify/vendor-patches/src/Command/GenerateCommand.php @@ -1,18 +1,18 @@ oldToNewFilesFinder = $oldToNewFilesFinder; $this->patchDiffer = $patchDiffer; diff --git a/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php b/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php index 926201faa19..67679c6975c 100644 --- a/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php +++ b/vendor/symplify/vendor-patches/src/Composer/ComposerPatchesConfigurationUpdater.php @@ -1,13 +1,13 @@ composerJsonFactory = $composerJsonFactory; $this->jsonFileManager = $jsonFileManager; @@ -35,7 +35,7 @@ final class ComposerPatchesConfigurationUpdater /** * @param mixed[] $composerExtraPatches */ - public function updateComposerJson(string $composerJsonFilePath, array $composerExtraPatches) : \RectorPrefix20211129\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson + public function updateComposerJson(string $composerJsonFilePath, array $composerExtraPatches) : \RectorPrefix20211130\Symplify\ComposerJsonManipulator\ValueObject\ComposerJson { $extra = ['patches' => $composerExtraPatches]; $composerJson = $this->composerJsonFactory->createFromFilePath($composerJsonFilePath); @@ -52,7 +52,7 @@ final class ComposerPatchesConfigurationUpdater $composerJson = $this->updateComposerJson($composerJsonFilePath, $composerExtraPatches); $fileInfo = $composerJson->getFileInfo(); if (!$fileInfo instanceof \Symplify\SmartFileSystem\SmartFileInfo) { - throw new \RectorPrefix20211129\Symplify\Astral\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\Astral\Exception\ShouldNotHappenException(); } $this->jsonFileManager->printComposerJsonToFilePath($composerJson, $fileInfo->getRealPath()); } diff --git a/vendor/symplify/vendor-patches/src/Composer/PackageNameResolver.php b/vendor/symplify/vendor-patches/src/Composer/PackageNameResolver.php index 608ab24bc9a..80bafac03c4 100644 --- a/vendor/symplify/vendor-patches/src/Composer/PackageNameResolver.php +++ b/vendor/symplify/vendor-patches/src/Composer/PackageNameResolver.php @@ -1,13 +1,13 @@ jsonFileSystem = $jsonFileSystem; $this->pathResolver = $pathResolver; @@ -36,7 +36,7 @@ final class PackageNameResolver $packageComposerJsonFilePath = $this->getPackageComposerJsonFilePath($vendorFile); $composerJson = $this->jsonFileSystem->loadFilePathToJson($packageComposerJsonFilePath); if (!isset($composerJson['name'])) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } return $composerJson['name']; } diff --git a/vendor/symplify/vendor-patches/src/Console/GenerateCommandReporter.php b/vendor/symplify/vendor-patches/src/Console/GenerateCommandReporter.php index c65995c21e5..864889b6d4f 100644 --- a/vendor/symplify/vendor-patches/src/Console/GenerateCommandReporter.php +++ b/vendor/symplify/vendor-patches/src/Console/GenerateCommandReporter.php @@ -1,21 +1,21 @@ symfonyStyle = $symfonyStyle; } - public function reportIdenticalNewAndOldFile(\RectorPrefix20211129\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : void + public function reportIdenticalNewAndOldFile(\RectorPrefix20211130\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : void { $message = \sprintf('Files "%s" and "%s" have the same content. Did you forgot to change it?', $oldAndNewFileInfo->getOldFileRelativePath(), $oldAndNewFileInfo->getNewFileRelativePath()); $this->symfonyStyle->warning($message); diff --git a/vendor/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php b/vendor/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php index 7398217bf52..55a611b0fad 100644 --- a/vendor/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php +++ b/vendor/symplify/vendor-patches/src/Console/VendorPatchesConsoleApplication.php @@ -1,17 +1,17 @@ resolveFromCommand($command); diff --git a/vendor/symplify/vendor-patches/src/Differ/PatchDiffer.php b/vendor/symplify/vendor-patches/src/Differ/PatchDiffer.php index 423d09ecab6..3950e28816b 100644 --- a/vendor/symplify/vendor-patches/src/Differ/PatchDiffer.php +++ b/vendor/symplify/vendor-patches/src/Differ/PatchDiffer.php @@ -1,13 +1,13 @@ differ = $differ; } - public function diff(\RectorPrefix20211129\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : string + public function diff(\RectorPrefix20211130\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo $oldAndNewFileInfo) : string { $oldFileInfo = $oldAndNewFileInfo->getOldFileInfo(); $newFileInfo = $oldAndNewFileInfo->getNewFileInfo(); $diff = $this->differ->diff($oldFileInfo->getContents(), $newFileInfo->getContents()); $patchedFileRelativePath = $this->resolveFileInfoPathRelativeFilePath($newFileInfo); - $clearedDiff = \RectorPrefix20211129\Nette\Utils\Strings::replace($diff, self::START_ORIGINAL_REGEX, '--- /dev/null'); - return \RectorPrefix20211129\Nette\Utils\Strings::replace($clearedDiff, self::START_NEW_REGEX, '+++ ' . $patchedFileRelativePath); + $clearedDiff = \RectorPrefix20211130\Nette\Utils\Strings::replace($diff, self::START_ORIGINAL_REGEX, '--- /dev/null'); + return \RectorPrefix20211130\Nette\Utils\Strings::replace($clearedDiff, self::START_NEW_REGEX, '+++ ' . $patchedFileRelativePath); } private function resolveFileInfoPathRelativeFilePath(\Symplify\SmartFileSystem\SmartFileInfo $beforeFileInfo) : string { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($beforeFileInfo->getRealPath(), self::LOCAL_PATH_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($beforeFileInfo->getRealPath(), self::LOCAL_PATH_REGEX); if (!isset($match['local_path'])) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException(); } return '../' . $match['local_path']; } diff --git a/vendor/symplify/vendor-patches/src/FileSystem/PathResolver.php b/vendor/symplify/vendor-patches/src/FileSystem/PathResolver.php index ccf79e99472..b696a5cde38 100644 --- a/vendor/symplify/vendor-patches/src/FileSystem/PathResolver.php +++ b/vendor/symplify/vendor-patches/src/FileSystem/PathResolver.php @@ -1,11 +1,11 @@ .*?vendor\\/(\\w|\\.|\\-)+\\/(\\w|\\.|\\-)+)\\/#si'; public function resolveVendorDirectory(\Symplify\SmartFileSystem\SmartFileInfo $fileInfo) : string { - $match = \RectorPrefix20211129\Nette\Utils\Strings::match($fileInfo->getRealPath(), self::VENDOR_PACKAGE_DIRECTORY_REGEX); + $match = \RectorPrefix20211130\Nette\Utils\Strings::match($fileInfo->getRealPath(), self::VENDOR_PACKAGE_DIRECTORY_REGEX); if (!isset($match['vendor_package_directory'])) { - throw new \RectorPrefix20211129\Symplify\SymplifyKernel\Exception\ShouldNotHappenException('Could not resolve vendor package directory'); + throw new \RectorPrefix20211130\Symplify\SymplifyKernel\Exception\ShouldNotHappenException('Could not resolve vendor package directory'); } return $match['vendor_package_directory']; } diff --git a/vendor/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php b/vendor/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php index c841a3bdcc5..a295cf14e37 100644 --- a/vendor/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php +++ b/vendor/symplify/vendor-patches/src/Finder/OldToNewFilesFinder.php @@ -1,13 +1,13 @@ finderSanitizer = $finderSanitizer; $this->packageNameResolver = $packageNameResolver; @@ -42,7 +42,7 @@ final class OldToNewFilesFinder } $newFileInfo = new \Symplify\SmartFileSystem\SmartFileInfo($newFilePath); $packageName = $this->packageNameResolver->resolveFromFileInfo($newFileInfo); - $oldAndNewFileInfos[] = new \RectorPrefix20211129\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo($oldFileInfo, $newFileInfo, $packageName); + $oldAndNewFileInfos[] = new \RectorPrefix20211130\Symplify\VendorPatches\ValueObject\OldAndNewFileInfo($oldFileInfo, $newFileInfo, $packageName); } return $oldAndNewFileInfos; } @@ -51,7 +51,7 @@ final class OldToNewFilesFinder */ private function findSmartFileInfosInDirectory(string $directory) : array { - $finder = \RectorPrefix20211129\Symfony\Component\Finder\Finder::create()->in($directory)->files()->exclude('composer/')->exclude('ocramius/')->name('*.old'); + $finder = \RectorPrefix20211130\Symfony\Component\Finder\Finder::create()->in($directory)->files()->exclude('composer/')->exclude('ocramius/')->name('*.old'); return $this->finderSanitizer->sanitize($finder); } } diff --git a/vendor/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php b/vendor/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php index 862969b699f..d3969ef5004 100644 --- a/vendor/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php +++ b/vendor/symplify/vendor-patches/src/Kernel/VendorPatchesKernel.php @@ -1,20 +1,20 @@ create([], [], $configFiles); } } diff --git a/vendor/symplify/vendor-patches/src/PatchFileFactory.php b/vendor/symplify/vendor-patches/src/PatchFileFactory.php index 8e3c275f1c2..85ca477410c 100644 --- a/vendor/symplify/vendor-patches/src/PatchFileFactory.php +++ b/vendor/symplify/vendor-patches/src/PatchFileFactory.php @@ -1,18 +1,18 @@ getNewFileInfo(); $inVendorRelativeFilePath = $newFileInfo->getRelativeFilePathFromDirectory($vendorDirectory); - $relativeFilePathWithoutSuffix = \RectorPrefix20211129\Nette\Utils\Strings::lower($inVendorRelativeFilePath); - $pathFileName = \RectorPrefix20211129\Nette\Utils\Strings::webalize($relativeFilePathWithoutSuffix) . '.patch'; + $relativeFilePathWithoutSuffix = \RectorPrefix20211130\Nette\Utils\Strings::lower($inVendorRelativeFilePath); + $pathFileName = \RectorPrefix20211130\Nette\Utils\Strings::webalize($relativeFilePathWithoutSuffix) . '.patch'; return 'patches' . \DIRECTORY_SEPARATOR . $pathFileName; } } diff --git a/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php b/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php index 90b22d47ad2..9954f602cf4 100644 --- a/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php +++ b/vendor/symplify/vendor-patches/src/ValueObject/OldAndNewFileInfo.php @@ -1,7 +1,7 @@ @@ -70,6 +70,6 @@ document.querySelectorAll('button').forEach((button) => { For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/ajax-jquery.php b/vendor/tracy/tracy/examples/ajax-jquery.php index 0b14e7801c8..2db7b376b49 100644 --- a/vendor/tracy/tracy/examples/ajax-jquery.php +++ b/vendor/tracy/tracy/examples/ajax-jquery.php @@ -1,20 +1,20 @@ @@ -71,6 +71,6 @@ $('button').click(function() { For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/assets/E_COMPILE_ERROR.php b/vendor/tracy/tracy/examples/assets/E_COMPILE_ERROR.php index c4030e678ef..a9667c5e3fe 100644 --- a/vendor/tracy/tracy/examples/assets/E_COMPILE_ERROR.php +++ b/vendor/tracy/tracy/examples/assets/E_COMPILE_ERROR.php @@ -1,6 +1,6 @@ @@ -17,9 +17,9 @@ use RectorPrefix20211129\Tracy\Debugger; test', 'String'); -if (\RectorPrefix20211129\Tracy\Debugger::$productionMode) { +\RectorPrefix20211130\bdump(\get_defined_vars()); +\RectorPrefix20211130\bdump($arr, 'The Array'); +\RectorPrefix20211130\bdump('test', 'String'); +if (\RectorPrefix20211130\Tracy\Debugger::$productionMode) { echo '

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/dump-snapshot.php b/vendor/tracy/tracy/examples/dump-snapshot.php index 3d4f70684b9..d9ef3ae2a32 100644 --- a/vendor/tracy/tracy/examples/dump-snapshot.php +++ b/vendor/tracy/tracy/examples/dump-snapshot.php @@ -1,14 +1,14 @@ @@ -22,21 +22,21 @@ class Test protected $z = 30; private $y = 'hello'; } -\class_alias('RectorPrefix20211129\\Test', 'Test', \false); +\class_alias('RectorPrefix20211130\\Test', 'Test', \false); $arr = [10, 'hello', \fopen(__FILE__, 'r')]; -$obj = new \RectorPrefix20211129\Test(); +$obj = new \RectorPrefix20211130\Test(); $snapshot = []; -echo \RectorPrefix20211129\Tracy\Dumper::toHtml($arr, [\RectorPrefix20211129\Tracy\Dumper::SNAPSHOT => &$snapshot]); -echo \RectorPrefix20211129\Tracy\Dumper::toHtml($obj, [\RectorPrefix20211129\Tracy\Dumper::SNAPSHOT => &$snapshot]); +echo \RectorPrefix20211130\Tracy\Dumper::toHtml($arr, [\RectorPrefix20211130\Tracy\Dumper::SNAPSHOT => &$snapshot]); +echo \RectorPrefix20211130\Tracy\Dumper::toHtml($obj, [\RectorPrefix20211130\Tracy\Dumper::SNAPSHOT => &$snapshot]); // changed array is detected $arr[0] = 'CHANGED!'; -echo \RectorPrefix20211129\Tracy\Dumper::toHtml($arr, [\RectorPrefix20211129\Tracy\Dumper::SNAPSHOT => &$snapshot]); +echo \RectorPrefix20211130\Tracy\Dumper::toHtml($arr, [\RectorPrefix20211130\Tracy\Dumper::SNAPSHOT => &$snapshot]); // changed object is not detected, because is part of snapshot $obj->x = 'CHANGED!'; -echo \RectorPrefix20211129\Tracy\Dumper::toHtml($obj, [\RectorPrefix20211129\Tracy\Dumper::SNAPSHOT => &$snapshot]); +echo \RectorPrefix20211130\Tracy\Dumper::toHtml($obj, [\RectorPrefix20211130\Tracy\Dumper::SNAPSHOT => &$snapshot]); // prints snapshot -echo ''; +echo ''; echo ''; -if (\RectorPrefix20211129\Tracy\Debugger::$productionMode) { +if (\RectorPrefix20211130\Tracy\Debugger::$productionMode) { echo '

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/dump.php b/vendor/tracy/tracy/examples/dump.php index 7303fb28b22..58e00eb7bbc 100644 --- a/vendor/tracy/tracy/examples/dump.php +++ b/vendor/tracy/tracy/examples/dump.php @@ -1,13 +1,13 @@ @@ -15,10 +15,10 @@ use RectorPrefix20211129\Tracy\Debugger; Basic Types\n"; -\RectorPrefix20211129\dump('any string', 123, [\true, \false, null]); +\RectorPrefix20211130\dump('any string', 123, [\true, \false, null]); echo "

Dark Mode

\n"; -\RectorPrefix20211129\Tracy\Debugger::$dumpTheme = 'dark'; -\RectorPrefix20211129\dump('any string'); +\RectorPrefix20211130\Tracy\Debugger::$dumpTheme = 'dark'; +\RectorPrefix20211130\dump('any string'); echo "

Objects

\n"; echo "

Hover over the name \$baz to see property declaring class and over the hash #5 to see same objects.

\n"; class ParentClass @@ -27,33 +27,33 @@ class ParentClass protected $bar = 30; private $baz = 'parent'; } -\class_alias('RectorPrefix20211129\\ParentClass', 'ParentClass', \false); -class ChildClass extends \RectorPrefix20211129\ParentClass +\class_alias('RectorPrefix20211130\\ParentClass', 'ParentClass', \false); +class ChildClass extends \RectorPrefix20211130\ParentClass { private $baz = 'child'; } -\class_alias('RectorPrefix20211129\\ChildClass', 'ChildClass', \false); -$obj = new \RectorPrefix20211129\ChildClass(); +\class_alias('RectorPrefix20211130\\ChildClass', 'ChildClass', \false); +$obj = new \RectorPrefix20211130\ChildClass(); $obj->dynamic = 'hello'; $obj->selfReference = $obj; -\RectorPrefix20211129\dump($obj); +\RectorPrefix20211130\dump($obj); echo "

Strings

\n"; echo "

Hover over the string to see length.

\n"; $arr = ['single line' => 'hello', 'binary' => "binary string", 'multi line' => "first\r\nsecond\nthird\n indented line", 'long' => \str_repeat('tracy ', 1000)]; -\RectorPrefix20211129\dump($arr); +\RectorPrefix20211130\dump($arr); echo "

References and Recursion

\n"; echo "

Hover over the reference &1 to see referenced values.

\n"; $arr = ['first', 'second', 'third']; $arr[] =& $arr[0]; $arr[] =& $arr[1]; $arr[] =& $arr; -\RectorPrefix20211129\dump($arr); +\RectorPrefix20211130\dump($arr); echo "

Special Types

\n"; $arr = [\fopen(__FILE__, 'r'), new class { }, function ($x, $y) use(&$arr, $obj) { }]; -\RectorPrefix20211129\dump($arr); -if (\RectorPrefix20211129\Tracy\Debugger::$productionMode) { +\RectorPrefix20211130\dump($arr); +if (\RectorPrefix20211130\Tracy\Debugger::$productionMode) { echo '

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/exception.php b/vendor/tracy/tracy/examples/exception.php index b01a11ca2d8..3519784b390 100644 --- a/vendor/tracy/tracy/examples/exception.php +++ b/vendor/tracy/tracy/examples/exception.php @@ -1,13 +1,13 @@ @@ -29,13 +29,13 @@ class DemoClass throw new \Exception('The my exception', 123); } } -\class_alias('RectorPrefix20211129\\DemoClass', 'DemoClass', \false); +\class_alias('RectorPrefix20211130\\DemoClass', 'DemoClass', \false); function demo($a, $b) { - $demo = new \RectorPrefix20211129\DemoClass(); + $demo = new \RectorPrefix20211130\DemoClass(); $demo->first($a, $b); } -if (\RectorPrefix20211129\Tracy\Debugger::$productionMode) { +if (\RectorPrefix20211130\Tracy\Debugger::$productionMode) { echo '

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } -\RectorPrefix20211129\demo(10, 'any string'); +\RectorPrefix20211130\demo(10, 'any string'); diff --git a/vendor/tracy/tracy/examples/fatal-error.php b/vendor/tracy/tracy/examples/fatal-error.php index 8184bf3e129..782abdb7ca3 100644 --- a/vendor/tracy/tracy/examples/fatal-error.php +++ b/vendor/tracy/tracy/examples/fatal-error.php @@ -1,20 +1,20 @@

Tracy: fatal error demo

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } require __DIR__ . '/assets/E_COMPILE_ERROR.php'; diff --git a/vendor/tracy/tracy/examples/firelogger.php b/vendor/tracy/tracy/examples/firelogger.php index 54f06a087ed..20d1235d41d 100644 --- a/vendor/tracy/tracy/examples/firelogger.php +++ b/vendor/tracy/tracy/examples/firelogger.php @@ -1,30 +1,30 @@ 'val1', 'key2' => \true]]; // will show in FireLogger -\RectorPrefix20211129\Tracy\Debugger::fireLog('Hello World'); -\RectorPrefix20211129\Tracy\Debugger::fireLog($arr); +\RectorPrefix20211130\Tracy\Debugger::fireLog('Hello World'); +\RectorPrefix20211130\Tracy\Debugger::fireLog($arr); function first($arg1, $arg2) { - \RectorPrefix20211129\second(\true, \false); + \RectorPrefix20211130\second(\true, \false); } function second($arg1, $arg2) { - \RectorPrefix20211129\third([1, 2, 3]); + \RectorPrefix20211130\third([1, 2, 3]); } function third($arg1) { throw new \Exception('The my exception', 123); } try { - \RectorPrefix20211129\first(10, 'any string'); + \RectorPrefix20211130\first(10, 'any string'); } catch (\Exception $e) { - \RectorPrefix20211129\Tracy\Debugger::fireLog($e); + \RectorPrefix20211130\Tracy\Debugger::fireLog($e); } ?> diff --git a/vendor/tracy/tracy/examples/notice.php b/vendor/tracy/tracy/examples/notice.php index aea4a7a675b..56ff2992116 100644 --- a/vendor/tracy/tracy/examples/notice.php +++ b/vendor/tracy/tracy/examples/notice.php @@ -1,14 +1,14 @@ @@ -19,7 +19,7 @@ function foo($from) { echo $form; } -\RectorPrefix20211129\foo(123); -if (\RectorPrefix20211129\Tracy\Debugger::$productionMode) { +\RectorPrefix20211130\foo(123); +if (\RectorPrefix20211130\Tracy\Debugger::$productionMode) { echo '

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/output-debugger.php b/vendor/tracy/tracy/examples/output-debugger.php index a44c7aa2157..a68568e40dd 100644 --- a/vendor/tracy/tracy/examples/output-debugger.php +++ b/vendor/tracy/tracy/examples/output-debugger.php @@ -1,13 +1,13 @@ '; } -\RectorPrefix20211129\head(); +\RectorPrefix20211130\head(); echo '

Output Debugger demo

'; diff --git a/vendor/tracy/tracy/examples/preloading.php b/vendor/tracy/tracy/examples/preloading.php index 5193b026981..6b7a1513dc4 100644 --- a/vendor/tracy/tracy/examples/preloading.php +++ b/vendor/tracy/tracy/examples/preloading.php @@ -1,15 +1,15 @@ Tracy: Preloading For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/redirect.php b/vendor/tracy/tracy/examples/redirect.php index b11dac7f387..d9ddd2ac7dc 100644 --- a/vendor/tracy/tracy/examples/redirect.php +++ b/vendor/tracy/tracy/examples/redirect.php @@ -1,21 +1,21 @@ @@ -24,6 +24,6 @@ if (empty($_GET['redirect'])) {

redirect again or redirect to AJAX demo

For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/examples/warning.php b/vendor/tracy/tracy/examples/warning.php index 5ff8a533e3e..552bb5a1c6e 100644 --- a/vendor/tracy/tracy/examples/warning.php +++ b/vendor/tracy/tracy/examples/warning.php @@ -1,14 +1,14 @@ @@ -16,6 +16,6 @@ use RectorPrefix20211129\Tracy\Debugger; For security reasons, Tracy is visible only on localhost. Look into the source code to see how to enable Tracy.

'; } diff --git a/vendor/tracy/tracy/src/Bridges/Nette/Bridge.php b/vendor/tracy/tracy/src/Bridges/Nette/Bridge.php index e93ae57ad33..85ecbdcd284 100644 --- a/vendor/tracy/tracy/src/Bridges/Nette/Bridge.php +++ b/vendor/tracy/tracy/src/Bridges/Nette/Bridge.php @@ -5,13 +5,13 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Bridges\Nette; +namespace RectorPrefix20211130\Tracy\Bridges\Nette; -use RectorPrefix20211129\Latte; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Tracy; -use RectorPrefix20211129\Tracy\BlueScreen; -use RectorPrefix20211129\Tracy\Helpers; +use RectorPrefix20211130\Latte; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Tracy; +use RectorPrefix20211130\Tracy\BlueScreen; +use RectorPrefix20211130\Tracy\Helpers; /** * Bridge for NEON & Latte. */ @@ -19,8 +19,8 @@ class Bridge { public static function initialize() : void { - $blueScreen = \RectorPrefix20211129\Tracy\Debugger::getBlueScreen(); - if (!\class_exists(\RectorPrefix20211129\Latte\Bridges\Tracy\BlueScreenPanel::class)) { + $blueScreen = \RectorPrefix20211130\Tracy\Debugger::getBlueScreen(); + if (!\class_exists(\RectorPrefix20211130\Latte\Bridges\Tracy\BlueScreenPanel::class)) { $blueScreen->addPanel([self::class, 'renderLatteError']); $blueScreen->addAction([self::class, 'renderLatteUnknownMacro']); } @@ -32,15 +32,15 @@ class Bridge */ public static function renderLatteError($e) : ?array { - if ($e instanceof \RectorPrefix20211129\Latte\CompileException && $e->sourceName) { - return ['tab' => 'Template', 'panel' => (\preg_match('#\\n|\\?#', $e->sourceName) ? '' : '

' . (@\is_file($e->sourceName) ? 'File: ' . \RectorPrefix20211129\Tracy\Helpers::editorLink($e->sourceName, $e->sourceLine) : '' . \htmlspecialchars($e->sourceName . ($e->sourceLine ? ':' . $e->sourceLine : '')) . '') . '

') . '
' . \RectorPrefix20211129\Tracy\BlueScreen::highlightLine(\htmlspecialchars($e->sourceCode, \ENT_IGNORE, 'UTF-8'), $e->sourceLine) . '
']; + if ($e instanceof \RectorPrefix20211130\Latte\CompileException && $e->sourceName) { + return ['tab' => 'Template', 'panel' => (\preg_match('#\\n|\\?#', $e->sourceName) ? '' : '

' . (@\is_file($e->sourceName) ? 'File: ' . \RectorPrefix20211130\Tracy\Helpers::editorLink($e->sourceName, $e->sourceLine) : '' . \htmlspecialchars($e->sourceName . ($e->sourceLine ? ':' . $e->sourceLine : '')) . '') . '

') . '
' . \RectorPrefix20211130\Tracy\BlueScreen::highlightLine(\htmlspecialchars($e->sourceCode, \ENT_IGNORE, 'UTF-8'), $e->sourceLine) . '
']; } elseif ($e && \strpos($file = $e->getFile(), '.latte--')) { $lines = \file($file); if (\preg_match('#// source: (\\S+\\.latte)#', $lines[1], $m) && @\is_file($m[1])) { // @ - may trigger error $templateFile = $m[1]; $templateLine = $e->getLine() && \preg_match('#/\\* line (\\d+) \\*/#', $lines[$e->getLine() - 1], $m) ? (int) $m[1] : 0; - return ['tab' => 'Template', 'panel' => '

File: ' . \RectorPrefix20211129\Tracy\Helpers::editorLink($templateFile, $templateLine) . '

' . ($templateLine === null ? '' : \RectorPrefix20211129\Tracy\BlueScreen::highlightFile($templateFile, $templateLine))]; + return ['tab' => 'Template', 'panel' => '

File: ' . \RectorPrefix20211130\Tracy\Helpers::editorLink($templateFile, $templateLine) . '

' . ($templateLine === null ? '' : \RectorPrefix20211130\Tracy\BlueScreen::highlightFile($templateFile, $templateLine))]; } } return null; @@ -50,8 +50,8 @@ class Bridge */ public static function renderLatteUnknownMacro($e) : ?array { - if ($e instanceof \RectorPrefix20211129\Latte\CompileException && $e->sourceName && @\is_file($e->sourceName) && (\preg_match('#Unknown macro (\\{\\w+)\\}, did you mean (\\{\\w+)\\}\\?#A', $e->getMessage(), $m) || \preg_match('#Unknown attribute (n:\\w+), did you mean (n:\\w+)\\?#A', $e->getMessage(), $m))) { - return ['link' => \RectorPrefix20211129\Tracy\Helpers::editorUri($e->sourceName, $e->sourceLine, 'fix', $m[1], $m[2]), 'label' => 'fix it']; + if ($e instanceof \RectorPrefix20211130\Latte\CompileException && $e->sourceName && @\is_file($e->sourceName) && (\preg_match('#Unknown macro (\\{\\w+)\\}, did you mean (\\{\\w+)\\}\\?#A', $e->getMessage(), $m) || \preg_match('#Unknown attribute (n:\\w+), did you mean (n:\\w+)\\?#A', $e->getMessage(), $m))) { + return ['link' => \RectorPrefix20211130\Tracy\Helpers::editorUri($e->sourceName, $e->sourceLine, 'fix', $m[1], $m[2]), 'label' => 'fix it']; } return null; } @@ -60,15 +60,15 @@ class Bridge */ public static function renderMemberAccessException($e) : ?array { - if (!$e instanceof \RectorPrefix20211129\Nette\MemberAccessException && !$e instanceof \LogicException) { + if (!$e instanceof \RectorPrefix20211130\Nette\MemberAccessException && !$e instanceof \LogicException) { return null; } - $loc = $e->getTrace()[$e instanceof \RectorPrefix20211129\Nette\MemberAccessException ? 1 : 0]; + $loc = $e->getTrace()[$e instanceof \RectorPrefix20211130\Nette\MemberAccessException ? 1 : 0]; if (\preg_match('#Cannot (?:read|write to) an undeclared property .+::\\$(\\w+), did you mean \\$(\\w+)\\?#A', $e->getMessage(), $m)) { - return ['link' => \RectorPrefix20211129\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', '->' . $m[1], '->' . $m[2]), 'label' => 'fix it']; + return ['link' => \RectorPrefix20211130\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', '->' . $m[1], '->' . $m[2]), 'label' => 'fix it']; } elseif (\preg_match('#Call to undefined (static )?method .+::(\\w+)\\(\\), did you mean (\\w+)\\(\\)?#A', $e->getMessage(), $m)) { $operator = $m[1] ? '::' : '->'; - return ['link' => \RectorPrefix20211129\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', $operator . $m[2] . '(', $operator . $m[3] . '('), 'label' => 'fix it']; + return ['link' => \RectorPrefix20211130\Tracy\Helpers::editorUri($loc['file'], $loc['line'], 'fix', $operator . $m[2] . '(', $operator . $m[3] . '('), 'label' => 'fix it']; } return null; } @@ -77,11 +77,11 @@ class Bridge */ public static function renderNeonError($e) : ?array { - if (!$e instanceof \RectorPrefix20211129\Nette\Neon\Exception || !\preg_match('#line (\\d+)#', $e->getMessage(), $m)) { + if (!$e instanceof \RectorPrefix20211130\Nette\Neon\Exception || !\preg_match('#line (\\d+)#', $e->getMessage(), $m)) { return null; - } elseif ($trace = \RectorPrefix20211129\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211129\Nette\Neon\Decoder::class, 'decodeFile']) ?? \RectorPrefix20211129\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211129\Nette\DI\Config\Adapters\NeonAdapter::class, 'load'])) { - $panel = '

File: ' . \RectorPrefix20211129\Tracy\Helpers::editorLink($trace['args'][0], (int) $m[1]) . '

' . self::highlightNeon(\file_get_contents($trace['args'][0]), (int) $m[1]); - } elseif ($trace = \RectorPrefix20211129\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211129\Nette\Neon\Decoder::class, 'decode'])) { + } elseif ($trace = \RectorPrefix20211130\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211130\Nette\Neon\Decoder::class, 'decodeFile']) ?? \RectorPrefix20211130\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211130\Nette\DI\Config\Adapters\NeonAdapter::class, 'load'])) { + $panel = '

File: ' . \RectorPrefix20211130\Tracy\Helpers::editorLink($trace['args'][0], (int) $m[1]) . '

' . self::highlightNeon(\file_get_contents($trace['args'][0]), (int) $m[1]); + } elseif ($trace = \RectorPrefix20211130\Tracy\Helpers::findTrace($e->getTrace(), [\RectorPrefix20211130\Nette\Neon\Decoder::class, 'decode'])) { $panel = self::highlightNeon($trace['args'][0], (int) $m[1]); } return isset($panel) ? ['tab' => 'NEON', 'panel' => $panel] : null; @@ -91,6 +91,6 @@ class Bridge $code = \htmlspecialchars($code, \ENT_IGNORE, 'UTF-8'); $code = \str_replace(' ', "·", $code); $code = \str_replace("\t", "→ ", $code); - return '
' . \RectorPrefix20211129\Tracy\BlueScreen::highlightLine($code, $line) . '
'; + return '
' . \RectorPrefix20211130\Tracy\BlueScreen::highlightLine($code, $line) . '
'; } } diff --git a/vendor/tracy/tracy/src/Bridges/Nette/MailSender.php b/vendor/tracy/tracy/src/Bridges/Nette/MailSender.php index 13b0b0f03fa..a0804e0d40c 100644 --- a/vendor/tracy/tracy/src/Bridges/Nette/MailSender.php +++ b/vendor/tracy/tracy/src/Bridges/Nette/MailSender.php @@ -5,10 +5,10 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Bridges\Nette; +namespace RectorPrefix20211130\Tracy\Bridges\Nette; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Tracy; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Tracy; /** * Tracy logger bridge for Nette Mail. */ @@ -19,7 +19,7 @@ class MailSender private $mailer; /** @var string|null sender of email notifications */ private $fromEmail; - public function __construct(\RectorPrefix20211129\Nette\Mail\IMailer $mailer, string $fromEmail = null) + public function __construct(\RectorPrefix20211130\Nette\Mail\IMailer $mailer, string $fromEmail = null) { $this->mailer = $mailer; $this->fromEmail = $fromEmail; @@ -31,16 +31,16 @@ class MailSender public function send($message, $email) : void { $host = \preg_replace('#[^\\w.-]+#', '', $_SERVER['SERVER_NAME'] ?? \php_uname('n')); - $mail = new \RectorPrefix20211129\Nette\Mail\Message(); + $mail = new \RectorPrefix20211130\Nette\Mail\Message(); $mail->setHeader('X-Mailer', 'Tracy'); - if ($this->fromEmail || \RectorPrefix20211129\Nette\Utils\Validators::isEmail("noreply@{$host}")) { + if ($this->fromEmail || \RectorPrefix20211130\Nette\Utils\Validators::isEmail("noreply@{$host}")) { $mail->setFrom($this->fromEmail ?: "noreply@{$host}"); } foreach (\explode(',', $email) as $item) { $mail->addTo(\trim($item)); } $mail->setSubject('PHP: An error occurred on the server ' . $host); - $mail->setBody(\RectorPrefix20211129\Tracy\Logger::formatMessage($message) . "\n\nsource: " . \RectorPrefix20211129\Tracy\Helpers::getSource()); + $mail->setBody(\RectorPrefix20211130\Tracy\Logger::formatMessage($message) . "\n\nsource: " . \RectorPrefix20211130\Tracy\Helpers::getSource()); $this->mailer->send($mail); } } diff --git a/vendor/tracy/tracy/src/Bridges/Nette/TracyExtension.php b/vendor/tracy/tracy/src/Bridges/Nette/TracyExtension.php index d45427ef1af..48d43829ee2 100644 --- a/vendor/tracy/tracy/src/Bridges/Nette/TracyExtension.php +++ b/vendor/tracy/tracy/src/Bridges/Nette/TracyExtension.php @@ -5,15 +5,15 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Bridges\Nette; +namespace RectorPrefix20211130\Tracy\Bridges\Nette; -use RectorPrefix20211129\Nette; -use RectorPrefix20211129\Nette\Schema\Expect; -use RectorPrefix20211129\Tracy; +use RectorPrefix20211130\Nette; +use RectorPrefix20211130\Nette\Schema\Expect; +use RectorPrefix20211130\Tracy; /** * Tracy extension for Nette DI. */ -class TracyExtension extends \RectorPrefix20211129\Nette\DI\CompilerExtension +class TracyExtension extends \RectorPrefix20211130\Nette\DI\CompilerExtension { /** @var bool */ private $debugMode; @@ -24,23 +24,23 @@ class TracyExtension extends \RectorPrefix20211129\Nette\DI\CompilerExtension $this->debugMode = $debugMode; $this->cliMode = $cliMode; } - public function getConfigSchema() : \RectorPrefix20211129\Nette\Schema\Schema + public function getConfigSchema() : \RectorPrefix20211130\Nette\Schema\Schema { - return \RectorPrefix20211129\Nette\Schema\Expect::structure(['email' => \RectorPrefix20211129\Nette\Schema\Expect::anyOf(\RectorPrefix20211129\Nette\Schema\Expect::email(), \RectorPrefix20211129\Nette\Schema\Expect::listOf('email'))->dynamic(), 'fromEmail' => \RectorPrefix20211129\Nette\Schema\Expect::email()->dynamic(), 'emailSnooze' => \RectorPrefix20211129\Nette\Schema\Expect::string()->dynamic(), 'logSeverity' => \RectorPrefix20211129\Nette\Schema\Expect::anyOf(\RectorPrefix20211129\Nette\Schema\Expect::scalar(), \RectorPrefix20211129\Nette\Schema\Expect::listOf('scalar')), 'editor' => \RectorPrefix20211129\Nette\Schema\Expect::string()->dynamic(), 'browser' => \RectorPrefix20211129\Nette\Schema\Expect::string()->dynamic(), 'errorTemplate' => \RectorPrefix20211129\Nette\Schema\Expect::string()->dynamic(), 'strictMode' => \RectorPrefix20211129\Nette\Schema\Expect::bool()->dynamic(), 'showBar' => \RectorPrefix20211129\Nette\Schema\Expect::bool()->dynamic(), 'maxLength' => \RectorPrefix20211129\Nette\Schema\Expect::int()->dynamic(), 'maxDepth' => \RectorPrefix20211129\Nette\Schema\Expect::int()->dynamic(), 'keysToHide' => \RectorPrefix20211129\Nette\Schema\Expect::array(null)->dynamic(), 'dumpTheme' => \RectorPrefix20211129\Nette\Schema\Expect::string()->dynamic(), 'showLocation' => \RectorPrefix20211129\Nette\Schema\Expect::bool()->dynamic(), 'scream' => \RectorPrefix20211129\Nette\Schema\Expect::bool()->dynamic(), 'bar' => \RectorPrefix20211129\Nette\Schema\Expect::listOf('RectorPrefix20211129\\string|Nette\\DI\\Definitions\\Statement'), 'blueScreen' => \RectorPrefix20211129\Nette\Schema\Expect::listOf('callable'), 'editorMapping' => \RectorPrefix20211129\Nette\Schema\Expect::arrayOf('string')->dynamic()->default(null), 'netteMailer' => \RectorPrefix20211129\Nette\Schema\Expect::bool(\true)]); + return \RectorPrefix20211130\Nette\Schema\Expect::structure(['email' => \RectorPrefix20211130\Nette\Schema\Expect::anyOf(\RectorPrefix20211130\Nette\Schema\Expect::email(), \RectorPrefix20211130\Nette\Schema\Expect::listOf('email'))->dynamic(), 'fromEmail' => \RectorPrefix20211130\Nette\Schema\Expect::email()->dynamic(), 'emailSnooze' => \RectorPrefix20211130\Nette\Schema\Expect::string()->dynamic(), 'logSeverity' => \RectorPrefix20211130\Nette\Schema\Expect::anyOf(\RectorPrefix20211130\Nette\Schema\Expect::scalar(), \RectorPrefix20211130\Nette\Schema\Expect::listOf('scalar')), 'editor' => \RectorPrefix20211130\Nette\Schema\Expect::string()->dynamic(), 'browser' => \RectorPrefix20211130\Nette\Schema\Expect::string()->dynamic(), 'errorTemplate' => \RectorPrefix20211130\Nette\Schema\Expect::string()->dynamic(), 'strictMode' => \RectorPrefix20211130\Nette\Schema\Expect::bool()->dynamic(), 'showBar' => \RectorPrefix20211130\Nette\Schema\Expect::bool()->dynamic(), 'maxLength' => \RectorPrefix20211130\Nette\Schema\Expect::int()->dynamic(), 'maxDepth' => \RectorPrefix20211130\Nette\Schema\Expect::int()->dynamic(), 'keysToHide' => \RectorPrefix20211130\Nette\Schema\Expect::array(null)->dynamic(), 'dumpTheme' => \RectorPrefix20211130\Nette\Schema\Expect::string()->dynamic(), 'showLocation' => \RectorPrefix20211130\Nette\Schema\Expect::bool()->dynamic(), 'scream' => \RectorPrefix20211130\Nette\Schema\Expect::bool()->dynamic(), 'bar' => \RectorPrefix20211130\Nette\Schema\Expect::listOf('RectorPrefix20211130\\string|Nette\\DI\\Definitions\\Statement'), 'blueScreen' => \RectorPrefix20211130\Nette\Schema\Expect::listOf('callable'), 'editorMapping' => \RectorPrefix20211130\Nette\Schema\Expect::arrayOf('string')->dynamic()->default(null), 'netteMailer' => \RectorPrefix20211130\Nette\Schema\Expect::bool(\true)]); } public function loadConfiguration() { $builder = $this->getContainerBuilder(); - $builder->addDefinition($this->prefix('logger'))->setClass(\RectorPrefix20211129\Tracy\ILogger::class)->setFactory([\RectorPrefix20211129\Tracy\Debugger::class, 'getLogger']); - $builder->addDefinition($this->prefix('blueScreen'))->setFactory([\RectorPrefix20211129\Tracy\Debugger::class, 'getBlueScreen']); - $builder->addDefinition($this->prefix('bar'))->setFactory([\RectorPrefix20211129\Tracy\Debugger::class, 'getBar']); + $builder->addDefinition($this->prefix('logger'))->setClass(\RectorPrefix20211130\Tracy\ILogger::class)->setFactory([\RectorPrefix20211130\Tracy\Debugger::class, 'getLogger']); + $builder->addDefinition($this->prefix('blueScreen'))->setFactory([\RectorPrefix20211130\Tracy\Debugger::class, 'getBlueScreen']); + $builder->addDefinition($this->prefix('bar'))->setFactory([\RectorPrefix20211130\Tracy\Debugger::class, 'getBar']); } /** * @param \Nette\PhpGenerator\ClassType $class */ public function afterCompile($class) { - $initialize = $this->initialization ?? new \RectorPrefix20211129\Nette\PhpGenerator\Closure(); + $initialize = $this->initialization ?? new \RectorPrefix20211130\Nette\PhpGenerator\Closure(); $initialize->addBody('if (!Tracy\\Debugger::isEnabled()) { return; }'); $builder = $this->getContainerBuilder(); $options = (array) $this->config; @@ -55,38 +55,38 @@ class TracyExtension extends \RectorPrefix20211129\Nette\DI\CompilerExtension foreach ($options as $key => $value) { if ($value !== null) { static $tbl = ['keysToHide' => 'array_push(Tracy\\Debugger::getBlueScreen()->keysToHide, ... ?)', 'fromEmail' => 'Tracy\\Debugger::getLogger()->fromEmail = ?', 'emailSnooze' => 'Tracy\\Debugger::getLogger()->emailSnooze = ?']; - $initialize->addBody($builder->formatPhp(($tbl[$key] ?? 'Tracy\\Debugger::$' . $key . ' = ?') . ';', \RectorPrefix20211129\Nette\DI\Helpers::filterArguments([$value]))); + $initialize->addBody($builder->formatPhp(($tbl[$key] ?? 'Tracy\\Debugger::$' . $key . ' = ?') . ';', \RectorPrefix20211130\Nette\DI\Helpers::filterArguments([$value]))); } } $logger = $builder->getDefinition($this->prefix('logger')); - if (!$logger instanceof \RectorPrefix20211129\Nette\DI\ServiceDefinition || $logger->getFactory()->getEntity() !== [\RectorPrefix20211129\Tracy\Debugger::class, 'getLogger']) { + if (!$logger instanceof \RectorPrefix20211130\Nette\DI\ServiceDefinition || $logger->getFactory()->getEntity() !== [\RectorPrefix20211130\Tracy\Debugger::class, 'getLogger']) { $initialize->addBody($builder->formatPhp('Tracy\\Debugger::setLogger(?);', [$logger])); } - if ($this->config->netteMailer && $builder->getByType(\RectorPrefix20211129\Nette\Mail\IMailer::class)) { - $initialize->addBody($builder->formatPhp('Tracy\\Debugger::getLogger()->mailer = ?;', [[new \RectorPrefix20211129\Nette\DI\Statement(\RectorPrefix20211129\Tracy\Bridges\Nette\MailSender::class, ['fromEmail' => $this->config->fromEmail]), 'send']])); + if ($this->config->netteMailer && $builder->getByType(\RectorPrefix20211130\Nette\Mail\IMailer::class)) { + $initialize->addBody($builder->formatPhp('Tracy\\Debugger::getLogger()->mailer = ?;', [[new \RectorPrefix20211130\Nette\DI\Statement(\RectorPrefix20211130\Tracy\Bridges\Nette\MailSender::class, ['fromEmail' => $this->config->fromEmail]), 'send']])); } if ($this->debugMode) { foreach ($this->config->bar as $item) { if (\is_string($item) && \substr($item, 0, 1) === '@') { - $item = new \RectorPrefix20211129\Nette\DI\Statement(['@' . $builder::THIS_CONTAINER, 'getService'], [\substr($item, 1)]); + $item = new \RectorPrefix20211130\Nette\DI\Statement(['@' . $builder::THIS_CONTAINER, 'getService'], [\substr($item, 1)]); } elseif (\is_string($item)) { - $item = new \RectorPrefix20211129\Nette\DI\Statement($item); + $item = new \RectorPrefix20211130\Nette\DI\Statement($item); } - $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20211129\Nette\DI\Helpers::filterArguments([$this->prefix('bar'), $item]))); + $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20211130\Nette\DI\Helpers::filterArguments([$this->prefix('bar'), $item]))); } - if (!$this->cliMode && ($name = $builder->getByType(\RectorPrefix20211129\Nette\Http\Session::class))) { + if (!$this->cliMode && ($name = $builder->getByType(\RectorPrefix20211130\Nette\Http\Session::class))) { $initialize->addBody('$this->getService(?)->start();', [$name]); $initialize->addBody('Tracy\\Debugger::dispatch();'); } } foreach ($this->config->blueScreen as $item) { - $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20211129\Nette\DI\Helpers::filterArguments([$this->prefix('blueScreen'), $item]))); + $initialize->addBody($builder->formatPhp('$this->getService(?)->addPanel(?);', \RectorPrefix20211130\Nette\DI\Helpers::filterArguments([$this->prefix('blueScreen'), $item]))); } if (empty($this->initialization)) { $class->getMethod('initialize')->addBody("({$initialize})();"); } - if (($dir = \RectorPrefix20211129\Tracy\Debugger::$logDirectory) && !\is_writable($dir)) { - throw new \RectorPrefix20211129\Nette\InvalidStateException("Make directory '{$dir}' writable."); + if (($dir = \RectorPrefix20211130\Tracy\Debugger::$logDirectory) && !\is_writable($dir)) { + throw new \RectorPrefix20211130\Nette\InvalidStateException("Make directory '{$dir}' writable."); } } } diff --git a/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php b/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php index d5c187791cb..59740bf7d4e 100644 --- a/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php +++ b/vendor/tracy/tracy/src/Bridges/Psr/PsrToTracyLoggerAdapter.php @@ -5,35 +5,35 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Bridges\Psr; +namespace RectorPrefix20211130\Tracy\Bridges\Psr; -use RectorPrefix20211129\Psr; -use RectorPrefix20211129\Tracy; +use RectorPrefix20211130\Psr; +use RectorPrefix20211130\Tracy; /** * Psr\Log\LoggerInterface to Tracy\ILogger adapter. */ -class PsrToTracyLoggerAdapter implements \RectorPrefix20211129\Tracy\ILogger +class PsrToTracyLoggerAdapter implements \RectorPrefix20211130\Tracy\ILogger { /** Tracy logger level to PSR-3 log level mapping */ - private const LEVEL_MAP = [\RectorPrefix20211129\Tracy\ILogger::DEBUG => \RectorPrefix20211129\Psr\Log\LogLevel::DEBUG, \RectorPrefix20211129\Tracy\ILogger::INFO => \RectorPrefix20211129\Psr\Log\LogLevel::INFO, \RectorPrefix20211129\Tracy\ILogger::WARNING => \RectorPrefix20211129\Psr\Log\LogLevel::WARNING, \RectorPrefix20211129\Tracy\ILogger::ERROR => \RectorPrefix20211129\Psr\Log\LogLevel::ERROR, \RectorPrefix20211129\Tracy\ILogger::EXCEPTION => \RectorPrefix20211129\Psr\Log\LogLevel::ERROR, \RectorPrefix20211129\Tracy\ILogger::CRITICAL => \RectorPrefix20211129\Psr\Log\LogLevel::CRITICAL]; + private const LEVEL_MAP = [\RectorPrefix20211130\Tracy\ILogger::DEBUG => \RectorPrefix20211130\Psr\Log\LogLevel::DEBUG, \RectorPrefix20211130\Tracy\ILogger::INFO => \RectorPrefix20211130\Psr\Log\LogLevel::INFO, \RectorPrefix20211130\Tracy\ILogger::WARNING => \RectorPrefix20211130\Psr\Log\LogLevel::WARNING, \RectorPrefix20211130\Tracy\ILogger::ERROR => \RectorPrefix20211130\Psr\Log\LogLevel::ERROR, \RectorPrefix20211130\Tracy\ILogger::EXCEPTION => \RectorPrefix20211130\Psr\Log\LogLevel::ERROR, \RectorPrefix20211130\Tracy\ILogger::CRITICAL => \RectorPrefix20211130\Psr\Log\LogLevel::CRITICAL]; /** @var Psr\Log\LoggerInterface */ private $psrLogger; - public function __construct(\RectorPrefix20211129\Psr\Log\LoggerInterface $psrLogger) + public function __construct(\RectorPrefix20211130\Psr\Log\LoggerInterface $psrLogger) { $this->psrLogger = $psrLogger; } public function log($value, $level = self::INFO) { if ($value instanceof \Throwable) { - $message = \RectorPrefix20211129\Tracy\Helpers::getClass($value) . ': ' . $value->getMessage() . ($value->getCode() ? ' #' . $value->getCode() : '') . ' in ' . $value->getFile() . ':' . $value->getLine(); + $message = \RectorPrefix20211130\Tracy\Helpers::getClass($value) . ': ' . $value->getMessage() . ($value->getCode() ? ' #' . $value->getCode() : '') . ' in ' . $value->getFile() . ':' . $value->getLine(); $context = ['exception' => $value]; } elseif (!\is_string($value)) { - $message = \trim(\RectorPrefix20211129\Tracy\Dumper::toText($value)); + $message = \trim(\RectorPrefix20211130\Tracy\Dumper::toText($value)); $context = []; } else { $message = $value; $context = []; } - $this->psrLogger->log(self::LEVEL_MAP[$level] ?? \RectorPrefix20211129\Psr\Log\LogLevel::ERROR, $message, $context); + $this->psrLogger->log(self::LEVEL_MAP[$level] ?? \RectorPrefix20211130\Psr\Log\LogLevel::ERROR, $message, $context); } } diff --git a/vendor/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php b/vendor/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php index e02fda8b6e9..3f39c3b034e 100644 --- a/vendor/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php +++ b/vendor/tracy/tracy/src/Bridges/Psr/TracyToPsrLoggerAdapter.php @@ -5,26 +5,26 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Bridges\Psr; +namespace RectorPrefix20211130\Tracy\Bridges\Psr; -use RectorPrefix20211129\Psr; -use RectorPrefix20211129\Tracy; +use RectorPrefix20211130\Psr; +use RectorPrefix20211130\Tracy; /** * Tracy\ILogger to Psr\Log\LoggerInterface adapter. */ -class TracyToPsrLoggerAdapter extends \RectorPrefix20211129\Psr\Log\AbstractLogger +class TracyToPsrLoggerAdapter extends \RectorPrefix20211130\Psr\Log\AbstractLogger { /** PSR-3 log level to Tracy logger level mapping */ - private const LEVEL_MAP = [\RectorPrefix20211129\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20211129\Tracy\ILogger::CRITICAL, \RectorPrefix20211129\Psr\Log\LogLevel::ALERT => \RectorPrefix20211129\Tracy\ILogger::CRITICAL, \RectorPrefix20211129\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20211129\Tracy\ILogger::CRITICAL, \RectorPrefix20211129\Psr\Log\LogLevel::ERROR => \RectorPrefix20211129\Tracy\ILogger::ERROR, \RectorPrefix20211129\Psr\Log\LogLevel::WARNING => \RectorPrefix20211129\Tracy\ILogger::WARNING, \RectorPrefix20211129\Psr\Log\LogLevel::NOTICE => \RectorPrefix20211129\Tracy\ILogger::WARNING, \RectorPrefix20211129\Psr\Log\LogLevel::INFO => \RectorPrefix20211129\Tracy\ILogger::INFO, \RectorPrefix20211129\Psr\Log\LogLevel::DEBUG => \RectorPrefix20211129\Tracy\ILogger::DEBUG]; + private const LEVEL_MAP = [\RectorPrefix20211130\Psr\Log\LogLevel::EMERGENCY => \RectorPrefix20211130\Tracy\ILogger::CRITICAL, \RectorPrefix20211130\Psr\Log\LogLevel::ALERT => \RectorPrefix20211130\Tracy\ILogger::CRITICAL, \RectorPrefix20211130\Psr\Log\LogLevel::CRITICAL => \RectorPrefix20211130\Tracy\ILogger::CRITICAL, \RectorPrefix20211130\Psr\Log\LogLevel::ERROR => \RectorPrefix20211130\Tracy\ILogger::ERROR, \RectorPrefix20211130\Psr\Log\LogLevel::WARNING => \RectorPrefix20211130\Tracy\ILogger::WARNING, \RectorPrefix20211130\Psr\Log\LogLevel::NOTICE => \RectorPrefix20211130\Tracy\ILogger::WARNING, \RectorPrefix20211130\Psr\Log\LogLevel::INFO => \RectorPrefix20211130\Tracy\ILogger::INFO, \RectorPrefix20211130\Psr\Log\LogLevel::DEBUG => \RectorPrefix20211130\Tracy\ILogger::DEBUG]; /** @var Tracy\ILogger */ private $tracyLogger; - public function __construct(\RectorPrefix20211129\Tracy\ILogger $tracyLogger) + public function __construct(\RectorPrefix20211130\Tracy\ILogger $tracyLogger) { $this->tracyLogger = $tracyLogger; } public function log($level, $message, array $context = []) : void { - $level = self::LEVEL_MAP[$level] ?? \RectorPrefix20211129\Tracy\ILogger::ERROR; + $level = self::LEVEL_MAP[$level] ?? \RectorPrefix20211130\Tracy\ILogger::ERROR; if (isset($context['exception']) && $context['exception'] instanceof \Throwable) { $this->tracyLogger->log($context['exception'], $level); unset($context['exception']); diff --git a/vendor/tracy/tracy/src/Tracy/Bar/Bar.php b/vendor/tracy/tracy/src/Tracy/Bar/Bar.php index 439ac967a13..2e716abb4a1 100644 --- a/vendor/tracy/tracy/src/Tracy/Bar/Bar.php +++ b/vendor/tracy/tracy/src/Tracy/Bar/Bar.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; /** * Debug Bar. @@ -39,7 +39,7 @@ class Bar * Returns panel with given id * @param string $id */ - public function getPanel($id) : ?\RectorPrefix20211129\Tracy\IBarPanel + public function getPanel($id) : ?\RectorPrefix20211130\Tracy\IBarPanel { return $this->panels[$id] ?? null; } @@ -53,7 +53,7 @@ class Bar throw new \LogicException('Start session before Tracy is enabled.'); } $contentId = $this->contentId = $this->contentId ?: \substr(\md5(\uniqid('', \true)), 0, 10); - $nonce = \RectorPrefix20211129\Tracy\Helpers::getNonce(); + $nonce = \RectorPrefix20211130\Tracy\Helpers::getNonce(); $async = \true; require __DIR__ . '/assets/loader.phtml'; } @@ -71,7 +71,7 @@ class Bar return isset($item['time']) && $item['time'] > \time() - 60; }); } - if (\RectorPrefix20211129\Tracy\Helpers::isAjax()) { + if (\RectorPrefix20211130\Tracy\Helpers::isAjax()) { if ($useSession) { $contentId = $_SERVER['HTTP_X_TRACY_AJAX']; $_SESSION['_tracy']['bar'][$contentId] = ['content' => $this->renderHtml('ajax', '-ajax:' . $contentId), 'time' => \time()]; @@ -81,7 +81,7 @@ class Bar if ($useSession) { $redirectQueue[] = ['content' => $this->renderHtml('redirect', '-r' . \count($redirectQueue)), 'time' => \time()]; } - } elseif (\RectorPrefix20211129\Tracy\Helpers::isHtmlMode()) { + } elseif (\RectorPrefix20211130\Tracy\Helpers::isHtmlMode()) { $content = $this->renderHtml('main'); foreach (\array_reverse((array) $redirectQueue) as $item) { $content['bar'] .= $item['content']['bar']; @@ -93,7 +93,7 @@ class Bar $_SESSION['_tracy']['bar'][$this->contentId] = ['content' => $content, 'time' => \time()]; } else { $contentId = \substr(\md5(\uniqid('', \true)), 0, 10); - $nonce = \RectorPrefix20211129\Tracy\Helpers::getNonce(); + $nonce = \RectorPrefix20211130\Tracy\Helpers::getNonce(); $async = \false; require __DIR__ . '/assets/loader.phtml'; } @@ -102,9 +102,9 @@ class Bar private function renderHtml(string $type, string $suffix = '') : array { $panels = $this->renderPanels($suffix); - return ['bar' => \RectorPrefix20211129\Tracy\Helpers::capture(function () use($type, $panels) { + return ['bar' => \RectorPrefix20211130\Tracy\Helpers::capture(function () use($type, $panels) { require __DIR__ . '/assets/bar.phtml'; - }), 'panels' => \RectorPrefix20211129\Tracy\Helpers::capture(function () use($type, $panels) { + }), 'panels' => \RectorPrefix20211130\Tracy\Helpers::capture(function () use($type, $panels) { require __DIR__ . '/assets/panels.phtml'; })]; } @@ -129,7 +129,7 @@ class Bar } $idHtml = "error-{$idHtml}"; $tab = "Error in {$id}"; - $panelHtml = "

Error: {$id}

" . \nl2br(\RectorPrefix20211129\Tracy\Helpers::escapeHtml($e)) . '
'; + $panelHtml = "

Error: {$id}

" . \nl2br(\RectorPrefix20211130\Tracy\Helpers::escapeHtml($e)) . '
'; unset($e); } $panels[] = (object) ['id' => $idHtml, 'tab' => $tab, 'panel' => $panelHtml]; @@ -153,7 +153,7 @@ class Bar return \true; } $this->useSession = \session_status() === \PHP_SESSION_ACTIVE; - if ($this->useSession && \RectorPrefix20211129\Tracy\Helpers::isAjax()) { + if ($this->useSession && \RectorPrefix20211130\Tracy\Helpers::isAjax()) { \header('X-Tracy-Ajax: 1'); // session must be already locked } @@ -181,11 +181,11 @@ class Bar } private function renderAssets() : void { - $css = \array_map('file_get_contents', \array_merge([__DIR__ . '/assets/bar.css', __DIR__ . '/../Toggle/toggle.css', __DIR__ . '/../TableSort/table-sort.css', __DIR__ . '/../Dumper/assets/dumper-light.css', __DIR__ . '/../Dumper/assets/dumper-dark.css', __DIR__ . '/../BlueScreen/assets/bluescreen.css'], \RectorPrefix20211129\Tracy\Debugger::$customCssFiles)); - echo "'use strict';\n(function(){\n\tvar el = document.createElement('style');\n\tel.setAttribute('nonce', document.currentScript.getAttribute('nonce') || document.currentScript.nonce);\n\tel.className='tracy-debug';\n\tel.textContent=" . \json_encode(\RectorPrefix20211129\Tracy\Helpers::minifyCss(\implode($css))) . ";\n\tdocument.head.appendChild(el);})\n();\n"; + $css = \array_map('file_get_contents', \array_merge([__DIR__ . '/assets/bar.css', __DIR__ . '/../Toggle/toggle.css', __DIR__ . '/../TableSort/table-sort.css', __DIR__ . '/../Dumper/assets/dumper-light.css', __DIR__ . '/../Dumper/assets/dumper-dark.css', __DIR__ . '/../BlueScreen/assets/bluescreen.css'], \RectorPrefix20211130\Tracy\Debugger::$customCssFiles)); + echo "'use strict';\n(function(){\n\tvar el = document.createElement('style');\n\tel.setAttribute('nonce', document.currentScript.getAttribute('nonce') || document.currentScript.nonce);\n\tel.className='tracy-debug';\n\tel.textContent=" . \json_encode(\RectorPrefix20211130\Tracy\Helpers::minifyCss(\implode($css))) . ";\n\tdocument.head.appendChild(el);})\n();\n"; \array_map(function ($file) { echo '(function() {', \file_get_contents($file), '})();'; }, [__DIR__ . '/assets/bar.js', __DIR__ . '/../Toggle/toggle.js', __DIR__ . '/../TableSort/table-sort.js', __DIR__ . '/../Dumper/assets/dumper.js', __DIR__ . '/../BlueScreen/assets/bluescreen.js']); - \array_map('readfile', \RectorPrefix20211129\Tracy\Debugger::$customJsFiles); + \array_map('readfile', \RectorPrefix20211130\Tracy\Debugger::$customJsFiles); } } diff --git a/vendor/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php b/vendor/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php index 2791a5c9431..5aaaedc6cb1 100644 --- a/vendor/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php +++ b/vendor/tracy/tracy/src/Tracy/Bar/DefaultBarPanel.php @@ -5,13 +5,13 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; /** * IBarPanel implementation helper. * @internal */ -class DefaultBarPanel implements \RectorPrefix20211129\Tracy\IBarPanel +class DefaultBarPanel implements \RectorPrefix20211130\Tracy\IBarPanel { public $data; private $id; @@ -24,7 +24,7 @@ class DefaultBarPanel implements \RectorPrefix20211129\Tracy\IBarPanel */ public function getTab() : string { - return \RectorPrefix20211129\Tracy\Helpers::capture(function () { + return \RectorPrefix20211130\Tracy\Helpers::capture(function () { $data = $this->data; require __DIR__ . "/panels/{$this->id}.tab.phtml"; }); @@ -34,7 +34,7 @@ class DefaultBarPanel implements \RectorPrefix20211129\Tracy\IBarPanel */ public function getPanel() : string { - return \RectorPrefix20211129\Tracy\Helpers::capture(function () { + return \RectorPrefix20211130\Tracy\Helpers::capture(function () { if (\is_file(__DIR__ . "/panels/{$this->id}.panel.phtml")) { $data = $this->data; require __DIR__ . "/panels/{$this->id}.panel.phtml"; diff --git a/vendor/tracy/tracy/src/Tracy/Bar/IBarPanel.php b/vendor/tracy/tracy/src/Tracy/Bar/IBarPanel.php index 3c6cb795a02..861f998bab3 100644 --- a/vendor/tracy/tracy/src/Tracy/Bar/IBarPanel.php +++ b/vendor/tracy/tracy/src/Tracy/Bar/IBarPanel.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; /** * Custom output for Debugger. diff --git a/vendor/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php b/vendor/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php index 99bdaa2d919..23f5044c9e6 100644 --- a/vendor/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php +++ b/vendor/tracy/tracy/src/Tracy/BlueScreen/BlueScreen.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; /** * Red BlueScreen. @@ -65,8 +65,8 @@ class BlueScreen */ public function render($exception) : void { - if (\RectorPrefix20211129\Tracy\Helpers::isAjax() && \session_status() === \PHP_SESSION_ACTIVE) { - $_SESSION['_tracy']['bluescreen'][$_SERVER['HTTP_X_TRACY_AJAX']] = ['content' => \RectorPrefix20211129\Tracy\Helpers::capture(function () use($exception) { + if (\RectorPrefix20211130\Tracy\Helpers::isAjax() && \session_status() === \PHP_SESSION_ACTIVE) { + $_SESSION['_tracy']['bluescreen'][$_SERVER['HTTP_X_TRACY_AJAX']] = ['content' => \RectorPrefix20211130\Tracy\Helpers::capture(function () use($exception) { $this->renderTemplate($exception, __DIR__ . '/assets/content.phtml'); }), 'time' => \time()]; } else { @@ -100,11 +100,11 @@ class BlueScreen private function renderTemplate(\Throwable $exception, string $template, $toScreen = \true) : void { $headersSent = \headers_sent($headersFile, $headersLine); - $obStatus = \RectorPrefix20211129\Tracy\Debugger::$obStatus; + $obStatus = \RectorPrefix20211130\Tracy\Debugger::$obStatus; $showEnvironment = $this->showEnvironment && \strpos($exception->getMessage(), 'Allowed memory size') === \false; $info = \array_filter($this->info); - $source = \RectorPrefix20211129\Tracy\Helpers::getSource(); - $title = $exception instanceof \ErrorException ? \RectorPrefix20211129\Tracy\Helpers::errorTypeToString($exception->getSeverity()) : \RectorPrefix20211129\Tracy\Helpers::getClass($exception); + $source = \RectorPrefix20211130\Tracy\Helpers::getSource(); + $title = $exception instanceof \ErrorException ? \RectorPrefix20211130\Tracy\Helpers::errorTypeToString($exception->getSeverity()) : \RectorPrefix20211130\Tracy\Helpers::getClass($exception); $lastError = $exception instanceof \ErrorException || $exception instanceof \Error ? null : \error_get_last(); if (\function_exists('apache_request_headers')) { $httpHeaders = \apache_request_headers(); @@ -119,9 +119,9 @@ class BlueScreen $snapshot =& $this->snapshot; $snapshot = []; $dump = $this->getDumper(); - $css = \array_map('file_get_contents', \array_merge([__DIR__ . '/assets/bluescreen.css', __DIR__ . '/../Toggle/toggle.css', __DIR__ . '/../TableSort/table-sort.css', __DIR__ . '/../Dumper/assets/dumper-light.css'], \RectorPrefix20211129\Tracy\Debugger::$customCssFiles)); - $css = \RectorPrefix20211129\Tracy\Helpers::minifyCss(\implode($css)); - $nonce = $toScreen ? \RectorPrefix20211129\Tracy\Helpers::getNonce() : null; + $css = \array_map('file_get_contents', \array_merge([__DIR__ . '/assets/bluescreen.css', __DIR__ . '/../Toggle/toggle.css', __DIR__ . '/../TableSort/table-sort.css', __DIR__ . '/../Dumper/assets/dumper-light.css'], \RectorPrefix20211130\Tracy\Debugger::$customCssFiles)); + $css = \RectorPrefix20211130\Tracy\Helpers::minifyCss(\implode($css)); + $nonce = $toScreen ? \RectorPrefix20211130\Tracy\Helpers::getNonce() : null; $actions = $toScreen ? $this->renderActions($exception) : []; require $template; } @@ -147,7 +147,7 @@ class BlueScreen \ob_end_clean(); } \is_callable($callback, \true, $name); - $res[] = (object) ['tab' => "Error in panel {$name}", 'panel' => \nl2br(\RectorPrefix20211129\Tracy\Helpers::escapeHtml($e))]; + $res[] = (object) ['tab' => "Error in panel {$name}", 'panel' => \nl2br(\RectorPrefix20211130\Tracy\Helpers::escapeHtml($e))]; } return $res; } @@ -168,17 +168,17 @@ class BlueScreen } if (\preg_match('# ([\'"])(\\w{3,}(?:\\\\\\w{3,})+)\\1#i', $ex->getMessage(), $m)) { $class = $m[2]; - if (!\class_exists($class, \false) && !\interface_exists($class, \false) && !\trait_exists($class, \false) && ($file = \RectorPrefix20211129\Tracy\Helpers::guessClassFile($class)) && !\is_file($file)) { - $actions[] = ['link' => \RectorPrefix20211129\Tracy\Helpers::editorUri($file, 1, 'create'), 'label' => 'create class']; + if (!\class_exists($class, \false) && !\interface_exists($class, \false) && !\trait_exists($class, \false) && ($file = \RectorPrefix20211130\Tracy\Helpers::guessClassFile($class)) && !\is_file($file)) { + $actions[] = ['link' => \RectorPrefix20211130\Tracy\Helpers::editorUri($file, 1, 'create'), 'label' => 'create class']; } } if (\preg_match('# ([\'"])((?:/|[a-z]:[/\\\\])\\w[^\'"]+\\.\\w{2,5})\\1#i', $ex->getMessage(), $m)) { $file = $m[2]; - $actions[] = ['link' => \RectorPrefix20211129\Tracy\Helpers::editorUri($file, 1, $label = \is_file($file) ? 'open' : 'create'), 'label' => $label . ' file']; + $actions[] = ['link' => \RectorPrefix20211130\Tracy\Helpers::editorUri($file, 1, $label = \is_file($file) ? 'open' : 'create'), 'label' => $label . ' file']; } - $query = ($ex instanceof \ErrorException ? '' : \RectorPrefix20211129\Tracy\Helpers::getClass($ex) . ' ') . \preg_replace('#\'.*\'|".*"#Us', '', $ex->getMessage()); + $query = ($ex instanceof \ErrorException ? '' : \RectorPrefix20211130\Tracy\Helpers::getClass($ex) . ' ') . \preg_replace('#\'.*\'|".*"#Us', '', $ex->getMessage()); $actions[] = ['link' => 'https://www.google.com/search?sourceid=tracy&q=' . \urlencode($query), 'label' => 'search', 'external' => \true]; - if ($ex instanceof \ErrorException && !empty($ex->skippable) && \preg_match('#^https?://#', $source = \RectorPrefix20211129\Tracy\Helpers::getSource())) { + if ($ex instanceof \ErrorException && !empty($ex->skippable) && \preg_match('#^https?://#', $source = \RectorPrefix20211130\Tracy\Helpers::getSource())) { $actions[] = ['link' => $source . (\strpos($source, '?') ? '&' : '?') . '_tracy_skip_error', 'label' => 'skip error']; } return $actions; @@ -197,8 +197,8 @@ class BlueScreen return null; } $source = static::highlightPhp($source, $line, $lines); - if ($editor = \RectorPrefix20211129\Tracy\Helpers::editorUri($file, $line)) { - $source = \substr_replace($source, ' title="Ctrl-Click to open in editor" data-tracy-href="' . \RectorPrefix20211129\Tracy\Helpers::escapeHtml($editor) . '"', 4, 0); + if ($editor = \RectorPrefix20211130\Tracy\Helpers::editorUri($file, $line)) { + $source = \substr_replace($source, ' title="Ctrl-Click to open in editor" data-tracy-href="' . \RectorPrefix20211130\Tracy\Helpers::escapeHtml($editor) . '"', 4, 0); } return $source; } @@ -312,7 +312,7 @@ class BlueScreen public function getDumper() : \Closure { return function ($v, $k = null) : string { - return \RectorPrefix20211129\Tracy\Dumper::toHtml($v, [\RectorPrefix20211129\Tracy\Dumper::DEPTH => $this->maxDepth, \RectorPrefix20211129\Tracy\Dumper::TRUNCATE => $this->maxLength, \RectorPrefix20211129\Tracy\Dumper::SNAPSHOT => &$this->snapshot, \RectorPrefix20211129\Tracy\Dumper::LOCATION => \RectorPrefix20211129\Tracy\Dumper::LOCATION_CLASS, \RectorPrefix20211129\Tracy\Dumper::SCRUBBER => $this->scrubber, \RectorPrefix20211129\Tracy\Dumper::KEYS_TO_HIDE => $this->keysToHide], $k); + return \RectorPrefix20211130\Tracy\Dumper::toHtml($v, [\RectorPrefix20211130\Tracy\Dumper::DEPTH => $this->maxDepth, \RectorPrefix20211130\Tracy\Dumper::TRUNCATE => $this->maxLength, \RectorPrefix20211130\Tracy\Dumper::SNAPSHOT => &$this->snapshot, \RectorPrefix20211130\Tracy\Dumper::LOCATION => \RectorPrefix20211130\Tracy\Dumper::LOCATION_CLASS, \RectorPrefix20211130\Tracy\Dumper::SCRUBBER => $this->scrubber, \RectorPrefix20211130\Tracy\Dumper::KEYS_TO_HIDE => $this->keysToHide], $k); }; } /** @@ -320,7 +320,7 @@ class BlueScreen */ public function formatMessage($exception) : string { - $msg = \RectorPrefix20211129\Tracy\Helpers::encodeString(\trim((string) $exception->getMessage()), self::MAX_MESSAGE_LENGTH, \false); + $msg = \RectorPrefix20211130\Tracy\Helpers::encodeString(\trim((string) $exception->getMessage()), self::MAX_MESSAGE_LENGTH, \false); // highlight 'string' $msg = \preg_replace('#\'\\S(?:[^\']|\\\\\')*\\S\'|"\\S(?:[^"]|\\\\")*\\S"#', '$0', $msg); // clickable class & methods @@ -333,11 +333,11 @@ class BlueScreen if (empty($r) || !$r->getFileName()) { return $m[0]; } - return '' . $m[0] . ''; + return '' . $m[0] . ''; }, $msg); // clickable file name $msg = \preg_replace_callback('#([\\w\\\\/.:-]+\\.(?:php|phpt|phtml|latte|neon))(?|:(\\d+)| on line (\\d+))?#', function ($m) { - return @\is_file($m[1]) ? '' . $m[0] . '' : $m[0]; + return @\is_file($m[1]) ? '' . $m[0] . '' : $m[0]; }, $msg); return $msg; } @@ -352,7 +352,7 @@ class BlueScreen // @ phpinfo may be disabled $info = \ob_get_clean(); if (\strpos($license, '', \RectorPrefix20211129\Tracy\Helpers::escapeHtml($info), ''; + echo '
', \RectorPrefix20211130\Tracy\Helpers::escapeHtml($info), '
'; } else { $info = \str_replace('|.+\\z#s', '', $info); diff --git a/vendor/tracy/tracy/src/Tracy/Debugger/Debugger.php b/vendor/tracy/tracy/src/Tracy/Debugger/Debugger.php index bb861e9faef..93bdc6cb357 100644 --- a/vendor/tracy/tracy/src/Tracy/Debugger/Debugger.php +++ b/vendor/tracy/tracy/src/Tracy/Debugger/Debugger.php @@ -5,7 +5,7 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; use ErrorException; /** @@ -61,7 +61,7 @@ class Debugger /** @var string|array email(s) to which send error notifications */ public static $email; /** for Debugger::log() and Debugger::fireLog() */ - public const DEBUG = \RectorPrefix20211129\Tracy\ILogger::DEBUG, INFO = \RectorPrefix20211129\Tracy\ILogger::INFO, WARNING = \RectorPrefix20211129\Tracy\ILogger::WARNING, ERROR = \RectorPrefix20211129\Tracy\ILogger::ERROR, EXCEPTION = \RectorPrefix20211129\Tracy\ILogger::EXCEPTION, CRITICAL = \RectorPrefix20211129\Tracy\ILogger::CRITICAL; + public const DEBUG = \RectorPrefix20211130\Tracy\ILogger::DEBUG, INFO = \RectorPrefix20211130\Tracy\ILogger::INFO, WARNING = \RectorPrefix20211130\Tracy\ILogger::WARNING, ERROR = \RectorPrefix20211130\Tracy\ILogger::ERROR, EXCEPTION = \RectorPrefix20211130\Tracy\ILogger::EXCEPTION, CRITICAL = \RectorPrefix20211130\Tracy\ILogger::CRITICAL; /********************* misc ****************d*g**/ /** @var float timestamp with microseconds of the start of the request */ public static $time; @@ -154,7 +154,7 @@ class Debugger } public static function dispatch() : void { - if (self::$productionMode || \RectorPrefix20211129\Tracy\Helpers::isCli()) { + if (self::$productionMode || \RectorPrefix20211130\Tracy\Helpers::isCli()) { return; } elseif (\headers_sent($file, $line) || \ob_get_length()) { throw new \LogicException(__METHOD__ . '() called after some output has been sent. ' . ($file ? "Output started at {$file}:{$line}." : 'Try Tracy\\OutputDebugger to find where output started.')); @@ -191,7 +191,7 @@ class Debugger { $error = \error_get_last(); if (\in_array($error['type'] ?? null, [\E_ERROR, \E_CORE_ERROR, \E_COMPILE_ERROR, \E_PARSE, \E_RECOVERABLE_ERROR, \E_USER_ERROR], \true)) { - self::exceptionHandler(\RectorPrefix20211129\Tracy\Helpers::fixStack(new \ErrorException($error['message'], 0, $error['type'], $error['file'], $error['line']))); + self::exceptionHandler(\RectorPrefix20211130\Tracy\Helpers::fixStack(new \ErrorException($error['message'], 0, $error['type'], $error['file'], $error['line']))); } elseif (($error['type'] ?? null) === \E_COMPILE_WARNING) { \error_clear_last(); self::errorHandler($error['type'], $error['message'], $error['file'], $error['line']); @@ -219,7 +219,7 @@ class Debugger if (!\headers_sent()) { \http_response_code(isset($_SERVER['HTTP_USER_AGENT']) && \strpos($_SERVER['HTTP_USER_AGENT'], 'MSIE ') !== \false ? 503 : 500); } - \RectorPrefix20211129\Tracy\Helpers::improveException($exception); + \RectorPrefix20211130\Tracy\Helpers::improveException($exception); self::removeOutputBuffers(\true); if (self::$productionMode || \connection_aborted()) { try { @@ -228,18 +228,18 @@ class Debugger } if (!$firstTime) { // nothing - } elseif (\RectorPrefix20211129\Tracy\Helpers::isHtmlMode()) { + } elseif (\RectorPrefix20211130\Tracy\Helpers::isHtmlMode()) { if (!\headers_sent()) { \header('Content-Type: text/html; charset=UTF-8'); } (function ($logged) use($exception) { require self::$errorTemplate ?: __DIR__ . '/assets/error.500.phtml'; })(empty($e)); - } elseif (\RectorPrefix20211129\Tracy\Helpers::isCli()) { + } elseif (\RectorPrefix20211130\Tracy\Helpers::isCli()) { // @ triggers E_NOTICE when strerr is closed since PHP 7.4 @\fwrite(\STDERR, "ERROR: {$exception->getMessage()}\n" . (isset($e) ? 'Unable to log error. You may try enable debug mode to inspect the problem.' : 'Check log to see more info.') . "\n"); } - } elseif ($firstTime && \RectorPrefix20211129\Tracy\Helpers::isHtmlMode() || \RectorPrefix20211129\Tracy\Helpers::isAjax()) { + } elseif ($firstTime && \RectorPrefix20211130\Tracy\Helpers::isHtmlMode() || \RectorPrefix20211130\Tracy\Helpers::isAjax()) { self::getBlueScreen()->render($exception); } else { self::fireLog($exception); @@ -248,8 +248,8 @@ class Debugger if ($file && !\headers_sent()) { \header("X-Tracy-Error-Log: {$file}", \false); } - if (\RectorPrefix20211129\Tracy\Helpers::detectColors()) { - echo "\n\n" . \RectorPrefix20211129\Tracy\BlueScreen::highlightPhpCli($exception->getFile(), $exception->getLine()) . "\n"; + if (\RectorPrefix20211130\Tracy\Helpers::detectColors()) { + echo "\n\n" . \RectorPrefix20211130\Tracy\BlueScreen::highlightPhpCli($exception->getFile(), $exception->getLine()) . "\n"; } echo "{$exception}\n" . ($file ? "\n(stored in {$file})\n" : ''); if ($file && self::$browser) { @@ -296,7 +296,7 @@ class Debugger // workaround for PHP bug #80234 } if ($severity === \E_RECOVERABLE_ERROR || $severity === \E_USER_ERROR) { - if (\RectorPrefix20211129\Tracy\Helpers::findTrace(\debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS), '*::__toString')) { + if (\RectorPrefix20211130\Tracy\Helpers::findTrace(\debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS), '*::__toString')) { // workaround for PHP < 7.4 $previous = isset($context['e']) && $context['e'] instanceof \Throwable ? $context['e'] : null; $e = new \ErrorException($message, 0, $severity, $file, $line, $previous); @@ -313,9 +313,9 @@ class Debugger if (($severity & self::$logSeverity) === $severity) { $e = new \ErrorException($message, 0, $severity, $file, $line); $e->context = $context; - \RectorPrefix20211129\Tracy\Helpers::improveException($e); + \RectorPrefix20211130\Tracy\Helpers::improveException($e); } else { - $e = 'PHP ' . \RectorPrefix20211129\Tracy\Helpers::errorTypeToString($severity) . ': ' . \RectorPrefix20211129\Tracy\Helpers::improveError($message, (array) $context) . " in {$file}:{$line}"; + $e = 'PHP ' . \RectorPrefix20211130\Tracy\Helpers::errorTypeToString($severity) . ': ' . \RectorPrefix20211130\Tracy\Helpers::improveError($message, (array) $context) . " in {$file}:{$line}"; } try { self::log($e, self::ERROR); @@ -328,14 +328,14 @@ class Debugger self::exceptionHandler($e); exit(255); } else { - $message = 'PHP ' . \RectorPrefix20211129\Tracy\Helpers::errorTypeToString($severity) . ': ' . \RectorPrefix20211129\Tracy\Helpers::improveError($message, (array) $context); + $message = 'PHP ' . \RectorPrefix20211130\Tracy\Helpers::errorTypeToString($severity) . ': ' . \RectorPrefix20211130\Tracy\Helpers::improveError($message, (array) $context); $count =& self::getBar()->getPanel('Tracy:errors')->data["{$file}|{$line}|{$message}"]; if ($count++) { // repeated error return null; } else { self::fireLog(new \ErrorException($message, 0, $severity, $file, $line)); - return \RectorPrefix20211129\Tracy\Helpers::isHtmlMode() || \RectorPrefix20211129\Tracy\Helpers::isAjax() ? null : \false; + return \RectorPrefix20211130\Tracy\Helpers::isHtmlMode() || \RectorPrefix20211130\Tracy\Helpers::isAjax() ? null : \false; // false calls normal error handler } } @@ -357,21 +357,21 @@ class Debugger } } /********************* services ****************d*g**/ - public static function getBlueScreen() : \RectorPrefix20211129\Tracy\BlueScreen + public static function getBlueScreen() : \RectorPrefix20211130\Tracy\BlueScreen { if (!self::$blueScreen) { - self::$blueScreen = new \RectorPrefix20211129\Tracy\BlueScreen(); + self::$blueScreen = new \RectorPrefix20211130\Tracy\BlueScreen(); self::$blueScreen->info = ['PHP ' . \PHP_VERSION, $_SERVER['SERVER_SOFTWARE'] ?? null, 'Tracy ' . self::VERSION]; } return self::$blueScreen; } - public static function getBar() : \RectorPrefix20211129\Tracy\Bar + public static function getBar() : \RectorPrefix20211130\Tracy\Bar { if (!self::$bar) { - self::$bar = new \RectorPrefix20211129\Tracy\Bar(); - self::$bar->addPanel($info = new \RectorPrefix20211129\Tracy\DefaultBarPanel('info'), 'Tracy:info'); + self::$bar = new \RectorPrefix20211130\Tracy\Bar(); + self::$bar->addPanel($info = new \RectorPrefix20211130\Tracy\DefaultBarPanel('info'), 'Tracy:info'); $info->cpuUsage = self::$cpuUsage; - self::$bar->addPanel(new \RectorPrefix20211129\Tracy\DefaultBarPanel('errors'), 'Tracy:errors'); + self::$bar->addPanel(new \RectorPrefix20211130\Tracy\DefaultBarPanel('errors'), 'Tracy:errors'); // filled by errorHandler() } return self::$bar; @@ -383,20 +383,20 @@ class Debugger { self::$logger = $logger; } - public static function getLogger() : \RectorPrefix20211129\Tracy\ILogger + public static function getLogger() : \RectorPrefix20211130\Tracy\ILogger { if (!self::$logger) { - self::$logger = new \RectorPrefix20211129\Tracy\Logger(self::$logDirectory, self::$email, self::getBlueScreen()); + self::$logger = new \RectorPrefix20211130\Tracy\Logger(self::$logDirectory, self::$email, self::getBlueScreen()); self::$logger->directory =& self::$logDirectory; // back compatiblity self::$logger->email =& self::$email; } return self::$logger; } - public static function getFireLogger() : \RectorPrefix20211129\Tracy\ILogger + public static function getFireLogger() : \RectorPrefix20211130\Tracy\ILogger { if (!self::$fireLogger) { - self::$fireLogger = new \RectorPrefix20211129\Tracy\FireLogger(); + self::$fireLogger = new \RectorPrefix20211130\Tracy\FireLogger(); } return self::$fireLogger; } @@ -411,12 +411,12 @@ class Debugger public static function dump($var, $return = \false) { if ($return) { - $options = [\RectorPrefix20211129\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211129\Tracy\Dumper::TRUNCATE => self::$maxLength]; - return \RectorPrefix20211129\Tracy\Helpers::isCli() ? \RectorPrefix20211129\Tracy\Dumper::toText($var) : \RectorPrefix20211129\Tracy\Helpers::capture(function () use($var, $options) { - \RectorPrefix20211129\Tracy\Dumper::dump($var, $options); + $options = [\RectorPrefix20211130\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211130\Tracy\Dumper::TRUNCATE => self::$maxLength]; + return \RectorPrefix20211130\Tracy\Helpers::isCli() ? \RectorPrefix20211130\Tracy\Dumper::toText($var) : \RectorPrefix20211130\Tracy\Helpers::capture(function () use($var, $options) { + \RectorPrefix20211130\Tracy\Dumper::dump($var, $options); }); } elseif (!self::$productionMode) { - \RectorPrefix20211129\Tracy\Dumper::dump($var, [\RectorPrefix20211129\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211129\Tracy\Dumper::TRUNCATE => self::$maxLength, \RectorPrefix20211129\Tracy\Dumper::LOCATION => self::$showLocation, \RectorPrefix20211129\Tracy\Dumper::THEME => self::$dumpTheme, \RectorPrefix20211129\Tracy\Dumper::KEYS_TO_HIDE => self::$keysToHide]); + \RectorPrefix20211130\Tracy\Dumper::dump($var, [\RectorPrefix20211130\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211130\Tracy\Dumper::TRUNCATE => self::$maxLength, \RectorPrefix20211130\Tracy\Dumper::LOCATION => self::$showLocation, \RectorPrefix20211130\Tracy\Dumper::THEME => self::$dumpTheme, \RectorPrefix20211130\Tracy\Dumper::KEYS_TO_HIDE => self::$keysToHide]); } return $var; } @@ -446,9 +446,9 @@ class Debugger if (!self::$productionMode) { static $panel; if (!$panel) { - self::getBar()->addPanel($panel = new \RectorPrefix20211129\Tracy\DefaultBarPanel('dumps'), 'Tracy:dumps'); + self::getBar()->addPanel($panel = new \RectorPrefix20211130\Tracy\DefaultBarPanel('dumps'), 'Tracy:dumps'); } - $panel->data[] = ['title' => $title, 'dump' => \RectorPrefix20211129\Tracy\Dumper::toHtml($var, $options + [\RectorPrefix20211129\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211129\Tracy\Dumper::TRUNCATE => self::$maxLength, \RectorPrefix20211129\Tracy\Dumper::LOCATION => self::$showLocation ?: \RectorPrefix20211129\Tracy\Dumper::LOCATION_CLASS | \RectorPrefix20211129\Tracy\Dumper::LOCATION_SOURCE, \RectorPrefix20211129\Tracy\Dumper::LAZY => \true])]; + $panel->data[] = ['title' => $title, 'dump' => \RectorPrefix20211130\Tracy\Dumper::toHtml($var, $options + [\RectorPrefix20211130\Tracy\Dumper::DEPTH => self::$maxDepth, \RectorPrefix20211130\Tracy\Dumper::TRUNCATE => self::$maxLength, \RectorPrefix20211130\Tracy\Dumper::LOCATION => self::$showLocation ?: \RectorPrefix20211130\Tracy\Dumper::LOCATION_CLASS | \RectorPrefix20211130\Tracy\Dumper::LOCATION_SOURCE, \RectorPrefix20211130\Tracy\Dumper::LAZY => \true])]; } return $var; } @@ -458,7 +458,7 @@ class Debugger * @return mixed * @param string $level */ - public static function log($message, $level = \RectorPrefix20211129\Tracy\ILogger::INFO) + public static function log($message, $level = \RectorPrefix20211130\Tracy\ILogger::INFO) { return self::getLogger()->log($message, $level); } diff --git a/vendor/tracy/tracy/src/Tracy/Dumper/Describer.php b/vendor/tracy/tracy/src/Tracy/Dumper/Describer.php index 5c639a3d107..878cc840069 100644 --- a/vendor/tracy/tracy/src/Tracy/Dumper/Describer.php +++ b/vendor/tracy/tracy/src/Tracy/Dumper/Describer.php @@ -5,9 +5,9 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy\Dumper; +namespace RectorPrefix20211130\Tracy\Dumper; -use RectorPrefix20211129\Tracy\Helpers; +use RectorPrefix20211130\Tracy\Helpers; /** * Converts PHP values to internal representation. * @internal @@ -68,7 +68,7 @@ final class Describer */ private function describeInteger(int $num) { - return $num <= self::JS_SAFE_INTEGER && $num >= -self::JS_SAFE_INTEGER ? $num : new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_NUMBER, "{$num}"); + return $num <= self::JS_SAFE_INTEGER && $num >= -self::JS_SAFE_INTEGER ? $num : new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_NUMBER, "{$num}"); } /** * @return Value|float @@ -76,10 +76,10 @@ final class Describer private function describeDouble(float $num) { if (!\is_finite($num)) { - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_NUMBER, (string) $num); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_NUMBER, (string) $num); } $js = \json_encode($num); - return \strpos($js, '.') ? $num : new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_NUMBER, "{$js}.0"); + return \strpos($js, '.') ? $num : new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_NUMBER, "{$js}.0"); // to distinct int and float in JS } /** @@ -87,13 +87,13 @@ final class Describer */ private function describeString(string $s, int $depth = 0) { - $encoded = \RectorPrefix20211129\Tracy\Helpers::encodeString($s, $depth ? $this->maxLength : null); + $encoded = \RectorPrefix20211130\Tracy\Helpers::encodeString($s, $depth ? $this->maxLength : null); if ($encoded === $s) { return $encoded; - } elseif (\RectorPrefix20211129\Tracy\Helpers::isUtf8($s)) { - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_STRING_HTML, $encoded, \RectorPrefix20211129\Tracy\Helpers::utf8Length($s)); + } elseif (\RectorPrefix20211130\Tracy\Helpers::isUtf8($s)) { + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_STRING_HTML, $encoded, \RectorPrefix20211130\Tracy\Helpers::utf8Length($s)); } else { - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_BINARY_HTML, $encoded, \strlen($s)); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_BINARY_HTML, $encoded, \strlen($s)); } } /** @@ -102,12 +102,12 @@ final class Describer private function describeArray(array $arr, int $depth = 0, int $refId = null) { if ($refId) { - $res = new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_REF, 'p' . $refId); + $res = new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_REF, 'p' . $refId); $value =& $this->snapshot[$res->value]; if ($value && $value->depth <= $depth) { return $res; } - $value = new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_ARRAY); + $value = new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_ARRAY); $value->id = $res->value; $value->depth = $depth; if ($this->maxDepth && $depth >= $this->maxDepth) { @@ -119,9 +119,9 @@ final class Describer } $items =& $value->items; } elseif ($arr && $this->maxDepth && $depth >= $this->maxDepth) { - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_ARRAY, null, \count($arr)); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_ARRAY, null, \count($arr)); } elseif ($depth && $this->maxItems && \count($arr) > $this->maxItems) { - $res = new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_ARRAY, null, \count($arr)); + $res = new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_ARRAY, null, \count($arr)); $res->depth = $depth; $items =& $res->items; $arr = \array_slice($arr, 0, $this->maxItems, \true); @@ -129,28 +129,28 @@ final class Describer $items = []; foreach ($arr as $k => $v) { $refId = $this->getReferenceId($arr, $k); - $items[] = [$this->describeVar($k, $depth + 1), $this->isSensitive((string) $k, $v) ? new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_TEXT, self::hideValue($v)) : $this->describeVar($v, $depth + 1, $refId)] + ($refId ? [2 => $refId] : []); + $items[] = [$this->describeVar($k, $depth + 1), $this->isSensitive((string) $k, $v) ? new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_TEXT, self::hideValue($v)) : $this->describeVar($v, $depth + 1, $refId)] + ($refId ? [2 => $refId] : []); } return $res ?? $items; } /** * @param object $obj */ - private function describeObject($obj, int $depth = 0) : \RectorPrefix20211129\Tracy\Dumper\Value + private function describeObject($obj, int $depth = 0) : \RectorPrefix20211130\Tracy\Dumper\Value { $id = \spl_object_id($obj); $value =& $this->snapshot[$id]; if ($value && $value->depth <= $depth) { - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_REF, $id); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_REF, $id); } - $value = new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_OBJECT, \RectorPrefix20211129\Tracy\Helpers::getClass($obj)); + $value = new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_OBJECT, \RectorPrefix20211130\Tracy\Helpers::getClass($obj)); $value->id = $id; $value->depth = $depth; $value->holder = $obj; // to be not released by garbage collector in collecting mode if ($this->location) { $rc = $obj instanceof \Closure ? new \ReflectionFunction($obj) : new \ReflectionClass($obj); - if ($rc->getFileName() && ($editor = \RectorPrefix20211129\Tracy\Helpers::editorUri($rc->getFileName(), $rc->getStartLine()))) { + if ($rc->getFileName() && ($editor = \RectorPrefix20211130\Tracy\Helpers::editorUri($rc->getFileName(), $rc->getStartLine()))) { $value->editor = (object) ['file' => $rc->getFileName(), 'line' => $rc->getStartLine(), 'url' => $editor]; } } @@ -158,21 +158,21 @@ final class Describer $value->items = []; $props = $this->exposeObject($obj, $value); foreach ($props ?? [] as $k => $v) { - $this->addPropertyTo($value, (string) $k, $v, \RectorPrefix20211129\Tracy\Dumper\Value::PROP_VIRTUAL, $this->getReferenceId($props, $k)); + $this->addPropertyTo($value, (string) $k, $v, \RectorPrefix20211130\Tracy\Dumper\Value::PROP_VIRTUAL, $this->getReferenceId($props, $k)); } } - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_REF, $id); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_REF, $id); } /** * @param resource $resource */ - private function describeResource($resource, int $depth = 0) : \RectorPrefix20211129\Tracy\Dumper\Value + private function describeResource($resource, int $depth = 0) : \RectorPrefix20211130\Tracy\Dumper\Value { $id = 'r' . (int) $resource; $value =& $this->snapshot[$id]; if (!$value) { $type = \is_resource($resource) ? \get_resource_type($resource) : 'closed'; - $value = new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_RESOURCE, $type . ' resource'); + $value = new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_RESOURCE, $type . ' resource'); $value->id = $id; $value->depth = $depth; $value->items = []; @@ -182,7 +182,7 @@ final class Describer } } } - return new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_REF, $id); + return new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_REF, $id); } /** * @return Value|string @@ -193,21 +193,21 @@ final class Describer return $key; } $value = $this->describeString($key); - return \is_string($value) ? new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_STRING_HTML, $key, \RectorPrefix20211129\Tracy\Helpers::utf8Length($key)) : $value; + return \is_string($value) ? new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_STRING_HTML, $key, \RectorPrefix20211130\Tracy\Helpers::utf8Length($key)) : $value; } - public function addPropertyTo(\RectorPrefix20211129\Tracy\Dumper\Value $value, string $k, $v, $type = \RectorPrefix20211129\Tracy\Dumper\Value::PROP_VIRTUAL, int $refId = null, string $class = null) + public function addPropertyTo(\RectorPrefix20211130\Tracy\Dumper\Value $value, string $k, $v, $type = \RectorPrefix20211130\Tracy\Dumper\Value::PROP_VIRTUAL, int $refId = null, string $class = null) { if ($value->depth && $this->maxItems && \count($value->items ?? []) >= $this->maxItems) { $value->length = ($value->length ?? \count($value->items)) + 1; return; } $class = $class ?? $value->value; - $value->items[] = [$this->describeKey($k), $type !== \RectorPrefix20211129\Tracy\Dumper\Value::PROP_VIRTUAL && $this->isSensitive($k, $v, $class) ? new \RectorPrefix20211129\Tracy\Dumper\Value(\RectorPrefix20211129\Tracy\Dumper\Value::TYPE_TEXT, self::hideValue($v)) : $this->describeVar($v, $value->depth + 1, $refId), $type === \RectorPrefix20211129\Tracy\Dumper\Value::PROP_PRIVATE ? $class : $type] + ($refId ? [3 => $refId] : []); + $value->items[] = [$this->describeKey($k), $type !== \RectorPrefix20211130\Tracy\Dumper\Value::PROP_VIRTUAL && $this->isSensitive($k, $v, $class) ? new \RectorPrefix20211130\Tracy\Dumper\Value(\RectorPrefix20211130\Tracy\Dumper\Value::TYPE_TEXT, self::hideValue($v)) : $this->describeVar($v, $value->depth + 1, $refId), $type === \RectorPrefix20211130\Tracy\Dumper\Value::PROP_PRIVATE ? $class : $type] + ($refId ? [3 => $refId] : []); } /** * @param object $obj */ - private function exposeObject($obj, \RectorPrefix20211129\Tracy\Dumper\Value $value) : ?array + private function exposeObject($obj, \RectorPrefix20211130\Tracy\Dumper\Value $value) : ?array { foreach ($this->objectExposers as $type => $dumper) { if (!$type || $obj instanceof $type) { @@ -217,7 +217,7 @@ final class Describer if ($this->debugInfo && \method_exists($obj, '__debugInfo')) { return $obj->__debugInfo(); } - \RectorPrefix20211129\Tracy\Dumper\Exposer::exposeObject($obj, $value, $this); + \RectorPrefix20211130\Tracy\Dumper\Exposer::exposeObject($obj, $value, $this); return null; } private function isSensitive(string $key, $val, string $class = null) : bool @@ -226,7 +226,7 @@ final class Describer } private static function hideValue($var) : string { - return self::HIDDEN_VALUE . ' (' . (\is_object($var) ? \RectorPrefix20211129\Tracy\Helpers::getClass($var) : \gettype($var)) . ')'; + return self::HIDDEN_VALUE . ' (' . (\is_object($var) ? \RectorPrefix20211130\Tracy\Helpers::getClass($var) : \gettype($var)) . ')'; } public function getReferenceId($arr, $key) : ?int { @@ -261,7 +261,7 @@ final class Describer private static function findLocation() : ?array { foreach (\debug_backtrace(\DEBUG_BACKTRACE_IGNORE_ARGS) as $item) { - if (isset($item['class']) && ($item['class'] === self::class || $item['class'] === \RectorPrefix20211129\Tracy\Dumper::class)) { + if (isset($item['class']) && ($item['class'] === self::class || $item['class'] === \RectorPrefix20211130\Tracy\Dumper::class)) { $location = $item; continue; } elseif (isset($item['function'])) { diff --git a/vendor/tracy/tracy/src/Tracy/Dumper/Dumper.php b/vendor/tracy/tracy/src/Tracy/Dumper/Dumper.php index c5d1b9ca22e..f6fce88f140 100644 --- a/vendor/tracy/tracy/src/Tracy/Dumper/Dumper.php +++ b/vendor/tracy/tracy/src/Tracy/Dumper/Dumper.php @@ -5,11 +5,11 @@ * Copyright (c) 2004 David Grudl (https://davidgrudl.com) */ declare (strict_types=1); -namespace RectorPrefix20211129\Tracy; +namespace RectorPrefix20211130\Tracy; -use RectorPrefix20211129\Tracy\Dumper\Describer; -use RectorPrefix20211129\Tracy\Dumper\Exposer; -use RectorPrefix20211129\Tracy\Dumper\Renderer; +use RectorPrefix20211130\Tracy\Dumper\Describer; +use RectorPrefix20211130\Tracy\Dumper\Exposer; +use RectorPrefix20211130\Tracy\Dumper\Renderer; /** * Dumps a variable. */ @@ -19,7 +19,7 @@ class Dumper // show object and reference hashes (defaults to true) public const LOCATION_CLASS = 0b1, LOCATION_SOURCE = 0b11, LOCATION_LINK = self::LOCATION_SOURCE; // deprecated - public const HIDDEN_VALUE = \RectorPrefix20211129\Tracy\Dumper\Describer::HIDDEN_VALUE; + public const HIDDEN_VALUE = \RectorPrefix20211130\Tracy\Dumper\Describer::HIDDEN_VALUE; /** @var Dumper\Value[] */ public static $liveSnapshot = []; /** @var array */ @@ -27,7 +27,7 @@ class Dumper /** @var array */ public static $resources = ['stream' => 'stream_get_meta_data', 'stream-context' => 'stream_context_get_options', 'curl' => 'curl_getinfo']; /** @var array */ - public static $objectExporters = [\Closure::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeClosure'], \RectorPrefix20211129\UnitEnum::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeEnum'], \ArrayObject::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeArrayObject'], \SplFileInfo::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeSplFileInfo'], \SplObjectStorage::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeSplObjectStorage'], \__PHP_Incomplete_Class::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposePhpIncompleteClass'], \DOMNode::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeDOMNode'], \DOMNodeList::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeDOMNodeList'], \DOMNamedNodeMap::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeDOMNodeList'], \Ds\Collection::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeDsCollection'], \Ds\Map::class => [\RectorPrefix20211129\Tracy\Dumper\Exposer::class, 'exposeDsMap']]; + public static $objectExporters = [\Closure::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeClosure'], \RectorPrefix20211130\UnitEnum::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeEnum'], \ArrayObject::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeArrayObject'], \SplFileInfo::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeSplFileInfo'], \SplObjectStorage::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeSplObjectStorage'], \__PHP_Incomplete_Class::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposePhpIncompleteClass'], \DOMNode::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeDOMNode'], \DOMNodeList::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeDOMNodeList'], \DOMNamedNodeMap::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeDOMNodeList'], \Ds\Collection::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeDsCollection'], \Ds\Map::class => [\RectorPrefix20211130\Tracy\Dumper\Exposer::class, 'exposeDsMap']]; /** @var Describer */ private $describer; /** @var Renderer */ @@ -39,8 +39,8 @@ class Dumper */ public static function dump($var, $options = []) { - if (\RectorPrefix20211129\Tracy\Helpers::isCli()) { - $useColors = self::$terminalColors && \RectorPrefix20211129\Tracy\Helpers::detectColors(); + if (\RectorPrefix20211130\Tracy\Helpers::isCli()) { + $useColors = self::$terminalColors && \RectorPrefix20211130\Tracy\Helpers::detectColors(); $dumper = new self($options); \fwrite(\STDOUT, $dumper->asTerminal($var, $useColors ? self::$terminalColors : [])); } elseif (\preg_match('#^Content-Type: (?!text/html)#im', \implode("\n", \headers_list()))) { @@ -84,24 +84,24 @@ class Dumper public static function renderAssets() : void { static $sent; - if (\RectorPrefix20211129\Tracy\Debugger::$productionMode === \true || $sent) { + if (\RectorPrefix20211130\Tracy\Debugger::$productionMode === \true || $sent) { return; } $sent = \true; - $nonce = \RectorPrefix20211129\Tracy\Helpers::getNonce(); - $nonceAttr = $nonce ? ' nonce="' . \RectorPrefix20211129\Tracy\Helpers::escapeHtml($nonce) . '"' : ''; + $nonce = \RectorPrefix20211130\Tracy\Helpers::getNonce(); + $nonceAttr = $nonce ? ' nonce="' . \RectorPrefix20211130\Tracy\Helpers::escapeHtml($nonce) . '"' : ''; $s = \file_get_contents(__DIR__ . '/../Toggle/toggle.css') . \file_get_contents(__DIR__ . '/assets/dumper-light.css') . \file_get_contents(__DIR__ . '/assets/dumper-dark.css'); - echo "", \str_replace('\n"; - if (!\RectorPrefix20211129\Tracy\Debugger::isEnabled()) { + echo "", \str_replace('\n"; + if (!\RectorPrefix20211130\Tracy\Debugger::isEnabled()) { $s = '(function(){' . \file_get_contents(__DIR__ . '/../Toggle/toggle.js') . '})();' . '(function(){' . \file_get_contents(__DIR__ . '/../Dumper/assets/dumper.js') . '})();'; - echo "", \str_replace(['